/* Enhanced School Website CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.our-results{

    color: #00f2fe;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     --gradient-primary-result: linear-gradient(135deg, #719bf5 0%, #c634ff 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-bounce);
    font-family: "Pacifico", cursive;
    font-style: normal;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.logo:hover img {
    transform: rotate(360deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 30px;
}

.nav-menu li a:hover::before {
    left: 0;
}

.nav-menu li a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #5171ff 0%, #c28bf8 50%, #eba5f3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:   url('https://res.cloudinary.com/dprxaeuwi/image/upload/v1755934148/hg1s6yzyhtcoatyanifj.jpg') center/cover;
    animation: float 20s ease-in-out infinite; animation: zoom 20s ease-in-out infinite;
    opacity: 0.5; 
}

.hero-content {
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInRight 1s ease-out 0.4s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced Button */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: bounceIn 1s ease-out 0.6s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Enhanced Principal Section */
.principal-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}


.principal-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow:visible;
    
}



.principal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.principal-image {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    background: #f0f0f0;
}

.principal-card:hover .principal-image {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.principal-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.principal-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.principal-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.principal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pbtn {
    display: inline-block;
    padding: 15px 40px;
    background: rgb(108, 154, 253);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: bounceIn 1s ease-out 0.6s both;
}

.pbtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 130, 250, 0.61), transparent);
    transition: var(--transition-smooth);
}

.pbtn:hover::before {
    left: 100%;
}

.pbtn:hover {
    background: rgb(191, 85, 253);
    border-color: rgba(170, 74, 235, 0.904);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}




/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary-result);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}



/* Enhanced Features Section */
.features {
    padding: 100px 0;
    background: white;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: var(--transition-bounce);
    filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    background: #f0f0f0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}



/* Enhanced News Section */
.news {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
    background: #f0f0f0;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}
/* Enhanced Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.image-containerclassroom {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    cursor: pointer;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.image-containerclassroom:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
    background: #f0f0f0;
    border-radius: 8px;
    display: block;
}

.image-containerclassroom:hover .gallery-item {
    transform: scale(1.05);
}

.imageclassroom-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.image-containerclassroom:hover .imageclassroom-text {
    transform: translateY(0);
}




.gbtn {
    display: inline-block;
    padding: 15px 40px;
    background: rgb(108, 154, 253);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: bounceIn 1s ease-out 0.6s both;
}

.gbtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 130, 250, 0.61), transparent);
    transition: var(--transition-smooth);
}

.gbtn:hover::before {
    left: 100%;
}

.gbtn:hover {
    background: rgb(191, 85, 253);
    border-color: rgba(170, 74, 235, 0.904);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}


/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background-image: url(https://www.cbse.gov.in/cbsenew/images/footer.png);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    padding: 5px 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Results Section */
.results-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="300" r="150"/><circle fill="rgba(255,255,255,0.04)" cx="400" cy="700" r="120"/></svg>');
    animation: float 25s ease-in-out infinite;
}

.results-description {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.8;
    color: white;
}


/* FIXED SLIDESHOW STYLES - Single implementation */
.slideshow-container {
    max-width: 600px;
    width: 100%;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 auto;
}

.slides-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 400px;
    background: white;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.student-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: white;
}

.student-card {
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.student-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #667eea;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.student-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.percentage {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.batch {
    font-size: 16px;
    color: #666;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.slide-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: white;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

.indicator:hover {
    background: #764ba2;
}

.loading-message, .error-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-message {
    color: #e74c3c;
}

/* Results Summary */

.results-summary {
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.results-summary h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: white;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    color: white;
}
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 35px;
    height: 30px;
    justify-content: space-between;
    z-index: 1001;
    position: relative;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mobile-menu-toggle:active {
    transform: translateY(0);
}

.hamburger-line {
    width: 20px;
    height: 2.5px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    position: relative;
}

.hamburger-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.8) 100%);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line::before {
    opacity: 1;
}

.mobile-menu-toggle.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: white;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(30, 30, 60, 0.9) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.mobile-menu-header::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;
}

