@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Droid+Sans:wght@400;700&display=swap');

:root {
    --primary-red: #DD0000;
    --dark-bg: #121212;
    --light-bg: #FFFFFF;
    --text-dark: #121212;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Droid Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.oswald {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--primary-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-btn {
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-red);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(221, 0, 0, 0.2);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(221, 0, 0, 0.3);
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: linear-gradient(90deg, #4CAF50, #81C784);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
    top: 60px;
    /* Below navigation */
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/hero_couple.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-accent {
    width: 200px;
    height: 8px;
    background-color: var(--primary-red);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-red);
    color: white;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(221, 0, 0, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 0, 0, 0.4);
}

/* --- Sections --- */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 1rem auto;
}

/* --- Class Cards --- */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.class-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid #eee;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(45deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%, #e0e0e0 100%);
    background-size: 40px 40px;
}

.class-content {
    padding: 2rem;
}

.class-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.class-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* --- Reviews & Testimonials --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: #fdfdfd;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Schedule Tabs --- */
.tabs-container {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: #f0f0f0;
    border: none;
    border-radius: 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--primary-red);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.schedule-table th {
    font-family: 'Oswald', sans-serif;
    color: #999;
}

/* --- Footer --- */
footer {
    background: #f8f8f8;
    padding: 5rem 2rem 2rem;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 1rem;
}

.social-icons a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-smooth);
    z-index: 1000;
    position: relative;
}

/* --- WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

.whatsapp-popup {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    width: 250px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
    border-left: 4px solid #25d366;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.whatsapp-popup p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
}

.whatsapp-popup strong {
    display: block;
    margin-bottom: 5px;
    color: #25d366;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-popup {
        width: 200px;
        padding: 10px 15px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Batch Highlight & Carousel */
.featured-batches {
    padding: 5rem 1rem;
    background: #fdfdfd;
    text-align: center;
    overflow: hidden;
}

.carousel-viewport {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 2rem 1rem;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.batch-card {
    flex: 0 0 100%;
    max-width: 600px;
    scroll-snap-align: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 0 auto;
}

.batch-img-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.batch-img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.batch-card:hover .batch-img {
    transform: scale(1.02);
}

.batch-info {
    padding: 2.5rem;
}

.batch-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-red);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.new-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--primary-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 0.8rem;
    vertical-align: middle;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .batch-card {
        flex: 0 0 600px;
    }
}

/* --- Community CTA --- */
.community-cta {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
    top: 60px;
    /* Account for navbar if needed, though announcement bar handles it */
}

.community-container {
    max-width: 800px;
    margin: 0 auto;
}

.community-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.community-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.community-btn {
    background-color: #25d366;
    border-color: #25d366;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    color: white;
}

.community-btn:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    color: white;
}

.community-subtext {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .community-content h2 {
        font-size: 1.8rem;
    }

    .community-content p {
        font-size: 1rem;
    }

    .community-btn {
        width: 100%;
        justify-content: center;
    }
}