/* 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;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -250px;
        width: 250px;
        height: calc(100% - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

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

    nav {
        padding: 10px 15px;
    }
}

/* Hero Section */
.about-hero {
    background-image: url('images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #a5a3a3;
    text-align: center;
}

.about-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.5em;
}

/* Responsive Hero Text */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5em;
    }

    .about-hero p {
        font-size: 1.2em;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2em;
    }

    .about-hero p {
        font-size: 1em;
    }
}

/* Our Mission Section */
.our-mission {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.our-mission h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.our-mission p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Responsive Mission Text */
@media (max-width: 768px) {
    .our-mission h2 {
        font-size: 2em;
    }

    .our-mission p {
        font-size: 1em;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .our-mission h2 {
        font-size: 1.8em;
    }

    .our-mission p {
        font-size: 0.9em;
    }
}

/* About Classes Section */
.about-classes {
    padding: 60px 0;
}

.about-classes h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.classes-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.class-image, .class-description {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.class-image img {
    width: 100%;
    border-radius: 8px;
}

.class-description p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.class-description ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.class-description li {
    font-size: 1em;
    margin-bottom: 10px;
}

.class-description .btn {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

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

/* Responsive Classes Section */
@media (max-width: 992px) {
    .about-classes h2 {
        font-size: 2em;
    }

    .class-description p,
    .class-description li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .classes-content {
        flex-direction: column;
        align-items: center;
    }

    .class-image, .class-description {
        padding: 10px;
        text-align: center;
    }

    .class-description ul {
        padding-left: 0;
        list-style: none;
    }

    .class-description .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-classes h2 {
        font-size: 1.8em;
    }

    .class-description p {
        font-size: 0.9em;
    }
}

/* Our Team Section */
.our-team {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.our-team h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.team-member {
    text-align: center;
    max-width: 200px;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 1em;
    color: #777;
}

/* Responsive Team Section */
@media (max-width: 768px) {
    .our-team h2 {
        font-size: 2em;
    }

    .team-member {
        max-width: 150px;
    }

    .team-member h3 {
        font-size: 1em;
    }

    .team-member p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .our-team h2 {
        font-size: 1.8em;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 60px 20px;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    margin-bottom: 30px;
}

.testimonial p {
    font-size: 1.2em;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-size: 1em;
    color: #777;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials h2 {
        font-size: 2em;
    }

    .testimonial p {
        font-size: 1em;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .testimonials h2 {
        font-size: 1.8em;
    }

    .testimonial p {
        font-size: 0.9em;
    }
}

/* Call to Action Section */
.call-to-action {
    padding: 60px 20px;
    background-color: #007BFF;
    color: #fff;
    text-align: center;
}

.call-to-action h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.call-to-action .btn {
    background-color: #fff;
    color: #007BFF;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.call-to-action .btn:hover {
    background-color: #e0e0e0;
}

/* Responsive Call to Action */
@media (max-width: 768px) {
    .call-to-action h2 {
        font-size: 2em;
    }

    .call-to-action p {
        font-size: 1em;
        padding: 0 15px;
    }

    .call-to-action .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .call-to-action h2 {
        font-size: 1.8em;
    }

    .call-to-action p {
        font-size: 0.9em;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-section p, .footer-section ul {
    font-size: 1em;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #ccc;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

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

.testimonial-slide.active {
    display: block;
}

.slider-controls {
    margin-top: 20px;
    text-align: center;
}

.slider-controls button {
    background: none;
    border: none;
    font-size: 2em;
    color: #007BFF;
    cursor: pointer;
    margin: 0 10px;
}

.slider-controls button:hover {
    color: #0056b3;
}

/* Additional Responsive Adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    p {
        font-size: 0.9em;
    }

    .login-btn {
        padding: 6px 10px;
    }

    nav .logo img {
        height: 40px;
    }
}
