/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Archivo Black', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== UTILITY CLASSES ===== */
.underline {
    width: 120px;
    height: 4px;
    margin: 15px auto 30px;
    position: relative;
}

.underline::before,
.underline::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 4px;
    border-radius: 2px;
}

.underline.gold::before {
    left: 0;
    background-color: #d4a84b;
}

.underline.gold::after {
    right: 0;
    background-color: #d4a84b;
}

.underline.blue::before {
    left: 0;
    background-color: #2e7abb;
}

.underline.blue::after {
    right: 0;
    background-color: #2e7abb;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-gold {
    background-color: #d4a84b;
    color: #fff;
}

.btn-gold:hover {
    background-color: #c49a3d;
    transform: translateY(-2px);
}

.btn-blue {
    background-color: #2e7abb;
    color: #fff;
}

.btn-blue:hover {
    background-color: #256ba5;
    transform: translateY(-2px);
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.wave-white {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.wave-blue {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232e7abb' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

/* ===== NAVBAR ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu Dropdown */
.nav-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(46, 122, 187, 0.95);
    border-radius: 8px;
    padding: 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.nav-link {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:last-child {
    border-bottom: none;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link:first-child {
    border-radius: 8px 8px 0 0;
}

.nav-link:last-child {
    border-radius: 0 0 8px 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(46, 122, 187, 0.85), rgba(46, 122, 187, 0.85)),
                url('images/todd1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 150px;
}

.hero-content {
    max-width: 900px;
    color: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ===== LESSONS INFO SECTION ===== */
.lessons-info {
    position: relative;
    background-color: #fff;
    padding: 80px 20px 180px;
    text-align: center;
}

.lessons-info h2 {
    font-size: 2rem;
    color: #333;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.scroll-text {
    margin-top: 30px;
    font-style: italic;
}

/* ===== FAQ SECTION ===== */
.faq {
    position: relative;
    background: linear-gradient(rgba(46, 122, 187, 0.9), rgba(46, 122, 187, 0.9)),
                url('images/todd2.jpeg') center/cover no-repeat fixed;
    padding: 80px 20px 180px;
    text-align: center;
}

.faq h2 {
    color: #fff;
    font-size: 2.5rem;
}

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

.faq-item {
    margin-bottom: 15px;
}

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

.faq-question h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    flex: 1;
}

.faq-icon {
    color: #fff;
    font-size: 1rem;
    margin-left: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    text-align: left;
    padding: 0 30px;
}

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

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* ===== INSTRUCTORS SECTION ===== */
.instructors {
    position: relative;
    background-color: #fff;
    padding: 80px 20px 180px;
    text-align: center;
}

.instructors h2 {
    font-size: 2.5rem;
    color: #333;
}

.instructor-card {
    display: flex;
    align-items: flex-start;
    max-width: 1000px;
    margin: 40px auto;
    gap: 40px;
    text-align: left;
}

.instructor-image {
    flex: 0 0 300px;
}

.instructor-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.instructor-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.instructor-info p {
    color: #666;
    line-height: 1.8;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    position: relative;
    background: linear-gradient(rgba(46, 122, 187, 0.9), rgba(46, 122, 187, 0.9)),
                url('images/todd2.jpeg') center/cover no-repeat fixed;
    padding: 80px 20px 180px;
    text-align: center;
}

.testimonials h2 {
    color: #fff;
    font-size: 2.5rem;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-item {
    margin-bottom: 15px;
}

.testimonial-item > h3 {
    color: #d4a84b;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-item > p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.testimonial-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
}

.testimonial-question h3 {
    color: #d4a84b;
    font-size: 1.3rem;
}

.testimonial-icon {
    color: #fff;
    font-size: 1rem;
    margin-left: 20px;
    transition: transform 0.3s;
}

.testimonial-item.active .testimonial-icon {
    transform: rotate(45deg);
}

.testimonial-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 30px;
}

.testimonial-item.active .testimonial-answer {
    max-height: 300px;
    padding: 0 30px 20px;
}

.testimonial-answer p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    text-align: center;
}

/* ===== REGISTER SECTION ===== */
.register {
    position: relative;
    background-color: #fff;
    padding: 80px 20px 180px;
    text-align: center;
}

.register h2 {
    font-size: 2.5rem;
    color: #333;
}

.register-container {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    gap: 60px;
    text-align: left;
}

.register-info {
    flex: 1;
}

.register-info > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.contact-item i {
    color: #2e7abb;
    font-size: 1.5rem;
    margin-top: 5px;
}

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

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

.register-steps {
    flex: 1;
}

.step {
    margin-bottom: 25px;
}

.step h3 {
    color: #2e7abb;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    line-height: 1.8;
}

.register > .btn {
    margin-top: 20px;
}

/* ===== CONNECT/FOOTER SECTION ===== */
.connect {
    background: linear-gradient(rgba(46, 122, 187, 0.9), rgba(46, 122, 187, 0.9)),
                url('images/todd2.jpeg') center/cover no-repeat;
    padding: 80px 20px 100px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    border-radius: 12px;
}

.connect h2 {
    color: #fff;
    font-size: 2.5rem;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
    margin: 40px auto 0;
    gap: 30px;
}

.connect-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.connect-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    transition: transform 0.3s;
}

.connect-item a:hover {
    transform: translateY(-5px);
}

.connect-item i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.connect-item p {
    line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .instructor-card {
        flex-direction: column;
        text-align: center;
    }

    .instructor-image {
        flex: none;
        width: 250px;
        margin: 0 auto;
    }

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

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

    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .faq h2,
    .testimonials h2,
    .instructors h2,
    .register h2,
    .connect h2 {
        font-size: 1.8rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .connect-grid {
        grid-template-columns: 1fr 1fr;
    }

    .connect-item i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .connect-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}
