/**
 * Adigrace College of Education - Main Stylesheet
 * Brand Colors:
 *   Primary Navy: #0A2540
 *   Primary Gold: #C5A55A
 *   Accent Gold Light: #D4B87A
 *   Accent Navy Light: #1A3A5C
 *   Text Dark: #1E2A3A
 *   Text Gray: #4A5568
 *   Background Light: #F8F9FA
 *   White: #FFFFFF
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --navy: #0A2540;
    --navy-light: #1A3A5C;
    --gold: #C5A55A;
    --gold-light: #D4B87A;
    --gold-dark: #A88B3A;
    --text-dark: #1E2A3A;
    --text-gray: #4A5568;
    --text-light: #718096;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); line-height: 1.3; }

.section-padding { padding: 80px 0; }

.section-subtitle {
    display: inline-block;
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title { font-size: 2.25rem; margin-bottom: 16px; }

.section-desc { color: var(--text-gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px; }

.lead { font-size: 1.15rem; color: var(--text-gray); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-navy { background-color: var(--navy) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.text-gray { color: var(--text-gray) !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--bg-white);
}
.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border-color: var(--bg-white);
    color: var(--bg-white);
}
.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--navy);
}

.btn-outline-primary {
    border-color: var(--navy);
    color: var(--navy);
}
.btn-outline-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--bg-white);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--navy);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 0.8125rem;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.top-bar a:hover { color: var(--gold); }

.top-bar-left a { margin-right: 16px; }
.top-bar .divider { opacity: 0.3; margin-right: 16px; }

.top-bar-right {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.top-bar-right a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}
.top-bar-right a:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.main-navbar .container { padding-top: 8px; padding-bottom: 8px; }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.25rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-heading);
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 16px !important;
    position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--gold);
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 8px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(197,165,90,0.15)"/><circle cx="80" cy="80" r="1" fill="rgba(197,165,90,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(197,165,90,0.08)"/></svg>');
    background-size: 200px;
    animation: floatBg 20s linear infinite;
}

@keyframes floatBg {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 37, 64, 0.75) 0%,
        rgba(26, 58, 92, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 80px 0 40px 0;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Hero Stats - Stick above announcement bar */
