:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #dc2626;
    --danger-dark: #b91c1c;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f9ff;
    --bg-tertiary: #e0f2fe;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: #cbd5e1;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    --gradient-accent: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --radius: 16px;
    --radius-sm: 12px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-secondary);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }
a:focus, button:focus { outline: 3px solid var(--primary-light); outline-offset: 2px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========================================
   GLOBAL EMERGENCY BAR
   ======================================== */
.global-help-bar {
    background: #000000;
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1001;
}

.global-help-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.global-help-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.global-help-bar a {
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
}

.global-help-bar a:hover {
    background: rgba(59, 130, 246, 0.4);
}

.global-help-bar .divider { opacity: 0.5; }

.lang-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.lang-toggle a {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.lang-toggle a.active, .lang-toggle a:hover {
    color: white;
    background: rgba(59, 130, 246, 0.5);
}

/* ========================================
   PREMIUM HEADER & NAVIGATION (WHITE THEME)
   ======================================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

/* Logo */
.logo {
    flex-shrink: 0;
    max-width: 180px;
    width: 180px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.main-nav {
    flex: 1;
    flex-shrink: 1;
    min-width: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 10px 4px;
    list-style: none;
    flex-wrap: nowrap;
}

/* CRITICAL FIX: position relative anchors the dropdown to the menu item */
.main-nav > ul > li {
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    padding: 7px;
    color: #334155; /* Dark slate text for white background */
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 60%;
}

.main-nav a.has-dropdown::before {
    content: '▾';
    font-size: 0.7rem;
    margin-left: 4px;
    opacity: 0.6;
    transition: transform 0.3s;
}

.main-nav li:hover > a.has-dropdown::before {
    transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: #334155;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-color: var(--primary-light);
    transform: rotate(15deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Changed to dark border */
    background: rgba(0, 0, 0, 0.03); /* Changed to light gray background */
    color: #334155; /* Changed to dark slate color so it's visible */
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-left: auto;
    order: 2;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-light);
    color: var(--primary);
}

/* ========================================
   DROPDOWN MENUS (PERFECTED)
   ======================================== */
.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 240px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.dropdown-wide {
    min-width: 350px;
    max-width: 550px;
    padding: 16px;
}

.dropdown-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-columns > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin: 0;
}

.dropdown a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.dropdown a::after { display: none; } /* Remove underline effect for dropdowns */

.dropdown a:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: var(--primary);
    padding-left: 18px;
}

.dropdown a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
    flex-shrink: 0;
}

