@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #1a202c;
    --secondary: #d4a017;
    --secondary-light: #e8b923;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --animation-speed: 0.6s;
    --animation-ease: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-theme="dark"] {
    --primary: #3b82f6;
    --primary-light: #1e40af;
    --primary-dark: #0f172a;
    --secondary: #fbbf24;
    --secondary-light: #f59e0b;
    --white: #1e293b;
    --off-white: #0f172a;
    --light-gray: #334155;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --text-muted: #94a3b8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-top: 80px;
}

body > * {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== SCROLL ANIMATION CLASSES ========== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========== PARALLAX BACKGROUND ========== */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========== FLOATING ANIMATION ========== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-delayed {
    animation: float-delayed 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* ========== PULSE ANIMATION ========== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse:hover {
    animation: pulse 1s ease-in-out infinite;
}

/* ========== GLOW EFFECT ========== */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 160, 23, 0.6); }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* ========== SLIDE IN ON SCROLL ========== */
.slide-up {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s var(--animation-ease);
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== COUNTER ANIMATION ========== */
.counter {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.counter.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ENHANCED HOVER EFFECTS ========== */
.hover-lift {
    transition: transform 0.4s var(--animation-ease), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-bright {
    transition: filter 0.3s ease;
}

.hover-bright:hover {
    filter: brightness(1.1);
}

/* ========== BUTTON HOVER EFFECTS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

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

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

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
}

/* ========== HEADER ========== */
.header {
    background-color: #1a365d !important;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

.header .container {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown > a.nav-link::after {
    content: " \f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.7rem;
}

.nav-dropdown:hover > a.nav-link::after {
    content: " \f106";
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 10000;
    padding: 8px 0;
    margin-top: 10px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333333 !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
}

.dropdown-menu a:hover {
    background-color: #1a365d !important;
    color: #ffffff !important;
    text-decoration: none;
}

.header.scrolled .dropdown-menu {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .nav-dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: #f8f9fa;
        min-width: auto;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 12px 25px;
        border-bottom: 1px solid #e9ecef;
    }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 15px;
}

.theme-toggle:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary-dark);
}

.header.scrolled .theme-toggle {
    background: var(--off-white);
    border-color: var(--light-gray);
    color: var(--primary);
}

.header.scrolled .theme-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

[data-theme="dark"] .theme-toggle {
    background: var(--primary-light);
    border-color: var(--secondary);
    color: var(--secondary);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* Apply Page Styles */
.apply-hero {
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.apply-section {
    padding: 60px 0;
}

.form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--secondary);
    color: var(--primary-dark);
}

.step-label {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary);
}

.progress-line {
    position: absolute;
    top: 25px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--light-gray);
    z-index: 1;
}

.progress-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: var(--secondary);
    transition: var(--transition);
}

.apply-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label span {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.file-upload {
    position: relative;
}

.file-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    padding: 40px;
    border: 2px dashed var(--light-gray);
    border-radius: var(--border-radius);
    text-align: center;
    background: var(--off-white);
    transition: var(--transition);
}

.file-upload:hover .file-preview {
    border-color: var(--primary);
    background: rgba(26, 54, 93, 0.05);
}

.file-preview i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.file-preview span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.form-nav .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.upload-info {
    background: rgba(26, 54, 93, 0.1);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.upload-info p {
    color: var(--primary);
    font-size: 0.95rem;
}

.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-content {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 500px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.success-content h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.application-ref {
    background: var(--off-white);
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin: 20px 0;
}

.application-ref span {
    color: var(--primary);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-progress {
        gap: 5px;
    }

    .step-label {
        display: none;
    }

    .apply-form {
        padding: 25px;
    }
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
    background: var(--primary);
}

/* ========== HERO SLIDER ========== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    background-attachment: fixed;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 160, 23, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-slide h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.hero-slide.active h1 {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s ease forwards;
}

.hero-slide.active h1 {
    animation: slideInUp 1s ease forwards;
}

.hero-slide.active .hero-content > * {
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-content h1 {
    animation: slideInUp 0.8s ease 0.2s forwards;
}

.hero-slide.active .hero-content p {
    animation: slideInUp 0.8s ease 0.4s forwards;
}

.hero-slide.active .hero-btns {
    animation: slideInUp 0.8s ease 0.6s forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
}

.hero-slide.active p {
    opacity: 1;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

.hero-slide.active .hero-btns {
    opacity: 1;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

.slider-dot:hover {
    background: var(--secondary-light);
}

/* Slider Arrows */
.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slider-arrow:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.1);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down a {
    color: var(--white);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Adjust scroll-down position for slider */
.hero .scroll-down {
    bottom: 80px;
}

.slider-nav {
    bottom: 60px;
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== HIGHLIGHTS ========== */
.highlights {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

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

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

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.highlight-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
    background: var(--white);
}

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

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 500;
}

/* ========== ACADEMICS PREVIEW ========== */
.academics-preview {
    background: var(--off-white);
}

.academics-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.level-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.level-image {
    height: 200px;
    overflow: hidden;
}

.level-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.level-content {
    padding: 30px;
}

.level-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.level-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.level-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.level-list span {
    background: var(--off-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: linear-gradient(rgba(26, 54, 93, 0.95), rgba(26, 54, 93, 0.9)),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: 50px;
    left: 10%;
    font-size: 20rem;
    font-family: 'Poppins', sans-serif;
    color: rgba(212, 160, 23, 0.1);
    line-height: 1;
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--secondary);
}

.testimonial-info span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========== TEAM CARDS ========== */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), transparent);
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

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

