/* ══════════════════════════════════════════════
   GANESH COMMERCIAL INSTITUTE — style.css
   Matches: index.html structure exactly
   Theme: Blue & White | Premium, Accessible & Responsive
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

/* ── CSS VARIABLES ────────────────────────────── */
:root {
    --navy:        #1a3c6e;
    --blue:        #2563eb;
    --blue-light:  #dbeafe;
    --blue-hover:  #93c5fd;
    --white:       #ffffff;
    --bg:          #f5f7fa;
    --text:        #1e293b;
    --text-main:   #1e293b;       /* ← add this */
    --text-muted:  #64748b;
    --text-light:  #94a3b8;
    --border:      #e2e8f0;
    --shadow-sm:   0 2px 8px rgba(26, 60, 110, 0.08);
    --shadow-md:   0 6px 24px rgba(26, 60, 110, 0.13);
    --shadow-lg:   0 12px 40px rgba(26, 60, 110, 0.20);   /* ← add this */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   14px;
    --font-head:   'Playfair Display', Georgia, serif;
    --font-body:   'Source Sans 3', 'Segoe UI', sans-serif;
    --transition:  0.25s ease;
}

/* ── RESET & BASE STYLES ──────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Custom focus ring for global web accessibility */
*:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* ══════════════════════════════════════════════
   SECTION 1 — NAVIGATION
   ══════════════════════════════════════════════ */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 48px;
    width: auto;
}

.logo-img[src="assets/images/logo.png"]:not([src=""]) {
    display: block;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links li a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    transition: background var(--transition), color var(--transition);
}

.nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.nav-links li a.active {
    background-color: var(--blue);
    color: var(--white);
}

/* ══════════════════════════════════════════════
   SECTION 2 — HERO
   ══════════════════════════════════════════════ */

.hero-card {
    background:
        /* Premium deep-blue gradient overlay ensures text contrast passes WCAG standards */
        linear-gradient(
            160deg,
            rgba(15, 32, 67, 0.88) 0%,
            rgba(37, 99, 235, 0.78) 100%
        ),
        url("assets/keyboard image.jpg") center / cover no-repeat;
    min-height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
}

.hero-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-overlay-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-overlay-content h1 {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.hero-overlay-content h1::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: var(--blue);
    margin: 16px auto 0;
    border-radius: 2px;
}

.hero-overlay-content h2 {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 400;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── HERO CALL TO ACTION BUTTON ──────────────── */
.hero-cta-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 36px;
    background-color: var(--blue);
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero-cta-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
}

.hero-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* ══════════════════════════════════════════════
   SECTION 2.5 — STATS BAR (CREDIBILITY BLOCK)
   ══════════════════════════════════════════════ */

.stats-bar-container {
    max-width: 1200px;
    margin: -50px auto 0; /* Pulls the bar up to elegantly overlap the hero section image */
    padding: 0 24px;
    position: relative;
    z-index: 10; /* Ensures it stays stacked on top of the hero fade background */
}

.stats-bar {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 28px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    border-bottom: 4px solid var(--blue);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive updates for the Stats Grid */
@media (max-width: 768px) {
    .stats-bar-container {
        margin-top: 2rem; /* Removes the floating overlap on mobile to save vertical breathing room */
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr); /* Switches to a clean 2x2 grid on tablets/mobile */
        gap: 24px 16px;
        padding: 24px 16px;
    }
}

@media (max-width: 420px) {
    .stats-bar {
        grid-template-columns: 1fr; /* Stacks into 1 single column on tiny smartphone screens */
        gap: 20px;
    }
}
/* ══════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════ */

.stats-bar {
    display: flex;
    justify-content: center;
    background-color: var(--navy);
    border-top: 1px solid rgba(137, 124, 124, 0.08);
    border-bottom: 3px solid var(--blue);  /* blue bottom line — clean finish */
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 280px;
    transition: background var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    cursor: default;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-hover);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
    .stats-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        max-width: 100%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.4rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 420px) {
    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* ══════════════════════════════════════════════
   HIGHLIGHTS MARQUEE & MODAL SPEC
   ══════════════════════════════════════════════ */

.highlights-section {
    background: #f1f5f9; /* Soft contrast background between section layers */
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border, #e2e8f0);
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.marquee-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Adjust '30s' to make the scroll faster or slower */
    animation: marqueeScroll 30s linear infinite; 
}

/* Pause marquee movement smoothly on mouse hover */
.marquee-track:hover {
    animation-play-state: paused;
}

/* ── MARQUEE ANIMATION LOOP ── */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Shifts exactly by half the total width of duplicated content track */
        transform: translateX(calc(-50% - 1rem)); 
    }
}

