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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

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

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 20px;
    min-height: 70px;
    gap: 1.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Logo styles moved to .logo-img */

.logo-img {
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: #4A90E2;
    background-color: #E3F2FD;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: #f8f9fa;
    color: #4A90E2;
}

/* Hide mobile menu buttons on desktop */
.mobile-menu-buttons {
    display: none;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #4A90E2;
    color: white;
}

.btn-primary:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: white;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-outline:hover {
    background-color: #4A90E2;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.60) 0%, rgba(53, 122, 189, 0.60) 100%), 
                url('source/hero/hero1.jpg') center/cover;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 24px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.18);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3.5rem;
    opacity: 0.98;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

/* Floating elements for visual interest */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive hero stats */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .stat-item {
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Section Styles */
.section-badge {
    background-color: #E3F2FD;
    color: #4A90E2;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #E3F2FD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #4A90E2;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.3), transparent);
}

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

.course-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
    padding: 2.25rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    border: 1px solid rgba(74, 144, 226, 0.08);
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #6BB6FF, #4A90E2);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    border-radius: 0 0 3px 3px;
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.12);
    border-color: rgba(74, 144, 226, 0.2);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover::after {
    opacity: 1;
}

.course-duration {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #4A90E2, #6BB6FF);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.course-card:hover .course-duration {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.35);
}

.course-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 3.5rem;
}

.course-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #6BB6FF);
    border-radius: 1px;
    transition: width 0.4s ease;
}

.course-card:hover h3::after {
    width: 50px;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4A90E2, #6BB6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #555;
    font-weight: 500;
    padding: 0.6rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 10px;
    padding-left: 0.75rem;
    position: relative;
}

.course-features li:hover {
    background: linear-gradient(90deg, rgba(74, 144, 226, 0.08), transparent);
    transform: translateX(8px);
    color: #333;
}

.course-features i {
    color: #4A90E2;
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.08));
    padding: 0.6rem;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
    transition: all 0.3s ease;
}

.course-features li:hover i {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

/* Advanced Courses */
.advanced-courses {
    padding: 80px 0;
    background: white;
}

.team-link {
    text-align: center;
    margin-top: 3rem;
}

.team-link a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: #f8f9fa;
}

