/* Modern Design Variables */
:root {
    --primary: #0f172a;
    --secondary: #38bdf8;
    --accent: #f97316;
    --accent-light: #fdba74;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --success: #10b981;
    --shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.subtitle {
    font-size: 14px;
    margin-top: 4px;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 5px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-5px);
}

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

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

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

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 1.5rem;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Glassmorphism Effect */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
}

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

.logo i {
    margin-right: 10px;
    color: var(--secondary);
    font-size: 2rem;
}

.logo span {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 0.3s ease;
}

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

.nav-menu a.active {
    color: var(--secondary);
}

.login-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path fill="%2338bdf8" opacity="0.1" d="M0,1000 L1000,0 L1000,1000 Z"></path></svg>');
    background-size: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1.5s ease;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 2s ease;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    z-index: 1;
    opacity: 0.8;
}

/* Stats Section */
.stats {
    background-color: var(--light);
    padding: 80px 0;
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    display: block;
}

.stat-text {
    color: var(--gray);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.features:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0.1;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Instructors Section */
.gender-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gender-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color, #38bdf8);
    background: transparent;
    color: var(--primary-color, #38bdf8);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.gender-btn:hover,
.gender-btn.active {
    background: var(--primary-color, #38bdf8);
    color: #fff;
}

.instructors {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.instructors-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.instructor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.instructor-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.instructor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-img img {
    transform: scale(1.1);
}

.instructor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructor-card:hover .instructor-overlay {
    opacity: 1;
}

.instructor-overlay .social-links {
    display: flex;
    gap: 15px;
}

.instructor-overlay .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
}

.instructor-overlay .social-links a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.instructor-info {
    padding: 25px;
}

.instructor-info h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.instructor-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.instructor-rating i {
    color: #fbbf24;
    margin-right: 2px;
}

.instructor-rating span {
    margin-left: 10px;
    font-weight: 600;
    color: var(--dark);
}

.instructor-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials:before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    opacity: 0.1;
}

.testimonials h2 {
    color: white;
}

.testimonials h2:after {
    background: linear-gradient(90deg, var(--accent-light), var(--secondary));
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--secondary);
}

.author-info h4 {
    margin-bottom: 5px;
    color: white;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta h2:after {
    background: white;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 100px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    color: white;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    transform: translateY(-3px);
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* Login/Signup Page Styles */
.login-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    margin-bottom: 10px;
}

.login-header p {
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--secondary);
    font-weight: 500;
}

/* ── Terms & Privacy agreement checkbox ────────────────────── */
.terms-agreement-box {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.2rem;
}
.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}
.terms-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.terms-checkmark {
    width: 20px; height: 20px;
    border-radius: 5px;
    border: 2px solid #94a3b8;
    background: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    position: relative;
}
.terms-checkbox-label input[type="checkbox"]:checked + .terms-checkmark {
    background: linear-gradient(135deg,#0ea5e9,#2563eb);
    border-color: #0ea5e9;
}
.terms-checkbox-label input[type="checkbox"]:checked + .terms-checkmark::after {
    content: '';
    display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
    left: 5px;
}
.terms-text {
    font-size: .88rem;
    color: #334155;
    line-height: 1.5;
}
.terms-text a {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
}
.terms-text a:hover { text-decoration: underline; }
.terms-error {
    font-size: .8rem;
    color: #dc2626;
    margin: .5rem 0 0;
}

/* ── Footer legal links ─────────────────────────────────────── */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
}
.footer-legal-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
}
.footer-legal-links a:hover { color: #fff; }
.footer-legal-links span { color: rgba(255,255,255,.3); }

.login-btn-full {
    width: 100%;
    margin-bottom: 20px;
}

.login-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.login-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gray-light);
}

.login-divider span {
    background: white;
    padding: 0 15px;
    color: var(--gray);
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--light);
    transform: translateY(-3px);
}

.social-btn i {
    margin-right: 8px;
}

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

.login-footer a {
    color: var(--secondary);
    font-weight: 600;
}

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

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