/* ── HIGHLIGHT CARDS ── */
.highlight-card {
    background: var(--white, #ffffff);
    width: 360px;
    padding: 2rem;
    border-radius: var(--radius-md, 8px);
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.02));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 10px 20px rgba(0,0,0,0.05));
    border-color: var(--blue, #1a73e8);
}

.highlight-card h3 {
    color: var(--navy, #0f2043);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
}

.highlight-card p {
    color: var(--text-muted, #64748b);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Badges styling */
.card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-badge.gold { background: #fef3c7; color: #b45309; }
.card-badge.blue { background: #dbeafe; color: #1d4ed8; }
.card-badge.green { background: #dcfce7; color: #15803d; }

.read-more-btn {
    background: transparent;
    color: var(--blue, #1a73e8);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    margin-top: auto; /* Pushes button cleanly to bottom layout line */
    transition: color 0.2s ease, transform 0.2s ease;
}

.read-more-btn:hover {
    color: var(--navy, #0f2043);
    transform: translateX(4px);
}

/* ── MODAL POPUP SYSTEM WITH IMAGE SUPPORT ── */
.highlight-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(15, 32, 67, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.highlight-modal.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: var(--white, #ffffff);
    max-width: 850px; /* Widened to fit the image and text side-by-side beautifully */
    width: 100%;
    padding: 0; /* Clear previous padding to allow edge-to-edge layout */
    border-radius: var(--radius-md, 8px);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden; /* Clips image corners to match card radius */
}

.highlight-modal.active .modal-card {
    transform: scale(1);
}

.modal-close-trigger {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #ffffff; /* White color to stand out clearly against the image or dark backdrop */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Drop shadow so it is visible on bright backgrounds */
    cursor: pointer;
    z-index: 10010;
    transition: color 0.2s ease;
}

.modal-close-trigger:hover {
    color: var(--blue, #1a73e8);
}

/* ── TWO COLUMN INNER GRID ── */
.modal-info-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr; /* Balanced layout sizes */
    min-height: 450px;
}

.modal-img-col {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.modal-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces image to crop clean into its designated block box */
    display: block;
}

.modal-text-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info-wrap h2 {
    color: var(--navy, #0f2043);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    line-height: 1.3;
}

.modal-info-wrap p {
    color: #334155;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.modal-info-wrap ul {
    padding-left: 1.25rem;
    margin: 0;
}

.modal-info-wrap li {
    margin-bottom: 0.5rem;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ── RESPONSIVE ADAPTATIONS FOR POPUP ── */
@media (max-width: 768px) {
    .modal-card {
        max-width: 500px;
    }
    
    .modal-info-wrap {
        grid-template-columns: 1fr; /* Drop side-by-side view to clean vertical block stack */
        min-height: auto;
    }
    
    .modal-img-col {
        height: 200px; /* Fix image profile height box on mobile views */
    }
    
    .modal-text-col {
        padding: 2rem;
    }
    
    .modal-close-trigger {
        color: #94a3b8; /* Switch back to regular display gray close icon color */
        text-shadow: none;
    }
}
/* ══════════════════════════════════════════════
   SECTION 3 & 4 — SPLIT LAYOUT
   ══════════════════════════════════════════════ */

.split-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 24px;
}

.split-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    min-width: 0;
}

.section-title {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
    padding-left: 14px;
    border-left: 4px solid var(--blue);
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: -0.75rem;
    margin-bottom: 1.5rem;
    padding-left: 18px;
}

/* ── CORE FEATURE CARDS GRID ──────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: start; /* Fixes neighboring card stretching when one expands */
}

.card {
    background: var(--white);
    border: 1px solid var(--blue-light);
    border-top: 4px solid var(--blue);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    user-select: none;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover, .card:focus-within {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card.active {
    border-top-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.card-header h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

.card-arrow {
    font-size: 0.75rem;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.card.active .card-arrow {
    transform: rotate(180deg);
}

/* Smooth Accordion Body transition mechanics */
.card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.2s ease;
    padding-top: 0;
}

.card.active .card-body {
    max-height: 220px; /* Safe upper boundary for text content blocks */
    padding-top: 1rem;
}

.card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--blue-light);
    padding-top: 0.85rem;
    margin: 0;
}

/* ── OPPORTUNITIES LIST ───────────────────────── */
.opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
}

.opportunities-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.25rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.opportunities-list li:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.opportunities-list li::before {
    content: "✔";
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.opportunities-list li div strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.opportunities-list li div p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── RIGHT COLUMN: STICKY PHOTO ───────────────── */
.split-right {
    flex: 0.8;
    position: sticky;
    top: 100px; /* Keeps image pinned relative to your sticky navigation track */
    min-width: 0;
}

.side-photo {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid var(--blue-light);
    box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════
   SECTION 5 — FOOTER
   ══════════════════════════════════════════════ */

.main-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 48px 24px 32px;
    text-align: center;
}

.footer-contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap; 
}

.footer-contact-row p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
}

.footer-contact-row a {
    color: var(--blue-hover);
    transition: color var(--transition);
}

.footer-contact-row a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    user-select: none;
}

.footer-content .copyright {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ══════════════════════════════════════════════ */

/* Tablets & Mobile Devices: ≤ 768px */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        padding: 14px 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .nav-links li a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .hero-card {
        min-height: 55vh;
        padding: 60px 16px;
    }

    /* Stacks columns vertically and handles proper alignment flow */
    .split-section {
        flex-direction: column;
        gap: 3rem;
        padding: 3.5rem 16px;
    }

    .split-right {
        position: static;
        width: 100%;
    }

    .side-photo {
        height: 300px;
    }

    /* Stacks feature grid elements safely into 1 full-width column */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .footer-contact-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-divider {
        display: none; /* Safely clears vertical divider symbols from vertical lists */
    }
}

/* Compact Mobile Displays: ≤ 420px */
@media (max-width: 420px) {
    .hero-overlay-content h1 {
        font-size: 1.75rem;
    }

    .hero-overlay-content h2 {
        font-size: 0.95rem;
    }

    .side-photo {
        height: 220px;
    }
    
    .opportunities-list li {
        padding: 0.85rem 1rem;
    }
}


/* ══════════════════════════════════════════════
   ABOUT US PAGE
   ══════════════════════════════════════════════ */

/* ── PAGE HERO (reusable for all inner pages) ── */
.page-hero {
    background:
        linear-gradient(160deg, rgba(0, 30, 70, 0.88) 0%, rgba(0, 15, 40, 0.94) 100%),
        url('assets/images.jpg')
        center / cover no-repeat;
    padding: 64px 24px;
    text-align: center;
}

.page-hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero-content h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--blue);
    margin: 12px auto 0;
    border-radius: 2px;
}

.page-hero-content p {
    font-size: 1rem;
    color: #c7d8f0;
    max-width: 520px;
    margin: 0 auto;
}

/* ── WHO WE ARE ───────────────────────────────── */
.about-who {
    background: var(--white);
    padding: 4rem 24px;
}

.about-who-inner {
    max-width: 860px;
    margin: 0 auto;
}

.about-top-photo {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid var(--blue-light);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}

.about-who-text .section-title {
    margin-bottom: 1rem;
}

.about-who-text p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-who-text p:last-child {
    margin-bottom: 0;
}

/* ── MISSION & VISION ─────────────────────────── */
.mission-vision {
    background: var(--bg);
    padding: 4rem 24px;
}

.mv-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-top: 4px solid var(--blue);
}

.mv-card {
    flex: 1;
    padding: 2.5rem 2rem;
    text-align: center;
}

.mv-divider {
    width: 1px;
    background: var(--border);
    flex-shrink: 0;
    margin: 1.5rem 0;
}

.mv-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.mv-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── WHY CHOOSE US ────────────────────────────── */
.why-us {
    background: var(--white);
    padding: 4rem 24px;
}

.why-us-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.4rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.85rem;
}

.why-card h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.855rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── MILESTONES / TIMELINE ────────────────────── */
.milestones {
    background: var(--bg);
    padding: 4rem 24px;
}

.milestones-inner {
    max-width: 760px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    margin-top: 2rem;
    padding-left: 32px;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--blue-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Blue dot on the line */
.timeline-dot {
    position: absolute;
    left: -29px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--blue);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--blue);
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1rem 1.25rem;
}

.timeline-year {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    background: var(--blue);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.855rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── MEET THE FOUNDER ─────────────────────────── */
.meet-founder {
    background: var(--white);
    padding: 4rem 24px;
}

.founder-inner {
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: 4px solid var(--blue);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.founder-photo-wrap {
    flex-shrink: 0;
    width: 180px;
}

.founder-photo {
    width: 180px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 4px solid var(--blue-light);
    box-shadow: var(--shadow-sm);
}

.founder-name {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.founder-title {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    background: var(--blue);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.4px;
}

.founder-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.founder-info p:last-child {
    margin-bottom: 0;
}

/* ── ABOUT PAGE RESPONSIVE ────────────────────── */
@media (max-width: 768px) {

    .about-top-photo {
        height: 230px;
    }

    .mv-inner {
        flex-direction: column;
    }

    .mv-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-photo-wrap {
        width: 140px;
    }

    .founder-photo {
        width: 140px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 24px;
    }
}

/* ══════════════════════════════════════════════
   COURSES PAGE
   ══════════════════════════════════════════════ */

/* ── DOTE APPROVAL BANNER ─────────────────────── */
.approval-banner {
    background: #eff6ff;
    border-bottom: 2px solid var(--blue-light);
}

.approval-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.approval-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.approval-inner p {
    font-size: 0.9rem;
    color: var(--navy);
    text-align: center;
    line-height: 1.5;
}

.approval-inner strong {
    color: var(--blue);
}

/* ── COURSES SECTION ──────────────────────────── */
.courses-section {
    padding: 4rem 24px;
    background: var(--bg);
}

.courses-inner {
    max-width: 960px;
    margin: 0 auto;
}

/* ── ACCORDION ────────────────────────────────── */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 5px solid var(--blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    user-select: none;
    transition: box-shadow var(--transition), border-left-color var(--transition);
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: var(--shadow-sm);
}

.accordion-item.active {
    border-left-color: var(--navy);
    box-shadow: var(--shadow-md);
}

/* Accordion Header */
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    gap: 1rem;
}

.accordion-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.accordion-left > div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    min-width: 0;
}

.course-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}

.accordion-left h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}

