@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Cyber-Military Color Palette - Bright/Light Edition */
:root {
    --cyber-dark: #F5F7FA;  /* Light Grey/White */
    --cyber-deep: #051628;  /* Keep deep color for contrast elements */
    --cyber-gold: #B8860B;  /* Darker Gold for visibility on light bg */
    --cyber-blue: #0066CC;  /* Darker Azure for visibility */
    
    --text-white: #1A202C;  /* Dark text */
    --text-muted: #586979;  /* Muted dark grey */
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* Adjusted Glows for light theme */
    --gold-glow: 0 0 15px rgba(184, 134, 11, 0.3);
    --neon-glow: 0 0 10px rgba(0, 102, 204, 0.2);
}

body {
    font-family: 'Exo 2', 'Montserrat', sans-serif;
    background-color: var(--cyber-dark);
    color: var(--text-white);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Overlay for Cyber Feel - LIGHT VERSION */
.cyber-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Light linear gradient */
    background: 
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.95)),
        url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Redesign --- */
.cyber-header {
    background: rgba(255, 255, 255, 0.95); /* White glass */
    border-bottom: 2px solid var(--cyber-gold);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.top-bar {
    background: var(--cyber-deep); /* Keep top bar dark for contrast */
    padding: 5px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff; /* White text on dark bar */
    text-transform: uppercase;
}

.contact-info i {
    color: var(--cyber-gold);
    margin-right: 5px;
}

.main-nav {
    height: 70px;
    display: flex;
    align-items: center;
}

.main-nav .container {
    max-width: 100%; /* Override standard container width */
    padding: 0 40px; /* Add side padding for breathing room */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.5));
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-white); /* Dark text now */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--cyber-blue);
    /* Removed text-shadow for cleaner light look, or keep subtle */
    text-shadow: none; 
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--cyber-blue);
    transition: width 0.3s ease;
    box-shadow: var(--neon-glow);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mega Menu */
.mega-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--cyber-gold);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); /* Lighter shadow */
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    padding: 20px;
}
.has-mega:hover .mega-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mega-content h3 {
    color: var(--cyber-gold);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
    margin-top: 0;
}
.mega-content a {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    padding: 5px 0;
    border: none;
}
.mega-content a:hover {
    color: var(--cyber-blue);
    padding-left: 5px;
}

/* --- Hero Section (Redesigned) --- */
.cyber-hero {
    position: relative;
    padding: 100px 0;
    min-height: 90vh; /* Taller hero */
    display: flex;
    align-items: center;
    /* Light radial gradient */
    background: radial-gradient(circle at 70% 50%, rgba(200, 220, 240, 0.4) 0%, rgba(245, 247, 250, 1) 70%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Text larger than image area */
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* Left Content */
.hero-content-left {
    padding-right: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--cyber-blue);
    color: var(--cyber-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glitch-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.5rem; /* Larger Title */
    font-weight: 900;
    color: var(--cyber-deep); /* Dark Navy text instead of white */
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 2px;
}

.neon-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--cyber-deep); /* Dark Navy base */
    margin: 10px 0 25px 0;
    font-weight: 700;
    /* text-shadow handled in glith/neon vars */
}

.gold-text {
    color: var(--cyber-gold);
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
    font-style: italic;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cyber-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.cyber-link:hover {
    color: var(--cyber-blue);
    text-shadow: var(--neon-glow);
}

/* Right Visuals - Full Screen Edge-to-Edge */
.hero-visual-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw; /* Increased width for diagonal overlap */
    height: 100%;
    z-index: 1;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Remove or update the frame to fit edge-to-edge if needed, or keep it as overlay */
.hero-image-container::after {
    display: none; 
}

.full-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    
    /* Double Background Technique: Smooth seamless blend */
    mask-image: linear-gradient(to right, transparent 0%, transparent 5%, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 5%, black 30%);
    
    /* Slideshow Props */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out; 
    
    /* Slow Zoom for Life/Motion */
    animation: heroZoom 20s infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.full-hero-img.active {
    opacity: 1;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    /* Gradient matches the background color but respects transparency to show texture behind */
    background: linear-gradient(to right, transparent 0%, rgba(245, 247, 250, 0.8) 30%, transparent 80%);
    pointer-events: none;
    z-index: 2;
}

/* Redefine Layout - Text is now in container, Image is absolute to screen */
.hero-container {
    display: flex; /* Changed from grid to flex since only one child remains effectively */
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

/* Text Content Size */
.hero-content-left {
    max-width: 600px; /* Limit width */
    width: 100%;
    z-index: 10;
}

@media (max-width: 992px) {
    .hero-visual-right {
        position: relative;
        width: 100%;
        height: 50vh;
        order: -1; /* Move image to top on mobile */
    }
    
    .hero-container {
        flex-direction: column;
        padding-top: 20px;
    }
    
    .hero-content-left {
        max-width: 100%;
        text-align: center;
    }
    
    .full-hero-img {
         mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    }
}

/* Character */
/* .hero-character removed */
/* Floating elements removed */

.cyber-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--cyber-gold);
    color: var(--cyber-gold);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    background: rgba(197, 160, 89, 0.05);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
    transition: 0.5s;
}

