 @media (min-width: 992px) {

    section.d-none.d-lg-flex.vh-100 {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }

    section.d-none.d-lg-flex.vh-100 .container-fluid,
    section.d-none.d-lg-flex.vh-100 .row,
    section.d-none.d-lg-flex.vh-100 .col-lg-6 {
        height: 100% !important;
        overflow: hidden !important;
    }

    section.d-none.d-lg-flex.vh-100 video {
        height: 100% !important;
        object-fit: cover;
    }

}
  
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

* {
    box-sizing: border-box;
}

.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Disable large background 2025 text on small screens */
@media (max-width: 768px) {
    h2[style*="font-size: 15rem"] {
        display: none;
    }
}

/* Keep negative margin only for desktop */
@media (min-width: 992px) {
    #soul-card {
        margin-left: -80px;
    }
}

/* ================= ORIGINAL DESIGN CONTINUES ================= */

:root {
    --gold: #D4AF37;
    --dark-gold: #996515;
    --black: #050505;
    --card-bg: #111111;
    --gold-grad: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --glass: rgba(255, 255, 255, 0.03);
}

.fixed-top {
    padding-top: 0 !important;
}

body { background-color: var(--black); color: #ffffff; font-family: 'Montserrat', sans-serif; }

.cinzel { font-family: 'Cinzel Decorative', serif; }
.playfair { font-family: 'Playfair Display', serif; }
p, .text-secondary, .small { color: #ffffff !important; opacity: 0.9; line-height: 1.8; }

.gold-text { 
    background: var(--gold-grad); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 700; 
}

/* BUTTON */
.gold-border-btn {
    border: 1px solid var(--gold);
    padding: 18px 45px;
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: 0.4s;
    text-decoration: none;
    display: inline-block;
    background: transparent;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
}

.gold-border-btn:hover { 
    color: #000 !important; 
    transform: translateY(-3px);
}

.gold-border-btn::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 0; 
    height: 100%;
    background: var(--gold-grad);
    transition: 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.gold-border-btn:hover::before { 
    width: 100%; 
}

/* IMAGE BOX */
.img-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.img-box img {
    transition: transform 1.5s ease;
    filter: contrast(110%) brightness(80%);
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

.img-box:hover img { 
    transform: scale(1.05); 
    filter: brightness(100%); 
}

.v-spacer { padding: 140px 0; }

.category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 40px 20px;
    position: relative;
    transition: 0.4s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.05);
}

.category-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    color: #D4AF37;
    font-weight: 700;
    opacity: 0.5;
}

.icon-box {
    font-size: 2.5rem;
    color: #D4AF37;
    transition: 0.4s ease;
}

.category-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.view-legacy-btn {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 2px solid #D4AF37;
}

.view-legacy-btn:hover {
    color: #D4AF37;
}
/* --- MODERN LUXURY GOLD FORM --- */
.nomination-portal-section {
    padding: 100px 0;
    background: #000;
    font-family: 'Montserrat', sans-serif;
}

.modern-form-card {
    background: linear-gradient(145deg, #0f0f0f, #050505);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 70px 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Decorative Gold Corner */
.modern-form-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: #d4af37;
    transform: rotate(45deg);
    opacity: 0.3;
}

.form-header h2 {
    font-family: 'Cinzel', serif;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* Modern Input Styling */
.field-container {
    margin-bottom: 30px;
}

.field-label {
    display: block;
    color: #d4af37;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.modern-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle until focus */
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-input:focus {
    outline: none;
    border-color: #d4af37; /* Full Gold on Focus */
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Select arrows styling */
select.modern-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4af37'%3E%3Cpath d='M6 9L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
}

/* Premium Rounded Button */
.gold-pill-btn {
    background: linear-gradient(90deg, #b8860b, #e6be8a, #b8860b);
    background-size: 200% auto;
    color: #000;
    border: none;
    padding: 20px 80px;
    border-radius: 100px; /* Perfect Pill */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    cursor: pointer;
    transition: 0.5s;
    margin-top: 20px;
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.3);
}

.gold-pill-btn:hover {
    background-position: right center;
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(184, 134, 11, 0.5);
}

/* --- RESPONSIVE UPDATES --- */

/* Main Container Adjustments */
@media (max-width: 991px) {
    .modern-form-card {
        padding: 50px 30px;
        margin: 0 15px;
    }
}

/* Mobile Specific Tweaks */
@media (max-width: 576px) {
    .modern-form-card {
        padding: 40px 20px;
        border-radius: 15px; /* Slightly sharper for mobile edge */
    }

    .form-header h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .field-label {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    .modern-input {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .gold-pill-btn {
        width: 100%; /* Full width button on mobile for better UX */
        padding: 18px 20px;
        letter-spacing: 2px;
        font-size: 0.8rem;
    }
    
    /* Ensure rows don't have excessive spacing on mobile */
    .row {
        --bs-gutter-x: 1rem;
    }
}

/* Fix for Select Icons on Mobile Chrome/Safari */
select.modern-input {
    background-position: calc(100% - 15px) center !important;
}

/* --- FIX FOR DROPDOWN VISIBILITY --- */

/* This targets the actual list that pops out */
.modern-input option {
    background-color: #0a0a0a; /* Match your form card background */
    color: #ffffff;            /* Force text to white */
    padding: 10px;
}

/* Fix for mobile Safari and Chrome which sometimes override colors */
select.modern-input:focus {
    color: #ffffff;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Ensure the 'Select' placeholder is visible but distinct */
.modern-input option:disabled {
    color: #666;
}

/* --- MODERN SUCCESS POPUP --- */
.success-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.success-modal {
    background: #0a0a0a;
    border: 1px solid var(--gold);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.active { display: flex; }
.success-overlay.active .success-modal { transform: scale(1); }

.check-icon {
    width: 80px; height: 80px;
    background: var(--gold-grad);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.success-modal h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.success-modal p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-modal-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.close-modal-btn:hover {
    background: var(--gold);
    color: #000;
}

/* ================= MOBILE RESPONSIVE TYPOGRAPHY FIX ================= */

@media (max-width: 991px) {

    /* Hero Mobile Title */
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }

    /* Section Headings */
    h2.display-4,
    h2.display-5 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    /* Paragraph Adjustments */
    
    .lead,
    .playfair,
    .text-white-50 {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    /* Reduce large spacing sections */
    .v-spacer {
        padding: 70px 0 !important;
    }

    /* Reduce big image heights */
    .img-box[style*="height: 650px"] {
        height: 400px !important;
    }

    /* Soul of India card spacing */
    .col-lg-6.p-lg-5 .p-5 {
        padding: 30px 20px !important;
        margin-left: 0 !important;
    }

    /* Reduce padding-left you manually added */
    .col-lg-6.p-lg-5 .p-5 h2,
    .col-lg-6.p-lg-5 .p-5 p,
    .col-lg-6.p-lg-5 .p-5 .d-flex {
        padding-left: 0 !important;
    }

    /* Chef Image Responsive */
    .img-box[style*="border-radius: 50%"] {
        width: 220px !important;
        height: 220px !important;
    }

    /* Reduce large buttons */
    .gold-border-btn {
        padding: 12px 25px !important;
        font-size: 0.8rem !important;
        letter-spacing: 2px !important;
    }

    .gold-pill-btn {
        font-size: 0.8rem !important;
        padding: 15px 20px !important;
        letter-spacing: 2px !important;
    }

    /* Reduce large background numbers */
    h2[style*="font-size: 15rem"] {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .mobile-title {
        font-size: 1.8rem;
        padding-left: 15px;
    }
}