/* Resetting Default Styles for Consistency Across Browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    color: #0A84FF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
}

nav .logo img {
    height: 5rem;
    width: 7rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #007BFF;
}

.login-btn {
    background-color: #007BFF;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0056b3;
}


/* Hero Section */
.hero {
    position: relative;
    background-color: #8d58f6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #c3a9f3;
    min-height: 80vh;
    padding: 0 10%;
    border-radius: 2%;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background-color: #FFC312;
    color: #000;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.cta-buttons .btn:hover {
    background-color: #FFA502;
}

/* About Us Section */
.about-us {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px 10%;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    color: #0A84FF;
}

.about-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-content .btn {
    background-color: #0A84FF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.about-content .btn:hover {
    background-color: #005bb5;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Classes Overview */
.classes-overview {
    background-color: #c3a9f3;
    padding: 60px 10%;
    text-align: center;
}

.classes-overview h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.class-item {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.class-item:hover {
    transform: translateY(-10px);
}

.class-item i {
    font-size: 48px;
    color: #0A84FF;
    margin-bottom: 20px;
}

.class-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.class-item p {
    font-size: 16px;
}

/* Introductory Video Section */
.intro-video {
    background-color: #fff;
    padding: 60px 10%;
    text-align: center;
}

.intro-video h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Image Gallery Section */
.gallery {
    padding: 60px 10%;
}

.gallery h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

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

.gallery-item img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

/* Testimonials */
.testimonials {
    background-color: #f5f5f5;
    padding: 60px 10%;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

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

.testimonial {
    display: none;
    text-align: center;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial span {
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-nav button {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.slider-nav button.active {
    background-color: #0A84FF;
}

/* Upcoming Events */
.upcoming-events {
    padding: 60px 10%;
    text-align: center;
}

.upcoming-events h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.event h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.event p {
    font-size: 16px;
}

.event::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: #0A84FF;
    left: 0;
    top: 0;
}

/* Why Choose Us */
.why-choose {
    background-color: #f5f5f5;
    padding: 60px 10%;
    text-align: center;
}

.why-choose h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.benefit {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit i {
    font-size: 48px;
    color: #0A84FF;
    margin-bottom: 20px;
}

.benefit h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.benefit p {
    font-size: 16px;
}

/* Call to Action Section */
.cta-section {
    background-color: #0A84FF;
    color: #fff;
    padding: 60px 10%;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.cta-section .btn {
    background-color: #fff;
    color: #0A84FF;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-section .btn:hover {
    background-color: #e0e0e0;
}

/* Registration Steps */
.registration-steps {
    padding: 60px 10%;
    background-color: #f5f5f5;
}

.registration-steps h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
}

.step h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.class-list,
.subject-list,
.lesson-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.class-list li,
.subject-list li,
.lesson-list li {
    background-color: #0A84FF;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.class-list li:hover,
.subject-list li:hover,
.lesson-list li:hover {
    background-color: #005bb5;
}

.class-list li.active,
.subject-list li.active,
.lesson-list li.active {
    background-color: #005bb5;
}

/* Registration Form */
.registration-form {
    padding: 60px 10%;
}

.registration-form h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.registration-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registration-form form input,
.registration-form form textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.registration-form form button {
    padding: 15px;
    background-color: #0A84FF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.registration-form form button:hover {
    background-color: #005bb5;
}

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

.form-group label {
    margin-bottom: 5px;
    font-size: 16px;
}

.form-group input[readonly] {
    background-color: #f0f0f0;
}


/* Contact Section */
.contact {
    padding: 60px 10%;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0A84FF;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form, .contact-info {
    flex: 1 1 300px;
}

.contact-form h3, .contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form form button {
    background-color: #0A84FF;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.contact-form form button:hover {
    background-color: #005bb5;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info i {
    color: #0A84FF;
    margin-right: 10px;
}

.map-container {
    margin-top: 20px;
}

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

/* Footer */
footer {
    background-color: #1b1b1b;
    color: #fff;
    padding: 40px 10%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-container > div {
    flex: 1 1 200px;
}

.footer-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-container ul li {
    margin-bottom: 10px;
}

.footer-container ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-container ul li a:hover {
    color: #0A84FF;
}

.social-links a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    transition: color 0.3s ease;
}

.social-links a i {
    margin-right: 10px;
}

.social-links a:hover {
    color: #0A84FF;
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #0A84FF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter button:hover {
    background-color: #005bb5;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #ccc;
}

/* Interest Section */
.interest-section {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.interest-button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.interest-button:hover {
    background-color: #0056b3;
}

.interest-button:disabled {
    background-color: #6c757d;
    cursor: default;
}

.interest-count {
    font-size: 1em;
    color: #555;
}


/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #0A84FF;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #005bb5;
}

#scrollToTopBtn.show {
    display: block;
}



/* Responsive Media Queries */

/* Small Devices (Tablets, 768px and down) */
@media (max-width: 768px) {
    nav .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav .nav-menu li {
        margin: 10px 0;
    }

    nav .menu-toggle {
        display: block;
    }

    .about-us {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Extra Small Devices (Phones, 576px and down) */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .nav-menu {
        width: 100%;
    }

    nav {
        padding: 15px 5%;
    }

    .cta-buttons .btn {
        flex: 1 1 100%;
        text-align: center;
    }

    .about-content h2,
    .classes-overview h2,
    .intro-video h2,
    .gallery h2,
    .testimonials h2,
    .upcoming-events h2,
    .why-choose h2,
    .cta-section h2,
    .contact h2 {
        font-size: 28px;
    }

    .class-item,
    .benefit,
    .event {
        padding: 20px 15px;
    }

    .testimonial p {
        font-size: 18px;
    }
}

/* General Utility Classes */
.btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

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

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .class-list,
    .subject-list,
    .lesson-list {
        flex-direction: column;
    }
}