.course-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Course Badges */
.course-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.course-badge.govt {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.course-badge.corp {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.course-badge.skill {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

/* Accordion Arrow */
.accordion-arrow {
    font-size: 0.7rem;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

/* Accordion Body */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
    max-height: 600px;
}

/* Course Detail Grid inside body */
.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    padding: 0 1.4rem 1.4rem;
    border-top: 1px solid var(--blue-light);
    padding-top: 1.25rem;
}

.course-description p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* Level Cards inside accordion */
.course-levels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.level-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
}

.level-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.level-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 !important;
}

/* Course Meta sidebar */
.course-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    list-style: none;
}

.meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.meta-list li span:first-child {
    flex-shrink: 0;
    font-size: 0.95rem;
    margin-top: 1px;
}

.meta-list li strong {
    display: block;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1px;
}

/* Enroll Button */
.enroll-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    letter-spacing: 0.3px;
    transition: background var(--transition), transform var(--transition);
}

.enroll-btn:hover {
    background: var(--navy);
    transform: translateY(-2px);
    color: var(--white);
}

/* ── MOCK TEST BANNER ─────────────────────────── */
.mock-banner {
    background: var(--navy);
    padding: 3rem 24px;
}

.mock-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.mock-text h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.mock-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    max-width: 620px;
}

