/* 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);
}
/* 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;
}
