/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3d3d5c;
    --accent-color: #a4d65e;
    --text-dark: #2a2a3e;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.text-center {
    text-align: center;
}

/* Header */
header {
    background: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--accent-color);
}

.logo-icon svg {
    width: 32px;
    height: 32px;
}

.logo-accent {
    color: var(--accent-color);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle,
.dropdown.open .dropdown-toggle {
    color: var(--accent-color);
}

.dropdown:hover .dropdown-arrow,
.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    margin-top: 0.5rem;
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--bg-light);
    border-left-color: var(--accent-color);
    color: var(--accent-color);
    padding-left: 1.5rem;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-enroll {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-enroll:hover {
    background: #b8e266;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 214, 94, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-color);
    padding: 2rem;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-item .nav-link {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav-item .nav-link:hover {
    background: rgba(164, 214, 94, 0.1);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: var(--white);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-dropdown-toggle:hover {
    background: rgba(164, 214, 94, 0.1);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 1rem;
}

.mobile-dropdown-menu.active {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
    border-radius: 6px;
}

.mobile-dropdown-item:hover {
    opacity: 1;
    background: rgba(164, 214, 94, 0.1);
    padding-left: 1.5rem;
}

.mobile-menu-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
    text-align: center;
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 61, 92, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: #b8e266;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(164, 214, 94, 0.5);
}

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

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 214, 94, 0.4);
}

.btn-hero {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background: #b8e266;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(164, 214, 94, 0.5);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: -1.5rem auto 3rem;
}

/* Languages Section */
.languages-section {
    background: var(--bg-light);
}

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

.language-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.language-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(164, 214, 94, 0.3);
}

.language-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.language-name {
    color: var(--primary-color);
    font-weight: 600;
}

/* Feature Section */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.feature-content {
    padding: 2rem 0;
}

.feature-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
}

.feature-icon {
    background: var(--accent-color);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Why Section */
.why-section {
    background: var(--primary-color);
    color: var(--white);
}

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

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

.why-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(164, 214, 94, 0.1);
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-icon svg {
    width: 40px;
    height: 40px;
}

.why-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Stats Section */
.stats-section {
    background: #4a4a6a;
    color: var(--white);
    padding: 4rem 0;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    padding: 0 80px;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.star-filled {
    color: #ffc107;
}

.star-filled svg {
    width: 24px;
    height: 24px;
    fill: #ffc107;
}

.testimonial-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

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

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

.testimonial-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-role {
    color: #999;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: #b8e266;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(164, 214, 94, 0.4);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.slider-dots,
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* Teachers Section */
.teacher-slider {
    position: relative;
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* padding: 0 80px; */
}

.teacher-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(164, 214, 94, 0.3);
}

.teacher-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.teacher-info {
    padding: 1.5rem;
    text-align: center;
}

.teacher-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.teacher-specialty {
    color: var(--accent-color);
    margin: 0.5rem 0;
    font-weight: 600;
}

.teacher-experience {
    color: #999;
    margin-bottom: 1rem;
}

/* Blog Section */
.blog-section {
    background: var(--bg-light);
}

.blog-slider {
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* padding: 0 80px; */
      height: auto;           /* make sure it grows with content */
  overflow: visible;      /* allow all rows to display */
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-category {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.blog-date {
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-date svg {
    width: 14px;
    height: 14px;
}

.blog-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    font-size: 1.2rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 1rem;
    color: #b8e266;
}

.blog-link svg {
    width: 16px;
    height: 16px;
}

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

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-content {
    padding: 1.5rem;
}

.news-type {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.news-date svg {
    width: 16px;
    height: 16px;
}

.news-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.news-link:hover {
    gap: 1rem;
    color: #b8e266;
}

.news-link svg {
    width: 16px;
    height: 16px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a4a6a 100%);
    color: var(--white);
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

/* Footer */
.footer {
    background: #2a2a3e;
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    color: var(--accent-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(164, 214, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
}

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

/* Contact Page */
.contact-info-section {
    background: var(--bg-light);
}

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

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(164, 214, 94, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-info-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

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

/* Contact Form */
.contact-form-section {
    padding: 5rem 0;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
}

.form-group label .required {
    color: #d4183d;
}

.form-control {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(164, 214, 94, 0.1);
}

.form-control.error {
    border-color: #d4183d;
}

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

/* Map */
#map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a4a6a 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-color);
}

/* Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.pricing-card:hover,
.pricing-card.featured {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(164, 214, 94, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #3d3d5c 0%, #4a4a6a 100%);
    color: var(--white);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-card.featured .pricing-title {
    color: var(--white);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: normal;
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

/* Team Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* FAQ Page */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Blog Detail Page */
.blog-detail-hero {
    padding: 3rem 0;
    background: var(--bg-light);
}

.blog-detail-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-detail-content {
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.8;
}

.blog-detail-content h2 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.blog-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

/* Services & Gallery Grid */
.services-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(164, 214, 94, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 61, 92, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(164, 214, 94, 0.4);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #b8e266;
    transform: translateY(-5px);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    nav,
    .header-buttons {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section {
        height: 500px;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .teacher-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        /* padding: 0 20px; */
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .testimonial-content {
        padding: 0 60px;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .language-flag {
        font-size: 2rem;
    }

    .hero-section {
        height: 400px;
    }

    .testimonial-content {
        padding: 0 25px;
    }

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

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

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    section {
        padding: 3rem 0;
    }
}
