/* ==========================================================================
   UNIFIED BRANDING COLOR PALETTE & CORE STYLES
   ========================================================================== */
:root {
    --primary-blue: #0d3b66;
    --primary-dark: #071e36;
    --accent-gold: #ffb703;
    --accent-orange: #fb8500;
    --accent-teal: #00b4d8;
    --accent-green: #2a9d8f;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

/* OVERFLOW PREVENTATIVE BASE STYLES */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* --- SCROLL ANIMATION STYLES --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SECTION COLOR THEMES & VECTOR BACKGROUNDS --- */
.about-section { padding: 70px 5%; background: #ffffff; }
.ngo-vector-bg {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.03"><path d="M50 15 C30 35, 30 65, 50 85 C70 65, 70 35, 50 15 Z" fill="%230d3b66"/></svg>');
    background-repeat: repeat;
}

.section-ivory {
    background: linear-gradient(135deg, #fffdf9 0%, #fef7ed 100%);
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    padding: 80px 5%;
}
.ngo-message-vector-bg {
    background-image: radial-gradient(var(--accent-orange) 0.8px, transparent 0.8px), radial-gradient(var(--accent-gold) 0.8px, #fffdf9 0.8px);
    background-size: 36px 36px;
    background-position: 0 0, 18px 18px;
}

.interactive-pillars-section { 
    padding: 80px 4%; 
    background-color: var(--primary-blue); 
    border-top: 4px solid var(--accent-gold); 
    border-bottom: 4px solid var(--accent-gold); 
}
.ngo-pillars-vector-bg {
    background-image: linear-gradient(30deg, rgba(0, 180, 216, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 180, 216, 0.05) 87.5%, rgba(0, 180, 216, 0.05)),
                      linear-gradient(150deg, rgba(0, 180, 216, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 180, 216, 0.05) 87.5%, rgba(0, 180, 216, 0.05));
    background-size: 80px 140px;
}

/* PROGRAMS GRID */
.pillars-structured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 40px auto 0 auto;
}

.pillar-grid-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.pillar-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 183, 3, 0.4);
}

.pillar-card-img { height: 190px; position: relative; overflow: hidden; }
.pillar-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pillar-grid-card:hover .pillar-card-img img { transform: scale(1.08); }

.pillar-badge-tag {
    position: absolute; top: 12px; right: 12px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark); font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 20px;
}

.pillar-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.pillar-card-body h3 { color: var(--primary-blue); font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.pillar-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 15px 0; }
.pillar-explore-link { font-size: 0.85rem; font-weight: 700; color: var(--accent-orange); margin-top: auto; }