.mock-cta {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}

.mock-cta:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: var(--white);
}

/* ── COURSES RESPONSIVE ───────────────────────── */
@media (max-width: 768px) {

    .course-detail-grid {
        grid-template-columns: 1fr;
    }

    .course-levels {
        grid-template-columns: 1fr;
    }

    .accordion-left {
        flex-wrap: wrap;
    }

    .mock-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .mock-cta {
        width: 100%;
        text-align: center;
    }

    .approval-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 1rem;
    }

    .course-badge {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   GALLERY PAGE
   ══════════════════════════════════════════════ */

.page-hero.gallery-hero {
    background:
        linear-gradient(160deg, rgba(26, 60, 110, 0.90) 0%, rgba(15, 32, 67, 0.96) 100%),
        url('https://images.unsplash.com/photo-1497493292307-31c376b6e479?q=80&w=2071&auto=format&fit=crop')
        center / cover no-repeat;
}

.gallery-section {
    background: var(--bg);
    padding: 5rem 24px;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── FILTER BUTTONS ───────────────────────────── */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filter-btn.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ── GALLERY GRID ─────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 9;
    background: var(--navy);
    border: 1px solid var(--border);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ── MEDIA ────────────────────────────────────── */
.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item.photo:hover .gallery-media {
    transform: scale(1.06);
}

/* Video and iframe — fill the card */
.gallery-item video,
.gallery-item iframe {
    width: 100%;
    height: 100%;
    object-position:center top;
    object-fit: cover;
    border: none;
    pointer-events: none;   /* lightbox trigger handles all clicks */
    display: block;
}

/* ── OVERLAYS & BADGES ────────────────────────── */
.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 32, 67, 0.9) 0%,
        rgba(15, 32, 67, 0.15) 60%,
        transparent 100%
    );
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem;
    color: var(--white);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item.photo:hover .media-overlay {
    opacity: 1;
}

