@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8fafc;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 80%;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ffffff" opacity="0.05" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

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

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.5);
    animation: none;
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(245, 87, 108, 0.3);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(245, 87, 108, 0.6);
        transform: scale(1.02);
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border: 2px solid #667eea;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: glow 3s linear infinite;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.feature:hover::before {
    opacity: 1;
    left: 100%;
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: #764ba2;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: all 0.5s ease;
    opacity: 0;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature p {
    font-family: 'Lato', sans-serif;
    color: #4a5568;
    line-height: 1.6;
}

.feature p {
    color: #64748b;
}

.feature-top {
    animation: slideDown 0.8s ease-out;
}

.feature-top:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-top:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-bottom {
    animation: slideUp 0.8s ease-out;
}

.feature-bottom:nth-child(1) {
    animation-delay: 0.6s;
}

.feature-bottom:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glow {
    0% {
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3), 0 0 30px rgba(255, 0, 0, 0.5);
        border-color: rgb(255, 0, 0);
    }
    33% {
        box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3), 0 0 30px rgba(0, 255, 0, 0.5);
        border-color: rgb(0, 255, 0);
    }
    66% {
        box-shadow: 0 4px 20px rgba(0, 0, 255, 0.3), 0 0 30px rgba(0, 0, 255, 0.5);
        border-color: rgb(0, 0, 255);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3), 0 0 30px rgba(255, 0, 0, 0.5);
        border-color: rgb(255, 0, 0);
    }
}

/* Statistics Section */
.statistics {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.testimonial-item:hover::before {
    opacity: 1;
    left: 100%;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2;
}

.testimonial-content p {
    font-family: 'Lato', sans-serif;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author strong {
    font-family: 'Playfair Display', serif;
    color: #667eea;
    display: block;
    font-size: 1.2rem;
}

.testimonial-author span {
    font-family: 'Lato', sans-serif;
    color: #999;
    font-size: 0.95rem;
}

/* Achievements Section */
.achievements {
    padding: 4rem 0;
    background: #f8f9fa;
}

.achievements h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.achievements h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f0f0f0;
}

.achievement-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.achievement-item h3 {
    font-family: 'Playfair Display', serif;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.achievement-item p {
    font-family: 'Lato', sans-serif;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* News Section */
.news {
    padding: 4rem 0;
    background: white;
}

.news h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-slides-container {
    flex: 1;
    overflow: hidden;
}

.news-slide {
    display: none;
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-slide.active {
    display: block;
}

.news-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.news-item h3 {
    font-family: 'Playfair Display', serif;
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.news-item p {
    font-family: 'Lato', sans-serif;
    color: #4a5568;
    line-height: 1.6;
}

.news-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.slider-arrow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slider-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #667eea;
    transform: scale(1.3);
    border-color: #764ba2;
}

.dot:hover {
    background: #764ba2;
    transform: scale(1.2);
}

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

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-item:hover::before {
    left: 100%;
}

.news-item:hover {
    transform: translateY(-5px) scale(1.02) rotate(1deg);
    box-shadow: 0 8px 30px rgba(56, 239, 125, 0.2);
}

.news-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-item p {
    color: #64748b;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23ffffff" opacity="0.05" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

.page-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.page-header p {
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* About Content */
.about-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.about-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    margin-bottom: 3rem;
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.about-section:hover::before {
    opacity: 1;
    left: 100%;
}

.about-section:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2;
}

.about-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about-section p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 2;
    color: #4a5568;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
    border-left: 3px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.values-list li:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    border-left-color: #764ba2;
    transform: translateX(10px);
}

.values-list strong {
    color: #667eea;
    font-weight: 700;
}

.luxury-divider {
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    margin: 4rem 0;
    border-radius: 2px;
    position: relative;
}

.luxury-divider::before {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 1rem;
    color: #667eea;
    font-size: 1.5rem;
}

.about-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ffffff" opacity="0.05" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

.about-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.about-hero p {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.page-header {
    display: none;
}

/* Academics Content */
.academics-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.academic-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    margin-bottom: 3rem;
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.academic-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.academic-section:hover::before {
    opacity: 1;
    left: 100%;
}

.academic-section:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2;
}

.academic-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.academic-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.academic-section p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1rem;
}

.grade-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.grade {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.grade::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 239, 125, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grade:hover::before {
    opacity: 1;
}

.grade:hover {
    transform: translateY(-5px) scale(1.03) rotate(2deg);
    border-color: #11998e;
    box-shadow: 0 8px 25px rgba(56, 239, 125, 0.2);
}

.grade h4 {
    color: #11998e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.grade p {
    color: #64748b;
    font-size: 0.9rem;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.subject-category {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.subject-category::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 239, 125, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subject-category:hover::before {
    opacity: 1;
}

.subject-category:hover {
    transform: translateY(-5px) scale(1.03) rotate(-2deg);
    border-color: #11998e;
    box-shadow: 0 8px 25px rgba(56, 239, 125, 0.2);
}

.subject-category h4 {
    color: #11998e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.subject-category li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.subject-category li:last-child {
    border-bottom: none;
}

.methodology-list,
.assessment-list {
    list-style: none;
}

.methodology-list li,
.assessment-list li {
    font-family: 'Lato', sans-serif;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
    border-left: 3px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #4a5568;
}

.methodology-list li:hover,
.assessment-list li:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    border-left-color: #764ba2;
    transform: translateX(10px);
}

/* Admissions Content */
.admissions-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.admission-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    margin-bottom: 3rem;
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.admission-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.admission-info:hover::before {
    opacity: 1;
    left: 100%;
}

.admission-info:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2;
}

.admission-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.admission-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.admission-steps {
    list-style: none;
    counter-reset: step-counter;
}

.admission-steps li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    position: relative;
    padding-left: 4rem;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.admission-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(56, 239, 125, 0.3);
    animation: pulse 2s infinite;
}

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

.documents-list li {
    font-family: 'Lato', sans-serif;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
    border-left: 3px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #4a5568;
}

.documents-list li:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    border-left-color: #764ba2;
    transform: translateX(10px);
}

.age-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.age-table th,
.age-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Lato', sans-serif;
}

.age-table td {
    color: #4a5568;
}

.age-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.age-table tr:hover {
    background: #f8f9fa;
}

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

.dates-list li {
    font-family: 'Lato', sans-serif;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
    border-left: 3px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #4a5568;
}

.dates-list li:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    border-left-color: #764ba2;
    transform: translateX(10px);
}