/* NEWS & ACTIVITIES */
.news-section { padding: 80px 5%; background: #f0fdf4; }
.ngo-leaf-bg {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 100 100" opacity="0.025"><circle cx="50" cy="50" r="35" fill="%23fb8500"/><path d="M50 10 Q70 50 50 90 Q30 50 50 10 Z" fill="%230d3b66"/></svg>');
    background-size: 80px 80px;
}

/* --- MULTICOLOR HEADINGS --- */
.multicolor-heading {
    font-size: 2.8rem; font-weight: 900; text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff 0%, #ffb703 30%, #00b4d8 65%, #ffffff 100%);
    background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text;
    animation: gradientShift 5s linear infinite; text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.multicolor-heading-sm {
    font-size: 2.2rem; font-weight: 800;
    background: linear-gradient(90deg, #0d3b66 0%, #00b4d8 40%, #fb8500 80%, #0d3b66 100%);
    background-size: 250% auto; color: transparent; -webkit-background-clip: text; background-clip: text;
    animation: gradientShift 7s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.svg-divider svg { display: block; width: 100%; height: 50px; }

/* CAROUSEL */
.carousel-container { position: relative; width: 100%; height: 480px; overflow: hidden; background: #000000; }
.carousel-track { display: flex; width: 400%; height: 100%; animation: carouselSlide 16s infinite ease-in-out; }
.slide { width: 25%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.slide-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #ffffff; width: 90%; }
@keyframes carouselSlide { 0%, 20% { transform: translateX(0%); } 25%, 45% { transform: translateX(-25%); } 50%, 70% { transform: translateX(-50%); } 75%, 95% { transform: translateX(-75%); } 100% { transform: translateX(0%); } }

/* ABOUT & MESSAGES */
.section-title { text-align: center; margin-bottom: 35px; width: 100%; }
.about-container { display: flex; align-items: center; gap: 40px; max-width: 1300px; margin: 0 auto; }
.about-text { flex: 1; }
.about-text .sub-heading { color: var(--accent-orange); font-weight: 800; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 25px 0; }
.feature-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary-blue); background: #ffffff; padding: 10px 14px; border-radius: 8px; border-left: 3px solid var(--accent-gold); box-shadow: var(--shadow-sm); }
.btn-read-more-blue { display: inline-block; background: var(--primary-blue); color: #ffffff; padding: 12px 32px; border-radius: 30px; text-decoration: none; font-weight: 700; text-transform: uppercase; box-shadow: 0 4px 12px rgba(13,59,102,0.25); cursor: pointer; border: none; }
.about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); border: 4px solid #ffffff; height: 380px; object-fit: cover; }

/* --- LEADERSHIP MESSAGES GRID --- */
.leadership-messages-section {
    padding: 70px 5%;
    background: #ffffff;
}

.leadership-messages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 40px auto 0 auto;
}

.leadership-msg-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-msg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.leadership-msg-img {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.leadership-msg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.leadership-msg-card:hover .leadership-msg-img img {
    transform: scale(1.05);
}

.leadership-msg-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.leadership-msg-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leadership-msg-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.leader-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.msg-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-btn {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: opacity 0.2s ease;
}

.read-more-btn:hover {
    opacity: 0.8;
}

/* NEWS & ACTIVITIES COMMON */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.news-card { background: #ffffff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.news-card-img { height: 190px; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-tag { position: absolute; top: 12px; left: 12px; background: var(--accent-gold); color: var(--primary-dark); font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.news-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-content h3 { color: var(--primary-blue); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.news-link { color: var(--primary-blue); font-weight: 700; font-size: 0.85rem; text-decoration: none; margin-top: auto; }

.gallery-sub-tag { color: var(--accent-orange); font-weight: 800; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; display: block; text-align: center; margin-bottom: 5px; }

/* ==========================================
   TESTIMONIALS & VIDEOS SECTION STYLING (INDEX UNIFIED)
   ========================================== */
.idx-testimonials-section {
    padding: 70px 5%;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.idx-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 40px auto 0 auto;
}

.idx-testimonial-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.idx-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.idx-testimonial-media {
    width: 100%;
    height: 220px;
    position: relative;
    background: #000000;
}

.idx-testimonial-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.idx-media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
}

.idx-testimonial-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.idx-testimonial-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1.4;
}

.idx-testimonial-body .testimonial-author {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.idx-testimonial-body .testimonial-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ==========================================
   SPONSORS INFINITE CAROUSEL
   ========================================== */
.sponsors-section {
    padding: 50px 0;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    width: 100%;
    position: relative;
}

.sponsors-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: sponsorScroll 25s linear infinite;
    will-change: transform;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

.sponsor-logo {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.sponsor-logo img {
    max-width: 160px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-logo img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

@keyframes sponsorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   REFINED HEADER & NAVIGATION STYLES
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.top-bar-item:hover {
    opacity: 0.85;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-social a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.top-bar-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

header {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-gold);
    width: 100%;
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    padding: 15px 0;
    margin-left: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: -120px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border-radius: 14px;
    width: 520px;
    display: grid;
    grid-template-columns: 180px 1fr;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--border-light);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    padding: 20px;
    color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mega-menu-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.mega-banner-content {
    position: relative;
    z-index: 2;
}

.mega-menu-links {
    padding: 14px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.mega-menu-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.83rem;
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
    transition: background 0.2s ease, color 0.2s ease;
}

.mega-menu-links li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.donate-btn {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark) !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ==========================================================================
   REFINED FOOTER STYLES
   ========================================================================== */
footer {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 70px 5% 30px 5%;
    border-top: 4px solid var(--accent-gold);
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto 45px auto;
}

.footer-col h3 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: #cbd5e0;
    font-size: 0.88rem;
    margin-bottom: 14px;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.dev-credit {
    color: var(--accent-gold);
    font-weight: 700;
    text-decoration: none;
}

.dev-credit:hover {
    text-decoration: underline;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (< 1024px)
   ========================================================================== */
@media (max-width: 1023px) {
    .about-section, .section-ivory, .interactive-pillars-section, .news-section, .idx-testimonials-section { padding: 40px 15px; }
    .about-container { flex-direction: column; text-align: left; gap: 25px; }
    .about-features { grid-template-columns: 1fr; }
    .pillars-structured-grid, .news-grid, .leadership-messages-grid, .idx-testimonials-grid { grid-template-columns: 1fr; }

    .top-bar { padding: 8px 15px; }
    .top-bar-item span.text-label { display: none; }
    .navbar { padding: 10px 15px; }
    .brand-title { font-size: 1.05rem; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        box-shadow: var(--shadow-md);
        display: none;
        border-bottom: 3px solid var(--accent-gold);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        padding: 10px 0;
        margin-left: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .mega-menu {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: none;
        background: #f8fafc;
        margin-top: 10px;
        border-radius: 8px;
    }

    .mega-menu-banner { display: none; }

    .nav-item.active-mobile .mega-menu {
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 650px) {
    .idx-social-grid { flex-direction: column; align-items: stretch; }
}