/* =============================================
   Pallottine Nigeria — Main Stylesheet
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Palette: Deep Navy, Warm Gold, Ivory
   ============================================= */

:root {
    --navy:       #0e1e38;
    --navy-mid:   #162d52;
    --navy-light: #1e3f72;
    --gold:       #c9973b;
    --gold-light: #e8b85a;
    --gold-pale:  #f5e8cc;
    --ivory:      #faf7f2;
    --cream:      #f2ede4;
    --text:       #2a2a2a;
    --text-muted: #666;
    --white:      #ffffff;
    --border:     #d8cfc2;
    --red:        #a51e2a;
    --red-light:  #cb061d;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', 'Segoe UI', sans-serif;

    --radius: 4px;
    --shadow: 0 4px 24px rgba(153, 176, 212, 0.1);
    --shadow-lg: 0 12px 48px rgba(131, 162, 211, 0.18);
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --max-w: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--ivory); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul { list-style: none; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--cream); }
.text-center { text-align: center; }

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .75rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--red); }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
}
.divider.center { margin-left: auto; margin-right: auto; }

.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.8rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover {
    background: var(--red-light); color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(165,30,42,.3);
}
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ── Top Bar ── */
.top-bar {
    background: var(--navy);
    color: rgba(229,240,240,.75);
    font-size: .78rem;
    padding: .5rem 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.top-bar span { display: flex; align-items: center; gap: .4rem; }
.top-bar i { color: var(--red); font-size: .7rem; }
.top-social { display: flex; gap: .75rem; }
.top-social a { color: rgba(255,255,255,.65); font-size: .8rem; transition: color var(--transition); }
.top-social a:hover { color: var(--red); }

/* ── Header ── */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(14,30,56,.07);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .9rem; padding-bottom: .9rem; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-logo { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* ─────────────────────────────────────────────
   NAV  — FIX: use > ul so styles don't leak
   into nested .dropdown-menu ul
───────────────────────────────────────────── */
.main-nav > ul {
    display: flex;
    gap: .25rem;
    align-items: center;
}
 
.main-nav a {
    display: block;
    padding: .5rem .85rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--navy);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}
.main-nav a::after {
    content: ''; position: absolute;
    bottom: 0; left: .85rem; right: .85rem;
    height: 2px; background: var(--red);
    transform: scaleX(0); transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover,
.main-nav a.active { color: var(--red); }

/* Kill underline animation inside dropdown */
.main-nav .dropdown-menu a::after { display: none !important; }
 
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: .4rem;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--navy);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ── Hero ── */
.hero {
    position: relative; min-height: 92vh;
    display: flex; align-items: center;
    overflow: hidden; background: var(--navy);
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('assets/images/palloti2.jpg');
    background-size: cover; background-position: center;
    opacity: .55; transition: opacity 1s;
}
.hero-overlay { position: absolute; inset: 0; background: transparent; }
.hero-content { position: relative; z-index: 2; max-width: 750px; padding: 5rem 0; }
.hero-eyebrow {
    display: inline-block;
    font-size: .92rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase;
    color: var(--red); margin-bottom: 1.5rem;
    border-left: 3px solid var(--red); padding-left: .75rem;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 600; line-height: 1.1;
    color: var(--white); margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--red); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 540px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
    animation: bounce 2s infinite; z-index: 2;
}
.hero-scroll i { font-size: 1rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── Stats Bar ── */
.stats-bar { background: var(--navy); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 1rem 1.5rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--red); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .4rem; letter-spacing: .08em; text-transform: uppercase; }

/* ── About Snippet ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-img-accent {
    position: absolute; bottom: -2rem; right: -2rem;
    width: 55%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
    border: 6px solid var(--ivory); box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute; top: 2rem; left: -1.5rem;
    background: var(--red); color: var(--white);
    padding: 1.2rem 1.5rem; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow);
}
.about-badge-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-badge-txt { font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.about-quote {
    border-left: 4px solid var(--red); padding-left: 1.2rem;
    margin: 1.5rem 0; font-family: var(--font-display);
    font-size: 1.2rem; font-style: italic; color: var(--navy-mid);
}

/* ── Mission Cards ── */
.mission-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.mission-card {
    background: var(--white); border: 1px solid var(--border);
    border-top: 4px solid var(--red); padding: 1.5rem 2rem;
    border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition);
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mission-icon {
    width: 56px; height: 56px; background: var(--gold-pale); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-size: 1.4rem; color: var(--red);
}
.mission-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: .75rem; }
.mission-card p { font-size: .95rem; color: var(--text-unmuted); }