.dropdown a:hover::before {
    background: var(--primary);
    transform: scale(1.3);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

/* ========================================
   EXPANDABLE SEARCH BAR
   ======================================== */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form {
    position: absolute;
    right: 50px; /* Positions it just to the left of the search button */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 4px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    overflow: hidden;
    z-index: 10;
}

.header-search-form.active {
    opacity: 1;
    visibility: visible;
    width: 260px;
}

.header-search-form input {
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 0.9rem;
    width: 100%;
    background: transparent;
    color: var(--text-primary);
}

.header-search-form input::placeholder {
    color: var(--text-muted);
}

.header-search-form button[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.header-search-form button[type="submit"]:hover {
    background: var(--primary-dark);
}

/* Active state for the search button */
.search-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Mobile adjustment for search */
@media (max-width: 768px) {
    .header-search-form {
        right: 0;
        width: 100%;
        max-width: 260px;
    }
    .header-search-form.active {
        width: 100%;
    }
}

/* ========================================
   PREMIUM BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.45);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: white;
    background: rgba(59, 130, 246, 0.2);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ========================================
   MOBILE HEADER & NAVIGATION (LEFT-ALIGNED & TOGGLE)
   ======================================== */
@media (max-width: 992px) {
    /* Logo adjustments */
    .logo {
        max-width: 130px;
        width: 130px;
        flex-shrink: 0;
    }

    .logo img {
        height: auto;
        max-height: 40px;
        width: auto;
    }

    /* Hamburger Toggle Button */
    .mobile-menu-toggle {
        display: flex !important;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(0, 0, 0, 0.03);
        color: #334155;
        font-size: 1.2rem;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        margin-left: auto;
        order: 2;
        z-index: 10002;
        position: relative;
    }

    .mobile-menu-toggle:hover {
        background: rgba(59, 130, 246, 0.1);
        border-color: var(--primary-light);
        color: var(--primary);
    }

    /* Mobile Navigation Menu */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: white !important;
        backdrop-filter: blur(20px) !important;
        padding: 80px 24px 24px !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 10001 !important;
        display: block !important;
    }

    .main-nav.active {
        right: 0 !important;
    }

    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav > ul > li {
        width: 100% !important;
        display: block !important;
    }

    /* LEFT-ALIGNED MAIN MENU ITEMS */
    .main-nav a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important; /* Forces left alignment */
        gap: 8px !important; /* Space between text and the ▾ arrow */
        width: 100% !important;
        padding: 14px 18px !important;
        border-radius: 10px !important;
        font-size: 0.95rem !important;
        color: #334155 !important;
        text-decoration: none !important;
        transition: all 0.3s !important;
        text-align: left !important;
    }

    .main-nav a:hover {
        background: rgba(59, 130, 246, 0.1) !important;
        color: var(--primary) !important;
    }

    /* Mobile Dropdowns (Hidden by default) */
    .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.02) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        box-shadow: none !important;
        padding: 8px 0 !important;
        margin-top: 4px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
        display: none !important; /* Hidden unless parent has .active */
        min-width: 100% !important;
        max-width: 100% !important;
    }

    /* Show dropdown only when parent has .active class */
    .has-dropdown.active > .dropdown {
        display: block !important;
    }

    .dropdown-columns {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 4px !important;
    }

    /* LEFT-ALIGNED SUBMENU ITEMS (Indented) */
    .dropdown a {
        padding: 10px 18px 10px 32px !important; /* Extra left padding for visual hierarchy */
        font-size: 0.9rem !important;
        background: transparent !important;
        color: #475569 !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .dropdown a:hover {
        background: rgba(59, 130, 246, 0.08) !important;
        color: var(--primary) !important;
    }

    /* Dark Overlay */
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.5) !important;
        backdrop-filter: blur(4px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s !important;
        z-index: 10000 !important;
    }

    .header-actions {
        order: 3;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .search-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 110px;
        width: 110px;
    }

    .header-actions .btn {
        padding: 7px 10px;
        font-size: 0.75rem;
    }

    .search-btn {
        display: none;
    }
}

/* ========================================
   HERO SECTION - CAREER STYLE
   ======================================== */
.hero-premium {
    position: relative;
    padding: 70px 0 90px;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('<?php echo base_url("assets/images/campus-hero.jpg"); ?>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark Blue Overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.75) 100%);
    z-index: 1;
}

/* Tag/Badge */
.hero-tag {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 0 40px 0;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Primary Button - Gold/Yellow */
.btn-hero-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-hero-primary::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-hero-primary:hover::after {
    transform: translateX(4px);
}

/* Secondary Button - Outlined */
.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-premium {
        padding: 100px 0 60px;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   QUICK ACTION GRID - CARDS
   ======================================== */
.quick-actions-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.qa-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: white;
    border: 2px solid var(--border);
    padding: 24px 28px;
    border-radius: var(--radius);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.qa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.qa-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: var(--primary);
}

.qa-card:hover::before {
    opacity: 1;
}

.qa-card.urgent {
    border-color: rgba(220, 38, 38, 0.3);
}

.qa-card.urgent::before {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.qa-card.urgent:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.qa-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.qa-card.urgent .qa-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(185, 28, 28, 0.15) 100%);
}

/* ========================================
   FEATURED SERVICES - BLUE GRADIENT CARDS
   ======================================== */
.featured-services {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--bg-secondary) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.glass-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.glass-card:hover::before {
    transform: scaleX(1);
}

.card-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 800;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.text-link {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    position: relative;
}

.text-link::after {
    content: '→';
    transition: transform 0.3s;
}

.text-link:hover::after {
    transform: translateX(6px);
}

/* ========================================
   HELP STRIP - BLUE THEME
   ======================================== */
.help-strip {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-top: 2px solid rgba(30, 64, 175, 0.2);
    border-bottom: 2px solid rgba(30, 64, 175, 0.2);
}

.strip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.strip-content h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-weight: 800;
}