.cyber-btn:hover::before {
    left: 100%;
}

.cyber-btn:hover {
    box-shadow: var(--gold-glow);
    background: rgba(197, 160, 89, 0.2); /* Slightly stronger tint */
    color: var(--cyber-deep); /* Dark text for readability */
}

/* --- Timeline Section --- */
.timeline-section {
    padding: 80px 0;
    background-color: #f0f4f8; /* Lighter bg for timeline */
    position: relative;
    background-image: url('assets/images/soyombo-gold.png');
    background-repeat: no-repeat;
    background-position: center 20%;
    background-size: 400px;
    background-blend-mode: soft-light; /* Softer blend */
}

.section-title {
    text-align: center;
    font-family: 'Exo 2', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
}

.gold-accent {
    color: var(--cyber-gold);
}

.timeline-container {
    position: relative;
    overflow-x: hidden; /* Changed to hidden for auto-scroll */
    padding: 40px 0;
    width: 100%;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%; /* Make line long enough */
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-gold), transparent);
    z-index: 0;
    transform: translateY(-50%);
}

.timeline-cards {
    display: flex;
    gap: 60px;
    padding: 0 50px;
    position: relative;
    z-index: 1;
    width: max-content;
    animation: scrollTimeline 40s linear infinite alternate;
}

.timeline-cards:hover {
    animation-play-state: paused;
}

@keyframes scrollTimeline {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% + 100vw)); } /* Slide until end hits viewport right */
}

.timeline-card {
    min-width: 200px;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.timeline-card:hover {
    transform: scale(1.1);
}

.year-badge {
    background: #fff; /* Light bg */
    border: 2px solid var(--cyber-gold);
    color: var(--cyber-gold);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
    position: relative;
    z-index: 2;
}

.card-content {
    background: rgba(255, 255, 255, 0.95); /* Light card */
    border: 1px solid rgba(0, 102, 204, 0.3); /* Blue tint border */
    padding: 15px;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); /* Tech shape */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card-content h3 {
    color: var(--cyber-blue);
    font-size: 1rem;
    margin: 0 0 5px 0;
}

.card-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Core Values (Shields) --- */
.core-values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    justify-items: center;
}

.shield-card {
    position: relative;
    width: 180px;
    height: 220px;
    /* Light/Gold gradient */
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.4), rgba(255, 255, 255, 1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clip-path: path("M 90 0 L 180 40 L 180 140 C 180 180 90 220 90 220 C 90 220 0 180 0 140 L 0 40 Z");
    border: 2px solid transparent; /* Cannot border clip-path directly easily, handled via pseudo or filter */
    filter: drop-shadow(0 0 5px var(--cyber-gold));
    transition: transform 0.3s ease;
}

.shield-card::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--cyber-dark);
    clip-path: path("M 90 0 L 180 40 L 180 140 C 180 180 90 220 90 220 C 90 220 0 180 0 140 L 0 40 Z");
    z-index: -1;
}

.shield-card:hover {
    transform: translateY(-10px);
}

.shield-icon {
    font-size: 2.5rem;
    color: var(--cyber-gold);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 2px rgba(184, 134, 11, 0.5)); /* Added contrast shadow */
}

.shield-card h3 {
    color: var(--cyber-deep); /* Dark text */
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
}

.shield-card p {
    color: var(--text-muted); /* Darker muted text */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* --- Faculties & Modern Grid --- */
.faculties-cyber-section {
    padding: 80px 0;
    /* Light background for faculties */
    background: linear-gradient(to right, rgba(235, 240, 245, 0.9), rgba(255, 255, 255, 0.95));
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.left-faculties .section-title-left {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    color: var(--cyber-deep); /* Dark text for light theme */
    border-left: 5px solid var(--cyber-blue);
    padding-left: 15px;
    margin-bottom: 30px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.glass-card.full-width {
    grid-column: span 2;
    background: rgba(184, 134, 11, 0.1); /* Gold tint light */
    border-color: var(--cyber-gold);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85); /* Light glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 204, 0.2); /* Blue tint border */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow */
}

.glass-card:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.15);
    border-color: var(--cyber-blue);
    transform: translateY(-5px);
}

