﻿body {
    margin: 0;
    padding: 0;
    background: radial-gradient(ellipse at top center, #000 3.7%, rgba(0, 0, 0, 0) 100%), #560093;
}

/*Hamburger Icon */

    .hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-img {
    width: 40px;
    color:white;
    height: auto;
}

/* Mobile Dropdown Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    gap: 10px;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.top-title {
    font-size: 2.5em;
    font-family: var(--font-space-boards-demo);
}

.how-to-hero-banner {
    display: flex;
    position: relative;
    color: white;
    justify-content: center;
    padding: 120px;
}

.how-to-section {
    display: flex;
    position: relative;
    justify-content: center;
    padding: 82px 32px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.sub-title {
    text-align: center;
    font-size: 1.8em;
    font-family: var(--font-space-boards-demo);
}

.how-to-wrapper {
    display: flex;
    flex: wrap;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
    width: 80%;
}

.how-to-content {
    flex: 1 1 450px;
}

.how-to-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.how-to-icon {
    width: 40px;
    height: auto;
}

.how-to-heading {
    font-size: 3rem;
    font-weight: 700;
}

.how-to-content hr {
    border: none;
    border-top: 2px solid #fff;
    margin: 10px 0 20px;
    width: 100%;
}

.how-to-list {
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.8rem;
}

.bottom-coaches-button {
    margin-top: 10px;
}

/* VIDEO STYLING */
.how-to-video {
    flex: 2 1 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .how-to-video iframe {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    }

/* Base mobile nav style */
.mobile-nav {
    display: none;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    animation: slideDown 0.3s ease forwards;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .mobile-nav-menu li a {
        display: block;
        padding: 12px 16px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: background 0.2s ease;
    }

        .mobile-nav-menu li a:hover {
            background-color: #ececec;
        }

/* Show menu when active */
.mobile-nav.active {
    display: block;
}

/* Slide-down animation */
@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media (max-width: 1192px) {
    .hamburger {
        cursor: pointer;
        display: flex;
        z-index: 20px;
    }

    .main-header {
        top: 0;
        position: relative;
        margin: 0;
        z-index: 1000;
    }

    .hamburger svg {
        width: 100px;
        height: 100px;
        z-index: 20;
    }

    .main-header {
        position: absolute;
        display: flex;
        padding: 0;
        justify-content: space-between;
    }

    .main-search-form {
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .search-btn-big {
        right:unset;
        top: 2px;
    }

    .left-side-nav-bar,
    .right-side-nav-bar {
        display: none;
    }

    .hamburger {
        display: flex;
    }


    .mobile-nav {
        display: none;
    }

        .mobile-nav.active {
            display: flex;
            z-index:10;
        }

        .mobile-nav .login-btn,
        .mobile-nav .login-create-account-btn {
            font-size: 16px;
            padding: 10px 20px;
            display: block;
        }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .main-logo-outer {
        padding: 0 42px;
    }

    .main-header .main-search-form {
        margin: 8px;
        padding: 0;
        width: 100%;
    }

    .how-to-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .how-to-section {
        padding: 52px 0;
    }

    .how-to-hero-banner {
        padding: 0;
    }

    .hero-title {
        justify-content: center;
        padding: 68px 0 0 0;
    }

    .hero-banner {
        height: 50vh;
        align-items:unset;
        background-image: linear-gradient(to bottom right, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.2) 70%, transparent), url('/images/NewLandingPage/hero-image-coach-remade.jpg'); /* update path if needed */
        background-position: center;
        background-attachment: scroll;
    }

    .sub-title {
        font-size: 1.8em;
        margin: 0;
    }

    .coaches-info {
        gap:0px;
    }

    .second-section {
        padding: 16px;
        background: linear-gradient(to bottom, #050715, #1D297B);
    }

    .second-section-coaches {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }

    .experienced-coaches-icon{
        width: 40%;
    }

    .experienced-coaches {
        font-size: 2em;
    }

    .coaches-short-description {
         font-size: 18px;
    }

    .third-section {
        background-size: cover;
        padding: 42px 12px;
    }

    .coaches-info-solo{
        width: unset;
    }

    .selling-coaches {
        font-size: 2.5em;
    }

    .selling-coaches-title {
        padding: 0 16px;
    }

    .top-coaches-info-solo {
        display: flex;
        gap: 12px;
        flex-direction: column;
        color: var(--color-white);
        align-items: center;
    }

    .fourth-section {
        background-size: cover;
        padding: 42px 12px;
    }

    .top-title {
        font-size: 1.5em;
    }

    .how-to-heading {
        font-size: 1.8rem;
    }

    .how-to-list {
        font-size: 1.1rem;
    }

    .how-to-video {
        flex:none;
    }

    .how-to-video iframe {
        height: 250px; /* Adjust for smaller screens */
    }

    .how-to-content {
        flex:none;
    }

    .bottom-coaches-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

        .bottom-coaches-button .create-account-btn {
            width: 100%;
            max-width: 300px;
            text-align: center;
            padding: 14px 20px;
            font-size: 1rem;
        }
}


@media (max-width: 430px) {

    .sub-title {
        font-size: 0.7em;
    }

    .form#search_form{
        margin: 0;
    }

    .main-header .main-search-form {
        margin: 8px;
        padding: 0;
        width: 100%;
    }

    .experienced-coaches-icon {
        width: 30%;
    }


    top-coaches-info {
        gap: 10px;
    }

    .coaches-short-description{
        font-size: 14px;
    }

    .coaches-info {
        width: fit-content;
    }

    .bottom-coaches-button .create-account-btn {
        padding: 6px 10px;
    }

    .only-5month {
        padding: 6px 10px;
        font-size: 14px;
    }

    
}