/* ==========================================================================
   1. MODERN DESIGN SYSTEM TOKENS
   ========================================================================== */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f45b8a;
    --accent-light: #fca5bf;
    --text-dark: #334155;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --max-width: 1400px; /* Expanded slightly to give large menus breathing room */
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Container */
.container {
    width: 95%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 0;
}

/* ==========================================================================
   3. TYPOGRAPHY & DYNAMIC HEADINGS
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Premium SaaS Gradient Animation */
h1 span {
    background: linear-gradient(
        to right,
        #06b6d4 20%,
        #f45b8a 40%,
        #f45b8a 60%,
        #06b6d4 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Keeps CTA buttons clean on narrow viewports */
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background-color: #e04a77;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   5. HEADER & NAVIGATION (OPTIMIZED & REPAIRED FOR WORD WRAPPING)
   ========================================================================== */
.main-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    height: 100px; /* Reduced slightly from 80px to protect line harmony */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(26, 37, 48, 0.08)); 
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}


.site-logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 20px rgba(212, 75, 117, 0.18));
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers navigation between logo and contact button */
    padding: 0 1rem;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.15rem; /* Balanced spacing engine for dense link rows */
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.88rem; /* Slightly dropped font footprint for seamless fit */
    transition: var(--transition);
    white-space: nowrap; /* Crucial fix: Prevents "About Us" and "Our Academy" from splitting */
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* ==========================================================================
   6. GLOBAL COMPONENT HEADERS
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}
/* Core Layout Settings */
.about-section {
    padding: 8rem 2rem;
    background-color: #fafafa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111111;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2026 Split Header Design */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.sub-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.about-hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0;
    line-height: 1;
}

.story-quote {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.4;
    color: #111;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.academy-origin {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #e5e5e5;
    margin-bottom: 4rem;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
}

.bento-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f45b8a; /* Keeping your key accent cleanly contained */
    margin-bottom: 1.5rem;
}

/* Positional Specific Grid Mapping */
.narrative-card {
    grid-column: span 2;
}

.narrative-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.narrative-card p {
    color: #444444;
    line-height: 1.7;
    font-size: 1rem;
}

.narrative-card p:last-child {
    margin-bottom: 0;
}

.identity-card {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
}

.info-pill {
    margin-bottom: 1.5rem;
}

.info-pill:last-child {
    margin-bottom: 0;
}

.pill-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.25rem;
}

.info-pill p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.commitment-card {
    grid-column: span 2;
}

.commitment-card h4 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.commitment-intro, .commitment-footer {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.modern-bullet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 0;
    margin: 2rem 0;
    list-style: none;
}

.modern-bullet-grid li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

.modern-bullet-grid li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #f45b8a;
    font-weight: bold;
}

.promise-card {
    grid-column: span 1;
    background: #111111; /* Contrast Block */
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promise-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #f45b8a;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.promise-text {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Responsiveness Configuration */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .narrative-card, .identity-card, .commitment-card, .promise-card {
        grid-column: span 1;
    }
    .about-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .modern-bullet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 5rem 1rem;
    }
    .about-hero h2 {
        font-size: 2.5rem;
    }
    .story-quote {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   7. HERO SECTION (STYLING FOR STATS CARDS & ALIGNMENT ENGINE)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.hero-actions {
    margin-bottom: 2rem;
}

.hero-visual-container {
    position: relative;
}

.responsive-hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    object-fit: cover;
}

.hero-stats-row {
    display: flex;
    flex-direction: row;        
    align-items: stretch;       
    gap: 1.25rem;               
    margin-top: 2rem;
    width: 100%;
}

.abstract-card {
    background-color: var(--bg-white);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg); 
    flex: 1;                    
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 
                0 8px 16px -6px rgba(15, 23, 42, 0.04);
    border-left: 5px solid var(--accent); 
    display: flex;
    flex-direction: column;     
    justify-content: center;
    align-items: flex-start;    
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abstract-card:hover {
    transform: translateY(-3px); 
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.08);
}

.abstract-card h3 {
    font-size: 2.8rem;          
    font-weight: 800;
    color: var(--accent);       
    margin-bottom: 0.15rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.abstract-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;           
    line-height: 1.3;
}

/* ==========================================================================
   8. ABOUT & LEADERSHIP SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.leadership-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-top: 4rem;
}

.leader-details {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.avatar-box {
    font-size: 3rem;
    background-color: var(--primary-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    line-height: 1;
}

.leader-details h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.role-title {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.values-sidebar {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.values-sidebar h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.values-sidebar ul {
    list-style: none;
}

.values-sidebar li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.values-sidebar li strong {
    color: var(--accent-light);
}

/* ==========================================================================
   9. GALLERY SECTION
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-light);
}

.academy-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.photo-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary);
}

/* ==========================================================================
   10. ACCREDITATIONS SECTION
   ========================================================================== */
.accreditations-section {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.seta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.seta-badge {
    background-color: var(--bg-light);
    padding: 1.5rem 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--primary-light);
    transition: var(--transition);
}

.seta-badge:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

/* ==========================================================================
   11. SERVICES & TOOLKITS SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-item {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.service-item ul {
    list-style-position: inside;
    list-style-type: none;
}

.service-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
}

.service-item li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.toolkit-container {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.toolkit-container h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.toolkit-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tk-tag {
    background-color: var(--primary-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   12. PROGRAMMES (COURSE SEARCH)
   ========================================================================== */
.programmes-section {
    background-color: var(--bg-white);
}

#courseSearch {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    margin-top: 1.5rem;
    outline: none;
    transition: var(--transition);
}