.glass-card i {
    font-size: 2rem;
    color: var(--cyber-blue);
    margin-bottom: 15px;
}

.glass-card h4 {
    margin: 0;
    font-family: 'Montserrat';
    font-weight: 600;
    color: var(--cyber-deep); /* Dark text for cards */
}

/* Right Modern Block */
.cyber-block {
    position: relative;
    height: 100%;
    min-height: 400px;
    background-image: url('assets/images/leadership_photo.jpg');
    background-size: cover;
    background-position: top center;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(184, 134, 11, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Soft shadow */
}

.cyber-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent); /* Fade to white */
}

.cyber-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.cyber-content h3 {
    font-size: 1.8rem;
    color: var(--cyber-blue);
    margin-bottom: 10px;
}

.cyber-content p {
    color: var(--text-muted); /* Ensure readable text on white overlay */
}

.tech-btn {
    color: var(--cyber-gold);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}

/* Footer & Other pages fixes from old css */
.cyber-footer {
    background: #E2E8F0; /* Light Grey Footer */
    border-top: 3px solid var(--cyber-gold);
    padding: 60px 0 20px;
    font-size: 0.9rem;
    color: var(--cyber-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--cyber-gold);
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col p {
    color: var(--text-muted);
    margin: 5px 0;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 15px;
}

.slogan {
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05); /* Dark tint for light footer */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--cyber-deep); /* Dark Icon */
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid transparent;
}

.footer-social-icons a:hover {
    background: var(--cyber-blue);
    color: #fff;
}
    color: var(--cyber-dark);
    box-shadow: var(--neon-glow);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 8px;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.contact-list li span {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4 {
        display: block;
    }
    .footer-social-icons {
        justify-content: center;
    }
}


/* Nav Toggle Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 10px;
    margin: 0;
}

.nav-toggle:focus {
    outline: 2px solid var(--cyber-blue);
    outline-offset: 2px;
}

.nav-toggle .bar {
    width: 30px;
    height: 3px;
    background: var(--cyber-gold);
    transition: 0.3s;
    box-shadow: 0 0 5px var(--cyber-gold);
}

/* Glitch Effect */
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-dark); /* Match light background */
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    5% { clip: rect(70px, 9999px, 90px, 0); }
    10% { clip: rect(10px, 9999px, 80px, 0); }
    15% { clip: rect(50px, 9999px, 20px, 0); }
    20% { clip: rect(20px, 9999px, 60px, 0); }
    25% { clip: rect(80px, 9999px, 10px, 0); }
    30% { clip: rect(60px, 9999px, 50px, 0); }
    35% { clip: rect(10px, 9999px, 40px, 0); }
    40% { clip: rect(40px, 9999px, 10px, 0); }
    45% { clip: rect(80px, 9999px, 20px, 0); }
    50% { clip: rect(30px, 9999px, 60px, 0); }
    55% { clip: rect(10px, 9999px, 10px, 0); }
    60% { clip: rect(50px, 9999px, 70px, 0); }
    65% { clip: rect(20px, 9999px, 40px, 0); }
    70% { clip: rect(30px, 9999px, 90px, 0); }
    75% { clip: rect(80px, 9999px, 30px, 0); }
    80% { clip: rect(10px, 9999px, 50px, 0); }
    85% { clip: rect(60px, 9999px, 20px, 0); }
    90% { clip: rect(20px, 9999px, 60px, 0); }
    95% { clip: rect(70px, 9999px, 40px, 0); }
    100% { clip: rect(50px, 9999px, 20px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(10px, 9999px, 80px, 0); }
    20% { clip: rect(80px, 9999px, 10px, 0); }
    40% { clip: rect(40px, 9999px, 60px, 0); }
    60% { clip: rect(20px, 9999px, 90px, 0); }
    80% { clip: rect(60px, 9999px, 20px, 0); }
    100% { clip: rect(30px, 9999px, 40px, 0); }
}

