@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;400;500;700&display=swap");

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 80%;
    margin: 5rem auto 0 auto;
}

.Hr_flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header,
.section {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

.mb {
    margin-bottom: 30px;
}

.mt {
    margin-top: 20px;
}

.section {
    background: var(--color-bg);
    position: relative;
    padding: 80px 0;
}

.section::after {
    left: -200px;
}

.section::before {
    width: 600px;
    right: -200px;
}

.section:nth-child(even) {
    background: var(--color-darkblue);
}

.section:nth-child(even)::after,
.section:nth-child(even)::before {
    display: none;
}

.primary {
    font-size: 35px;
    font-weight: 700;
}

.secondary {
    font-size: 25px;
    font-weight: 700;
}

.tertiary {
    font-size: 15px;
    color: gainsboro;
}

/* End Base */

/* Header */
.text {
    width: 60%;
}

.visual {
    width: 50%;
}

.visual img {
    width: 100%;
}

.header h1 {
    font-size: 50px;
    font-weight: 700;
}

.header h1 span {
    color: var(--clr-primary);
}

/* End Header */

.section:nth-child(even) .visual {
    margin-right: 30px;
}

#trainer {
    text-align: center;
}

.trainer .mb {
    margin-bottom: 10px;
}

#testimonial .visual img {
    width: 90%;
    display: block;
    margin-left: auto;
}

.client {
    background: #fff;
    color: #000;
    padding: 20px 10px;
    margin-right: 20px;
    text-align: center;
    border-radius: 20px;
    position: relative;
    margin-top: 20px;
}

.client img {
    width: 100%;
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: calc(50% - 40px);
}

.client h2 {
    margin: 20px 0 10px 0;
}

#discount {
    padding: 40px 0;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

.enquiry-form-container{
    margin-left: 30px;
    margin-top: 30px;
    position: relative;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

/* Responsive */

@media (max-width: 768px) {
    .Hr_flex {
        flex-direction: column;
        text-align: center;
    }

    .text,
    .visual {
        width: 100%;
        margin-bottom: 20px;
    }

    .text h1 {
        font-size: 45px;
    }

    .primary {
        font-size: 28px;
    }

    .secondary {
        font-size: 22px;
    }

    .tertiary {
        font-size: 14px;
    }

    .trainer {
        margin-bottom: 20px;
    }

    .client {
        margin-bottom: 50px;
    }

    #discount .visual img {
        width: 70%;
        margin-bottom: 30px;
    }
}

@media (max-width: 530px) {
    .header::after,
    .header::before,
    .section::after,
    .section::before {
        display: none;
    }

    .primary {
        font-size: 25px;
    }

    .secondary {
        font-size: 20px;
    }

    .tertiary {
        font-size: 12px;
    }

    .text h1 {
        font-size: 34px;
    }
}

/* End Responsive */
footer {
    background-color: var(--color-bg);
}

/* ----------------------------------------- */


/* ---------------------------------------------- */
.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}

.apply-now-section {
    background-color: #f9f9f9;
    padding: 50px;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.content {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.content h2 {
    text-transform: uppercase;
    color: var(--color-bg);
}

.content p {
    font-size: 16px;
}