/* ── Blog Cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--cream); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border); font-size: 2rem; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem; flex-wrap: wrap; }
.blog-cat { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); background: var(--gold-pale); padding: .2rem .6rem; border-radius: 2rem; }
.blog-date { font-size: .78rem; color: var(--text-muted); }
.blog-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: .6rem; line-height: 1.3; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--red); }
.blog-excerpt { font-size: .9rem; color: var(--text-muted); flex: 1; }
.blog-readmore { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; font-size: .85rem; font-weight: 600; color: var(--red); transition: gap var(--transition); }
.blog-readmore:hover { gap: .7rem; }

/* ── Gallery Grid ── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; background: var(--cream); }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(14,30,56,.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); flex-direction: column; gap: .5rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.8rem; color: var(--white); }
.gallery-overlay span { font-size: .8rem; color: rgba(255,255,255,.8); font-weight: 500; text-align: center; padding: 0 1rem; }
.gallery-video-badge { position: absolute; top: .5rem; left: .5rem; background: var(--red); color: var(--white); font-size: .65rem; font-weight: 700; letter-spacing: .08em; padding: .15rem .4rem; border-radius: 2rem; text-transform: uppercase; }

/* ── Superior Section ── */
.superior-section { background: var(--navy); color: var(--white); }
.superior-grid { display: grid; grid-template-columns: 320px 1fr; gap: 5rem; align-items: center; }
.superior-img { aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--red); }
.superior-section .section-title { color: var(--white); }
.superior-message { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; line-height: 1.9; color: rgba(255,255,255,.85); margin: 1.5rem 0; border-left: 3px solid var(--red); padding-left: 1.5rem; }
.superior-sig { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); }
.superior-title-role { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: .25rem; letter-spacing: .06em; }

/* ── CTA Band ── */
.cta-band { background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%); padding: 4rem 0; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Page Hero ── */
.page-hero { background: var(--navy); padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: url('assets/images/placeholders/page-hero-bg.jpg'); background-size: cover; background-position: center; opacity: .15; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; color: var(--white); line-height: 1.15; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-top: .75rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--red); }
.breadcrumb i { font-size: .6rem; }