/* Animations */
@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }
@keyframes pulseLogo { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
@keyframes fadeIn { 
    from { opacity: 0; transform: translateX(-50%) translateY(10px); } 
    to { opacity: 1; transform: translateX(-50%) translateY(0); } 
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* Hero Slider Styles */
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-slider .slide.active {
    opacity: 1;
}
.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* Slider Dots */
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dots .dot:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.5);
}
.slider-dots .dot.active {
    background: var(--cyber-gold);
    border-color: var(--cyber-gold);
}

/* School Card Hover */
.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-content-left {
        max-width: 100% !important;
        padding: 0 20px;
        text-align: center;
    }
    .hero-main-title span:nth-child(1) {
        font-size: 1rem !important;
        letter-spacing: 8px !important;
    }
    .hero-main-title span:nth-child(2) {
        font-size: 1.8rem !important;
        letter-spacing: 3px !important;
    }
    .hero-main-title span:nth-child(3) {
        font-size: 2.2rem !important;
        letter-spacing: 4px !important;
    }
    .hero-values {
        justify-content: center !important;
        gap: 20px !important;
    }
    .hero-actions {
        justify-content: center !important;
    }
    .hero-badge-wrapper {
        text-align: center;
    }
}

/* Stats Section Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-right {
        text-align: center;
        padding: 0;
    }
    .hero-left, .hero-center, .hero-right {
        order: unset;
    }
    .main-nav .nav-menu {
        display: none; /* Add JS toggle for mobile later or use existing script structure */
    }
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        /* Mobile Menu Implementation for existing script */
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--cyber-dark);
        padding: 20px;
        border-bottom: 2px solid var(--cyber-gold);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Fix Mega Menu on Mobile */
    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.03);
        padding: 10px 20px;
        display: none;
        margin-top: 10px;
    }

    .has-mega:hover .mega-menu, .has-mega:active .mega-menu, .has-mega:focus-within .mega-menu {
        display: block;
        animation: none;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
    
    .nav-menu a::after {
        display: none;
    }
}
.timeline-full-width {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.values-full-width {
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.values-grid {
    width: 100%;
    max-width: none;
    /* Ensure grid stretches */
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns for full width look */
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.nav-menu li {
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Slideshow Styles */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  border: 2px solid var(--cyber-gold);
  box-shadow: 0 0 20px rgba(184, 134, 11, 0.2);
  background: #fff;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  background-color: rgba(5, 22, 40, 0.6);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: var(--cyber-gold);
  color: #fff;
}

.dot-container {
    text-align: center;
    padding: 20px;
    background: transparent;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: var(--cyber-gold);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ===== Page Banner Styles ===== */
.page-banner {
    background: linear-gradient(rgba(5, 22, 40, 0.9), rgba(5, 22, 40, 0.85)), url('assets/images/hero-main-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.page-banner h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-banner p {
    font-size: 1.1rem;
    color: var(--cyber-gold);
    margin: 0;
    letter-spacing: 1px;
}

/* ===== Page Content Styles ===== */
.page-content {
    padding: 60px 0;
    background: #fff;
}

.page-content h1 {
    color: var(--cyber-deep);
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-item.full-width {
    grid-column: 1 / -1;
}

.content-item h2 {
    color: var(--cyber-deep);
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cyber-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-item h2 i {
    color: var(--cyber-blue);
}

.content-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.content-item ul {
    padding-left: 20px;
    margin: 0;
}

.content-item li {
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.6;
}

.content-item a {
    color: var(--cyber-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-item a:hover {
    color: var(--cyber-gold);
    text-decoration: underline;
}

/* ===== Policy Content Styles ===== */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
}

.policy-content h2 {
    color: var(--cyber-deep);
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.policy-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Footer Additional Styles ===== */
.footer-col .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col .quick-links li {
    margin-bottom: 8px;
}

.footer-col .quick-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col .quick-links a:hover {
    color: var(--cyber-gold);
}

.footer-col address {
    font-style: normal;
}

.footer-bottom .footer-links {
    margin-top: 10px;
    font-size: 0.85rem;
}

.footer-bottom .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: var(--cyber-gold);
}

/* ===== Back to Top Button ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--cyber-deep);
    color: var(--cyber-gold);
    border: 2px solid var(--cyber-gold);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--cyber-gold);
    color: white;
    transform: translateY(-3px);
}

/* ===== Mobile Nav Toggle Active State ===== */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Reveal Animation ===== */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Skip to Content Link (Accessibility) ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--cyber-deep);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ===== Focus Styles for Accessibility ===== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--cyber-blue);
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    .cyber-header,
    .cyber-footer,
    .nav-toggle,
    #back-to-top {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .page-banner {
        background: #f0f0f0 !important;
        color: black !important;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}