.hero-stats {
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, #0A2540 0%, #1A3A5C 100%);
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid rgba(197,165,90,0.3);
    padding: 20px 0;
    margin-top: -30px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

/* Stats Container - Flex layout that stays above announcements */
.stats-container {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px 15px;
    margin: 0 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(197,165,90,0.3);
}

.stat-item {
    text-align: center;
    color: var(--bg-white);
    padding: 10px 0;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
    display: block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Styles for Hero Stats */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero-stats {
        margin-top: -20px;
        padding: 15px 0;
    }
    
    .stats-container {
        padding: 15px 10px;
        margin: 0 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 60px 0 30px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
        margin-bottom: 25px;
    }
    
    /* Stats remain above announcement bar on mobile */
    .hero-stats {
        position: relative;
        margin-top: -15px;
        padding: 12px 0;
    }
    
    .stats-container {
        padding: 12px 8px;
        margin: 0 8px;
        border-radius: 12px;
    }
    
    .stat-item {
        padding: 5px 0;
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    /* Adjust grid gap on mobile */
    .hero-stats .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 50px 0 25px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-stats {
        margin-top: -10px;
        padding: 10px 0;
    }
    
    .stats-container {
        padding: 10px 5px;
        margin: 0 5px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        white-space: normal;
        word-break: keep-all;
    }
    
    /* Stack stats differently on very small screens if needed */
    .hero-stats .col-6 {
        margin-bottom: 8px;
    }
}

/* ============================================
   ANNOUNCEMENTS BAR
   ============================================ */
.announcements-bar {
    background: var(--gold);
    padding: 12px 0;
}

.announcement-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-image {
    position: relative;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--navy);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-year { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.badge-text { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }

.about-features { margin-top: 24px; }

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-text h5 { font-size: 1rem; margin-bottom: 4px; }
.feature-text p { font-size: 0.875rem; color: var(--text-gray); margin-bottom: 0; }

/* ============================================
   PROGRAMME CARDS
   ============================================ */
.programme-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.programme-icon {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.programme-title { font-size: 1.15rem; margin-bottom: 12px; }
.programme-desc { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 16px; }
.programme-meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================
   COURSE CARDS (Academics)
   ============================================ */
.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.course-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); }

.course-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.course-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.course-title { font-size: 1.1rem; margin-bottom: 0; }
.course-code { font-size: 0.8rem; color: var(--gold); font-weight: 600; }
.course-requirements { background: var(--bg-light); padding: 12px; border-radius: var(--radius); margin-top: 12px; font-size: 0.875rem; }
.course-footer { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ============================================
   WHY US SECTION
   ============================================ */
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.why-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img { transform: scale(1.05); }

.news-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content { padding: 20px; }

.news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-title {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a { color: var(--navy); }
.news-title a:hover { color: var(--gold); }

.news-excerpt {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 14px;
}

.read-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
}
.read-more:hover { color: var(--navy); }

/* ============================================
   EVENT CARDS
   ============================================ */
.event-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.event-date {
    background: var(--gold);
    color: var(--navy);
    padding: 16px;
    text-align: center;
}

.event-day { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.event-month { display: block; font-size: 0.875rem; text-transform: uppercase; font-weight: 600; }

.event-content { padding: 20px; }
.event-title { font-size: 1rem; margin-bottom: 8px; }
.event-title a { color: var(--navy); }
.event-title a:hover { color: var(--gold); }
.event-location { font-size: 0.85rem; color: var(--text-gray); }

/* Event Card Detailed (Events page) */
.event-card-detailed {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.event-card-detailed:hover { box-shadow: var(--shadow-lg); }

.event-date-box {
    background: var(--navy);
    color: var(--gold);
    padding: 24px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-day { font-size: 2rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.875rem; text-transform: uppercase; }
.event-year { font-size: 0.75rem; opacity: 0.8; }

.event-details { padding: 24px; flex: 1; }
.event-desc { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 12px; }
.event-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--text-gray); flex-wrap: wrap; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-item { overflow: hidden; border-radius: var(--radius); }

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h6 {
    color: var(--bg-white);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 1.5rem;
}

/* ============================================
   STAFF CARDS
   ============================================ */
.staff-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.staff-photo {
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info { padding: 20px; }
.staff-name { font-size: 1.05rem; margin-bottom: 4px; }
.staff-title { display: block; color: var(--gold); font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.staff-dept { display: block; color: var(--text-gray); font-size: 0.8rem; }
.staff-qualifications { font-size: 0.8rem; color: var(--text-gray); margin-top: 8px; }
.staff-email { font-size: 0.8rem; color: var(--navy); }
.staff-email:hover { color: var(--gold); }

/* Leadership Card */
.leadership-card .staff-photo { height: 280px; }

/* Staff Profile Card (detail) */
.staff-profile-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}

.staff-profile-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin: 0 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(197, 165, 90, 0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
}

.testimonial-rating { color: var(--gold); margin-bottom: 16px; font-size: 1rem; }

.testimonial-text {
    color: rgba(255,255,255,0.9);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.author-name { color: var(--bg-white); margin-bottom: 0; font-size: 0.9rem; }
.author-role { color: var(--gold); font-size: 0.8rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(197,165,90,0.1)"/></svg>');
    background-size: 50px;
}

.cta-content { position: relative; z-index: 1; }
.cta-title { color: var(--bg-white); font-size: 2.5rem; margin-bottom: 16px; }
.cta-desc { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; }

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    padding: 80px 0 40px;
    color: var(--bg-white);
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px;
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner .page-title {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-banner .breadcrumb { background: none; padding: 0; margin: 0; }
.page-banner .breadcrumb-item a { color: var(--gold); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ============================================
   CATEGORY FILTERS
   ============================================ */
.category-filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================
   SIDEBAR CARDS
   ============================================ */
.sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.sidebar-card h4 { font-size: 1.1rem; margin-bottom: 16px; color: var(--navy); }

/* About sidebar */
.quick-facts { list-style: none; padding: 0; }
.quick-facts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.quick-facts li:last-child { border-bottom: none; }

.leader-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.leader-item:last-child { border-bottom: none; }

.leader-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Value Cards */
.value-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
}
.value-card h5 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.875rem; color: var(--text-gray); margin-bottom: 0; }

/* Facility Cards */
.facility-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.facility-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.facility-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.facility-card h5 { font-size: 0.95rem; margin-bottom: 8px; }
.facility-card p { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 0; }

/* Info Cards */
.info-card {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius);
}
.info-card h5 { font-size: 0.9rem; margin-bottom: 6px; }
.info-card p { font-size: 0.875rem; margin-bottom: 0; }

/* Contact Info */
.contact-info { background: var(--bg-white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border-color); }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h6 { margin-bottom: 4px; font-size: 0.9rem; }
.contact-item p { margin-bottom: 0; font-size: 0.9rem; color: var(--text-gray); }

.social-connect { text-align: center; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form .form-control {
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    font-size: 0.9rem;
}

.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.2);
}

/* Map */
.map-container iframe { width: 100%; height: 400px; display: block; }

/* Admissions */
.requirement-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--gold);
}

.requirement-card h5 { font-size: 1rem; margin-bottom: 12px; }
.requirement-card ul { padding-left: 20px; margin-bottom: 0; }
.requirement-card li { margin-bottom: 6px; color: var(--text-gray); }

.steps-container { margin: 24px 0; }

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-left: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h5 { font-size: 1rem; margin-bottom: 6px; }
.step-content p { color: var(--text-gray); margin-bottom: 0; font-size: 0.9rem; }

.documents-list { margin: 16px 0; }
.document-item { padding: 8px 0; font-size: 0.9rem; }

.dates-list { list-style: none; padding: 0; }
.dates-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.dates-list li:last-child { border-bottom: none; }
.date-label { color: var(--text-gray); }
.date-value { font-weight: 600; color: var(--navy); }

.courses-list { list-style: none; padding: 0; }
.courses-list li { padding: 6px 0; font-size: 0.9rem; }

/* Search */
.search-form-large .input-group { box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); overflow: hidden; }
.search-form-large .form-control { border: none; padding: 16px 24px; font-size: 1.1rem; }
.search-form-large .btn { padding: 16px 32px; }

.search-result-item { padding: 16px; background: var(--bg-light); border-radius: var(--radius); transition: var(--transition); }
.search-result-item:hover { background: var(--bg-white); box-shadow: var(--shadow); }

/* ============================================
   FOOTER
   ============================================ */
.main-footer { background: var(--navy); color: rgba(255,255,255,0.85); }

.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-title {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-contact p { margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact i { color: var(--gold); width: 20px; }

.footer-heading {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; display: block; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.newsletter-form .form-control {
    border: none;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    color: var(--bg-white);
}

.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form .btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 12px 20px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-social a:hover { background: var(--gold); color: var(--navy); }

.footer-bottom { padding: 20px 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ============================================
   BACK TO TOP
   ============================================ */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-back-to-top.show { opacity: 1; visibility: visible; }
.btn-back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ============================================
   ALERTS
   ============================================ */
.alert-success { background: #D4EDDA; border-color: #C3E6CB; color: #155724; }
.alert-danger { background: #F8D7DA; border-color: #F5C6CB; color: #721C24; }
.alert-warning { background: #FFF3CD; border-color: #FFEEBA; color: #856404; }
.alert-info { background: #D1ECF1; border-color: #BEE5EB; color: #0C5460; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-link {
    color: var(--navy);
    border-color: var(--border-color);
    padding: 8px 16px;
}

.pagination .page-link:hover {
    background: var(--navy);
    color: var(--bg-white);
    border-color: var(--navy);
}

.pagination .page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--bg-white);
}

/* ============================================
   BADGES
   ============================================ */
.badge.bg-navy { background: var(--navy) !important; color: var(--bg-white); }
.badge.bg-gold { background: var(--gold) !important; color: var(--navy); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 1.75rem; }
    .section-padding { padding: 60px 0; }
    .hero-stats { position: relative; }
    .stat-number { font-size: 1.75rem; }
    .about-badge { right: 10px; bottom: -10px; padding: 12px 16px; }
    .badge-year { font-size: 1.5rem; }
    .cta-title { font-size: 1.75rem; }
    .page-banner .page-title { font-size: 2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .footer-bottom { text-align: center; }
    .footer-bottom .text-md-end { text-align: center !important; margin-top: 8px; }
    .event-card-detailed { flex-direction: column; }
    .event-date-box { flex-direction: row; gap: 8px; padding: 12px; }
    .event-day, .event-month, .event-year { font-size: 1rem; display: inline; }
    .top-bar-left, .top-bar-right { text-align: center; justify-content: center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy);
    color: var(--bg-white);
    padding: 8px;
    z-index: 1050;
    transition: top 0.3s;
}

.skip-link:focus { top: 0; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Print styles */
@media print {
    .top-bar, .main-navbar, .main-footer, .btn-back-to-top { display: none !important; }
    .section-padding { padding: 20px 0; }
    body { color: #000; }
    a { text-decoration: underline; }
}