#courseSearch:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.courses-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.course-card-element {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.course-card-element:hover {
    background-color: var(--bg-white);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.course-card-element h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.course-card-element span {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--accent);
}

/* ==========================================================================
   13. FOOTPRINT & MAP VIEW
   ========================================================================= */
.footprint-section {
    background-color: var(--bg-light);
}

.footprint-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.provinces-list-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.provinces-list-box h4 {
    margin-bottom: 1.5rem;
}
.p-tag {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #cbd5e1;
}

.p-tag:hover {
    background-color: #f45b8a !important; /* Your brand pink */
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.prov-tags-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.p-tag {
    padding: 0.75rem 1rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.p-tag.active-p {
    background-color: #e0f2fe;
    color: #0369a1;
    border-left-color: #0369a1;
}

.map-view-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

#liveMap {
    width: 100%;
    height: 450px;
    z-index: 1;
}

/* ==========================================================================
   14. OFFICES SHOWCASE
   ========================================================================== */
.office-showcase-section {
    background-color: var(--bg-white);
}

.office-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.campus-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.campus-photo-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.campus-photo-wrapper.main-campus {
    grid-column: span 2;
}

.campus-photo-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.campus-photo-wrapper.main-campus img {
    height: 350px;
}

.campus-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
}

.office-details-card {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.office-details-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.office-location-sub {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.office-details-card p {
    margin-bottom: 2rem;
}

.amenities-list {
    list-style: none;
}

.amenities-list li {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.75rem;
}

.amenities-list li::before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: 900;
}

/* ==========================================================================
   15. FOOTER ARCHITECTURE
   ========================================================================== */
.main-footer {
    background-color: var(--primary);
    color: #94a3b8;
    padding: 5rem 0 0 0;
    border-top: 4px solid var(--accent);
}

.footer-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-footer h3 {
    color: var(--text-light);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.motto {
    color: var(--accent-light);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 2rem;
}

.footer-grid h4 {
    color: var(--text-light) !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.footer-grid p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0 !important;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-grid p a {
    color: var(--accent-light) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.footer-grid p a:hover {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

.footer-grid p.disclaimer {
    color: #64748b !important;
    margin-top: 1.25rem !important;
    font-size: 0.85rem !important;
    line-height: 1.4;
}
#liveMap {
    height: 400px !important; /* Force a height */
    width: 100%;
    display: block;           /* Ensure it is visible */
    z-index: 1;               /* Keep it above other elements */
    background: #f0f0f0;      /* Shows a grey box if the map fails to load */
}

/* Ensure the wrapper doesn't force a hidden state */
.map-view-wrapper {
    width: 100%;
    overflow: hidden;
}


.social-icons-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.social-tooltip {
    position: absolute;
    bottom: 55px;
    background-color: var(--accent);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--accent) transparent transparent transparent;
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 52px;
}

.footer-bottom {
    background-color: var(--primary-light);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f45b8a;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    color: #ffffff;
    font-family: system-ui, sans-serif;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
}

.icon-pin {
    color: #38bdf8; /* Modern electric blue accent */
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
}
/* ==========================================================================
   16. RESPONSIVE FLUID MEDIA QUERIES
   ========================================================================== */
/* --- 1. BASE STYLES (Desktop - Always Visible) --- */
/* --- 1. DESKTOP (Always visible) --- */
#mainNavbar {
    display: flex !important; 
}

.mobile-nav-toggle {
    display: none; 
}

/* --- 2. MOBILE (Hidden by default, shown only when active) --- */
@media (max-width: 768px) {
    .hero-grid, .leadership-box, .footprint-layout, .office-grid {
        display: flex !important;
        flex-direction: column !important; /* Forces items to stack vertically */
    }
}
@media (max-width: 1240px) {
    .mobile-nav-toggle {
        display: block; 
    }

    #mainNavbar {
        display: none !important; /* <--- THIS IS THE FIX. It hides the menu by default */
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 9999;
    }

    /* ONLY show when the JS adds the class 'nav-active' */
    #mainNavbar.nav-active {
        display: block !important; 
    }
}
/* --- 2. MOBILE BREAKPOINT (1240px and below) --- */
@media (max-width: 1240px) {
    .mobile-nav-toggle { 
        display: block; 
    }
    
    #mainNavbar {
        display: none; /* Hidden by default on mobile */
        position: fixed; /* Fixed to screen */
        top: 60px; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 9999;
        overflow-y: auto;
        transition: transform 0.3s ease;
    }
    
    #mainNavbar.responsive-nav-open { 
        display: block !important; 
        transform: translateX(0);
    }
    
    #mainNavbar ul { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 1rem; 
        padding: 1rem;
    }
}

/* --- 3. TABLET BREAKPOINT (1024px and below) --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    
    .hero-grid, .leadership-box, .footprint-layout, .office-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .academy-photo-grid, .services-grid {
        grid-template-columns: 1fr; 
    }
    
    .seta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .campus-photo-wrapper.main-campus img {
        height: 250px;
    }
}

/* --- 4. MOBILE BREAKPOINT (768px and below) --- */
@media (max-width: 768px) {
    .container { padding: 2.5rem 0; }
    .btn-secondary { margin-left: 0; margin-top: 1rem; display: block; }
    
    .about-grid, .academy-photo-grid, .services-grid, .seta-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-details { flex-direction: column; }
    .campus-photo-wrapper.main-campus { grid-column: span 1; }
    .campus-photo-wrapper.main-campus img { height: 200px; }

    .hero-stats-row {
        flex-direction: column;
        gap: 1rem;
    }
}