.team-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.team-role {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========== ALUMNI CARDS ========== */
.alumni-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.alumni-image {
    height: 200px;
    overflow: hidden;
}

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

.alumni-content {
    padding: 30px;
}

.alumni-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.alumni-year {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.alumni-role {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 15px;
}

.alumni-quote {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

/* ========== CTA ========== */
.cta {
    background: var(--secondary);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta .btn {
    background: var(--white);
    color: var(--secondary);
}

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

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-about .logo-text {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom span {
    color: var(--secondary);
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.75)),
                url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    padding: 180px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(212, 160, 23, 0.1) 100%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumb {
    margin-top: 20px;
}

.breadcrumb a {
    color: var(--secondary);
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.7;
}

/* ========== ABOUT PAGE ========== */
.history-section {
    background: var(--white);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.history-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.mv-card {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
}

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

.mv-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.values-section {
    background: var(--off-white);
}

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

.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.principal-section {
    background: var(--white);
}

.principal-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.principal-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.principal-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.principal-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.principal-content .title {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 25px;
    display: block;
}

.principal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========== FAQ ========== */
.faq-section {
    background: var(--off-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== ACADEMICS PAGE ========== */
.academics-hero {
    position: relative;
}

.academics-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 35px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
}

.academics-content {
    display: none;
}

.academics-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.curriculum-section {
    background: var(--white);
    padding: 80px 0;
}

.curriculum-header {
    text-align: center;
    margin-bottom: 50px;
}

.curriculum-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.curriculum-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.curriculum-card {
    background: var(--off-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition);
}

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

.curriculum-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

.curriculum-card ul li {
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-card ul li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

.subjects-section {
    background: var(--off-white);
    padding: 80px 0;
}

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

.subject-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.subject-item i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.subject-item h4 {
    color: var(--primary);
    font-size: 1rem;
}

/* ========== ADMISSIONS PAGE ========== */
.process-section {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.step-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-card::after {
    content: '→';
    position: absolute;
    top: 30px;
    right: -20px;
    font-size: 1.5rem;
    color: var(--secondary);
}

.step-card:last-child::after {
    display: none;
}

.requirements-section {
    background: var(--off-white);
}

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

.requirements-list {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.requirements-list h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.requirements-list ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.requirements-list ul li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.forms-section {
    background: var(--white);
}

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

.form-card {
    background: var(--off-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
}

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

.form-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.form-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.form-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.fees-section {
    background: var(--off-white);
}

.fees-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.fees-header {
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.fees-header h3 {
    font-size: 1.5rem;
}

.fees-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 20px 30px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.fees-row:hover {
    background: var(--off-white);
}

.fees-row:last-child {
    border-bottom: none;
}

.fees-row .fee-label {
    font-weight: 500;
    color: var(--text-dark);
}

.fees-row .fee-amount {
    text-align: right;
    color: var(--primary);
    font-weight: 600;
}

/* ========== GALLERY PAGE ========== */
.gallery-section {
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ========== NEWS PAGE ========== */
.news-section {
    background: var(--white);
}

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

.news-card {
    background: var(--off-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 30px;
}

.news-date {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.news-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    gap: 12px;
}

.events-section {
    background: var(--off-white);
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-info h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-list i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-list h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-list p {
    color: var(--text-light);
}

.contact-form {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.contact-form h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

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

.map-section {
    height: 400px;
    background: var(--off-white);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .highlights-grid,
    .academics-levels,
    .testimonials-grid,
    .values-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-card::after {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .curriculum-grid,
    .forms-grid,
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        color: var(--white);
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-slide h1 {
        font-size: 2.2rem;
    }
    
    .hero-slide .hero-content {
        padding: 0 15px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .btn {
        width: 100%;
    }

    .highlights-grid,
    .academics-levels,
    .testimonials-grid,
    .about-grid,
    .mission-vision,
    .values-grid,
    .principal-grid,
    .requirements-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .curriculum-grid,
    .forms-grid,
    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .event-item {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-slide h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .slider-arrows {
        display: none;
    }
    
    .slider-nav {
        bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .highlight-card,
    .level-card,
    .testimonial-card,
    .value-card,
    .news-card {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 0.95rem;
    }
}

/* Calendar Page Styles */
.calendar-hero {
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.calendar-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.calendar-tabs .tab-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-tabs .tab-btn:hover,
.calendar-tabs .tab-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary-dark);
}

.calendar-content {
    display: none;
}

.calendar-content.active {
    display: block;
}

.term-overview {
    padding: 60px 0;
}

.term-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
}

.term-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.term-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.term-dates {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.term-durations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.duration-item i {
    font-size: 1.8rem;
    color: var(--secondary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.duration-item h4 {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 3px;
}

.duration-item p {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.events-section {
    padding: 60px 0;
    background: var(--off-white);
}

.events-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 2rem;
}

.events-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-date {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.date-day {
    font-size: 1.3rem;
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.event-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-academic {
    background: #e3f2fd;
    color: #1976d2;
}

.type-exam {
    background: #ffebee;
    color: #c62828;
}

.type-cultural {
    background: #e8f5e9;
    color: #2e7d32;
}

.type-sports {
    background: #fff3e0;
    color: #ef6c00;
}

.type-workshop {
    background: #f3e5f5;
    color: #7b1fa2;
}

.type-career {
    background: #e0f7fa;
    color: #00838f;
}

.type-holiday {
    background: #fce4ec;
    color: #c2185b;
}

.downloads-section {
    padding: 60px 0;
    background: var(--primary);
    text-align: center;
}

.downloads-section h2 {
    color: white;
    margin-bottom: 10px;
}

.downloads-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.download-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 350px;
    text-align: center;
}

.download-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.download-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .events-timeline::before {
        left: 35px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        padding-left: 55px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .timeline-date {
        position: absolute;
        left: 0;
    }

    .term-header {
        flex-direction: column;
        text-align: center;
    }

    .download-card {
        padding: 30px;
    }
}

/* Blog Page Styles */
.blog-hero {
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.blog-search {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.blog-search input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.blog-search button {
    padding: 15px 25px;
    background: var(--secondary);
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition);
}

.blog-search button:hover {
    background: var(--secondary-light);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.featured-post {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-content {
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.post-category {
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.featured-content h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.featured-content > p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.post-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author h4 {
    color: var(--primary);
    font-size: 1rem;
}

.post-author p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.blog-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.blog-filter .filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter .filter-btn:hover,
.blog-filter .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.blog-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 25px;
}

.card-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.blog-card-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-content > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.card-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--secondary-light);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--text-light);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--primary);
    color: white;
}

.category-list .count {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.category-list a:hover .count {
    background: white;
    color: var(--primary);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post img {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius);
    object-fit: cover;
}

.popular-post h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.newsletter-widget {
    background: var(--primary);
}

.newsletter-widget h3,
.newsletter-widget p {
    color: white;
}

.newsletter-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.newsletter-form .btn {
    width: 100%;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 8px 15px;
    background: var(--off-white);
    color: var(--text-light);
    border-radius: 15px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary);
    color: white;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 25px;
    }

    .featured-content h2 {
        font-size: 1.4rem;
    }

    .blog-filter {
        justify-content: center;
    }
}

/* Student Portal Styles */
.portal-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 20px;
}

.login-container {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius-lg);
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 20px 0 10px;
}

.login-header p {
    color: var(--text-muted);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-icon input {
    padding-left: 45px;
}

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

.forgot-link {
    color: var(--secondary);
    font-weight: 600;
}

.btn-block {
    width: 100%;
    padding: 15px;
}

.login-notice {
    text-align: center;
    margin-top: 25px;
    padding: 15px;
    background: rgba(26, 54, 93, 0.05);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-light);
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--primary);
}

.dashboard-header {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-text {
    color: var(--text-light);
}

.welcome-text strong {
    color: var(--primary);
}

.logout-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.logout-btn:hover {
    background: var(--primary-light);
}

.dashboard-content {
    padding: 40px 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.stat-info h3 {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-value {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
}

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

.dashboard-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--light-gray);
}

.card-header h2 {
    color: var(--primary);
    font-size: 1.2rem;
}

.view-all,
.date-label {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-body {
    padding: 25px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.results-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
}

.grade-a {
    background: #c6f6d5;
    color: #276749;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
}

.grade-b {
    background: #feebc8;
    color: #c05621;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.85rem;
}

.timetable-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timetable-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.timetable-item.current {
    background: var(--secondary);
    color: var(--primary-dark);
}

.timetable-item .time {
    width: 80px;
    font-weight: 600;
    font-size: 0.9rem;
}

.timetable-item .subject {
    flex: 1;
}

.timetable-item .room {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.timetable-item.current .room {
    color: var(--primary-dark);
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.announcement-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.announce-date {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}

.announcement-item h3 {
    color: var(--primary);
    font-size: 1rem;
    margin: 5px 0;
}

.announcement-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.assignment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.assignment-info h3 {
    color: var(--primary);
    font-size: 1rem;
}

.assignment-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 30px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-header .container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Virtual Tour Styles */
.tour-hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.75)), url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1920&q=80') center/cover;
    padding: 120px 0 100px;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.tour-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tour-nav {
    background: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 70px;
    z-index: 50;
}

.tour-locations {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-light);
}

.tour-location:hover,
.tour-location.active {
    background: var(--primary);
    color: white;
}

.tour-location i {
    font-size: 1rem;
}

.tour-content {
    padding: 50px 0;
}

.tour-item {
    display: none;
}

.tour-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-display {
    position: relative;
    margin-bottom: 30px;
}

.tour-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tour-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.tour-hotspot {
    position: absolute;
    cursor: pointer;
}

.hotspot-marker {
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 160, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

.hotspot-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: var(--transition);
}

.tour-hotspot:hover .hotspot-label {
    opacity: 1;
}

.tour-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.tour-nav-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tour-counter {
    color: var(--text-muted);
    font-weight: 600;
}

.tour-info {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.tour-info h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.tour-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.tour-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tour-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.tour-features .feature i {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .tour-hero h1 {
        font-size: 2rem;
    }

    .tour-image img {
        height: 300px;
    }

    .tour-location span {
        display: none;
    }

    .tour-info {
        padding: 25px;
    }

    .tour-info h2 {
        font-size: 1.4rem;
    }
}

/* Fees Page Styles */
.fees-hero {
    padding: 80px 0 60px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.fees-section {
    padding: 60px 0;
}

.fees-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.fees-form-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.student-lookup h2,
.fee-breakdown h2,
.payment-form h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.student-lookup .form-group {
    margin-bottom: 15px;
}

.student-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.student-avatar {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-avatar i {
    font-size: 2rem;
    color: white;
}

.student-details h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.student-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.fee-table th,
.fee-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.fee-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.fee-table .total-row {
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.payment-summary {
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.summary-item.balance {
    border-top: 2px solid var(--primary);
    font-weight: 700;
    margin-top: 10px;
    padding-top: 15px;
}

.summary-item .amount {
    font-size: 1.2rem;
    font-weight: 700;
}

.summary-item .amount.paid {
    color: #48bb78;
}

.summary-item.balance .amount {
    color: var(--primary);
}

.card-inputs {
    display: none;
}

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

.promo-code {
    margin-top: 20px;
}

.terms-checkbox {
    margin: 25px 0;
}

.fees-sidebar {
    position: sticky;
    top: 100px;
}

.payment-methods,
.security-notice,
.help-section {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.payment-methods h3,
.security-notice h3,
.help-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.methods-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.method i {
    font-size: 1.5rem;
    color: var(--primary);
}

.method span {
    font-size: 0.85rem;
    font-weight: 600;
}

.security-notice {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.security-notice h3,
.security-notice p {
    color: white;
}

.security-notice i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.help-section p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

@media (max-width: 1024px) {
    .fees-layout {
        grid-template-columns: 1fr;
    }

    .fees-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .fees-form-container {
        padding: 25px;
    }

    .student-info-card {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .methods-list {
        grid-template-columns: 1fr;
    }
}