/* Form Styles */
.admission-form,
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.admission-form::before,
.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.admission-form:hover::before,
.contact-form:hover::before {
    opacity: 1;
    left: 100%;
}

.admission-form:hover,
.contact-form:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.admission-form h3,
.contact-form h3 {
    font-family: 'Playfair Display', serif;
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.admission-form h3::after,
.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    animation: inputGlow 0.5s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    animation: inputGlow 0.5s ease;
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0px rgba(102, 126, 234, 0.3);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    }
}

.form-group textarea {
    resize: vertical;
}

/* Contact Content */
.contact-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h3,
.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-info h3::after,
.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: all 0.6s ease;
    opacity: 0;
    transform: rotate(45deg);
}

.contact-item:hover::before {
    opacity: 1;
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-left-color: #764ba2;
}

.contact-item h4 {
    font-family: 'Playfair Display', serif;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-item p {
    font-family: 'Lato', sans-serif;
    color: #4a5568;
    line-height: 1.8;
}

.map-section {
    margin-top: 3rem;
}

.map-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.map-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.map-placeholder {
    background: white;
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.map-placeholder p {
    font-family: 'Lato', sans-serif;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.map-container {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.map-container iframe {
    width: 100%;
    border-radius: 10px;
    border: 0;
}

.map-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .features h2,
    .news h2,
    .page-header h2,
    .about-section h3,
    .academic-section h3,
    .admission-info h3,
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
    }

    .feature-grid,
    .news-grid,
    .grade-levels,
    .subjects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Panel Styles */
.admin-container {
    padding: 2rem;
}

.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.admin-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-header p {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    opacity: 0.95;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.data-table th {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Lato', sans-serif;
    color: #4a5568;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.refresh-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.refresh-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.no-data {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-family: 'Lato', sans-serif;
}

/* Contact Form Subject Group */
#subjectGroup {
    display: none;
}

/* News Slider */
.news-slide {
    display: none;
}

.news-slide.active {
    display: block;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.gallery-full {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.documents-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.document-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.document-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.document-item p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.document-item .btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.document-item .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #667eea;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.gallery h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: #667eea;
    font-family: 'Playfair Display', serif;
}

.gallery-placeholder {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.gallery-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.2);
}

.gallery-placeholder p {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin: 0;
}

/* Error Pages */
.error-section {
    text-align: center;
}