.strip-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   NEWS & CHARTER SECTION
   ======================================== */
.news-charter-section {
    padding: 100px 0;
    background: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.news-card, .charter-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: all 0.3s;
}

.news-card:hover, .charter-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.news-card h3, .charter-card h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 800;
}

.news-list {
    list-style: none;
    margin: 24px 0;
}

.news-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s;
    border-radius: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

.news-list li:hover {
    background: rgba(30, 64, 175, 0.03);
    padding-left: 24px;
}

.news-date {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-list a {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.news-list a:hover {
    color: var(--primary);
}

.charter-card p {
    color: var(--text-secondary);
    margin: 20px 0 28px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ========================================
   CONTACT & DOWNLOADS
   ======================================== */
.contact-downloads {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-block {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
}

.contact-block h3 {
    font-size: 2rem;
    margin-bottom: 28px;
    color: var(--text-primary);
    font-weight: 800;
}

.contact-block p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.urgent-note {
    color: var(--danger);
    font-weight: 700;
    margin-top: 28px !important;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(185, 28, 28, 0.08) 100%);
    border-radius: var(--radius-sm);
    border-left: 5px solid var(--danger);
    font-size: 1.1rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-light);
    transition: all 0.3s;
    font-weight: 600;
}

.download-item:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

/* ========================================
   FOOTER - DARK BLUE
   ======================================== */
.main-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 80px 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 56px;
    padding-bottom: 56px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: white;
    transform: translateX(6px);
}

.footer-urgent {
    color: #f87171 !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 28px 0;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
.mobile-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1); /* Changed to dark border */
    background: rgba(0, 0, 0, 0.03); /* Changed to light gray background */
    color: #334155; /* Changed to dark slate color so it's visible */
    font-size: 1.4rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-light);
}

