/* ========================================
   ST. LAWRENCE JUNIOR SCHOOL - REDESIGN
   Modern, Clean, Professional Design
   Official School Colors: Blue & Red
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Official School Colors */
    --primary-blue: #0066cc;
    --primary-color: #0066cc; /* Alias for compatibility */
    --dark-blue: #0052a3;
    --accent-red: #dc3545;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-accent: linear-gradient(135deg, #0066cc 0%, #dc3545 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER / NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    height: 85px;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-badge {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 77, 159, 0.3);
    transition: var(--transition);
}

.logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.4);
}

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

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.logo-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 12px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(30, 77, 159, 0.3);
}

.nav-link:hover i {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li {
    list-style: none;
}

.nav-dropdown .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown .dropdown-menu li a:hover {
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.1) 0%, transparent 100%);
    border-left-color: #0066cc;
    color: #0066cc;
    padding-left: 25px;
}

/* Admin Button */
.nav-actions {
    display: flex;
    align-items: center;
}

.btn-admin {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 77, 159, 0.3);
}

.btn-admin:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.4);
    color: var(--white);
}

.btn-admin i {
    font-size: 16px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    padding: 40px 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 140px;
    align-items: center;
}

.hero-left {
    color: var(--white);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-green {
    background: #1e4d9f;
    color: var(--white);
}

.btn-green:hover {
    background: #163a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 77, 159, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: #1a1a1a;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--white);
    border: 2px solid var(--accent-red);
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

/* Why Choose Us Box */
.why-choose-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-choose-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    text-align: left;
}

.why-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
}

.why-stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-stat-icon i {
    font-size: 24px;
    color: var(--white);
}

.why-stat-info {
    flex: 1;
}

.why-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1;
}

.why-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.3;
}

/* ========== EVENTS BAR ========== */
.events-bar {
    background: var(--primary-blue);
    padding: 25px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e4d9f 0%, #2563eb 100%);
    padding: 25px;
    border-radius: 12px;
    color: white;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(30, 77, 159, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #dc3545;
    position: relative;
    overflow: hidden;
}

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(220, 53, 69, 0.1) 100%);
    pointer-events: none;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 77, 159, 0.3);
    border-left-color: #c82333;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 18px 22px;
    border-radius: 10px;
    min-width: 85px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.event-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    opacity: 0.9;
    margin-bottom: 5px;
}

.event-day {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    color: white;
}

.event-info {
    flex: 1;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    min-width: 0;
}

.event-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.event-info p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-info p i {
    color: #dc3545;
    opacity: 1;
}

.event-btn {
    background: white;
    color: #1e4d9f;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-btn:hover {
    background: #c82333;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.about-content {
    padding-right: 20px;
}

.about-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.about-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
    font-weight: 400;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    margin-top: 20px;
}

.about-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.3);
    color: var(--white);
}

.about-cta-btn i {
    font-size: 14px;
    transition: var(--transition);
}

.about-cta-btn:hover i {
    transform: translateX(4px);
}

/* Right Image Container */
.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.placeholder-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: linear-gradient(135deg, #e3f0ff 0%, #f0f4f8 100%);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.placeholder-image i {
    font-size: 64px;
    color: var(--primary-blue);
    opacity: 0.7;
}

.placeholder-image span {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Floating Card */
.floating-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon i {
    font-size: 24px;
    color: var(--white);
}

.floating-card-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1;
}

.floating-card-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.3;
}

/* ========== GALLERY PREVIEW SECTION ========== */
.gallery-preview-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

/* Advanced Masonry Grid */
.gallery-masonry-grid {
    columns: 4;
    column-gap: 20px;
    margin: 50px 0 40px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    transition: all 0.5s ease;
}

/* Gallery Cards with Variable Heights */
.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Different heights for masonry effect */
.featured .gallery-card {
    height: 380px;
}

.medium .gallery-card {
    height: 260px;
}

.small .gallery-card {
    height: 200px;
}

.tall .gallery-card {
    height: 340px;
}

.wide .gallery-card {
    height: 240px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

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

/* Category Tags - Each image has a category badge */
.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .category-tag {
    transform: scale(1.05);
}

.category-tag.academics {
    background: var(--primary-blue);
    color: var(--white);
}

.category-tag.sports {
    background: var(--accent-red);
    color: var(--white);
}

.category-tag.events {
    background: #ffd700;
    color: #8b6914;
}

.category-tag.facilities {
    background: #8b5cf6;
    color: var(--white);
}

/* Smart Overlay System - Appears on hover with staggered animations */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 77, 159, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.overlay-content p {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* Zoom Buttons - Floating zoom icon on each image */
.zoom-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 30px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 77, 159, 0.3);
}

/* View Gallery Button */
.gallery-cta {
    text-align: center;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 77, 159, 0.3);
    font-size: 14px;
}

.view-gallery-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 77, 159, 0.4);
}

.view-gallery-btn i {
    transition: transform 0.3s ease;
}

.view-gallery-btn:hover i {
    transform: translateX(5px);
}

/* Filter Animation */
.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-masonry-grid {
        columns: 3;
        column-gap: 18px;
    }
}