.media-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.media-overlay p {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    color: var(--white);
}

.media-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 5;
}

/* ── LIGHTBOX TRIGGER ─────────────────────────── */
.lightbox-trigger {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: zoom-in;
}

/* ── LIGHTBOX MODAL ───────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.93);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    gap: 1rem;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content-container img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
    display: block;
}

.lightbox-content-container video,
.lightbox-content-container iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Close button */
.close-btn {
    position: fixed;
    top: 18px;
    right: 26px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.4rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: color var(--transition), transform var(--transition);
    background: none;
    border: none;
    font-family: var(--font-body);
    padding: 0;
}

.close-btn:hover {
    color: var(--white);
    transform: rotate(90deg);
}

/* Prev / Next buttons */
.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.3rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.nav-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.prev-btn { left: 16px; }
.next-btn { right: 16px; }

/* ── GALLERY RESPONSIVE ───────────────────────── */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }

    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .prev-btn { left: 6px; }
    .next-btn { right: 6px; }

    .lightbox-content-container {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content-container {
        width: 100%;
        height: 50vh;
    }
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════ */

.page-hero.contact-hero {
    background:
        linear-gradient(160deg, rgba(52, 95, 158, 0.9) 0%, rgba(15, 32, 67, 0.96) 100%),
        url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ4j_O5oJhlbj2S35Ffmepye2owqwTjrL_0MA&s')
        center / cover no-repeat;
}

.contact-section {
    background: var(--bg);
    padding: 5rem 24px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
}

/* ── CONTACT FORM ─────────────────────────────── */
.contact-form-block {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    border-top: 4px solid var(--blue);
    box-shadow: var(--shadow-sm);
}

.contact-form-block h2 {
    font-family: var(--font-head);
    color: var(--navy);
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.contact-form-block > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.92rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);   /* blue focus ring */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.97rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 60, 110, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* ── CONTACT INFO BLOCK ───────────────────────── */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-details {
    background: var(--white);
    padding: 2rem 2rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
    box-shadow: var(--shadow-sm);
}

.info-details h2 {
    font-family: var(--font-head);
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.address-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.info-details p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-details p:last-child {
    margin-bottom: 0;
}

.info-details a {
    color: var(--blue);
    transition: color var(--transition);
}

.info-details a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.info-details strong {
    color: var(--navy);
    flex-shrink: 0;
}

/* Operating Hours Box */
.hours-box {
    margin-top: 1.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
}

.hours-box h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.65rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-row .day {
    font-weight: 600;
    color: var(--navy);
}

.hours-row .closed {
    color: #dc2626;
    font-weight: 600;
}

/* ── GOOGLE MAP ───────────────────────────────── */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--blue-light);
    box-shadow: var(--shadow-md);
    background: #e5e3df;
    line-height: 0;
}

.map-wrapper iframe {
    width: 100%;           /* overrides hardcoded width="600" in HTML */
    height: 320px;
    border: none;
    display: block;
}

/* ── CONTACT RESPONSIVE ───────────────────────── */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 3rem 16px;
    }

    .contact-form-block {
        padding: 1.5rem 1.25rem;
    }

    .info-details {
        padding: 1.5rem 1.25rem;
    }

    .map-wrapper iframe {
        height: 260px;
    }
}