.rating-summary {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-summary .stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-summary .stars i {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-summary span {
    color: #666;
    font-weight: 600;
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    filter: blur(2px);
    visibility: hidden;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    display: none;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    visibility: visible;
    display: block;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #4A90E2;
    opacity: 0.2;
    font-family: serif;
}

.review-card .stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-card .stars i {
    color: #FFD700;
}

.review-text {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reviewer {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.class-type {
    color: #4A90E2;
    font-size: 0.9rem;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.carousel-btn {
    background: white;
    border: 2px solid #4A90E2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #4A90E2;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.carousel-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;
}

.carousel-btn:hover {
    background: #4A90E2;
    color: white;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

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

.carousel-btn:active {
    transform: scale(1.05) translateY(0);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #4A90E2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dot:hover {
    transform: scale(1.3);
    background: #d0d0d0;
}

.dot.active {
    background: #4A90E2;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

.dot.active::before {
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2,
.booking-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #4A90E2;
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.booking-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.booking-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.booking-link {
    text-align: center;
    color: #666;
    margin-top: 1rem;
}

.booking-link a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.cta p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    position: relative;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1rem;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.footer-slogan {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    color: #4A90E2;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, #4A90E2, #6BB6FF);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #6BB6FF);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4A90E2, #6BB6FF);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.footer-contact .contact-item i {
    color: #4A90E2;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-contact .contact-item span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-bottom {
    position: relative;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 2rem;
}

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

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #4A90E2;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: white;
    border: 2px solid #4A90E2;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #4A90E2;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: #4A90E2;
    color: white;
}

.language-btn i {
    font-size: 0.9rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.language-option .flag {
    font-size: 1.2rem;
}

.language-option:first-child {
    border-radius: 10px 10px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 10px 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header .container {
        gap: 1rem;
        padding: 0.75rem 20px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .header-right {
        gap: 0.75rem;
    }
    
    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 20px;
        min-height: 70px;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        border-radius: 0 0 10px 10px;
        gap: 0;
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 10px;
        margin: 0.25rem 0;
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: #E3F2FD;
        color: #4A90E2;
        border-color: #4A90E2;
    }
    
    /* Hide header-right elements on mobile - they'll be in the menu */
    .header-right {
        display: none;
    }
    
    /* Show mobile menu buttons only on mobile and when menu is active */
    .mobile-menu-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }
    
    .mobile-menu-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .mobile-menu-buttons .language-selector {
        width: 100%;
    }
    
    .mobile-menu-buttons .language-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .mobile-menu-buttons .language-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        margin-top: 0.5rem;
        display: none;
    }
    
    .mobile-menu-buttons .language-dropdown.active {
        display: block;
    }
    
    .mobile-menu-buttons .language-option {
        padding: 0.75rem 1rem;
        border-radius: 0;
    }
    
    .mobile-menu-buttons .language-option:first-child {
        border-radius: 10px 10px 0 0;
    }
    
    .mobile-menu-buttons .language-option:last-child {
        border-radius: 0 0 10px 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .courses-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 50px;
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.5rem 15px;
        min-height: 60px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .course-card,
    .review-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .footer .logo-img {
        height: 60px;
    }
    
    .nav {
        padding: 0.75rem;
    }
    
    .nav-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .language-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .header-right {
        gap: 0.25rem;
    }
}

/* Additional mobile improvements */
@media (max-width: 768px) {
    .language-dropdown {
        right: auto;
        left: 0;
        min-width: 120px;
    }
    
    .language-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
} 

.nav-link:focus, .btn:focus, .language-btn:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
    background: #E3F2FD;
    color: #357ABD;
} 

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(53, 122, 189, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #e3f2fd;
}

.gallery-grid img:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 8px 32px rgba(53, 122, 189, 0.18);
}

/* Gallery Carousel Styles */
.gallery-carousel-wrapper {
    position: relative;
}
.gallery-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.gallery-arrow {
    display: none;
}
.gallery-dots {
    display: none;
}

@media (max-width: 1024px) {
    .gallery-carousel {
        display: flex;
        overflow: hidden;
        gap: 0;
        margin-top: 2.5rem;
        position: relative;
        width: 100%;
    }
    .gallery-carousel img {
        min-width: 100%;
        max-width: 100%;
        height: 360px;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(53, 122, 189, 0.08);
        background: #e3f2fd;
        transition: transform 0.3s, box-shadow 0.3s;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    .gallery-carousel img.active {
        opacity: 1;
        pointer-events: auto;
        position: relative;
        z-index: 2;
        transform: scale(1.04);
    }
    .gallery-arrow {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.85);
        border: none;
        font-size: 2rem;
        color: #357ABD;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(53,122,189,0.08);
        transition: background 0.2s;
    }
    .gallery-arrow:hover {
        background: #E3F2FD;
    }
    .prev-arrow {
        left: 10px;
    }
    .next-arrow {
        right: 10px;
    }
    .gallery-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        z-index: 10;
    }
    .gallery-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #b3c6e2;
        cursor: pointer;
        transition: background 0.2s;
    }
    .gallery-dots .dot.active {
        background: #357ABD;
    }
    .gallery-grid {
        display: block;
    }
}

@media (max-width: 768px) {
    .gallery-carousel img {
        height: 240px;
    }
} 

.course-card {
    position: relative;
}

.course-duration {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
}

.course-card h3 {
    margin-top: 3.5rem;
    /* Ensures heading is pushed down below the duration badge */
}

@media (max-width: 768px) {
    .course-card h3 {
        margin-top: 2.5rem;
    }
    .course-duration {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
} 