@media (max-width: 1024px) {
    .dropdown, .dropdown-wide {
        position: static;
        min-width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.05);
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 10px 0;
    }

    .dropdown-columns {
        grid-template-columns: 1fr; /* Stack to 1 column on mobile */
    }

    .dropdown a {
        color: #cbd5e1;
    }
    .header-inner { padding: 12px 20px; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-content h1 { font-size: 2.8rem; }
    .split-layout { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .global-help-bar .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .global-help-bar-left {
        flex-direction: column;
        gap: 12px;
    }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-lead { font-size: 1.15rem; }
    .section-title { font-size: 2rem; }
    .quick-action-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .strip-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .btn { width: 100%; }
    .contact-block, .glass-card, .news-card, .charter-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .logo-text { font-size: 1.3rem; }
    .logo-sub { font-size: 0.85rem; }
    .section-title { font-size: 1.75rem; }
    .hero-content h1 { font-size: 1.9rem; }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   INNER PAGE HERO SECTION
   ======================================== */
.page-hero {
    position: relative;
    padding: 100px 0 80px;
    text-align: left;
    overflow: hidden;
    background: var(--bg-secondary);
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('<?php echo base_url("assets/images/campus-hero.jpg"); ?>'); /* Reuse your hero image or a specific about image */
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 1;
    opacity: 0.8;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 800px;
}

/* ========================================
   INNER PAGE CONTENT SECTION
   ======================================== */
.page-content-section {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 40px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
    text-align: justify;
}

/* Highlight Box for Accountability Statement */
.highlight-box {
    display: flex;
    gap: 24px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 5px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.highlight-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.highlight-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .highlight-box {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .highlight-icon {
        width: 48px;
        height: 48px;
    }

    .lead-text, .highlight-text p {
        font-size: 1.1rem;
    }
}

/* ========================================
   MISSION & VISION SPECIFIC STYLES
   ======================================== */

/* Section Label (Small uppercase tag) */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 20px;
}

/* Vision Block Styling */
.vision-block {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    border-left: 5px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 40px;
    margin-bottom: 60px;
}

.vision-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    text-align: justify;
}

/* Mission Block Styling */
.mission-block {
    margin-bottom: 40px;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.mission-list li:hover {
    transform: translateX(8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    padding-top: 10px; /* Aligns text vertically with the icon */
}

/* ========================================
   VALUES SECTION STYLES
   ======================================== */
.values-block {
    margin-top: 80px;
}

.values-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.value-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Adjustments for Values */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 24px;
    }

    .values-block {
        margin-top: 60px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vision-text {
        font-size: 1.3rem;
    }

    .vision-block {
        padding: 28px;
    }

    .mission-list li {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .mission-icon {
        width: 40px;
        height: 40px;
    }

    .mission-text {
        font-size: 1rem;
        padding-top: 0;
    }
}

/* ========================================
   DIRECTOR PROFILE CARD
   ======================================== */
.director-profile-card {
    display: flex;
    gap: 40px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}

.director-image {
    flex-shrink: 0;
    width: 200px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 2px dashed var(--border);
    gap: 8px;
}

.director-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 8px 0 16px;
}

.director-bio {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.director-contact {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.director-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   COMMITTEES GRID
   ======================================== */
.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.committee-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.committee-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.committee-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.committee-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.committee-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   ORGANISATIONAL CHART & UNITS
   ======================================== */
.org-chart-placeholder {
    background: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.unit-card {
    background: white;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.unit-card:hover {
    box-shadow: var(--shadow);
    background: var(--bg-secondary);
}

.unit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.unit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   STRATEGIC OBJECTIVES GRID
   ======================================== */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.objective-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.objective-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.objective-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(30, 64, 175, 0.08);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.objective-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    padding-right: 40px; /* Prevent overlap with number */
}

.objective-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .director-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
    }

    .director-image {
        width: 160px;
    }

    .director-actions {
        justify-content: center;
    }

    .committees-grid, .units-grid, .objectives-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SERVICE PAGE TEMPLATE COMPONENTS
   ======================================== */

/* Safe Route Banner (For Counselling, Medical, etc.) */
.safe-route-banner {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-left: 5px solid var(--danger);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 32px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.safe-route-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.safe-route-banner h4 {
    color: var(--danger-dark);
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.safe-route-banner p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.safe-route-banner a {
    color: var(--danger);
    font-weight: 600;
    text-decoration: underline;
}

/* Service Sections */
.service-section {
    margin-bottom: 48px;
}

.service-section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 20px;
}

.service-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

/* Offer Cards Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.offer-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.offer-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Highlight Box (Good to know / Rights) */
.highlight-box {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 24px;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 800;
}

/* Expectation Timeline / Metrics */
.expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.expectation-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.expectation-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.expectation-metric {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.expectation-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.expectation-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Block */
.contact-block {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.contact-block p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-block .accountable {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Related Links */
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.related-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .offers-grid, .expectation-grid {
        grid-template-columns: 1fr;
    }
    .safe-route-banner {
        flex-direction: column;
        padding: 20px;
    }
}

/* ========================================
   CLUBS DIRECTORY GRID
   ======================================== */
.clubs-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.club-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.club-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.club-icon {
    font-size: 2.5rem;
    margin-bottom: 4px;
}

.club-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s;
}

.club-card:hover h3 {
    color: var(--primary);
}

/* Ensure the One Firm Rule banner text is readable */
.safe-route-banner p {
    color: var(--text-primary); /* Overrides default secondary color for this specific alert */
}

/* ========================================
   GET HELP NOW ROUTING GRID
   ======================================== */
.help-route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.help-route-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-route-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.help-route-card.urgent {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(239, 68, 68, 0.06) 100%);
}

.help-route-card.urgent:hover {
    border-color: var(--danger-dark);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.help-route-need {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-route-card.urgent .help-route-need {
    color: var(--danger-dark);
}

.help-route-action {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    padding-left: 30px; /* Align with text, past the icon */
}

.help-route-action a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.help-route-card.urgent .help-route-action a {
    color: var(--danger);
}

/* ========================================
   TIMELINE / PROCESS STEPS
   ======================================== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .help-route-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CHARTER LISTS (Rights & Responsibilities)
   ======================================== */
.charter-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.charter-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Green checkmark for Rights */
.offer-card[style*="var(--success)"] .charter-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Blue dot for Responsibilities */
.offer-card[style*="var(--primary)"] .charter-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .offers-grid[style*="400px"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   MOBILE HEADER - PROFESSIONAL LAYOUT
   ======================================== */

/* Fix the emergency bar for mobile */
@media (max-width: 768px) {
    .global-help-bar {
        padding: 10px 0;
    }

    .global-help-bar .container {
        justify-content: center;
        gap: 8px;
    }

    .global-help-bar-left {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .global-help-bar a {
        padding: 4px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .global-help-bar .divider {
        display: none; /* Hide dividers on mobile for cleaner look */
    }

    .lang-toggle {
        position: absolute;
        top: 10px;
        right: 20px;
        padding: 3px 8px;
        font-size: 0.75rem;
    }
}

/* Fix header inner layout for mobile */
@media (max-width: 768px) {
    .header-inner {
        padding: 12px 16px;
        gap: 12px;
        position: relative;
    }

    /* Logo - smaller and optimized */
    .logo {
        max-width: 120px;
        width: 120px;
        flex-shrink: 0;
    }

    .logo img {
        height: auto;
        max-height: 50px;
        width: auto;
    }

    /* Mobile menu toggle - professional look */
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1); /* Changed to dark border */
        background: rgba(0, 0, 0, 0.03); /* Changed to light gray background */
        color: #334155; /* Changed to dark slate color so it's visible */
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        margin-left: auto; /* Push to right */
        order: 2;
        backdrop-filter: blur(10px);
    }

    .mobile-menu-toggle:hover {
        background: rgba(59, 130, 246, 0.25);
        border-color: var(--primary-light);
        transform: none; /* Remove rotation on mobile */
    }

    .mobile-menu-toggle:active {
        background: rgba(59, 130, 246, 0.35);
    }

    /* Header actions - compact buttons */
    .header-actions {
        order: 3;
        gap: 8px;
        margin-left: auto;
    }

    .header-actions .btn {
        padding: 8px 14px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .search-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    /* Hide search on very small screens if needed */
    @media (max-width: 480px) {
        .search-btn {
            display: none;
        }

        .header-actions .btn {
            padding: 7px 12px;
            font-size: 0.7rem;
        }

        .logo {
            max-width: 100px;
            width: 100px;
        }
    }
}

/* Mobile navigation menu - professional dropdown */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 24px 24px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
        z-index: 1001;
        order: 4;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .main-nav > ul > li {
        width: 100%;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 0.95rem;
        justify-content: space-between;
    }

    .main-nav a::after {
        display: none;
    }

    /* Dropdown in mobile menu */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: none;
        padding: 12px 0 12px 12px;
        margin-top: 8px;
        border-radius: 10px;
        display: none;
    }

    .has-dropdown.active > .dropdown {
        display: block;
    }

    .dropdown-columns {
        grid-template-columns: 1fr;
    }

    .dropdown a {
        padding: 10px 14px;
        font-size: 0.9rem;
        background: transparent;
    }

    .dropdown a:hover {
        background: rgba(59, 130, 246, 0.15);
    }

    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 1000;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Hamburger icon animation */
.mobile-menu-toggle {
    position: relative;
}

.mobile-menu-toggle.active span {
    background: transparent;
}

.mobile-menu-toggle.active span::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Fix for emergency bar text wrapping */
@media (max-width: 480px) {
    .global-help-bar-left span {
        display: none; /* Hide "Get help now:" text on very small screens */
    }

    .lang-toggle {
        position: static;
        margin-top: 8px;
    }
}

/* Smooth scrolling for mobile nav */
.main-nav {
    -webkit-overflow-scrolling: touch;
}

/* Active state styling */
.main-nav a.active {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid var(--primary-light);
}

/* ========================================
   POLICY MODAL STYLES
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--danger);
}

.modal-content h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.modal-section {
    margin-bottom: 32px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Policy Tables */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 500px; /* Ensures table doesn't squish too much on mobile */
}

.policy-table th, .policy-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.policy-table th {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.policy-table td {
    color: var(--text-secondary);
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-table tr:hover td {
    background: rgba(59, 130, 246, 0.03);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        max-height: 90vh;
    }
    .modal-content h2 {
        font-size: 1.3rem;
    }
}