/* ── Post Layout ── */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.post-body { background: var(--white); border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--border); }
.post-body h1 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.post-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-body p, .post-body li { font-size: 1rem; line-height: 1.9; color: var(--text); margin-bottom: 1rem; }
.post-body h2, .post-body h3 { font-family: var(--font-display); color: var(--navy); margin: 1.5rem 0 .75rem; }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; border-bottom: 2px solid var(--gold-pale); padding-bottom: .5rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-control { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem; color: var(--text); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(165,30,42,.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 44px; height: 44px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1rem; flex-shrink: 0; }
.contact-item h5 { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .95rem; color: var(--text); }

/* ── Alerts ── */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .92rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Footer ── */
.site-footer { background: #0a1526; color: rgba(255,255,255,.7); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 3rem; }
.footer-logo { height: 56px; margin-bottom: 1rem; }
.footer-mission { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-founder { font-size: .78rem; color: var(--red); margin-top: .4rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .8rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.footer-col h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; font-size: .88rem; }
.footer-contact i { color: var(--red); margin-top: .2rem; font-size: .8rem; flex-shrink: 0; }
.footer-post { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-post:last-child { border-bottom: none; }
.footer-post a { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.4; display: block; margin-bottom: .25rem; }
.footer-post a:hover { color: var(--red); }
.footer-post span { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--red); }
.footer-bottom p + p { margin-top: .3rem; }

/* ── Pagination ── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .88rem; font-weight: 500; color: var(--navy); transition: all var(--transition); }
.pagination a:hover, .pagination .current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ── Lightbox ── */
.lightbox-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-inner { max-width: 90vw; max-height: 88vh; position: relative; }
.lightbox-inner img, .lightbox-inner video { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; color: var(--white); font-size: 1.5rem; cursor: pointer; background: none; border: none; }
.lightbox-caption { text-align: center; color: rgba(255,255,255,.6); font-size: .85rem; margin-top: .75rem; }

/* ══════════════════════════════════════════════
   DROPDOWN NAV
══════════════════════════════════════════════ */

/* ── Dropdown ── */
.has-dropdown { position: relative; }
 
.dropdown-caret {
    font-size: .6rem !important;
    margin-left: .25rem;
    transition: transform var(--transition);
    vertical-align: middle;
    display: inline-block;
}
.has-dropdown:hover .dropdown-caret,
.has-dropdown.open  .dropdown-caret {
    transform: rotate(180deg);
}

/* DESKTOP: hidden via visibility+opacity so CSS transition works */
.main-nav .dropdown-menu {
    display: block;                         /* always block on desktop */
    visibility: hidden;                     /* hidden until hover      */
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;                 /* flush — no gap */
    padding-top: .6rem; 
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 270px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(14,30,56,.16);
    padding: .4rem 0;
    z-index: 1100;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
/* Show on hover (desktop only) */
.main-nav .has-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}

/* Arrow tip */
.main-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    width: 10px; height: 10px;
    background: var(--white);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: translateX(-50%) rotate(45deg);
}

/* Dropdown items */
.main-nav .dropdown-menu li { list-style: none; }
 
.main-nav .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem 1.1rem;
    color: var(--navy);
    font-size: .87rem;
    font-weight: 400;
    border-bottom: 1px solid #f5f0e8;
    border-radius: 0;
    position: static;
    transition: background var(--transition), color var(--transition);
}
.main-nav .dropdown-menu li:last-child a { border-bottom: none; }
.main-nav .dropdown-menu a:hover { background: var(--ivory); color: var(--red); }
.main-nav .dropdown-menu a.active { color: var(--red); background: var(--ivory); }
 
/* Icon circles */
.main-nav .dropdown-menu a > i {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .85rem;
    color: var(--red);
    transition: background var(--transition), color var(--transition);
}
.main-nav .dropdown-menu a:hover > i { background: var(--red); color: var(--white); }
 
.main-nav .dropdown-menu a span { display: flex; flex-direction: column; gap: .1rem; }
.main-nav .dropdown-menu a strong { font-weight: 600; font-size: .87rem; line-height: 1.2; display: block; }
.main-nav .dropdown-menu a small  { font-size: .73rem; color: var(--text-muted); font-weight: 400; display: block; }
.main-nav .dropdown-menu a:hover small { color: rgba(165,30,42,.65); }
 
 
/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid, .superior-grid { grid-template-columns: 1fr; gap: 3rem; }
    .superior-img { max-width: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .post-layout { grid-template-columns: 1fr; }
}
 
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
 
    /* Mobile nav panel */
    .main-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: .5rem 0;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: block; }
 
    /* Top-level items stack vertically */
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav > ul > li > a {
        padding: .75rem 1.25rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }
 
    .nav-toggle { display: flex; }
 
    /* ── MOBILE DROPDOWN ──
       Override desktop visibility trick.
       Use display:none / display:block instead.     */
    .main-nav .dropdown-menu {
        display: none !important;           /* hidden by default on mobile  */
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--gold-pale);
        border-radius: 0;
        padding: 0;
        margin: 0 0 0 1rem;
        background: var(--ivory);
        min-width: 0;
        transition: none;
    }
    .main-nav .dropdown-menu::before { display: none; }
 
    /* Show only when JS adds .open to the parent <li> */
    .main-nav .has-dropdown.open .dropdown-menu {
        display: block !important;
    }
 
    .main-nav .dropdown-menu a {
        padding: .65rem 1rem;
        font-size: .85rem;
        border-bottom: 1px solid var(--border);
    }
    .main-nav .dropdown-menu a > i {
        width: 28px; height: 28px; font-size: .76rem;
    }
 
    /* Administration parent row: caret pushed to right */
    .dropdown-parent {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
 
    /* Other responsive */
    .blog-grid, .mission-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-img-accent { display: none; }
    .about-badge { position: static; display: inline-block; margin-bottom: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 2.4rem; }
    .top-bar span:first-child { display: none; }
}