@media (max-width: 768px) {
    .gallery-preview-section {
        padding: 80px 0;
    }
    
    .gallery-masonry-grid {
        columns: 2;
        column-gap: 15px;
    }
    
    .featured .gallery-card {
        height: 300px;
    }
    
    .medium .gallery-card {
        height: 220px;
    }
    
    .small .gallery-card {
        height: 180px;
    }
    
    .tall .gallery-card {
        height: 260px;
    }
    
    .wide .gallery-card {
        height: 200px;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 12px;
    }
    
    .overlay-content h4 {
        font-size: 16px;
    }
    
    .overlay-content p {
        font-size: 12px;
    }
    
    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry-grid {
        columns: 1;
        column-gap: 0;
    }
    
    .featured .gallery-card,
    .medium .gallery-card,
    .small .gallery-card,
    .tall .gallery-card,
    .wide .gallery-card {
        height: 240px;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .filter-btn {
        width: 200px;
        justify-content: center;
    }
    
    .view-gallery-btn {
        padding: 14px 28px;
        font-size: 13px;
    }
    
    .category-tag {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 10px;
    }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 60px auto 50px;
    padding: 0 60px;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 45px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.quote-icon i {
    font-size: 24px;
    color: var(--white);
}

.rating {
    display: flex;
    gap: 6px;
    margin-bottom: 25px;
}

.rating i {
    color: #ffd700;
    font-size: 18px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 2px solid rgba(30, 77, 159, 0.1);
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.author-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    color: var(--primary-blue);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(30, 77, 159, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(30, 77, 159, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-blue);
    width: 35px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-carousel-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-carousel-wrapper {
        padding: 0 40px;
        margin: 40px auto 40px;
    }
    
    .testimonial-card {
        padding: 35px 30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-wrapper {
        padding: 0 30px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .prev-btn {
        left: -5px;
    }
    
    .next-btn {
        right: -5px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .testimonial-author img {
        width: 60px;
        height: 60px;
    }
}

/* ========== ACADEMIC CALENDAR SECTION ========== */
.academic-calendar-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* Calendar Grid Layout */
.calendar-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

/* Left Side - Important Days */
.calendar-left {
    display: flex;
    flex-direction: column;
}

.calendar-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(30, 77, 159, 0.1);
}

.calendar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-bottom: 2px solid rgba(30, 77, 159, 0.1);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.card-content {
    padding: 30px;
}

.no-events-text {
    color: var(--text-gray);
    font-style: italic;
    margin: 0;
    padding: 20px 0;
}

/* Important Items */
.important-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(30, 77, 159, 0.1);
    transition: var(--transition);
}

.important-item:last-child {
    border-bottom: none;
}

.important-item:hover {
    background: rgba(30, 77, 159, 0.02);
    margin: 0 -20px;
    padding: 15px 20px;
    border-radius: 12px;
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: var(--white);
    flex-shrink: 0;
}

.date-month {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-day {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.event-details p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* Upcoming Events */
.upcoming-events {
    padding: 25px 30px;
    background: rgba(30, 77, 159, 0.02);
    border-top: 1px solid rgba(30, 77, 159, 0.1);
}

/* Right Side - Interactive Calendar */
.calendar-widget {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(30, 77, 159, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: var(--gradient-primary);
    color: var(--white);
}

.nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.calendar-month {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: rgba(30, 77, 159, 0.05);
}

.day-header {
    padding: 15px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 20px;
    gap: 5px;
}

.calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    min-height: 40px;
}

.calendar-date.empty {
    cursor: default;
    pointer-events: none;
}

.calendar-date:not(.empty):hover {
    background: rgba(30, 77, 159, 0.1);
    transform: scale(1.05);
}

.calendar-date.today {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(30, 77, 159, 0.3);
}

.calendar-date.has-event {
    background: rgba(220, 53, 69, 0.1);
    color: var(--accent-red);
    font-weight: 600;
    cursor: pointer;
}

.calendar-date.has-event:hover {
    background: rgba(220, 53, 69, 0.2);
    transform: scale(1.1);
}

.calendar-date.has-event::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 50%;
}

.calendar-date.today.has-event::after {
    background: var(--white);
}

.upcoming-events h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-event {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.mini-event:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mini-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(30, 77, 159, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-details span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.mini-details small {
    font-size: 12px;
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .academic-calendar-section {
        padding: 80px 0;
    }
    
    .calendar-grid {
        gap: 30px;
        margin-top: 40px;
    }
    
    .card-header {
        padding: 20px 25px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .calendar-header {
        padding: 20px 25px;
    }
    
    .calendar-dates {
        padding: 15px;
    }
    
    .upcoming-events {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .calendar-header .calendar-month {
        font-size: 16px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .day-header {
        padding: 10px 5px;
        font-size: 11px;
    }
    
    .calendar-dates {
        padding: 10px;
        gap: 3px;
    }
    
    .calendar-date {
        min-height: 35px;
        font-size: 14px;
    }
}

.upcoming-events h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-event {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.mini-event:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mini-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(30, 77, 159, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-details span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.mini-details small {
    font-size: 12px;
    color: var(--text-gray);
}

/* Term Overview Cards */
.term-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.term-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(30, 77, 159, 0.1);
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.term-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.term-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.term-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.term-info span {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.term-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(30, 77, 159, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .term-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .academic-calendar-section {
        padding: 80px 0;
    }
    
    .calendar-grid {
        gap: 30px;
        margin-top: 40px;
    }
    
    .card-header {
        padding: 20px 25px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .important-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .calendar-header {
        padding: 20px 25px;
    }
    
    .calendar-dates {
        padding: 15px;
    }
    
    .upcoming-events {
        padding: 20px 25px;
    }
    
    .term-card {
        padding: 25px;
    }
    
    .term-overview {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .calendar-stats {
        gap: 10px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .calendar-header .calendar-month {
        font-size: 16px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .term-header {
        gap: 15px;
    }
    
    .term-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.back-to-top i {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

/* ========== SUBJECTS TAUGHT SECTION ========== */
.subjects-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.subjects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
}

/* Left Column */
.subjects-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Bottom row with two square cards */
.subjects-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Right Column */
.subjects-right {
    display: flex;
}

/* Card Styles */
.subject-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.subject-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Horizontal Card (Top Left) */
.subject-card.horizontal .subject-image {
    height: 200px;
}

/* Square Cards (Bottom Left) */
.subject-card.square .subject-image {
    height: 180px;
}

/* Tall Card (Right) */
.subject-card.tall {
    height: 100%;
}

.subject-card.tall .subject-image {
    height: 400px;
}

.subject-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

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

.subject-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px;
}

.subject-badge {
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subject-content {
    padding: 20px;
    background: var(--white);
}

.subject-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.subject-count {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .subject-card.tall .subject-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .subjects-section {
        padding: 80px 0;
    }
    
    .subjects-grid {
        gap: 15px;
        margin-top: 40px;
    }
    
    .subjects-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .subject-card.horizontal .subject-image {
        height: 180px;
    }
    
    .subject-card.square .subject-image {
        height: 200px;
    }
    
    .subject-card.tall .subject-image {
        height: 250px;
    }
    
    .subject-content {
        padding: 18px;
    }
    
    .subject-content h3 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .subject-card.horizontal .subject-image {
        height: 160px;
    }
    
    .subject-card.square .subject-image {
        height: 180px;
    }
    
    .subject-card.tall .subject-image {
        height: 220px;
    }
    
    .subject-content {
        padding: 15px;
    }
    
    .subject-content h3 {
        font-size: 16px;
    }
    
    .subject-count {
        font-size: 12px;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: auto;
        left: -100%;
        width: 100%;
        height: auto;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger span {
        background: var(--white);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .why-choose-box {
        padding: 30px 25px;
    }
    
    .why-choose-title {
        font-size: 26px;
    }
    
    .why-stat-number {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content {
        padding-right: 0;
        order: 2;
    }
    
    .about-image-container {
        order: 1;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .floating-card {
        bottom: 20px;
        left: 20px;
        padding: 20px 24px;
    }
    
    .floating-card-content h4 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-item {
        gap: 15px;
    }
    
    .event-date {
        min-width: 60px;
        padding: 12px 15px;
    }
    
    .event-day {
        font-size: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .why-choose-box {
        padding: 25px 20px;
    }
    
    .why-choose-title {
        font-size: 22px;
    }
    
    .why-stat-item {
        padding: 15px;
        gap: 15px;
    }
    
    .why-stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .why-stat-icon i {
        font-size: 22px;
    }
    
    .why-stat-number {
        font-size: 24px;
    }
    
    .why-stat-label {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* ========== PROGRAMS SECTION ========== */
.programs-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.02) 0%, rgba(220, 53, 69, 0.02) 100%);
    z-index: 0;
}

.programs-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 77, 159, 0.1);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 77, 159, 0.1);
}

.program-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(30, 77, 159, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-red);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.program-icon.nursery {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.program-icon.primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
}

.program-icon.boarding {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
}

.program-icon i {
    font-size: 32px;
    color: var(--white);
    z-index: 2;
}

.program-badge {
    background: rgba(30, 77, 159, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.program-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.program-features {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-gray);
}

.program-features i {
    color: #10b981;
    font-size: 12px;
    width: 16px;
    height: 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-footer {
    margin-top: auto;
}

.program-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.program-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.3);
    color: var(--white);
}

/* Program Stats */
.program-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.05) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-radius: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Programs Responsive */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .program-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .program-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .program-stats {
        grid-template-columns: 1fr;
    }
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

/* Section Header */
.why-choose-header {
    margin-bottom: 80px;
}

.why-choose-header .section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.why-choose-header .section-tag::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--text-gray);
}

.why-choose-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.why-choose-title .highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Why Choose Grid Layout */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Top Left Card - Expert Instructors */
.why-choose-left .top-cards .square-card:first-child {
    grid-column: 1;
    grid-row: 1;
}

/* Top Middle Card - Career-Boost */
.why-choose-left .top-cards .square-card:last-child {
    grid-column: 2;
    grid-row: 1;
}

/* Bottom Wide Card - 100+ Courses */
.why-choose-left .bottom-card {
    grid-column: 1 / 3;
    grid-row: 2;
}

/* Right Tall Card - Flexible Learning */
.why-choose-right {
    grid-column: 3;
    grid-row: 1 / 3;
}

/* Left Column */
.why-choose-left {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Top Cards - Two squares side by side */
.top-cards {
    grid-column: 1 / 3;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Bottom Card - One horizontal rectangle */
.bottom-card {
    grid-column: 1 / 3;
    grid-row: 2;
}

/* Right Column - One tall card */
.why-choose-right {
    display: flex;
    flex-direction: column;
}

/* Card Types */
.square-card {
    min-height: 280px;
}

.horizontal-card {
    width: 100%;
    min-height: 200px;
}

.tall-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Why Cards */
.why-card {
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
}

/* Light Cards */
.light-card {
    background: #f5f5f5;
    border: none;
}

.light-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Featured Card (Blue) */
.featured-card {
    background: #1e3a8a;
    color: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.3);
}

/* Why Icons */
.why-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #666;
    transition: var(--transition);
    background: transparent;
}

.white-icon {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

/* Card Content */
.why-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.featured-card h3 {
    color: var(--white);
}

.why-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-card p {
    color: rgba(255, 255, 255, 0.9);
}

.featured-extra {
    font-weight: 600;
    color: var(--white) !important;
    margin-top: 20px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-red);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.cta-button:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-choose-left {
        grid-column: 1;
        grid-row: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .why-choose-right {
        grid-column: 1;
        grid-row: auto;
    }
    
    .why-choose-right .tall-card {
        height: auto;
        min-height: 350px;
    }
    
    .why-choose-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 80px 0;
    }
    
    .why-choose-header {
        margin-bottom: 60px;
    }
    
    .why-choose-header .section-tag::before {
        display: none;
    }
    
    .why-choose-title {
        font-size: 36px;
    }
    
    .why-choose-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .why-choose-left {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .top-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .bottom-card {
        width: 100%;
    }
    
    .why-choose-right {
        width: 100%;
    }
    
    .square-card,
    .horizontal-card,
    .tall-card {
        min-height: auto;
        height: auto;
    }
    
    .why-card {
        padding: 30px 25px;
    }
    
    .featured-card {
        padding: 40px 30px;
    }
    
    .why-card h3 {
        font-size: 20px;
    }
    
    .why-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .why-choose-title {
        font-size: 28px;
    }
    
    .why-card {
        padding: 25px 20px;
    }
    
    .featured-card {
        padding: 35px 25px;
    }
    
    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .why-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .why-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 13px;
    }
}

/* ====
====== DIRECTOR'S MESSAGE SECTION ========== */
.director-message-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

/* Director Photo Side */
.director-photo-side {
    position: relative;
    display: flex;
    justify-content: center;
}

.photo-container {
    position: relative;
    width: 350px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: var(--white);
    transition: all 0.3s ease;
}

.photo-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.director-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Show face, not top of head */
    transition: transform 0.3s ease;
}

.photo-container:hover .director-image {
    transform: scale(1.03);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 30px 25px 25px;
    color: var(--white);
    text-align: center;
    z-index: 2;
}

.director-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.director-info p {
    font-size: 14px;
    opacity: 0.95;
    margin-bottom: 12px;
    font-weight: 500;
}

.experience {
    background: var(--accent-red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Director Message Side */
.director-message-side {
    padding-left: 20px;
}

.message-header {
    margin-bottom: 30px;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 77, 159, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.message-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.message-quote {
    position: relative;
    background: var(--white);
    padding: 35px 40px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.message-quote:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.message-quote i {
    position: absolute;
    top: -18px;
    left: 30px;
    font-size: 32px;
    color: var(--white);
    background: var(--primary-blue);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(30, 77, 159, 0.3);
}

.message-quote p {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
}

.message-body {
    margin: 30px 0;
}

.message-body p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 18px;
}

.message-signature {
    padding-top: 30px;
    border-top: 2px solid rgba(30, 77, 159, 0.15);
    margin-bottom: 30px;
}

.signature-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
}

.signature-title {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.message-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.message-btn.primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(30, 77, 159, 0.3);
}

.message-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.4);
}

.message-btn.outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.message-btn.outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.message-btn i {
    transition: transform 0.3s ease;
}

.message-btn:hover i {
    transform: translateX(3px);
}

.director-photo-container {
    position: relative;
    width: 350px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: var(--white);
    padding: 15px;
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.director-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.3);
}

.director-badge i {
    font-size: 24px;
    color: var(--white);
}

/* Director Content */
.director-content {
    padding-left: 20px;
}

.director-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.director-quote {
    position: relative;
    background: var(--white);
    padding: 35px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-blue);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    font-size: 30px;
    color: var(--primary-blue);
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote-text {
    font-size: 20px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.director-message {
    margin-bottom: 40px;
}

.director-message p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.director-message p:last-child {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 18px;
}

/* Director Signature */
.director-signature {
    padding-top: 30px;
    border-top: 2px solid rgba(30, 77, 159, 0.1);
}

.signature-line {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.director-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.director-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
}

.director-title-text {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signature-credentials {
    margin-top: 8px;
}

.signature-credentials span {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

/* Director Responsive */
@media (max-width: 1024px) {
    .director-grid {
        gap: 60px;
    }
    
    .photo-container {
        width: 300px;
        height: 360px;
    }
    
    .message-title {
        font-size: 36px;
    }
    
    .message-quote p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .director-message-section {
        padding: 80px 0;
    }
    
    .director-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .director-message-side {
        padding-left: 0;
    }
    
    .photo-container {
        width: 280px;
        height: 340px;
        margin: 0 auto;
    }
    
    .message-title {
        font-size: 32px;
    }
    
    .message-quote p {
        font-size: 16px;
    }
    
    .message-actions {
        justify-content: center;
    }
    
    .message-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .photo-container {
        width: 250px;
        height: 300px;
    }
    
    .message-title {
        font-size: 28px;
    }
    
    .signature-name {
        font-size: 24px;
    }
    
    .message-quote p {
        font-size: 16px;
    }
}

/* ========== FACILITIES SECTION ========== */
.facilities-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

/* Section Header */
.director-header {
    text-align: center;
    margin-bottom: 80px;
}

.director-main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* Director Card */
.director-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(30, 77, 159, 0.1);
}

.director-card-inner {
    padding: 0;
}

/* Director Info Bar */
.director-info-bar {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 40px 50px;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.05) 0%, rgba(220, 53, 69, 0.02) 100%);
    border-bottom: 1px solid rgba(30, 77, 159, 0.1);
    position: relative;
}

.director-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.director-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.director-details {
    flex: 1;
}

.director-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.director-position {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 500;
}

.experience-badge {
    background: var(--accent-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-mark {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quote-mark i {
    font-size: 24px;
    color: var(--white);
}

/* Message Content */
.message-content {
    padding: 50px;
}

.message-text {
    margin-bottom: 40px;
}

.lead-message {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.4;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.lead-message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
    border-radius: 2px;
}

.message-text p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Message CTA */
.message-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.director-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.director-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.3);
    color: var(--white);
}

.director-cta-btn i {
    font-size: 14px;
    transition: var(--transition);
}

.director-cta-btn:hover i {
    transform: translateX(4px);
}

.contact-director {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.contact-director span {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-director a {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.contact-director a:hover {
    color: #c82333;
    text-decoration: underline;
}

/* Achievement Highlights */
.achievement-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(30, 77, 159, 0.03);
    padding: 25px 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.achievement-item:hover {
    background: rgba(30, 77, 159, 0.08);
    transform: translateY(-3px);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-icon i {
    font-size: 22px;
    color: var(--white);
}

.achievement-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.achievement-text p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* Director Responsive */
@media (max-width: 768px) {
    .director-message-section {
        padding: 80px 0;
    }
    
    .director-main-title {
        font-size: 36px;
    }
    
    .director-info-bar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }
    
    .message-content {
        padding: 30px 25px;
    }
    
    .lead-message {
        font-size: 20px;
        padding-left: 20px;
    }
    
    .message-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-director {
        text-align: center;
    }
    
    .achievement-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .director-main-title {
        font-size: 28px;
    }
    
    .director-name {
        font-size: 22px;
    }
    
    .lead-message {
        font-size: 18px;
    }
    
    .director-card {
        margin: 0 10px;
    }
}

/* ========== READY TO JOIN SECTION ========== */
.ready-to-join-section {
    background: var(--white);
    padding: 80px 0 80px;
    position: relative;
    margin-bottom: 0;
}

.ready-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.ready-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.ready-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.ready-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ready-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.ready-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.3);
}

.ready-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.ready-btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Wavy Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .ready-to-join-section {
        padding: 60px 0 0;
    }
    
    .ready-content {
        padding-bottom: 40px;
    }
    
    .ready-content h2 {
        font-size: 32px;
    }
    
    .ready-content p {
        font-size: 16px;
    }
    
    .ready-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ready-btn,
    .ready-btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .wave-divider {
        height: 80px;
    }
    
    .wave-divider svg {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .ready-content h2 {
        font-size: 26px;
    }
    
    .ready-content p {
        font-size: 15px;
    }
    
    .ready-btn,
    .ready-btn-outline {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ccc;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    margin-top: -1px;
}

/* Footer Video Background */
.footer-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

/* Footer Overlay - Red and Black Gradient */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(26, 26, 26, 0.92) 30%,
        rgba(60, 10, 10, 0.88) 55%,
        rgba(80, 20, 20, 0.85) 70%,
        rgba(0, 0, 0, 0.93) 100%
    );
    z-index: 1;
}

/* Ensure footer content is above video and overlay */
.footer .container {
    position: relative;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    z-index: 3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Brand Column */
.footer-brand-col {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(30, 77, 159, 0.3);
}

.footer-logo span {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer-description {
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 77, 159, 0.4);
}

.footer-col h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #b3b3b3;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-col ul li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--primary-blue);
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    margin-right: 12px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #b3b3b3;
    font-size: 16px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.contact-info li:hover {
    color: var(--white);
}

.contact-info i {
    color: var(--primary-blue);
    margin-top: 3px;
    font-size: 18px;
    min-width: 18px;
}

/* Contact Links in Footer */
.footer .contact-link {
    color: #b3b3b3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline;
    background: none;
    padding: 0;
    border: none;
    white-space: nowrap; /* Prevent phone numbers from breaking */
}

.footer .contact-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
    background: none;
    transform: none;
}

/* Prevent phone number line from wrapping */
.footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #b3b3b3;
    font-size: 16px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    flex-wrap: nowrap; /* Keep everything on one line */
}

.footer .contact-info li > span,
.footer .contact-info li > a {
    white-space: nowrap; /* Prevent text wrapping */
}

/* Footer Copyright Section */
.footer-copyright {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.copyright-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.copyright-content p {
    color: #d1d1d1;
    font-size: 17px;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.footer-credit {
    color: #a8a8a8;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-credit i {
    color: var(--accent-red);
    font-size: 17px;
    animation: heartbeat 1.5s infinite;
}

/* Footer Developer Section */
.footer-developer {
    padding: 35px 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.developer-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 35px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.developer-info:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 77, 159, 0.3);
}

.developer-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.developer-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.developer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.developer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.developer-link:hover {
    color: var(--white);
    transform: scale(1.05);
}

.developer-link i {
    font-size: 16px;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 300;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-brand-col {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-brand-col {
        grid-column: span 1;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
        text-align: left;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .contact-info li i {
        margin-top: 0;
    }
    
    .contact-info li > span,
    .contact-info li > a {
        text-align: center;
        font-size: 14px;
        word-break: break-word;
        white-space: normal;
    }
    
    .footer-copyright {
        padding: 25px 0;
    }
    
    .copyright-content p {
        font-size: 15px;
    }
    
    .footer-credit {
        font-size: 14px;
    }
    
    .footer-developer {
        padding: 30px 0;
    }
    
    .developer-info {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .developer-name {
        font-size: 20px;
        word-break: break-word;
    }
    
    .developer-contact {
        flex-direction: column;
        gap: 12px;
    }
    
    .separator {
        display: none;
    }
    
    .developer-link {
        font-size: 15px;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-logo img {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo span {
        font-size: 20px;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .footer-col h3 {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .footer-col ul li {
        margin-bottom: 12px;
    }
    
    .footer-col ul li a {
        font-size: 14px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .contact-info li {
        margin-bottom: 15px;
        gap: 6px;
    }
    
    .contact-info li > span,
    .contact-info li > a {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .contact-info i {
        font-size: 16px;
    }
    
    .footer-copyright {
        padding: 20px 15px;
    }
    
    .copyright-content p {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .footer-credit {
        font-size: 12px;
    }
    
    .footer-developer {
        padding: 25px 0;
    }
    
    .developer-info {
        padding: 20px 15px;
        margin: 0 10px;
        border-radius: 12px;
    }
    
    .developer-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .developer-name {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .developer-link {
        font-size: 13px;
        gap: 6px;
    }
    
    .developer-link i {
        font-size: 14px;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ======================================== */

/* ========== TABLET DEVICES (1024px and below) ========== */
@media (max-width: 1024px) {
    /* Header/Navigation */
    .navbar {
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 70vh;
        padding: 30px 0;
    }
    
    .hero-grid {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .why-choose-box {
        padding: 35px 30px;
    }
    
    .why-choose-title {
        font-size: 24px;
    }
    
    .why-stat-number {
        font-size: 24px;
    }
    
    /* Events Bar */
    .events-grid {
        gap: 30px;
    }
    
    /* Stats Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* About Section */
    .about-section {
        padding: 80px 0;
    }
    
    .about-grid {
        gap: 60px;
    }
    
    .about-title {
        font-size: 42px;
    }
    
    /* Programs Section */
    .programs-grid {
        gap: 25px;
    }
    
    /* Subjects Section */
    .subjects-grid {
        gap: 20px;
    }
    
    /* Why Choose Us */
    .why-choose-grid {
        gap: 25px;
    }
    
    /* Director Message */
    .director-grid {
        gap: 50px;
    }
}

/* ========== MOBILE DEVICES (768px and below) ========== */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Header/Navigation */
    .header {
        padding: 0;
        height: 70px;
    }
    
    .navbar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 15px;
        gap: 10px;
    }

    /* Hide desktop nav items and admin button on mobile */
    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }
    
    .logo {
        flex: 1;
        min-width: 0;
        /* Allow wrapped logo lines; hidden clipped text under fixed hamburger on narrow phones */
        overflow: visible;
        padding-right: 52px;
        box-sizing: border-box;
    }

    .logo-badge {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: clamp(11px, 3.6vw, 16px);
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.15;
    }
    
    .logo-subtitle {
        font-size: clamp(9px, 2.8vw, 10px);
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.2;
    }
    
    /* Hero Section - must clear the 70px navbar */
    .hero {
        min-height: auto;
        padding: 30px 0 40px;
        margin-top: 70px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 30px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
        flex: 1;
        text-align: center;
        padding: 13px 16px;
        font-size: 14px;
    }
    
    .why-choose-box {
        padding: 25px 20px;
    }
    
    .why-choose-title {
        font-size: 18px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .why-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .why-stat-card {
        padding: 15px 12px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .why-stat-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
    
    .why-stat-icon i {
        font-size: 20px;
    }
    
    .why-stat-number {
        font-size: 26px;
    }
    
    .why-stat-label {
        font-size: 13px;
    }
    
    /* Events Bar */
    .events-bar {
        padding: 20px 0;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-item {
        background: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 12px;
    }
    
    .event-date {
        min-width: 60px;
        padding: 12px 15px;
    }
    
    .event-month {
        font-size: 11px;
    }
    
    .event-day {
        font-size: 20px;
    }
    
    .event-info h4 {
        font-size: 15px;
    }
    
    .event-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 25px;
    }
    
    .stat-icon {
        font-size: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 15px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-tag {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    /* About Section */
    .about-section {
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .about-paragraph {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .about-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .about-image-container {
        order: -1;
    }
    
    .placeholder-image {
        height: 280px;
    }
    
    .floating-card {
        bottom: 20px;
        left: 20px;
        padding: 20px 24px;
    }
    
    .floating-card-icon {
        width: 45px;
        height: 45px;
    }
    
    .floating-card-icon i {
        font-size: 20px;
    }
    
    .floating-card-content h4 {
        font-size: 18px;
    }
    
    .floating-card-content p {
        font-size: 13px;
    }
    
    /* Programs Section */
    .programs-section {
        padding: 60px 0;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .program-card {
        padding: 30px 25px;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
    }
    
    .program-icon i {
        font-size: 28px;
    }
    
    .program-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .program-content h3 {
        font-size: 22px;
    }
    
    .program-content p {
        font-size: 14px;
    }
    
    .program-features li {
        font-size: 14px;
    }
    
    .featured-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    /* Subjects Section */
    .subjects-section {
        padding: 60px 0;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .subjects-left,
    .subjects-right {
        width: 100%;
    }
    
    .subjects-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .subject-card.horizontal,
    .subject-card.square,
    .subject-card.tall {
        height: auto;
    }
    
    .subject-card .subject-image {
        height: 200px;
    }
    
    .subject-content {
        padding: 20px;
    }
    
    .subject-content h3 {
        font-size: 20px;
    }
    
    .subject-count {
        font-size: 13px;
    }
    
    /* Why Choose Us Section */
    .why-choose-us-section {
        padding: 60px 0;
    }
    
    .why-choose-title {
        font-size: 28px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-choose-left,
    .why-choose-right {
        width: 100%;
    }
    
    .top-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 25px;
    }
    
    .why-icon {
        width: 50px;
        height: 50px;
    }
    
    .why-icon i {
        font-size: 24px;
    }
    
    .why-card h3 {
        font-size: 20px;
    }
    
    .why-card p {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    /* Director Message Section */
    .director-message-section {
        padding: 60px 0;
    }
    
    .director-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .director-photo-side {
        order: -1;
    }
    
    .photo-container {
        max-width: 100%;
    }
    
    .message-title {
        font-size: 28px;
    }
    
    .message-quote {
        padding: 20px;
        margin: 25px 0;
    }
    
    .message-quote i {
        font-size: 28px;
    }
    
    .message-quote p {
        font-size: 16px;
    }
    
    .message-body p {
        font-size: 15px;
    }
    
    .message-signature {
        padding: 20px 0;
    }
    
    .signature-name {
        font-size: 22px;
    }
    
    .signature-title {
        font-size: 13px;
    }
    
    .message-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .message-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }
    
}

/* ========== SMALL MOBILE DEVICES (480px and below) ========== */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Header */
    .navbar {
        grid-template-columns: auto 1fr auto;
        height: 65px;
        padding: 12px 0;
        justify-content: space-between;
    }
    
    .logo-badge {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 30px 15px;
    }
    
    .nav-link {
        padding: 16px 15px;
        font-size: 15px;
    }
    
    .btn-admin {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0 30px;
        margin-top: 65px;
    }
    
    .hero-grid {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .why-choose-box {
        padding: 25px 20px;
    }
    
    .why-choose-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .why-stats-grid {
        gap: 15px;
    }
    
    .why-stat-card {
        padding: 15px;
    }
    
    .why-stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .why-stat-icon i {
        font-size: 18px;
    }
    
    .why-stat-number {
        font-size: 22px;
    }
    
    .why-stat-label {
        font-size: 12px;
    }
    
    /* Events Bar */
    .events-bar {
        padding: 15px 0;
    }
    
    .events-grid {
        gap: 15px;
    }
    
    .event-item {
        padding: 12px;
        gap: 12px;
    }
    
    .event-date {
        min-width: 55px;
        padding: 10px 12px;
    }
    
    .event-month {
        font-size: 10px;
    }
    
    .event-day {
        font-size: 18px;
    }
    
    .event-info h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .event-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-tag {
        font-size: 11px;
        padding: 5px 14px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    /* About Section */
    .about-section {
        padding: 50px 0;
    }
    
    .about-grid {
        gap: 30px;
    }
    
    .about-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .about-paragraph {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .about-cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .placeholder-image {
        height: 240px;
    }
    
    .placeholder-image i {
        font-size: 48px;
    }
    
    .placeholder-image span {
        font-size: 16px;
    }
    
    .floating-card {
        bottom: 15px;
        left: 15px;
        padding: 18px 20px;
        gap: 12px;
    }
    
    .floating-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .floating-card-icon i {
        font-size: 18px;
    }
    
    .floating-card-content h4 {
        font-size: 16px;
    }
    
    .floating-card-content p {
        font-size: 12px;
    }
    
    /* Programs Section */
    .programs-section {
        padding: 50px 0;
    }
    
    .programs-grid {
        gap: 20px;
    }
    
    .program-card {
        padding: 25px 20px;
    }
    
    .program-icon {
        width: 55px;
        height: 55px;
    }
    
    .program-icon i {
        font-size: 26px;
    }
    
    .program-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .program-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .program-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .program-features {
        gap: 10px;
    }
    
    .program-features li {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .program-features li i {
        font-size: 12px;
    }
    
    .program-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .featured-badge {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    /* Subjects Section */
    .subjects-section {
        padding: 50px 0;
    }
    
    .subjects-grid {
        gap: 15px;
    }
    
    .subject-card .subject-image {
        height: 180px;
    }
    
    .subject-content {
        padding: 18px;
    }
    
    .subject-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .subject-count {
        font-size: 12px;
    }
    
    .subject-badge span {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    /* Why Choose Us Section */
    .why-choose-us-section {
        padding: 50px 0;
    }
    
    .why-choose-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .why-choose-grid {
        gap: 15px;
    }
    
    .why-card {
        padding: 20px;
    }
    
    .why-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .why-icon i {
        font-size: 22px;
    }
    
    .why-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .why-card p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .featured-extra {
        font-size: 13px;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    /* Director Message Section */
    .director-message-section {
        padding: 50px 0;
    }
    
    .director-grid {
        gap: 30px;
    }
    
    .message-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .message-quote {
        padding: 18px;
        margin: 20px 0;
    }
    
    .message-quote i {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .message-quote p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .message-body p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .message-signature {
        padding: 18px 0;
        margin: 20px 0;
    }
    
    .signature-name {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .signature-title {
        font-size: 12px;
    }
    
    .message-actions {
        gap: 10px;
    }
    
    .message-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .director-image {
        max-width: 100%;
    }
    
    .director-info h3 {
        font-size: 20px;
    }
    
    .director-info p {
        font-size: 13px;
    }
    
    .experience {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .info-item {
        font-size: 13px;
    }
    
    .info-item i {
        font-size: 16px;
    }
}

/* ========== EXTRA SMALL DEVICES (360px and below) ========== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .about-title {
        font-size: 22px;
    }
    
    .why-choose-title {
        font-size: 20px;
    }
    
    .message-title {
        font-size: 20px;
    }
    
    .btn,
    .message-btn,
    .about-cta-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}


/* ========================================
   MOBILE DROPDOWN MENU DESIGN
   ======================================== */

/* Hide mobile menu items on desktop */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* ========================================
   MOBILE MENU - CLEAN DARK DESIGN
   Pure black, large spaced items, CTA button
   ======================================== */
@media (max-width: 992px) {

    /* Show mobile items, hide desktop items */
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .nav-menu > li:not(.mobile-only) {
        display: none !important;
    }
    
    .nav-link:not(.nav-link-mobile) {
        display: none !important;
    }
    
    /* Hide Admin Button on Mobile */
    .nav-actions,
    .btn-admin,
    .mobile-menu-admin-item,
    .mobile-menu-admin-btn,
    .mobile-only.mobile-menu-admin-item {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* ===== DROPDOWN PANEL - full width, compact height ===== */
    .nav-menu {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 6px 0 6px !important;
        margin: 0 !important;
        gap: 0 !important;
        list-style: none !important;
        z-index: auto !important;
        overflow: hidden !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        inset-inline: 0 !important;
        /* Hidden by default */
        transform: translateY(-8px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease !important;
        /* Shrink to content - no stretching */
        display: none !important;
    }

    .nav-menu.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* ===== MENU ITEMS ===== */
    .nav-menu .mobile-only {
        width: 100% !important;
        display: block !important;
        border: none !important;
        margin: 0 !important;
    }

    /* ===== NAV LINKS - compact ===== */
    .nav-link-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 11px 24px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        transition: color 0.2s ease, background 0.2s ease !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        letter-spacing: 0.2px !important;
        line-height: 1.3 !important;
    }

    .nav-link-mobile:hover {
        color: #ffffff !important;
        background: rgba(255,255,255,0.08) !important;
    }

    /* Active / current page - red highlight */
    .nav-menu .mobile-only > .nav-link-mobile.active {
        color: #0066cc !important;
        background: transparent !important;
    }

    /* ===== ACADEMICS EXPAND ICON ===== */
    .mobile-expand-icon {
        font-size: 16px !important;
        font-weight: 300 !important;
        color: rgba(255, 255, 255, 0.5) !important;
        transition: transform 0.3s ease, color 0.2s ease !important;
        flex-shrink: 0 !important;
        margin-left: 10px !important;
        line-height: 1 !important;
        background: none !important;
        border-radius: 0 !important;
        width: auto !important;
        height: auto !important;
    }

    .mobile-expandable.active .mobile-expand-icon {
        transform: rotate(45deg) !important;
        color: #dc3545 !important;
        background: none !important;
    }

    .mobile-expandable.active > .nav-link-mobile {
        color: #0066cc !important;
        background: transparent !important;
    }

    /* ===== SUBMENU ===== */
    .mobile-submenu {
        list-style: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        background: rgba(0,0,0,0.2) !important;
        margin: 0 !important;
        padding: 0 !important;
        transition: max-height 0.3s ease !important;
        border: none !important;
    }

    .mobile-expandable.active .mobile-submenu {
        max-height: 200px !important;
    }

    .mobile-submenu li {
        border: none !important;
    }

    .mobile-submenu a {
        display: block !important;
        padding: 10px 24px 10px 40px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.6) !important;
        text-decoration: none !important;
        transition: color 0.2s ease, background 0.2s ease !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    }

    .mobile-submenu a:hover {
        color: #ffffff !important;
        background: rgba(255,255,255,0.06) !important;
    }

    /* ===== CTA BUTTON & CONTACT INFO ===== */
    .mobile-menu-cta {
        margin-top: 6px !important;
        padding: 10px 24px 0px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100% !important;
        border-bottom: none !important;
    }

    .mobile-cta-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 12px 24px !important;
        background: #dc3545 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border-radius: 50px !important;
        transition: background 0.2s ease !important;
    }

    .mobile-cta-btn:hover {
        background: #c82333 !important;
        color: #ffffff !important;
    }

    .mobile-cta-btn i {
        font-size: 12px !important;
    }

    .mobile-menu-contact {
        margin: 8px 0 8px !important;
        text-align: center !important;
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.35) !important;
    }

    /* ===== HAMBURGER X state ===== */
    .hamburger.active {
        background: rgba(30, 30, 30, 0.95) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        z-index: 9999 !important;
    }
}


/* ========================================
   ABOUT US PAGE STYLES
   ======================================== */
/* Page Hero Section */
.page-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 85px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.85) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-red);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Our Story Section */
.our-story-section {
    padding: 100px 0;
    background: var(--white);
}

.our-story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label-alt {
    display: inline-block;
    background: rgba(220, 53, 69, 0.1);
    color: var(--accent-red);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title-alt {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 77, 159, 0.3);
}

.timeline-icon i {
    font-size: 22px;
    color: var(--white);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.timeline-item:nth-child(2) .timeline-icon {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--accent-red);
}

.stat-item-story:nth-child(2) .stat-number-story {
    color: var(--accent-red);
}

.stat-item-story {
    text-align: center;
}

.stat-number-story {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.stat-label-story {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}

.story-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    font-size: 28px;
    color: var(--white);
}

.badge-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.badge-text {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 50px;
    background: var(--accent-red);
}

/* About Content Section */
.about-content-section {
    padding: 100px 0;
    background: var(--white);
}

.about-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.about-intro h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.lead-text {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 500;
}

.about-story {
    max-width: 1000px;
    margin: 0 auto;
}

.about-story h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.about-story p {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.mv-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 5px solid var(--primary-blue);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.mv-icon i {
    font-size: 36px;
    color: var(--white);
}

.mv-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.mv-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Core Values Section */
.core-values-section {
    padding: 100px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--accent-red);
    transform: scale(1.1);
}

.value-icon i {
    font-size: 30px;
    color: var(--white);
}

.value-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.value-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-us-item {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-us-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-blue);
    transition: var(--transition);
}

.why-us-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.why-us-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.why-us-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.why-us-item h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.why-us-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .mv-grid {
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 400px;
        margin-top: 70px;
    }
    
    .page-hero-content h1 {
        font-size: 36px;
    }
    
    .page-hero-content p {
        font-size: 16px;
    }
    
    .breadcrumb {
        font-size: 13px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }
    
    /* Our Story Section */
    .our-story-section {
        padding: 60px 0;
    }
    
    .our-story-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .section-title-alt {
        font-size: 32px;
    }
    
    .story-image img {
        height: 400px;
    }
    
    .story-badge {
        bottom: 20px;
        left: 20px;
        padding: 20px 25px;
    }
    
    .badge-icon {
        width: 50px;
        height: 50px;
    }
    
    .badge-icon i {
        font-size: 24px;
    }
    
    .badge-number {
        font-size: 28px;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }
    
    .about-content-section {
        padding: 60px 0;
    }
    
    .about-intro {
        margin-bottom: 50px;
    }
    
    .about-intro h2 {
        font-size: 32px;
    }
    
    .lead-text {
        font-size: 17px;
    }
    
    .about-story h3 {
        font-size: 26px;
    }
    
    .about-story p {
        font-size: 15px;
    }
    
    .mission-vision-section {
        padding: 60px 0;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mv-card {
        padding: 40px 30px;
    }
    
    .core-values-section {
        padding: 60px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .why-us-section {
        padding: 60px 0;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .why-us-item {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 350px;
    }
    
    .page-hero-content h1 {
        font-size: 28px;
    }
    
    .page-hero-content p {
        font-size: 15px;
    }
    
    .breadcrumb {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    /* Our Story Section */
    .section-title-alt {
        font-size: 26px;
    }
    
    .timeline-item {
        gap: 15px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon i {
        font-size: 18px;
    }
    
    .timeline-content h4 {
        font-size: 18px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    .story-image img {
        height: 350px;
    }
    
    .story-badge {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .badge-icon {
        width: 45px;
        height: 45px;
    }
    
    .badge-icon i {
        font-size: 20px;
    }
    
    .badge-number {
        font-size: 24px;
    }
    
    .badge-text {
        font-size: 12px;
    }
    
    .stat-number-story {
        font-size: 28px;
    }
    
    .stat-label-story {
        font-size: 13px;
    }
    
    .about-intro h2 {
        font-size: 26px;
    }
    
    .lead-text {
        font-size: 16px;
    }
    
    .mv-card {
        padding: 30px 25px;
    }
    
    .mv-icon {
        width: 60px;
        height: 60px;
    }
    
    .mv-icon i {
        font-size: 28px;
    }
    
    .mv-card h3 {
        font-size: 24px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 26px;
    }
    
    .value-card h4 {
        font-size: 20px;
    }
    
    .why-us-number {
        font-size: 36px;
    }
    
    .why-us-item h4 {
        font-size: 20px;
    }
}


/* ========================================
   MISSION, VISION & MOTTO SECTION - ADVANCED
   ======================================== */

.mission-vision-section-advanced {
    padding: 100px 0;
    background: var(--bg-light);
}

.mission-vision-container-advanced {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 15px;
}

.mvv-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mvv-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.mvv-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.mvv-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mvv-icon-large.mission {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
}

.mvv-icon-large.vision {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
}

.mvv-icon-large i {
    font-size: 32px;
    color: var(--white);
}

.mvv-title-section {
    flex: 1;
}

.mvv-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.mvv-title-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.mvv-card-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mvv-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 77, 159, 0.1);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.vision-card .feature-tag {
    background: rgba(220, 53, 69, 0.1);
    color: var(--accent-red);
}

.feature-tag i {
    font-size: 12px;
}

.mvv-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--primary-blue);
    opacity: 0.03;
    border-radius: 50%;
    transform: translate(50%, 50%);
}

/* Motto Card */
.motto-card-advanced {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 60px rgba(220, 53, 69, 0.3);
}

.motto-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.motto-pattern {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
}

.motto-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.motto-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.motto-icon-large {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.motto-icon-large i {
    font-size: 40px;
    color: var(--white);
}

.motto-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.motto-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.motto-text-large {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.motto-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}

.motto-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.motto-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon-motto {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-motto i {
    font-size: 22px;
    color: var(--white);
}

.stat-text-motto {
    text-align: left;
}

.stat-number-motto {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-label-motto {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .mvv-layout {
        gap: 30px;
    }
    
    .motto-text-large {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .mission-vision-section-advanced {
        padding: 60px 0;
    }
    
    .mvv-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mvv-card {
        padding: 30px;
    }
    
    .mvv-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .mvv-icon-large i {
        font-size: 28px;
    }
    
    .mvv-title-section h3 {
        font-size: 20px;
    }
    
    .motto-card-advanced {
        padding: 40px 30px;
    }
    
    .motto-text-large {
        font-size: 28px;
    }
    
    .motto-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mvv-card {
        padding: 25px;
    }
    
    .mvv-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .motto-card-advanced {
        padding: 35px 25px;
    }
    
    .motto-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .motto-icon-large i {
        font-size: 32px;
    }
    
    .motto-text-large {
        font-size: 24px;
    }
    
    .motto-description {
        font-size: 14px;
    }
    
    .motto-stat-item {
        padding: 15px;
    }
    
    .stat-number-motto {
        font-size: 20px;
    }
}


/* ========================================
   CORE VALUES SECTION - ADVANCED
   ======================================== */

.values-section {
    padding: 100px 0;
    background: var(--white);
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.values-grid-advanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.value-card-advanced {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card-advanced.large-value {
    grid-row: span 2;
    padding: 45px 35px;
}

.value-card-advanced:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.value-card-advanced:nth-child(even):hover {
    border-color: var(--accent-red);
}

.value-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(30, 77, 159, 0.08);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    transition: var(--transition);
}

.value-card-advanced:nth-child(even) .value-number {
    color: rgba(220, 53, 69, 0.08);
}

.value-card-advanced:hover .value-number {
    color: rgba(30, 77, 159, 0.15);
}

.value-card-advanced:nth-child(even):hover .value-number {
    color: rgba(220, 53, 69, 0.15);
}

.value-icon-advanced {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.value-icon-advanced.red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
}

.value-card-advanced:hover .value-icon-advanced {
    transform: scale(1.1) rotate(5deg);
}

.value-icon-advanced i {
    font-size: 32px;
    color: var(--white);
}

.value-card-advanced h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.value-card-advanced p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.value-card-advanced.large-value p {
    font-size: 16px;
    line-height: 1.8;
}

.value-decoration {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    opacity: 0.05;
    border-radius: 50%;
    transition: var(--transition);
}

.value-card-advanced:hover .value-decoration {
    transform: scale(1.5);
    opacity: 0.08;
}

/* Responsive */
@media (max-width: 1024px) {
    .values-grid-advanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .value-card-advanced.large-value {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 60px 0;
    }
    
    .values-grid-advanced {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .value-card-advanced {
        padding: 30px 25px;
    }
    
    .value-card-advanced.large-value {
        padding: 30px 25px;
    }
    
    .value-icon-advanced {
        width: 60px;
        height: 60px;
    }
    
    .value-icon-advanced i {
        font-size: 28px;
    }
    
    .value-card-advanced h3 {
        font-size: 20px;
    }
    
    .value-number {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .value-card-advanced {
        padding: 25px 20px;
    }
    
    .value-icon-advanced {
        width: 55px;
        height: 55px;
    }
    
    .value-icon-advanced i {
        font-size: 24px;
    }
    
    .value-card-advanced h3 {
        font-size: 18px;
    }
    
    .value-card-advanced p {
        font-size: 14px;
    }
    
    .value-number {
        font-size: 36px;
        top: 15px;
        right: 15px;
    }
}

/* ============================================
   OUR HISTORY SECTION
   ============================================ */
.history-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* History Timeline */
.history-timeline {
    position: relative;
    margin-top: 80px;
    padding: 40px 0;
}

/* Center Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0066cc 0%, #dc3545 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* History Item */
.history-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.history-item.left .history-content {
    text-align: right;
    padding-right: 40px;
}

.history-item.left .history-image {
    padding-left: 40px;
}

.history-item.right {
    direction: rtl;
}

.history-item.right .history-content,
.history-item.right .history-image {
    direction: ltr;
}

.history-item.right .history-content {
    text-align: left;
    padding-left: 40px;
}

.history-item.right .history-image {
    padding-right: 40px;
}

/* History Year */
.history-year {
    font-size: 3rem;
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.history-item.right .history-year {
    color: #dc3545;
}

/* History Card */
.history-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.history-card::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0066cc;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #0066cc;
    z-index: 10;
}

.history-item.left .history-card::before {
    right: -70px;
    top: 40px;
}

.history-item.right .history-card::before {
    left: -70px;
    top: 40px;
    background: #dc3545;
    box-shadow: 0 0 0 4px #dc3545;
}

/* History Icon */
.history-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.history-icon.red {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.history-icon i {
    font-size: 1.8rem;
    color: white;
}

.history-card:hover .history-icon {
    transform: scale(1.1) rotate(5deg);
}

.history-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.history-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

/* History Stats Mini */
.history-stats-mini {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8f9fa;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.mini-stat i {
    color: #0066cc;
    font-size: 1rem;
}

/* History Achievements */
.history-achievements {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.achievement-badge i {
    font-size: 1rem;
}

/* History Image */
.history-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
}

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

.history-image:hover img {
    transform: scale(1.1);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.4);
}

.image-badge.red {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}

/* History Stats Banner */
.history-stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.3);
}

.stat-banner-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-banner-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-banner-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-banner-content {
    flex: 1;
}

.stat-banner-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-banner-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .history-timeline {
        padding-left: 40px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .history-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .history-item.left .history-content,
    .history-item.right .history-content {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    
    .history-item.left .history-image,
    .history-item.right .history-image {
        padding-left: 0;
        padding-right: 0;
    }
    
    .history-item.right {
        direction: ltr;
    }
    
    .history-item.left .history-card::before,
    .history-item.right .history-card::before {
        left: -60px;
        right: auto;
    }
    
    .history-stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 60px 0;
    }
    
    .history-year {
        font-size: 2rem;
    }
    
    .history-card {
        padding: 25px;
    }
    
    .history-card h3 {
        font-size: 1.4rem;
    }
    
    .history-image {
        height: 250px;
    }
    
    .history-stats-banner {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 25px;
    }
    
    .stat-banner-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .history-timeline {
        padding-left: 30px;
    }
    
    .timeline-line {
        left: 15px;
    }
    
    .history-item.left .history-card::before,
    .history-item.right .history-card::before {
        left: -45px;
    }
    
    .history-card {
        padding: 20px;
    }
    
    .history-icon {
        width: 50px;
        height: 50px;
    }
    
    .history-icon i {
        font-size: 1.4rem;
    }
    
    .stat-banner-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
/* How to Apply Section - Advanced Design */
.how-to-apply-section-advanced {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.how-to-apply-container-advanced {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.apply-process-wrapper {
    margin-top: 60px;
}

/* Main Grid - Image Left, Steps Right */
.apply-main-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

/* Apply Image Section */
.apply-image-section {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.apply-image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    min-height: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.apply-image-section:hover .apply-image-wrapper img {
    transform: scale(1.05);
}

.apply-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 77, 159, 0.95) 0%, rgba(30, 77, 159, 0.7) 50%, transparent 100%);
}

.apply-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: white;
    z-index: 2;
}

.overlay-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.overlay-icon i {
    font-size: 2rem;
    color: white;
}

.apply-info-overlay h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    line-height: 1.3;
}

.apply-info-overlay p {
    font-size: 1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.overlay-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.overlay-stat {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 120px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-lbl {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Apply Steps Section */
.apply-steps-section {
    display: flex;
    flex-direction: column;
}

/* Process Steps Grid */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.process-step-card {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.process-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-step-card:nth-child(2)::before,
.process-step-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--accent-red), #c82333);
}

.process-step-card:hover::before {
    transform: scaleX(1);
}

.process-step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-number-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.process-step-card:nth-child(2) .step-number-badge,
.process-step-card:nth-child(4) .step-number-badge {
    color: var(--accent-red);
}

.process-step-card:hover .step-number-badge {
    transform: rotate(360deg) scale(1.1);
}

.step-icon-advanced {
    position: relative;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    transition: all 0.4s ease;
}

.step-icon-advanced.red {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.process-step-card:hover .step-icon-advanced {
    transform: scale(1.1) rotate(-5deg);
}

.step-icon-advanced i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: 1;
}

.process-step-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.process-step-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.btn-step-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 77, 159, 0.3);
}

.btn-step-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 77, 159, 0.4);
}

.step-requirements {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.req-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.req-tag i {
    color: var(--accent-red);
}

.contact-info-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-mini i {
    color: var(--primary-blue);
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-red), #c82333);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.step-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.05), transparent);
    border-radius: 50%;
}

/* CTA Banner */
.apply-cta-banner {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.apply-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.cta-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon-large i {
    font-size: 3rem;
    color: white;
}

.cta-text-content {
    flex: 1;
}

.cta-text-content h3 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.cta-text-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons-group {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-cta-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--accent-red);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn-cta-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.5);
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-contact:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-download,
    .btn-cta-contact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .how-to-apply-section-advanced {
        padding: 80px 0;
    }
    
    .apply-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .apply-image-wrapper {
        min-height: 400px;
    }
    
    .apply-info-overlay {
        padding: 30px;
    }
    
    .apply-info-overlay h3 {
        font-size: 1.5rem;
    }
    
    .overlay-stats {
        gap: 15px;
    }
    
    .process-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .apply-cta-banner {
        padding: 35px;
    }
    
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
    }
}

/* Contact Form & Map Section - Advanced Design */
.contact-map-section-advanced {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    position: relative;
}

.contact-map-container-advanced {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Info Grid - Top */
.contact-info-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 60px 0;
}

.info-card-advanced {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px 30px;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    transition: all 0.4s ease;
    overflow: hidden;
}

.info-card-advanced.red {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
    border-color: rgba(220, 53, 69, 0.2);
}

.info-card-advanced:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(30, 77, 159, 0.15);
}

.info-card-advanced.red:hover {
    border-color: var(--accent-red);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
}

.info-icon-advanced {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.info-card-advanced.red .info-icon-advanced {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.info-card-advanced:hover .info-icon-advanced {
    transform: scale(1.1) rotate(-5deg);
}

.info-icon-advanced i {
    font-size: 2rem;
    color: white;
}

.info-content-advanced h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.info-content-advanced p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-detail {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.info-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.05), transparent);
    border-radius: 50%;
}

/* Form and Map Grid */
.contact-form-map-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Contact Form - Advanced */
.contact-form-wrapper-advanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.form-header-advanced {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.form-icon-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-icon-badge i {
    font-size: 2rem;
    color: white;
}

.form-header-advanced h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.form-header-advanced p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.contact-form-advanced {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-advanced {
    position: relative;
}

.form-group-advanced.full-width {
    grid-column: span 2;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
    z-index: 1;
}

.form-group-advanced.full-width .input-icon {
    top: 25px;
    transform: none;
}

.form-group-advanced input,
.form-group-advanced textarea {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group-advanced input:focus,
.form-group-advanced textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 77, 159, 0.1);
}

.form-group-advanced textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit-form-advanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(30, 77, 159, 0.3);
    margin-top: 10px;
}

.btn-submit-form-advanced:hover {
    background: linear-gradient(135deg, var(--accent-red), #c82333);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

.btn-submit-form-advanced i {
    transition: transform 0.3s ease;
}

.btn-submit-form-advanced:hover i {
    transform: translateX(5px);
}

/* Map Wrapper - Advanced */
.map-wrapper-advanced {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.map-container-advanced {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.map-overlay-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    color: var(--text-dark);
    z-index: 10;
}

.map-overlay-badge i {
    color: var(--accent-red);
    font-size: 1.2rem;
}

/* Visit CTA Card */
.visit-cta-card {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 35px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 40px rgba(30, 77, 159, 0.3);
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 2rem;
    color: white;
}

.cta-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-content p {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 20px;
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-visit:hover {
    background: var(--accent-red);
    color: white;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-info-grid-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-form-map-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container-advanced {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-info-grid-top {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper-advanced {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group-advanced.full-width {
        grid-column: span 1;
    }
    
    .visit-cta-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .values-grid-advanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-card-advanced.large-value {
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .our-story-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-image img {
        height: 450px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid-advanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leader-card-advanced.featured-leader {
        grid-column: span 2;
    }
    
    .apply-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .apply-image {
        position: relative;
        top: 0;
    }
    
    .apply-image img {
        height: 400px;
    }
    
    .contact-map-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 350px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero-content p {
        font-size: 1rem;
    }
    
    .our-story-section,
    .mission-vision-section,
    .values-section,
    .leadership-section,
    .how-to-apply-section,
    .contact-map-section {
        padding: 60px 0;
    }
    
    .values-grid-advanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card-advanced.large-value {
        grid-row: span 1;
    }
    
    .leadership-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-view-teachers-page {
        width: 100%;
        justify-content: center;
    }
    
    .leadership-grid-advanced {
        grid-template-columns: 1fr;
    }
    
    .leader-card-advanced.featured-leader {
        grid-column: span 1;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .apply-title {
        font-size: 2.25rem;
    }
    
    .apply-steps {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        padding: 25px;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon i {
        font-size: 1.75rem;
    }
    
    .step-connector {
        left: 42px;
    }
    
    .contact-form-card {
        padding: 30px;
    }
    
    .contact-form-card h3 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .mv-card {
        padding: 30px;
    }
    
    .story-badge {
        padding: 20px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
}


/* ========================================
   OUR HISTORY SECTION - MASSIVE TIMELINE
   ======================================== */
.history-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(30, 77, 159, 0.2), transparent);
}

.history-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-timeline {
    position: relative;
    margin-top: 80px;
    padding-bottom: 60px;
}

/* Center Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-red));
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-line::before,
.timeline-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 0 8px rgba(30, 77, 159, 0.2);
}

.timeline-line::before {
    top: 0;
}

.timeline-line::after {
    bottom: 0;
    background: var(--accent-red);
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.2);
}

/* History Items */
.history-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    position: relative;
}

.history-item:last-child {
    margin-bottom: 0;
}

/* Left Items */
.history-item.left .history-content {
    text-align: right;
    padding-right: 40px;
}

.history-item.left .history-card {
    margin-left: auto;
}

/* Right Items */
.history-item.right .history-content {
    order: 2;
    text-align: left;
    padding-left: 40px;
}

.history-item.right .history-image {
    order: 1;
}

/* History Year */
.history-year {
    display: inline-block;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.15;
    position: absolute;
    top: -40px;
}

.history-item.left .history-year {
    right: 40px;
}

.history-item.right .history-year {
    left: 40px;
}

/* History Card */
.history-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
    max-width: 550px;
}

.history-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.history-item.left .history-card::before {
    right: -60px;
}

.history-item.right .history-card::before {
    left: -60px;
}

.history-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* History Icon */
.history-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(30, 77, 159, 0.3);
    transition: all 0.4s ease;
}

.history-icon.red {
    background: linear-gradient(135deg, var(--accent-red), #c82333);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.history-card:hover .history-icon {
    transform: scale(1.1) rotate(-5deg);
}

.history-icon i {
    font-size: 2.5rem;
    color: white;
}

.history-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.history-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Mini Stats */
.history-stats-mini {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mini-stat i {
    color: var(--primary-blue);
    font-size: 1rem;
}

/* Achievement Badges */
.history-achievements {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(30, 77, 159, 0.3);
}

.achievement-badge i {
    font-size: 1.1rem;
}

/* History Image */
.history-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 400px;
}

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

.history-item:hover .history-image img {
    transform: scale(1.1);
}

.image-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.image-badge.red {
    background: linear-gradient(135deg, var(--accent-red), #c82333);
}

/* History Stats Banner */
.history-stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.stat-banner-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-banner-item:hover {
    background: linear-gradient(135deg, #f8f9fa, #e8f4f8);
    transform: translateY(-5px);
}

.stat-banner-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-banner-item:nth-child(2) .stat-banner-icon,
.stat-banner-item:nth-child(4) .stat-banner-icon {
    background: linear-gradient(135deg, var(--accent-red), #c82333);
}

.stat-banner-icon i {
    font-size: 2rem;
    color: white;
}

.stat-banner-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
}

.stat-banner-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .history-stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .history-item {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .history-item.left .history-content,
    .history-item.right .history-content {
        text-align: left;
        padding: 0;
        order: 2;
    }
    
    .history-item.right .history-image {
        order: 1;
    }
    
    .history-card {
        max-width: 100%;
    }
    
    .history-card::before {
        display: none;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .history-year {
        position: relative;
        top: 0;
        left: 0 !important;
        right: 0 !important;
        font-size: 3rem;
    }
    
    .history-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 80px 0;
    }
    
    .history-stats-banner {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .stat-banner-item {
        flex-direction: column;
        text-align: center;
    }
}


/* ========================================
   VIRTUAL TOUR SECTION - ADVANCED VIDEO PLAYER
   ======================================== */
.virtual-tour-section {
    padding: 120px 0;

/* ============================================
   VIRTUAL TOUR SECTION
   ============================================ */
.virtual-tour-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.virtual-tour-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tour-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.tour-text-content {
    padding-right: 20px;
}

.tour-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.tour-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.tour-feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.tour-feature-item:hover {
    border-color: #0066cc;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.feature-icon-tour {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tour-feature-item:nth-child(2) .feature-icon-tour,
.tour-feature-item:nth-child(4) .feature-icon-tour {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.feature-icon-tour i {
    font-size: 1.5rem;
    color: white;
}

.feature-text-tour h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.feature-text-tour p {
    font-size: 0.9rem;
    color: #666;
}

.tour-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-schedule-visit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.btn-schedule-visit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
}

.btn-view-gallery-tour {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-gallery-tour:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-3px);
}

.tour-video-wrapper {
    position: relative;
}

.video-player-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 550px;
    cursor: pointer;
    overflow: hidden;
}

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

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.7), rgba(220, 53, 69, 0.6));
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    opacity: 0.9;
}

.play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.play-button {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.play-icon {
    position: relative;
    z-index: 2;
}

.play-icon i {
    font-size: 2.5rem;
    color: #dc3545;
    margin-left: 5px;
}

.play-pulse,
.play-pulse-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.play-pulse-2 {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.play-text {
    display: block;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-duration,
.video-quality {
    position: absolute;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.video-duration {
    bottom: 25px;
    left: 25px;
}

.video-quality {
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.video-player {
    position: relative;
    width: 100%;
    height: 550px;
}

.close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.close-video:hover {
    background: #dc3545;
    transform: rotate(90deg);
}

.video-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.decoration-1 {
    width: 150px;
    height: 150px;
    background: #0066cc;
    top: -30px;
    right: -30px;
}

.decoration-2 {
    width: 120px;
    height: 120px;
    background: #dc3545;
    bottom: -30px;
    left: -30px;
}

.tour-stats-mini {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-mini-item:hover {
    color: #0066cc;
    transform: translateY(-3px);
}

.stat-mini-item i {
    font-size: 1.2rem;
    color: #dc3545;
}

@media (max-width: 1200px) {
    .tour-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .tour-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .virtual-tour-section {
        padding: 80px 0;
    }
    
    .video-thumbnail,
    .video-player {
        height: 400px;
    }
    
    .play-button {
        width: 80px;
        height: 80px;
    }
    
    .play-icon i {
        font-size: 2rem;
    }
    
    .tour-stats-mini {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .tour-cta-buttons {
        flex-direction: column;
    }
    
    .btn-schedule-visit,
    .btn-view-gallery-tour {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   SCHOOL ANTHEM PAGE
   ============================================ */

/* Anthem Introduction Section */
.anthem-intro-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.anthem-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.intro-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.intro-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-icon-intro {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-intro i {
    font-size: 1.8rem;
    color: white;
}

.stat-number-intro {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.stat-label-intro {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-anthem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(220, 53, 69, 0.3));
}

.music-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    animation: pulse-music 2s ease-in-out infinite;
}

.music-badge i {
    font-size: 2rem;
    color: white;
}

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

/* Audio Player Section */
.audio-player-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.audio-player-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.player-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-icon i {
    font-size: 3rem;
    color: white;
}

.player-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.player-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.audio-controls {
    margin-bottom: 40px;
}

.audio-controls audio {
    width: 100%;
    height: 60px;
    border-radius: 50px;
    outline: none;
}

.player-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-download-audio,
.btn-download-lyrics {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: white;
    color: #0066cc;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-download-audio:hover,
.btn-download-lyrics:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

/* Anthem Lyrics Section */
.anthem-lyrics-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.lyrics-container {
    max-width: 900px;
    margin: 0 auto;
}

.lyrics-card {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.verse,
.chorus {
    margin-bottom: 50px;
}

.verse-label,
.chorus-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chorus-label {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.lyrics-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: center;
}

.final-chorus {
    border-top: 3px solid #0066cc;
    padding-top: 40px;
}

.final-chorus .lyrics-text strong {
    color: #dc3545;
    font-size: 1.5rem;
}

/* Anthem History Section */
.anthem-history-section {
    padding: 100px 0;
    background: white;
}

.history-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-timeline-anthem {
    margin-top: 40px;
}

.timeline-item-anthem {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.timeline-icon-anthem {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-item-anthem:nth-child(even) .timeline-icon-anthem {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.timeline-icon-anthem i {
    font-size: 1.5rem;
    color: white;
}

.timeline-content-anthem h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.timeline-content-anthem p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.history-image-anthem {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.history-image-anthem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-badge-anthem {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.badge-year {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Anthem Values Section */
.anthem-values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.values-grid-anthem {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.value-card-anthem {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.value-card-anthem:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.value-icon-anthem {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.value-icon-anthem.red {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.value-card-anthem:hover .value-icon-anthem {
    transform: scale(1.1) rotate(-5deg);
}

.value-icon-anthem i {
    font-size: 2rem;
    color: white;
}

.value-card-anthem h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.value-card-anthem p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .values-grid-anthem {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .anthem-intro-grid,
    .history-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .intro-image,
    .history-image-anthem {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .anthem-intro-section,
    .anthem-lyrics-section,
    .anthem-history-section,
    .anthem-values-section {
        padding: 60px 0;
    }
    
    .audio-player-section {
        padding: 60px 0;
    }
    
    .audio-player-wrapper {
        padding: 35px 25px;
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .player-info h3 {
        font-size: 1.5rem;
    }
    
    .lyrics-card {
        padding: 40px 30px;
    }
    
    .lyrics-text {
        font-size: 1.1rem;
    }
    
    .intro-stats {
        flex-direction: column;
    }
    
    .values-grid-anthem {
        grid-template-columns: 1fr;
    }
    
    .player-actions {
        flex-direction: column;
    }
    
    .btn-download-audio,
    .btn-download-lyrics {
        width: 100%;
        justify-content: center;
    }
}

    .history-item.right .history-content {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    
    .history-item.left .history-image,
    .history-item.right .history-image {
        padding-left: 0;
        padding-right: 0;
    }
    
    .history-item.right {
        direction: ltr;
    }
    
    .history-item.left .history-card::before,
    .history-item.right .history-card::before {
        left: -60px;
        right: auto;
    }
    
    .history-stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 60px 0;
    }
    
    .history-year {
        font-size: 2rem;
    }
    
    .history-card {
        padding: 25px;
    }
    
    .history-card h3 {
        font-size: 1.4rem;
    }
    
    .history-image {
        height: 250px;
    }
    
    .history-stats-banner {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 25px;
    }
    
    .stat-banner-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .history-timeline {
        padding-left: 30px;
    }
    
    .timeline-line {
        left: 15px;
    }
    
    .history-item.left .history-card::before,
    .history-item.right .history-card::before {
        left: -45px;
    }
    
    .history-card {
        padding: 20px;
    }
    
    .history-icon {
        width: 50px;
        height: 50px;
    }
    
    .history-icon i {
        font-size: 1.4rem;
    }
    
    .stat-banner-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}


/* ============================================
   SCHOOL ANTHEM PAGE
   ============================================ */

/* Anthem Introduction Section */
.anthem-intro-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.anthem-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.intro-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.intro-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-icon-intro {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-intro i {
    font-size: 1.8rem;
    color: white;
}

.stat-number-intro {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.stat-label-intro {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-anthem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(220, 53, 69, 0.3));
}

.music-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    animation: pulse-music 2s ease-in-out infinite;
}

.music-badge i {
    font-size: 2rem;
    color: white;
}

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

/* Audio Player Section */
.audio-player-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.audio-player-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.player-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-icon i {
    font-size: 3rem;
    color: white;
}

.player-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.player-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.audio-controls {
    margin-bottom: 40px;
}

.audio-controls audio {
    width: 100%;
    height: 60px;
    border-radius: 50px;
    outline: none;
}

.player-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-download-audio,
.btn-download-lyrics {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: white;
    color: #0066cc;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-download-audio:hover,
.btn-download-lyrics:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

/* Anthem Lyrics Section */
.anthem-lyrics-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.lyrics-container {
    max-width: 900px;
    margin: 0 auto;
}

.lyrics-card {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.verse,
.chorus {
    margin-bottom: 50px;
}

.verse-label,
.chorus-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chorus-label {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.lyrics-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: center;
}

.final-chorus {
    border-top: 3px solid #0066cc;
    padding-top: 40px;
}

.final-chorus .lyrics-text strong {
    color: #dc3545;
    font-size: 1.5rem;
}

/* Anthem History Section */
.anthem-history-section {
    padding: 100px 0;
    background: white;
}

.history-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-timeline-anthem {
    margin-top: 40px;
}

.timeline-item-anthem {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.timeline-icon-anthem {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-item-anthem:nth-child(even) .timeline-icon-anthem {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.timeline-icon-anthem i {
    font-size: 1.5rem;
    color: white;
}

.timeline-content-anthem h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.timeline-content-anthem p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.history-image-anthem {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.history-image-anthem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-badge-anthem {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.badge-year {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Anthem Values Section */
.anthem-values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.values-grid-anthem {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.value-card-anthem {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.value-card-anthem:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.value-icon-anthem {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.value-icon-anthem.red {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.value-card-anthem:hover .value-icon-anthem {
    transform: scale(1.1) rotate(-5deg);
}

.value-icon-anthem i {
    font-size: 2rem;
    color: white;
}

.value-card-anthem h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.value-card-anthem p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .values-grid-anthem {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .anthem-intro-grid,
    .history-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .intro-image,
    .history-image-anthem {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .anthem-intro-section,
    .anthem-lyrics-section,
    .anthem-history-section,
    .anthem-values-section {
        padding: 60px 0;
    }
    
    .audio-player-section {
        padding: 60px 0;
    }
    
    .audio-player-wrapper {
        padding: 35px 25px;
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .player-info h3 {
        font-size: 1.5rem;
    }
    
    .lyrics-card {
        padding: 40px 30px;
    }
    
    .lyrics-text {
        font-size: 1.1rem;
    }
    
    .intro-stats {
        flex-direction: column;
    }
    
    .values-grid-anthem {
        grid-template-columns: 1fr;
    }
    
    .player-actions {
        flex-direction: column;
    }
    
    .btn-download-audio,
    .btn-download-lyrics {
        width: 100%;
        justify-content: center;
    }
}





/* ============================================
   ADVANCED TEACHERS PAGE STYLES
   ============================================ */

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.teacher-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #dc3545 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.teacher-card:hover::before {
    transform: scaleX(1);
}

.teacher-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.teacher-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Show face, not top of head */
    transition: transform 0.6s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.15);
}

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(220, 53, 69, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 30px;
}

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

.teacher-overlay-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.teacher-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.teacher-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.teacher-social a:hover {
    background: white;
    color: #0066cc;
    transform: translateY(-5px) scale(1.1);
    border-color: white;
}

.teacher-contact-overlay {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.teacher-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.teacher-contact-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.teacher-info {
    padding: 30px 25px;
}

.teacher-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.teacher-badge.administration {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
}

.teacher-badge.english {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.teacher-badge.math {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.teacher-badge.science {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.teacher-badge.social {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.teacher-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.teacher-role {
    font-size: 1.05rem;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 8px;
}

.teacher-qualification {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.teacher-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 12px;
    border-left: 4px solid #0066cc;
}

.teacher-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.specialty-tag {
    padding: 6px 14px;
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.teacher-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.teacher-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.teacher-stat-item:hover {
    background: #e8f4f8;
    transform: translateX(5px);
}

.teacher-stat-item i {
    color: #0066cc;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.teacher-stat-item span {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    line-height: 1.3;
}

.teacher-contact-info {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.teacher-contact-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail i {
    color: #0066cc;
    width: 20px;
    text-align: center;
}

.contact-detail a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-detail a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .teachers-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .teacher-image {
        height: 280px;
    }
    
    .teacher-info {
        padding: 25px 20px;
    }
    
    .teacher-info h3 {
        font-size: 1.3rem;
    }
    
    .teacher-stats {
        grid-template-columns: 1fr;
    }
    
    .teacher-bio {
        font-size: 0.9rem;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .teacher-image {
        height: 250px;
    }
    
    .teacher-info h3 {
        font-size: 1.2rem;
    }
    
    .teacher-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .teacher-contact-overlay {
        gap: 8px;
    }
    
    .teacher-contact-item {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}


/* ============================================
   TEACHERS DEPARTMENTS SECTION
   ============================================ */

.teachers-departments-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.department-section {
    margin-bottom: 80px;
}

.department-section:last-child {
    margin-bottom: 0;
}

.department-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.department-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.department-icon.administration {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.department-icon.english {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.department-icon.math {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.department-icon.science {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.department-icon.social {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.department-icon i {
    font-size: 2.5rem;
    color: white;
}

.department-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.department-info p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Teacher Bio */
.teacher-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #0066cc;
}

/* Department-specific badge colors */
.teacher-badge.english {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.teacher-badge.math {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.teacher-badge.science {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.teacher-badge.social {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Responsive Design for Departments */
@media (max-width: 768px) {
    .teachers-departments-section {
        padding: 60px 0;
    }
    
    .department-section {
        margin-bottom: 60px;
    }
    
    .department-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .department-icon {
        width: 70px;
        height: 70px;
    }
    
    .department-icon i {
        font-size: 2rem;
    }
    
    .department-info h3 {
        font-size: 1.6rem;
    }
    
    .department-info p {
        font-size: 1rem;
    }
    
    .teacher-bio {
        font-size: 0.9rem;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .department-header {
        padding: 20px 15px;
    }
    
    .department-icon {
        width: 60px;
        height: 60px;
    }
    
    .department-icon i {
        font-size: 1.8rem;
    }
    
    .department-info h3 {
        font-size: 1.4rem;
    }
}


/* ============================================
   DEPARTMENT FILTER BUTTONS
   ============================================ */

.department-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 50px 0;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dept-filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.dept-filter-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.dept-filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
    border-color: #0066cc;
    color: #0066cc;
}

.dept-filter-btn.active {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border-color: #0066cc;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.dept-filter-btn.active i {
    transform: scale(1.2);
}

/* Filter Animation */
.teacher-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.teacher-card.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
    visibility: visible;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Filter Buttons */
@media (max-width: 768px) {
    .department-filters {
        gap: 10px;
        padding: 15px;
    }
    
    .dept-filter-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    .dept-filter-btn span {
        display: none;
    }
    
    .dept-filter-btn i {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .department-filters {
        gap: 8px;
    }
    
    .dept-filter-btn {
        padding: 10px 16px;
    }
    
    .dept-filter-btn i {
        font-size: 1.2rem;
    }
}


/* ============================================
   SIMPLIFIED TEACHER CARDS - GALLERY STYLE
   ============================================ */

/* Hide detailed information for cleaner grid */
.teacher-bio,
.teacher-specialties,
.teacher-stats {
    display: none;
}

/* Hide overlay by default - only show on hover */
.teacher-overlay {
    opacity: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 102, 204, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: opacity 0.3s ease;
}

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

/* Adjust grid for 3-column layout */
.teachers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card styling with rounded corners */
.teacher-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image with rounded top */
.teacher-image {
    height: 320px;
    border-radius: 20px 20px 0 0;
}

.teacher-image img {
    border-radius: 20px 20px 0 0;
}

/* Compact teacher info section - displayed below image */
.teacher-info {
    padding: 25px 20px;
    background: white;
    text-align: left;
}

.teacher-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.teacher-info h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    margin-top: 5px;
    color: #1a1a1a;
    font-weight: 700;
}

.teacher-role {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #0066cc;
    font-weight: 600;
}

.teacher-qualification {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: #666;
    line-height: 1.5;
}

/* Overlay styling */
.teacher-overlay-title {
    font-size: 1rem;
    margin-bottom: 15px;
}

.teacher-social {
    gap: 10px;
}

.teacher-social a {
    width: 45px;
    height: 45px;
    font-size: 1rem;
}

.teacher-contact-overlay {
    margin-top: 15px;
    gap: 8px;
}

.teacher-contact-item {
    font-size: 0.85rem;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .teacher-image {
        height: 280px;
    }
    
    .teacher-info {
        padding: 20px 15px;
    }
    
    .teacher-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .teacher-image {
        height: 300px;
    }
}


/* Additional badge styles for mathematics and social departments */
.teacher-badge.mathematics {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}


/* Badge styles for Science and Social Studies departments */
.teacher-badge.science {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.teacher-badge.social {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.teacher-badge.security {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.teacher-badge.kitchen,
.teacher-badge.catering {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: white;
}


/* Update teacher qualification to show as phone number */
.teacher-qualification {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0;
}

.teacher-qualification i {
    font-size: 1rem;
}


/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 420px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 102, 204, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
}

.gallery-view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #0066cc;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-view-btn:hover {
    background: #0066cc;
    color: white;
    transform: scale(1.1);
}

/* Category Tag */
.gallery-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: rgba(0, 102, 204, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.gallery-category-tag.events { background: rgba(220, 53, 69, 0.85); }
.gallery-category-tag.sports { background: rgba(40, 167, 69, 0.85); }
.gallery-category-tag.academics { background: rgba(0, 102, 204, 0.85); }
.gallery-category-tag.facilities { background: rgba(255, 152, 0, 0.85); }

/* Zoom Icon */
.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 18px;
    transition: transform 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Gallery info inside overlay */
.gallery-info {
    text-align: center;
    width: 100%;
}

/* Gallery Filter Animation */
.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
    visibility: visible;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        height: 420px;
    }
    
    .gallery-overlay h3 {
        font-size: 1.3rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 380px;
    }
}


/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 20px;
}

.lightbox-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.lightbox-caption p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    color: #0066cc;
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-caption h3 {
        font-size: 1.3rem;
    }
    
    .lightbox-caption p {
        font-size: 0.9rem;
    }
}


/* ============================================
   ADVANCED LIGHTBOX MODAL STYLES
   ============================================ */

/* Lightbox Modal Container */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: block;
    opacity: 1;
}

/* Backdrop */
.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

/* Lightbox Header */
.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 10002;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.lightbox-header-left,
.lightbox-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Counter */
.lightbox-counter {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.counter-current {
    color: var(--primary-blue);
    font-size: 18px;
}

.counter-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Category Badge */
.lightbox-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    text-transform: capitalize;
}

.lightbox-category i {
    color: var(--primary-blue);
}

/* Action Buttons */
.lightbox-action-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-action-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.lightbox-action-btn.active {
    background: var(--primary-blue);
}

.lightbox-close {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 59, 48, 0.9);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #ff3b30;
    transform: scale(1.1) rotate(90deg);
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10002;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Main Content Area */
.lightbox-content {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

/* Image Wrapper */
.lightbox-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.lightbox-image-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    position: relative;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Loading Spinner */
.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: #fff;
    z-index: 10003;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.lightbox-loader p {
    font-size: 16px;
    font-weight: 500;
}

/* Thumbnail Strip */
.lightbox-thumbnails-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 60px;
    z-index: 10002;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.lightbox-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    flex: 1;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.lightbox-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.lightbox-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-thumbnail.active::after {
    opacity: 0;
}

.lightbox-thumbnail:hover::after {
    opacity: 0;
}

.lightbox-thumbnail.active {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.lightbox-thumbnail:hover {
    transform: scale(1.05);
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnail Scroll Buttons */
.thumbnail-scroll-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.thumbnail-scroll-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.thumbnail-scroll-left {
    margin-right: 15px;
}

.thumbnail-scroll-right {
    margin-left: 15px;
}

/* Zoom Indicator */
.lightbox-zoom-indicator {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    z-index: 10004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-zoom-indicator.active {
    opacity: 1;
}

.lightbox-zoom-indicator i {
    color: var(--primary-blue);
}

/* Share Menu */
.lightbox-share-menu {
    position: absolute;
    top: 80px;
    right: 30px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lightbox-share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.share-option i {
    width: 20px;
    font-size: 18px;
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .lightbox-header {
        padding: 0 20px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .lightbox-header {
        height: 60px;
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .lightbox-header-left,
    .lightbox-header-right {
        gap: 10px;
    }
    
    .lightbox-action-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-category {
        display: none;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-content {
        top: 60px;
        bottom: 100px;
    }
    
    .lightbox-thumbnails-wrapper {
        height: 100px;
        padding: 0 50px;
    }
    
    .lightbox-thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .thumbnail-scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .lightbox-share-menu {
        right: 15px;
        top: 70px;
    }
}

@media (max-width: 480px) {
    .lightbox-header {
        height: auto;
        padding: 10px;
    }
    
    .lightbox-header-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .lightbox-header-right {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    
    .lightbox-action-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
    }
    
    /* Hide some buttons on very small screens */
    #lightboxRotate,
    #lightboxFullscreen {
        display: none;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-thumbnails-wrapper {
        padding: 0 45px;
    }
    
    .lightbox-thumbnail {
        width: 70px;
        height: 50px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .lightbox-action-btn:hover,
    .lightbox-nav:hover,
    .lightbox-close:hover {
        transform: none;
    }
    
    .lightbox-action-btn:active,
    .lightbox-nav:active {
        transform: scale(0.95);
    }
}


/* ============================================
   ADMISSION PAGE STYLES - MODERN & ADVANCED
   ============================================ */

/* Admission Process Section - Timeline Design */
.admission-process-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.admission-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 0%, rgba(30, 77, 159, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.admission-timeline {
    position: relative;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 0 50px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, #43e97b 100%);
    transform: translateX(-50%);
    border-radius: 4px;
    z-index: 1;
}

.timeline-line::before,
.timeline-line::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-line::before {
    top: -10px;
}

.timeline-line::after {
    bottom: -10px;
    background: #43e97b;
}

.timeline-item {
    position: relative;
    margin-bottom: 120px;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Connecting Line from Center to Card */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, rgba(0, 102, 204, 0.2) 100%);
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    left: 50%;
    right: auto;
    width: 150px;
}

.timeline-item:nth-child(even)::after {
    right: 50%;
    left: auto;
    width: 150px;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.2) 0%, var(--primary-blue) 100%);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.dot-inner {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 25px rgba(30, 77, 159, 0.3);
    position: relative;
    z-index: 2;
    border: 4px solid #fff;
}

.dot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(30, 77, 159, 0.2);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.timeline-content {
    width: 45%;
    max-width: 500px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: auto;
}

.timeline-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #43e97b 100%);
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(67, 233, 123, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #43e97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-badge {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-blue);
    font-size: 14px;
}

.timeline-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #43e97b 100%);
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.1) 0%, rgba(67, 233, 123, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #43e97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-badge {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-blue);
    font-size: 14px;
}

/* Requirements Section - Modern Design */
.admission-requirements-section {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.requirements-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.requirement-modern-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.requirement-modern-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(30, 77, 159, 0.15);
}

.requirement-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #43e97b 0%, #38d66b 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3);
}

.requirement-badge.optional {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.requirement-visual {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(30, 77, 159, 0.05) 0%, rgba(67, 233, 123, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #43e97b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(30, 77, 159, 0.2);
}

.visual-icon i {
    font-size: 48px;
    color: #fff;
}

.visual-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 77, 159, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.requirement-info {
    padding: 30px;
}

.requirement-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.requirement-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.requirement-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.requirement-specs li i {
    color: #43e97b;
    font-size: 14px;
}

.requirements-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-checklist {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 77, 159, 0.3);
}

.btn-checklist:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 77, 159, 0.4);
}

.btn-checklist i {
    font-size: 18px;
}

.cta-note {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}


/* Admission CTA Section - Enhanced */
.admission-cta-section-enhanced {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    position: relative;
    overflow: hidden;
}

.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-enhanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left Side - Main Content */
.cta-main-content {
    color: #fff;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-badge i {
    font-size: 16px;
}

.cta-main-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.cta-main-content > p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.cta-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.feature-icon-cta {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-cta i {
    font-size: 24px;
    color: #fff;
}

.feature-text-cta h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.feature-text-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Right Side - Contact Cards */
.cta-contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cta-contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0052a3);
}

.cta-contact-card.whatsapp::before {
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.cta-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-card-icon.phone {
    background: linear-gradient(135deg, #0066cc, #0052a3);
}

.contact-card-icon.email {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.contact-card-icon.visit {
    background: linear-gradient(135deg, #28a745, #218838);
}

.contact-card-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-card-content > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.contact-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Contact Cards on Admission Page */
.cta-contact-card .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-contact-card .contact-link:hover {
    background: #0066cc;
    color: #fff;
    transform: translateX(5px);
}

.cta-contact-card .contact-link.primary {
    background: #0066cc;
    color: #fff;
}

.cta-contact-card .contact-link.primary:hover {
    background: #0052a3;
}

.cta-contact-card .contact-link.whatsapp-link {
    background: #25D366;
    color: #fff;
}

.cta-contact-card .contact-link.whatsapp-link:hover {
    background: #128C7E;
}

.cta-contact-card .contact-link i {
    font-size: 16px;
}

/* Bottom Stats Bar */
.cta-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon-cta {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-cta i {
    font-size: 24px;
    color: #fff;
}

.stat-content-cta {
    display: flex;
    flex-direction: column;
}

.stat-number-cta {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label-cta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cta-enhanced-grid {
        gap: 40px;
    }
    
    .cta-main-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .cta-enhanced-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .cta-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admission-cta-section-enhanced {
        padding: 60px 0;
    }
    
    .cta-main-content h2 {
        font-size: 28px;
    }
    
    .cta-main-content > p {
        font-size: 16px;
    }
    
    .cta-contact-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-stats-bar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-feature-item:hover {
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .requirements-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admission-process-section,
    .admission-requirements-section {
        padding: 80px 0;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 60px;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-dot {
        left: 30px;
        top: 0;
        transform: translateX(0);
    }
    
    .timeline-line {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-content {
        width: 100%;
        padding-left: 100px !important;
        padding-right: 0 !important;
    }
    
    .timeline-card {
        padding: 25px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 24px;
    }
    
    .timeline-card h3 {
        font-size: 18px;
    }
    
    .requirements-modern-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .requirement-visual {
        height: 150px;
    }
    
    .visual-icon {
        width: 80px;
        height: 80px;
    }
    
    .visual-icon i {
        font-size: 36px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .action-group {
        width: 100%;
        flex-direction: column;
    }
    
    .form-actions .btn-primary,
    .form-actions .btn-secondary,
    .form-actions .btn-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .admission-process-section,
    .admission-requirements-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .dot-inner {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .timeline-content {
        padding-left: 80px !important;
    }
    
    .timeline-card {
        padding: 20px;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .meta-item {
        width: 100%;
        justify-content: center;
    }
    
    .requirement-info {
        padding: 20px;
    }
    
    .btn-checklist {
        padding: 16px 30px;
        font-size: 14px;
    }
    
    .cta-text h2 {
        font-size: 24px;
    }

}


/* ============================================
   ADMISSION PAGE - MODERN TIMELINE STYLES
   ============================================ */


.requirements-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.requirement-modern-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.requirement-modern-card:hover {
    border-color: #0066cc;
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
}

.requirement-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.requirement-badge.optional {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.requirement-visual {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(220, 53, 69, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0066cc 0%, #dc3545 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.visual-icon i {
    font-size: 48px;
    color: #fff;
}

.visual-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.requirement-info {
    padding: 30px;
}

.requirement-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.requirement-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.requirement-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.requirement-specs li i {
    color: #28a745;
    font-size: 14px;
}

.requirements-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-checklist {
    padding: 18px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.btn-checklist:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
}

.btn-checklist i {
    font-size: 18px;
}

.cta-note {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}


/* ============================================
   CONTACT PAGE STYLES - WORLD MAP DESIGN
   ============================================ */

/* Contact Intro Text */
.contact-intro-text {
    text-align: center;
    padding: 40px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Contact Main Section with World Map */
.contact-main-section {
    padding: 40px 0 80px;
    background: #f8f9fa;
}

/* Single Card Container with World Map Background */
.contact-card-container {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* World Map Background - Inside the Card */
.contact-card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using the world map image from img folder */
    background-image: url('../img/world map.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Remove or reduce dotted overlay pattern */
.contact-card-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
    pointer-events: none;
}

.contact-split-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Side - Contact Information */
.contact-info-side {
    position: relative;
    z-index: 1;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.contact-info-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-info-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Right Side - Contact Form */
.contact-form-side {
    position: relative;
    z-index: 1;
}

.form-logo-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 3px solid #0066cc;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.form-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066cc;
    text-align: center;
    margin-bottom: 30px;
}

.modern-contact-form .form-group {
    margin-bottom: 20px;
}

.modern-contact-form .form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e3f0ff;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}

.modern-contact-form .form-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.modern-contact-form textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.btn-send-message {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(11, 87, 208, 0.3);
}

.btn-send-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 87, 208, 0.4);
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-card-container {
        padding: 40px;
    }
    
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .location-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-card-container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .location-faq-section {
        padding: 60px 0;
    }
    
    .location-faq-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .location-side,
    .faq-side {
        padding: 25px 15px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .section-header-left .section-title {
        font-size: 1.4rem;
    }
    
    .section-header-left .section-description {
        font-size: 0.9rem;
    }
    
    .location-detail-item {
        gap: 12px;
    }
    
    .location-detail-item i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .location-detail-item strong {
        font-size: 0.95rem;
    }
    
    .location-detail-item p {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    .btn-get-directions {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 18px 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
    
    .contact-info-title {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-info-item {
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-info-icon i {
        font-size: 1.1rem;
    }
    
    .form-logo-badge {
        width: 80px;
        height: 80px;
    }
    
    .location-side,
    .faq-side {
        padding: 30px 20px;
    }
    
    .section-header-left .section-title {
        font-size: 1.6rem;
    }
    
    .map-container-box {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-card-container {
        padding: 25px 15px;
    }
    
    .contact-split-layout {
        gap: 40px;
    }
    
    .contact-intro-text p {
        font-size: 1rem;
    }
    
    .contact-info-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-content p {
        font-size: 0.9rem;
    }
    
    .location-side,
    .faq-side {
        padding: 25px 15px;
    }
    
    .section-header-left .section-title {
        font-size: 1.4rem;
    }
    
    .map-container-box {
        height: 250px;
    }
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #ffffff;
}

.map-container-full {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Location & FAQ Section - Side by Side */
.location-faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.location-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Location Side */
.location-side {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-header-left {
    text-align: left;
    margin-bottom: 30px;
}

.section-header-left .section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.section-header-left .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-header-left .section-description {
    font-size: 1rem;
    color: #666;
}

.map-container-box {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-detail-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.location-detail-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.location-detail-item div {
    flex: 1;
}

.location-detail-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.location-detail-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.btn-get-directions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 87, 208, 0.3);
    margin-top: 10px;
}

.btn-get-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 87, 208, 0.4);
    color: #fff;
}

/* FAQ Side */
.faq-side {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e3f0ff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 15px rgba(11, 87, 208, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e3f0ff;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.faq-question i {
    font-size: 1.2rem;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 30px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.faq-answer a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .contact-info-title {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-info-item {
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-info-icon i {
        font-size: 1.1rem;
    }
    
    .form-logo-badge {
        width: 80px;
        height: 80px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info-side,
    .contact-form-side {
        padding: 30px 20px;
    }
    
    .contact-intro-text p {
        font-size: 1rem;
    }
    
    .contact-info-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-content p {
        font-size: 0.9rem;
    }
}


/* ============================================
   LIBRARY PAGE STYLES
   ============================================ */

/* Library Benefits Section */
.library-benefits-section {
    padding: 80px 0;
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #e3f0ff;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(11, 87, 208, 0.15);
    border-color: var(--primary-blue);
}

.benefit-card:nth-child(odd) .benefit-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.benefit-card:nth-child(even) .benefit-icon {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.25);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 2rem;
    color: #fff;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Resource Types Section */
.resource-types-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.resource-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.resource-type-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-type-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.resource-type-item:nth-child(odd) i {
    color: var(--primary-blue);
}

.resource-type-item:nth-child(even) i {
    color: var(--accent-red);
}

.resource-type-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.resource-type-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Library News Section */
.library-news-section {
    padding: 60px 0;
    background: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.news-card.primary {
    background: linear-gradient(135deg, #e3f0ff 0%, #ffffff 100%);
    border-left: 4px solid #0066cc;
}

.news-card.info {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffffff 100%);
    border-left: 4px solid var(--accent-red);
}

.news-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-card.info .news-icon {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
}

.news-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.news-content {
    flex: 1;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.news-content strong {
    color: var(--primary-blue);
}

/* Search and Filter Section */
.search-filter-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e3f0ff;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 25px rgba(0, 102, 204, 0.2);
}

.search-box i {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-right: 15px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.search-box input::placeholder {
    color: #999;
}

/* Filter Buttons */
.filter-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid #e3f0ff;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.filter-btn i {
    font-size: 1.1rem;
}

/* Library PDF Cards - New Design */
.library-pdf-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.library-pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #1e88e5;
}

.pdf-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.pdf-card-icon i {
    font-size: 4rem;
    color: #dc3545;
}

.pdf-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    text-align: center;
}

.pdf-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0;
}

.pdf-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdf-card-meta i {
    font-size: 0.8rem;
    color: #1e88e5;
}

.pdf-card-stats {
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 0.8rem;
    color: #888;
    margin: 5px 0;
}

.pdf-card-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pdf-card-stats i {
    font-size: 0.75rem;
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: #1e88e5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
}

.btn-download-pdf:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
    color: #ffffff;
}

.btn-download-pdf i {
    font-size: 0.9rem;
}

/* Resources Grid Section */
.resources-grid-section {
    padding: 80px 0;
    background: #ffffff;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.resource-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e3f0ff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(11, 87, 208, 0.15);
    border-color: var(--primary-blue);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon i {
    font-size: 2rem;
    color: var(--accent-red);
}

.resource-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.resource-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.resource-meta i {
    color: var(--primary-blue);
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: #fff;
}

/* No Results Message */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.no-results i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 1rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .resource-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .library-pdf-card {
        padding: 20px 15px;
    }
    
    .pdf-card-icon i {
        font-size: 3rem;
    }
    
    .pdf-card-title {
        font-size: 0.9rem;
        min-height: 35px;
    }
}
    
    .resources-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons-container {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .library-benefits-section,
    .resource-types-section,
    .resources-grid-section {
        padding: 50px 0;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .resource-type-item {
        padding: 20px 15px;
    }
    
    .resource-type-item i {
        font-size: 2rem;
    }
    
    .search-box {
        padding: 12px 20px;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn {
        padding: 10px 15px;
    }
}


/* Resource Badges */
.resource-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.resource-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-badge {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: #fff;
}

.subject-badge {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c82333 100%);
    color: #fff;
}

/* ========== LIBRARY PAGE STYLES ========== */

/* Library Benefits Section */
.library-benefits-section {
    padding: 80px 0;
    background: var(--white);
}

/* Library Benefits Section - Exact Grid Layout */
.library-benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;
    margin-top: 60px;
}

/* Card Styles */
.benefit-card {
    background: #f8f9fa;
    padding: 40px 35px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #f0f2f5;
    transform: translateY(-3px);
}

/* Top Left - Wide Rectangle (spans 2 columns) */
.card-wide {
    grid-column: 1 / 3;
    grid-row: 1;
}

/* Bottom Left - Square */
.card-square:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
}

/* Bottom Middle - Square */
.card-square:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
}

/* Right Side - Tall Featured (spans 2 rows) */
.card-featured {
    grid-column: 3;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #003d82 0%, #0052a3 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 61, 130, 0.3);
}

.card-featured:hover {
    background: linear-gradient(135deg, #002d62 0%, #003d82 100%);
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 61, 130, 0.4);
}

/* Icon Styles */
.benefit-card-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-card-icon i {
    font-size: 22px;
    color: var(--text-dark);
}

.benefit-featured-icon {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.benefit-featured-icon i {
    font-size: 28px;
    color: var(--white);
}

/* Text Styles */
.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.card-featured h3 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.card-featured p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.8;
}

/* Button in Featured Card */
.btn-start-learning {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00d084;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    margin-top: auto;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-start-learning:hover {
    background: #00b872;
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 208, 132, 0.3);
}

.btn-start-learning i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-start-learning:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .benefits-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
    }
    
    .card-wide {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    
    .card-square:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .card-square:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2;
    }
    
    .card-featured {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

@media (max-width: 768px) {
    .library-benefits-section {
        padding: 80px 0;
    }
    
    .benefits-grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        margin-top: 40px;
    }
    
    .card-wide,
    .card-square:nth-of-type(2),
    .card-square:nth-of-type(3),
    .card-featured {
        grid-column: 1;
        grid-row: auto;
    }
    
    .benefit-card {
        padding: 35px 30px;
    }
}

@media (max-width: 480px) {
    .benefit-card {
        padding: 30px 25px;
    }
    
    .benefit-card h3 {
        font-size: 20px;
    }
    
    .card-featured h3 {
        font-size: 22px;
    }
}

/* Resource Types Section */
.resource-types-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.resource-types-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.resource-type-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.resource-type-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--primary-blue);
    color: var(--white);
}

.resource-type-item i {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    transition: var(--transition);
}

.resource-type-item:hover i {
    color: var(--white);
}

.resource-type-item span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.resource-type-item:hover span {
    color: var(--white);
}

/* Library News Section */
.library-news-section {
    padding: 60px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.news-card.primary {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.05));
    border-left: 4px solid var(--primary-blue);
}

.news-card.info {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border-left: 4px solid var(--accent-red);
}

.news-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-card.primary .news-icon {
    background: var(--primary-blue);
}

.news-card.info .news-icon {
    background: var(--accent-red);
}

.news-icon i {
    font-size: 22px;
    color: var(--white);
}

.news-content {
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.news-content strong {
    font-weight: 700;
    color: var(--primary-blue);
}

.news-card.info .news-content strong {
    color: var(--accent-red);
}

/* Search and Filter Section */
.search-filter-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.search-container {
    max-width: 700px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 18px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.search-box:focus-within {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.search-box i {
    font-size: 20px;
    color: var(--primary-blue);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-dark);
    background: transparent;
}

.search-box input::placeholder {
    color: var(--text-gray);
}

.filter-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.filter-btn i {
    font-size: 16px;
}

/* Resources Grid Section */
.resources-grid-section {
    padding: 80px 0;
    background: var(--white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.resource-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-icon i {
    font-size: 28px;
    color: var(--primary-blue);
}

.resource-info {
    flex: 1;
}

.resource-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.resource-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-badge {
    background: var(--primary-blue);
    color: var(--white);
}

.subject-badge {
    background: var(--accent-red);
    color: var(--white);
}

.resource-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.resource-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-meta i {
    font-size: 12px;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-download:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.btn-download i {
    font-size: 16px;
}

/* No Results Message */
.no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.no-results i {
    font-size: 64px;
    color: var(--text-gray);
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-results p {
    font-size: 16px;
    color: var(--text-gray);
}

/* Alert Styles */
.alert {
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.alert-info {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-blue);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--accent-red);
    border-left: 4px solid var(--accent-red);
}

/* Responsive Design for Library */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resource-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .library-benefits-section,
    .resource-types-section,
    .search-filter-section,
    .resources-grid-section {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resource-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-buttons-container {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .resource-types-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        padding: 15px 20px;
    }
    
    .search-box input {
        font-size: 14px;
    }
    
    .filter-buttons-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        justify-content: center;
    }
    
    .resource-card {
        padding: 25px;
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: #2d5aa0;
    position: relative;
}

.cta-content {
    text-align: center !important;
    max-width: 750px;
    margin: 0 auto !important;
    display: block !important;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px !important;
}

.cta-icon i {
    font-size: 40px;
    color: var(--white);
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    display: block !important;
}

.cta-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 35px;
    display: block !important;
}

.cta-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: #2d5aa0;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 30px;
    }
    
    .cta-icon i {
        font-size: 35px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .cta-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-description {
        font-size: 14px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ========== TEACHERS PREVIEW SECTION (INDEX PAGE) ========== */
.teachers-preview-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.teachers-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.teacher-preview-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.teacher-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.teacher-preview-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.teacher-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Show face, not top of head */
    transition: transform 0.5s ease;
}

.teacher-preview-card:hover .teacher-preview-image img {
    transform: scale(1.1);
}

.teacher-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.teacher-preview-badge {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teacher-preview-info {
    padding: 30px 25px;
}

.teacher-preview-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.teacher-preview-role {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.teacher-preview-bio {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.teacher-preview-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.teacher-preview-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.teacher-preview-stats i {
    color: var(--primary-blue);
    font-size: 14px;
}

.teachers-preview-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all-teachers {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-view-all-teachers:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.btn-view-all-teachers i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-view-all-teachers:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .teachers-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teacher-preview-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .teachers-preview-section {
        padding: 80px 0;
    }
    
    .teachers-preview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .teacher-preview-card:last-child {
        max-width: 100%;
    }
    
    .teacher-preview-image {
        height: 250px;
    }
    
    .teachers-preview-cta {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .teacher-preview-info {
        padding: 25px 20px;
    }
    
    .teacher-preview-info h3 {
        font-size: 20px;
    }
    
    .btn-view-all-teachers {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ========== OUR STORY SECTION (ABOUT PAGE) ========== */
.our-story-section {
    padding: 100px 0;
    background: var(--white);
}

.our-story-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content {
    padding-right: 40px;
}

.story-timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--primary-blue), rgba(0, 102, 204, 0.2));
}

.timeline-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.timeline-icon i {
    font-size: 24px;
    color: var(--white);
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.9;
    margin: 0;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 102, 204, 0.1);
}

.stat-item-story {
    text-align: center;
}

.stat-number-story {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.stat-label-story {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 600;
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.story-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    font-size: 28px;
    color: var(--white);
}

.badge-content {
    text-align: left;
}

.badge-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.badge-text {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: rgba(0, 102, 204, 0.1);
    top: -20px;
    right: -20px;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: rgba(220, 53, 69, 0.1);
    bottom: -20px;
    left: -20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .our-story-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .our-story-section {
        padding: 80px 0;
    }
    
    .timeline-item {
        gap: 20px;
        margin-bottom: 35px;
    }
    
    .timeline-icon {
        width: 48px;
        height: 48px;
    }
    
    .timeline-icon i {
        font-size: 20px;
    }
    
    .timeline-content h4 {
        font-size: 20px;
    }
    
    .timeline-content p {
        font-size: 15px;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-number-story {
        font-size: 36px;
    }
    
    .story-badge {
        bottom: 20px;
        left: 20px;
        padding: 20px 25px;
    }
    
    .badge-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .timeline-content h4 {
        font-size: 18px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    .story-badge {
        position: static;
        margin-top: 20px;
    }
}

/* ========== ADMISSION PAGE STYLES ========== */

.requirement-modern-card {
    overflow: hidden;
}

.requirement-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}

.requirement-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirement-badge.optional {
    background: var(--text-gray);
}

.requirement-visual {
    position: relative;
    margin-bottom: 25px;
}

.visual-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.visual-icon i {
    font-size: 36px;
    color: var(--white);
}

.visual-decoration {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.requirement-info {
    text-align: center;
}

.requirement-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.requirement-info p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.requirement-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.requirement-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.requirement-specs i {
    color: #00d084;
    font-size: 14px;
}

.requirements-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-checklist {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-checklist:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.cta-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

/* Responsive Requirements */
@media (max-width: 1024px) {
    .requirements-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admission-requirements-section {
        padding: 80px 0;
    }
    
    .requirements-modern-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .requirement-modern-card {
        padding: 25px 20px;
    }
}


/* ============================================
   PREMIUM ADMISSION FORM - MULTI-STEP WIZARD
   ============================================ */

/* Form Section */
.admission-form-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.admission-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(220, 53, 69, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Wizard Progress Bar */
.form-wizard-progress {
    max-width: 900px;
    margin: 60px auto 50px;
    position: relative;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-circle i {
    font-size: 28px;
    color: #adb5bd;
    transition: all 0.4s ease;
}

.step-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-check i {
    color: #fff;
    font-size: 24px;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
}

/* Active Step */
.wizard-step.active .step-circle {
    border-color: #0066cc;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 82, 163, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.wizard-step.active .step-circle i {
    color: #0066cc;
    transform: scale(1.1);
}

.wizard-step.active .step-label {
    color: #0066cc;
    font-weight: 700;
}

/* Completed Step */
.wizard-step.completed .step-circle {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.wizard-step.completed .step-circle i {
    opacity: 0;
}

.wizard-step.completed .step-check {
    transform: translate(-50%, -50%) scale(1);
}

.wizard-step.completed .step-label {
    color: #28a745;
}

/* Progress Line */
.wizard-progress-line {
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e9ecef;
    border-radius: 10px;
    z-index: 1;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc 0%, #20c997 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wizard-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #0066cc;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

/* Form Card with Glassmorphism */
.form-wizard-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.form-wizard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* Form Steps */
.wizard-form-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.wizard-form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Header Card */
.step-header-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-radius: 20px;
    border-left: 4px solid #0066cc;
}

.step-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.step-icon-badge i {
    font-size: 26px;
    color: #fff;
}

.step-title-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.step-title-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

/* Input Group */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 5px;
}

.required {
    color: #dc3545;
    font-size: 16px;
}

/* Input Wrapper with Icon */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    z-index: 1;
    transition: all 0.3s ease;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    color: #2c3e50;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 16px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    color: #0066cc;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #adb5bd;
}

/* Validation Error */
.validation-error {
    display: none;
    font-size: 13px;
    color: #dc3545;
    margin-top: -5px;
    animation: shake 0.3s ease;
}

.input-group.error .validation-error {
    display: block;
}

.input-group.error .input-wrapper input,
.input-group.error .input-wrapper select,
.input-group.error .input-wrapper textarea {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.input-group.error .input-icon {
    color: #dc3545;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success State */
.input-group.success .input-wrapper input,
.input-group.success .input-wrapper select,
.input-group.success .input-wrapper textarea {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.input-group.success .input-icon {
    color: #28a745;
}

/* File Upload Zone with Drag & Drop */
.file-upload-zone {
    position: relative;
}

.file-upload-zone input[type="file"] {
    display: none;
}

.file-drop-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-drop-area:hover {
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

.file-drop-area.drag-over {
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
    transform: scale(1.02);
}

.file-drop-area i {
    font-size: 40px;
    color: #6c757d;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.file-drop-area:hover i {
    color: #0066cc;
    transform: scale(1.1);
}

.file-msg {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.file-info {
    font-size: 13px;
    color: #6c757d;
}

/* File Preview */
.file-preview {
    display: none;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #28a745;
    border-radius: 12px;
    margin-top: 15px;
}

.file-preview.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-preview i {
    font-size: 24px;
    color: #28a745;
}

.file-name-display {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #dc3545;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.file-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin: 40px 0;
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f1f3f5;
}

.wizard-actions {
    flex: 1;
    display: flex;
    justify-content: center;
}

.wizard-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.wizard-btn-prev {
    background: #fff;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.wizard-btn-prev:hover {
    background: #f8f9fa;
    border-color: #cbd5e0;
    transform: translateX(-5px);
}

.wizard-btn-next {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.wizard-btn-next:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
}

.wizard-btn-submit {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.wizard-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
}

.wizard-btn-save {
    background: #fff;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.wizard-btn-save:hover {
    background: #0066cc;
    color: #fff;
}

.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Auto-save Indicator */
.auto-save-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(40, 167, 69, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
}

.auto-save-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.auto-save-indicator i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admission-form-section {
        padding: 80px 0;
    }
    
    .form-wizard-progress {
        margin: 40px auto 30px;
    }
    
    .wizard-steps {
        gap: 10px;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
    }
    
    .step-circle i {
        font-size: 20px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .wizard-progress-line {
        left: 8%;
        right: 8%;
    }
    
    .form-wizard-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .step-header-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-icon-badge {
        width: 50px;
        height: 50px;
    }
    
    .step-icon-badge i {
        font-size: 22px;
    }
    
    .step-title-content h3 {
        font-size: 20px;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .wizard-actions {
        order: 3;
        width: 100%;
    }
    
    .wizard-btn {
        width: 100%;
        justify-content: center;
    }
    
    .wizard-btn-prev {
        order: 1;
    }
    
    .wizard-btn-next,
    .wizard-btn-submit {
        order: 2;
    }
    
    .auto-save-indicator {
        bottom: 20px;
        right: 20px;
        font-size: 12px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .step-label {
        display: none;
    }
    
    .step-circle {
        width: 45px;
        height: 45px;
    }
    
    .step-circle i {
        font-size: 18px;
    }
}


/* ============================================
   API INTEGRATION STYLES
   ============================================ */

/* Loading State */
.loading-container {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    color: #666;
    font-size: 16px;
}

/* Error State */
.error-container {
    text-align: center;
    padding: 60px 20px;
    color: #dc3545;
}

.error-container i {
    font-size: 48px;
    margin-bottom: 20px;
}

.error-container p {
    font-size: 16px;
    margin-bottom: 20px;
}

.retry-btn {
    padding: 12px 30px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.retry-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

/* No Data State */
.no-data-container {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-data-container i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-data-container p {
    font-size: 16px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 18px;
}


/* ============================================
   FORM ALERTS & SUCCESS MESSAGES
   ============================================ */

.form-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-alert i {
    font-size: 20px;
}

.form-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Admission Success Modal */
.admission-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-content h2 {
    color: #333;
    margin-bottom: 15px;
}

.application-id {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    letter-spacing: 2px;
}

.btn-close-success {
    margin-top: 20px;
    padding: 12px 40px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-success:hover {
    background: #0052a3;
    transform: translateY(-2px);
}


/* ============================================
   CUSTOM MODERN ALERTS (SweetAlert Style)
   ============================================ */

.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-alert-overlay.show {
    opacity: 1;
}

.custom-alert-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-alert-overlay.show .custom-alert-box {
    transform: scale(1);
}

.alert-icon-wrapper {
    margin-bottom: 25px;
}

.alert-icon {
    display: inline-block;
    position: relative;
}

/* Success Icon */
.success-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

.success-icon-circle i {
    font-size: 40px;
    color: white;
}

/* Error Icon */
.error-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: shake 0.5s ease;
}

.error-icon-circle i {
    font-size: 40px;
    color: white;
}

/* Warning Icon */
.warning-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 0.5s ease;
}

.warning-icon-circle i {
    font-size: 40px;
    color: white;
}

/* Info Icon */
.info-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17a2b8, #138496);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

.info-icon-circle i {
    font-size: 40px;
    color: white;
}

/* Confirm Icon */
.confirm-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

.confirm-icon-circle i {
    font-size: 40px;
    color: white;
}

.alert-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.alert-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.alert-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: white;
}

.alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.success-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.error-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.warning-btn {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.info-btn {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.confirm-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.cancel-btn {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.alert-buttons-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Animations */
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .custom-alert-box {
        padding: 30px 20px;
    }
    
    .alert-title {
        font-size: 24px;
    }
    
    .alert-message {
        font-size: 14px;
    }
    
    .alert-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .alert-buttons-group {
        flex-direction: column;
    }
}


/* ==================== LIGHTBOX STYLES ==================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: white;
    color: #1e4d9f;
    transform: rotate(90deg);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ========================================
   ENHANCED HERO BUTTON ANIMATIONS
   ======================================== */

.hero-cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.3);
}

.hero-cta-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.2);
}

/* Ripple Effect */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    pointer-events: none;
}

.hero-cta-btn.ripple-active .btn-ripple {
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading State */
.hero-cta-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.hero-cta-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Icon Animation on Hover */
.hero-cta-btn i {
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
    transform: translateX(3px);
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

/* Pulse Animation for Primary Button */
.btn-primary.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary.hero-cta-btn:hover::before {
    opacity: 1;
}

/* Shine Effect */
.hero-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-cta-btn:hover::after {
    left: 100%;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta-btn:hover {
        transform: translateY(-2px);
    }
}


/* ========================================
   ENHANCED ABOUT SECTION BUTTON
   ======================================== */

.about-cta-btn.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-cta-btn.enhanced-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
}

.about-cta-btn.enhanced-btn:active {
    transform: translateX(3px);
}

/* Arrow Animation */
.about-cta-btn.enhanced-btn i {
    transition: transform 0.3s ease;
}

.about-cta-btn.enhanced-btn:hover i {
    transform: translateX(5px);
    animation: arrow-bounce 0.6s ease infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(5px);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Ripple Effect */
.about-cta-btn.enhanced-btn .btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.4);
    transform: scale(0);
    pointer-events: none;
}

.about-cta-btn.enhanced-btn.ripple-active .btn-ripple {
    animation: ripple-animation 0.6s ease-out;
}

/* Underline Effect */
.about-cta-btn.enhanced-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.4s ease;
}

.about-cta-btn.enhanced-btn:hover::before {
    width: 100%;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .about-cta-btn.enhanced-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }
}


/* ========================================
   ENHANCED PROGRAM SECTION BUTTONS
   ======================================== */

.program-btn.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    width: 100%;
    text-align: center;
}

.program-btn.enhanced-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.25);
}

.program-btn.enhanced-btn:active {
    transform: translateY(-1px);
}

/* Ripple Effect */
.program-btn.enhanced-btn .btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    pointer-events: none;
}

.program-btn.enhanced-btn.ripple-active .btn-ripple {
    animation: ripple-animation 0.6s ease-out;
}

/* Gradient Shift on Hover */
.program-btn.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.program-btn.enhanced-btn:hover::before {
    left: 100%;
}

/* Scale Animation for Featured Card Button */
.program-card.featured .program-btn.enhanced-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    font-weight: 600;
}

.program-card.featured .program-btn.enhanced-btn:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.35);
}

/* Pulse Animation for Featured Button */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }
}

.program-card.featured .program-btn.enhanced-btn {
    animation: pulse-glow 2s infinite;
}

.program-card.featured .program-btn.enhanced-btn:hover {
    animation: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .program-btn.enhanced-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}


/* ========================================
   ENHANCED DIRECTOR'S MESSAGE BUTTONS
   ======================================== */

.message-btn.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Primary Button (Our Story) */
.message-btn.primary.enhanced-btn {
    background: var(--gradient-primary);
    color: white;
}

.message-btn.primary.enhanced-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.3);
}

.message-btn.primary.enhanced-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Outline Button (Contact Director) */
.message-btn.outline.enhanced-btn {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.message-btn.outline.enhanced-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.25);
}

.message-btn.outline.enhanced-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Icon Animations */
.message-btn.enhanced-btn i {
    transition: transform 0.3s ease;
}

.message-btn.primary.enhanced-btn:hover i {
    transform: translateX(5px);
    animation: arrow-slide 0.6s ease infinite;
}

@keyframes arrow-slide {
    0%, 100% {
        transform: translateX(5px);
    }
    50% {
        transform: translateX(10px);
    }
}

.message-btn.outline.enhanced-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Ripple Effect */
.message-btn.enhanced-btn .btn-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
}

.message-btn.primary.enhanced-btn .btn-ripple {
    background: rgba(255, 255, 255, 0.5);
}

.message-btn.outline.enhanced-btn .btn-ripple {
    background: rgba(0, 102, 204, 0.3);
}

.message-btn.enhanced-btn.ripple-active .btn-ripple {
    animation: ripple-animation 0.6s ease-out;
}

/* Shine Effect for Primary Button */
.message-btn.primary.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.message-btn.primary.enhanced-btn:hover::before {
    left: 100%;
}

/* Border Animation for Outline Button */
.message-btn.outline.enhanced-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-blue);
    z-index: -1;
    transition: width 0.4s ease;
}

.message-btn.outline.enhanced-btn:hover::after {
    width: 100%;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .message-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .message-btn.enhanced-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }
}


/* ========================================
   CONTACT DIRECTOR MODAL
   ======================================== */

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.contact-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    font-size: 18px;
}

.contact-modal-close:hover {
    background: #dc3545;
    color: white;
    transform: rotate(90deg);
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.contact-modal-header h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-modal-header p {
    color: var(--text-gray);
    font-size: 15px;
}

.contact-modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.contact-option:hover {
    transform: translateX(5px);
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.contact-option-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-option.whatsapp .contact-option-icon {
    background: #25D366;
    color: white;
}

.contact-option.phone .contact-option-icon {
    background: var(--primary-blue);
    color: white;
}

.contact-option.email .contact-option-icon {
    background: #dc3545;
    color: white;
}

.contact-option-info {
    flex: 1;
}

.contact-option-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-option-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.contact-option-arrow {
    color: var(--text-gray);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact-option:hover .contact-option-arrow {
    transform: translateX(5px);
    color: var(--primary-blue);
}

/* Pulse Animation for WhatsApp */
.contact-option.whatsapp .contact-option-icon {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .contact-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .contact-modal-header h3 {
        font-size: 24px;
    }
    
    .contact-option {
        padding: 15px;
    }
    
    .contact-option-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/* Fix for button element styling */
button.message-btn {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

button.message-btn.outline {
    background: transparent;
}


/* ========================================
   ENHANCED GALLERY SECTION BUTTONS
   ======================================== */

/* View Gallery Button */
.view-gallery-btn.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.view-gallery-btn.enhanced-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.3);
}

.view-gallery-btn.enhanced-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Arrow Animation */
.view-gallery-btn.enhanced-btn i {
    transition: transform 0.3s ease;
}

.view-gallery-btn.enhanced-btn:hover i {
    transform: translateX(8px);
    animation: arrow-pulse 0.6s ease infinite;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: translateX(8px);
    }
    50% {
        transform: translateX(12px);
    }
}

/* Ripple Effect */
.view-gallery-btn.enhanced-btn .btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    pointer-events: none;
}

.view-gallery-btn.enhanced-btn.ripple-active .btn-ripple {
    animation: ripple-animation 0.6s ease-out;
}

/* Zoom Button Enhancement */
.zoom-btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.zoom-btn:hover {
    transform: scale(1.2) rotate(15deg);
    background: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.zoom-btn:active {
    transform: scale(1.1) rotate(10deg);
}

.zoom-btn i {
    transition: transform 0.3s ease;
}

.zoom-btn:hover i {
    transform: scale(1.2);
}

/* Gallery Item Hover Effect */
.gallery-card:hover .zoom-btn {
    animation: zoom-bounce 0.6s ease;
}

@keyframes zoom-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .view-gallery-btn.enhanced-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }
}


/* ========================================
   GALLERY LIGHTBOX
   ======================================== */

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: rotate(90deg);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.lightbox-description {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-image {
        max-height: 60vh;
    }
    
    .lightbox-info {
        padding: 20px;
        margin-top: 15px;
    }
    
    .lightbox-title {
        font-size: 20px;
    }
    
    .lightbox-description {
        font-size: 14px;
    }
}


/* ========================================
   ADVANCED CTA SECTION REDESIGN
   ======================================== */

/* ========== CTA SECTION - CLEAN & ADVANCED ========== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: #0a1628;
    overflow: hidden;
}

/* Animated Dot Pattern Background */
.cta-pattern-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(0, 102, 204, 0.4) 2px, transparent 2px),
        radial-gradient(circle, rgba(220, 53, 69, 0.3) 2px, transparent 2px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    animation: dotMove 20s linear infinite;
}

@keyframes dotMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Content Box */
.cta-content-box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Title */
.cta-title {
    font-size: 52px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-highlight {
    color: #0066cc;
    font-weight: 800;
}

/* Subtitle */
.cta-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 45px;
    line-height: 1.6;
}

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 45px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.4);
    margin-bottom: 30px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.5);
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon-circle {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.cta-button:hover .btn-icon-circle {
    background: white;
    transform: rotate(45deg);
}

.btn-icon-circle i {
    font-size: 14px;
    transition: color 0.3s ease;
}

.cta-button:hover .btn-icon-circle i {
    color: #dc3545;
}

/* Ripple Effect */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    pointer-events: none;
    z-index: 1;
}

.cta-button.ripple-active .btn-ripple {
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Trust Line */
.cta-trust-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.cta-trust-line i {
    color: #10b981;
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .cta-section {
        padding: 90px 0;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .cta-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 16px;
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    
    .cta-trust-line {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 30px;
    }
    
    .cta-subtitle {
        font-size: 15px;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 15px;
    }
    
    .cta-trust-line {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
}

/* ========================================
   RESPONSIVENESS FIX REPORT IMPLEMENTATION
   Authoritative override block (kept last)
   ======================================== */

/* 3) Header overlap fix */
body {
    padding-top: 85px;
}

.hero {
    margin-top: 0;
}

/* 7) Button overflow fix */
.hero-buttons {
    flex-wrap: wrap;
}

/* 9) Gallery fixed-height resiliency */
.gallery-card {
    aspect-ratio: 4 / 3;
    height: auto;
}

/* 11) Tablet breakpoint */
@media (max-width: 1024px) {
    /* 2) Hero section grid */
    .hero-grid {
        gap: 60px;
    }

    /* 4) Events grid */
    .events-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 5) Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 6) About section */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content {
        padding-right: 0;
    }
}

/* 1,2,4,10,11) Mobile breakpoint */
@media (max-width: 768px) {
    /* 1) Mobile navigation */
    .nav-menu {
        position: fixed;
        top: auto;
        left: -100%;
        width: 100%;
        height: auto;
        background: #1a1a1a;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 40px;
        gap: 25px;
        transition: 0.3s;
        z-index: 9999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    /* 2) Hero section grid */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
        flex: 1;
    }

    /* Stats grid - keep 2 columns on mobile */
    .why-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .why-stat-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    /* 4) Events grid */
    .events-grid {
        grid-template-columns: 1fr;
    }

    /* 10) Typography */
    .hero-title,
    .about-title {
        font-size: 30px;
    }
}

/* 5,11) Small mobile breakpoint */
@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FOOTER ORGANIZATION + RESPONSIVENESS (FINAL)
   - Keep same visual design
   - Prevent overflow on mobile
   - Ensure predictable column stacking
   ======================================== */

.footer,
.footer * {
    min-width: 0;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
}

/* Allow long emails/addresses to wrap instead of overflowing */
.footer a,
.footer .footer-description,
.footer .contact-info a,
.footer .contact-info span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Contact rows should be allowed to wrap on smaller widths */
.footer .contact-info li {
    flex-wrap: wrap;
    row-gap: 6px;
}

.footer .contact-info li > span,
.footer .contact-info li > a {
    white-space: normal;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand-col {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 0;
    }

    .footer-logo {
        gap: 12px;
    }

    .footer-logo img {
        width: 54px;
        height: 54px;
    }
}