.mobile-menu-header:hover::before {
    left: 100%;
}

.mobile-menu-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.mobile-menu-close {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.mobile-menu-close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.mobile-menu-close:hover::before {
    width: 100%;
    height: 100%;
}

.mobile-menu-close span {
    color: white;
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.mobile-nav-menu {
    list-style: none;
    padding: 30px 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 8px 0;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInLeft 0.6s ease forwards;
}

.mobile-nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-menu li:nth-child(5) { animation-delay: 0.5s; }
.mobile-nav-menu li:nth-child(6) { animation-delay: 0.6s; }
.mobile-nav-menu li:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-menu a {
    display: block;
    padding: 18px 25px;
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 4px solid transparent;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #ffeb3b;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #ffeb3b;
}

.mobile-nav-menu a:hover::before {
    left: 100%;
}

.mobile-nav-menu a:hover::after {
    width: 100%;
}

.mobile-nav-menu a:active {
    transform: translateX(8px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Icon Animation for Menu Items */
.mobile-nav-menu a {
    position: relative;
}

.mobile-nav-menu a:nth-child(1)::before { content: '🏠'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.mobile-nav-menu a:nth-child(2)::before { content: '📖'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.mobile-nav-menu a:nth-child(3)::before { content: '🔐'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.mobile-nav-menu a:nth-child(4)::before { content: '📰'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.mobile-nav-menu a:nth-child(5)::before { content: '🏛️'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.mobile-nav-menu a:nth-child(6)::before { content: '🖼️'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.mobile-nav-menu a:nth-child(7)::before { content: '📞'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }

.mobile-nav-menu a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* Media Queries for Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Adjust header for mobile */
    .nav {
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .logo {
        flex: 1;
    }
    
    .header {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .mobile-menu-content {
        width: 100%;
        border-left: none;
    }
    
    .mobile-menu-toggle {
        width: 32px;
        height: 28px;
        padding: 6px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .mobile-nav-menu a {
        font-size: 15px;
        padding: 16px 20px;
        margin: 0 10px;
    }
    
    .mobile-menu-header {
        padding: 20px 15px;
    }
    
    .mobile-menu-title {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .mobile-nav-menu a {
        font-size: 14px;
        padding: 14px 15px;
        margin: 0 8px;
    }
    
    .mobile-menu-header {
        padding: 18px 12px;
    }
    
    .mobile-menu-close {
        width: 35px;
        height: 35px;
    }
    
    .mobile-menu-close span {
        font-size: 24px;
    }
}

/* Additional animations for better UX */
.mobile-menu-overlay.active .mobile-nav-menu li {
    animation: bounceIn 0.6s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateX(-10px) scale(1.05);
    }
    70% {
        transform: translateX(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Pulse animation for hamburger menu */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
}

.mobile-menu-toggle {
    animation: pulse 2s infinite;
}

.mobile-menu-toggle:hover {
    animation: none;
}
/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoom {

  0%, 100%  {transform: scale(1.1);
} 50% {transform: scale(1);}
}

@keyframes float {

    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable:hover {
    opacity: 0.8;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .principal-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .slideshow-container {
        margin: 10px;
    }
    
    .student-photo {
        width: 120px;
        height: 120px;
    }
    
    .student-info h3 {
        font-size: 20px;
    }
    
    .percentage {
        font-size: 28px;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide-nav.prev {
        left: 10px;
    }
    
    .slide-nav.next {
        right: 10px;
    }

    .slides-wrapper {
        height: 350px;
    }

    .results-summary {
        margin: 2rem 1rem 0;
        padding: 2rem;
    }

    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}










/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .principal-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .principal-image {
        width: 200px;
        height: 200px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .slideshow-container {
        margin: 10px;
    }
    
    .student-photo {
        width: 120px;
        height: 120px;
    }
    
    .student-info h3 {
        font-size: 20px;
    }
    
    .percentage {
        font-size: 28px;
    }
}
   

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .principal-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .principal-image {
        width: 150px;
        height: 150px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .news-card {
        margin: 0 10px;
    }
}