.floating {
    animation: float 5s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .stats-container,
    .features-container,
    .instructors-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        box-shadow: var(--shadow-lg);
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-btns .btn {
        width: 80%;
        max-width: 300px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .login-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .stats-container,
    .features-container,
    .instructors-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 150px 0 100px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .social-login {
        flex-direction: column;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background-color: white;
}

.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.mission-content h2:after {
    left: 0;
    transform: none;
}

.mission-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

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

.mission-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
}

.mission-text {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

.mission-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Values Section */
.values {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background-color: white;
}

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

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content:before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: -10px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.team-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-img {
    height: 250px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background-color: white;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.course-icon {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    padding: 30px;
    text-align: center;
}

.course-icon i {
    font-size: 2.5rem;
    color: white;
}

.course-card h3 {
    padding: 25px 25px 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.course-description {
    padding: 0 25px;
    margin-bottom: 20px;
    color: var(--gray);
}

.course-features {
    padding: 0 25px;
    margin-bottom: 25px;
}

.course-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--gray);
}

.course-features i {
    margin-right: 10px;
    color: var(--success);
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px 25px;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 25px;
}

.course-duration {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.course-duration i {
    margin-right: 8px;
    color: var(--secondary);
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.course-btn {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
}

/* Course Comparison Section */
.course-comparison {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.comparison-table th:first-child {
    background: var(--dark);
    text-align: left;
}

.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table i.fa-check {
    color: var(--success);
}

.comparison-table i.fa-times {
    color: #ef4444;
}

/* Individual Lessons Section */
.individual-lessons {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.lessons-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.lesson-option {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.lesson-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.lesson-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lesson-option h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.lesson-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.lesson-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.lesson-features {
    margin-bottom: 25px;
}

.lesson-features li {
    margin-bottom: 8px;
    color: var(--gray);
    position: relative;
    padding-left: 20px;
}

.lesson-features li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Payment Options Section */
.payment-options {
    padding: 100px 0;
    background-color: white;
}

.payment-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.payment-method {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.payment-method:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-method h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.payment-method p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* FAQ Preview Section */
.faq-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

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

.faq-cta a {
    color: var(--secondary);
    font-weight: 600;
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .mission-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-container,
    .team-container,
    .courses-container,
    .pricing-container,
    .lessons-container,
    .payment-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-content:before {
        left: -10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .values-container,
    .team-container,
    .courses-container,
    .pricing-container,
    .lessons-container,
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Gallery Filter Section */
.gallery-filter-section {
    padding: 50px 0 0;
    background-color: white;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-filter {
    background: white;
    border: 2px solid var(--gray-light);
    color: var(--dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Gallery Grid */
.gallery-grid {
    padding: 50px 0 100px;
    background-color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-info h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.gallery-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.gallery-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-action:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

/* Gallery Video Section */
.gallery-video {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    font-size: 2rem;
    color: var(--secondary);
    margin-left: 5px;
}

.video-info {
    padding: 30px;
}

.video-info h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* FAQ Search */
.faq-search {
    padding: 50px 0;
    background-color: white;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

/* FAQ Categories */
.faq-categories {
    padding: 50px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* FAQ Main Section */
.faq-main {
    padding: 100px 0;
    background-color: white;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category h2 {
    text-align: left;
    margin-bottom: 30px;
    font-size: 2rem;
}

.faq-category h2:after {
    left: 0;
    transform: none;
}

/* FAQ Contact Section */
.faq-contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Info Section */
.contact-info {
    padding: 100px 0 50px;
    background-color: white;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-link i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* Contact Main Section */
.contact-main {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-section h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-form-section h2:after {
    left: 0;
    transform: none;
}

.contact-form-section p {
    margin-bottom: 30px;
    color: var(--gray);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.error-message i {
    margin-right: 5px;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.contact-form button i {
    margin-right: 8px;
}

/* Map Section */
.map-container {
    margin-bottom: 30px;
}

.map-placeholder {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.map-content {
    text-align: center;
    color: var(--dark);
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.map-content h3 {
    margin-bottom: 10px;
}

.map-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.location-details {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.location-details h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-item p {
    color: var(--gray);
    margin: 0;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--success);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: #ef4444;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    margin-right: 30px;
}

.notification-content i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification.success .notification-content i {
    color: var(--success);
}

.notification.error .notification-content i {
    color: #ef4444;
}

.notification-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--dark);
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-container,
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .categories-container,
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-options .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Booking Section */
.booking {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.booking:before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0.1;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.booking-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.booking-content h2:after {
    left: 0;
    transform: none;
}

.booking-steps {
    margin: 40px 0;
}

.booking-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.booking-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.form-submit i {
    margin-right: 8px;
}

.booking-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.booking-feature {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.booking-feature i {
    color: var(--success);
    margin-right: 10px;
}

/* Instructor Browser */
.instructor-browser {
    background-color: white;
    padding: 100px 0;
}

.browser-container {
    max-width: 1000px;
    margin: 0 auto;
}

.browser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--gray-light);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.instructor-card.compact {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.instructor-card.compact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary);
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card.compact h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.instructor-specialty {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.instructor-card.compact .instructor-rating {
    justify-content: center;
    margin-bottom: 15px;
}

.instructor-card.compact .instructor-rating i {
    font-size: 0.9rem;
}

.instructor-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: white;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .booking-content h2 {
        text-align: center;
    }
    
    .booking-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-features {
        grid-template-columns: 1fr;
    }
    
    .instructor-grid {
        grid-template-columns: 1fr;
    }
    
    .browser-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
}

.search-section {
    background: linear-gradient(135deg, #5A43E7 0%, #5A43E7 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.search-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.search-section .section-title h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.search-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.course-item {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.course-item input[type="radio"] {
    display: none;
}

.course-item input[type="radio"]:checked + label {
    color: #2563eb;
    font-weight: 600;
}

.course-item label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #374151;
    font-weight: 500;
}

.course-item label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.course-item input[type="radio"]:checked + label::before {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: inset 0 0 0 4px white;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.search-group {
    position: relative;
}

.search-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.search-group input,
.search-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.search-group input:focus,
.search-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-button {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.search-button .btn {
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.search-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ── Search results ──────────────────────────────────────────── */
.search-results-box {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    padding: 1.5rem 1.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.search-results-header h3 { font-size: 1.05rem; margin: 0; color: #1e293b; }
.search-results-header p  { font-size: .88rem; color: #64748b; margin: .55rem 0 0; }
.enroll-now-btn { white-space: nowrap; }
.result-instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ── Instructor card (vertical layout) ── */
.result-instructor-card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.result-instructor-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.result-card-top {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .9rem 1rem .6rem;
}
.result-photo {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg,#38bdf8,#0ea5e9);
}
.result-photo img { width: 100%; height: 100%; object-fit: cover; }
.result-initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: #fff;
}
.result-info { flex: 1; min-width: 0; }
.result-name { font-weight: 700; font-size: .95rem; color: #1e293b; margin-bottom: .2rem; }
.result-meta { font-size: .8rem; color: #64748b; display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: .5rem; }
.result-meta i { color: #38bdf8; margin-right: 2px; }

/* ── Vehicle card ── */
.result-vehicle-card {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: .45rem .7rem;
    margin-top: .3rem;
}
.result-vehicle-unknown { border-style: dashed; background: #fafafa; }
.veh-img {
    width: 52px; height: 38px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #e2e8f0;
}
.veh-img-placeholder {
    width: 52px; height: 38px;
    background: linear-gradient(135deg,#e2e8f0,#cbd5e1);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #94a3b8; font-size: 1.1rem;
}
.result-vehicle-info { flex: 1; min-width: 0; }
.veh-name {
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Transmission type badge */
.vtrans-badge {
    display: inline-flex; align-items: center;
    border-radius: 20px; padding: .15rem .55rem;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    margin-top: .2rem;
}
.vtrans-badge.vtrans-automatic { background: #dbeafe; color: #1d4ed8; }
.vtrans-badge.vtrans-manual    { background: #fef3c7; color: #b45309; }

/* ── Upcoming 5 Times schedule ── */
.result-schedule {
    border-top: 1px solid #e2e8f0;
    background: #fff;
    padding: .6rem 1rem .8rem;
}
.sched-header {
    font-size: .7rem;
    font-weight: 700;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.sched-row {
    display: grid;
    grid-template-columns: 32px 90px 1fr;
    align-items: center;
    gap: .4rem;
    padding: .28rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: .78rem;
}
.sched-row:last-of-type { border-bottom: none; }
.sched-day  { font-weight: 700; color: #0ea5e9; }
.sched-date { color: #374151; }
.sched-time { color: #059669; font-weight: 600; text-align: right; }
.sched-more {
    font-size: .72rem;
    color: #94a3b8;
    text-align: center;
    padding-top: .4rem;
    font-style: italic;
}
.result-schedule-empty {
    font-size: .78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-style: italic;
}

.result-note { font-size: .82rem; color: #94a3b8; margin: 0; }
.result-note i { color: #38bdf8; margin-right: 4px; }

.search-no-results {
    background: #fff;
    border: 1.5px dashed #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    color: #64748b;
}
.search-no-results h3 { color: #374151; margin: 0 0 .4rem; font-size: 1.05rem; }
.search-no-results p  { font-size: .9rem; margin: 0; }
.search-no-results a  { color: #0ea5e9; font-weight: 600; }

.search-help {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 20px;
}

.search-help a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.search-help a:hover {
    text-decoration: underline;
}

.search-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
    /* Override the transparent text-fill leaked from the gradient-text
       .feature-icon rule above, which was hiding these glyphs. */
    -webkit-text-fill-color: #fff;
}

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

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

.datalist-wrapper {
    position: relative;
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.location-suggestions.active {
    display: block;
}

.location-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.location-suggestion-item:hover {
    background: #f9fafb;
}

.location-suggestion-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .search-section {
        padding: 60px 0;
    }

    .search-container {
        padding: 25px;
        margin: 0 15px;
    }

    .search-section .section-title h2 {
        font-size: 2.2rem;
    }

    .courses-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .search-button .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ── Letter Avatars (public pages) ── */
.pub-av {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    user-select: none;
    letter-spacing: -2px;
}
.pub-av-instructor { background: linear-gradient(135deg, #10b981, #059669); }
