:root {
    --primary-color: #325493;
    --secondary-color: #ED9D0B;
    --info-color: #505050;
    --bg-color: #F1F8FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


/*Navbar Start*/

#navbar {
    height: 100px;
    width: 100%;
    background-color: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    z-index: 99;
    transition: background-color 0.3s ease;
}

#menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration-line: none;
}

.menu-item {
    list-style-type: none;
    font-size: 1.1rem;
}

.menu-button {
    text-decoration-line: none;
    color: white;
}

#join-button {
    background-color: var(--secondary-color);
    padding: 5px;
    border-radius: 3px;
}

#toggle {
    display: none;
}

/*Navbar End*/

/*Hero Start*/

#hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}


#hero-content {
    position: absolute;
    top: 30%;
    width: 70%;
}

#hero-sup-title {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 3px;
    font-weight: bold;
}

#hero-title {
    color: white;
    margin-top: 10px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
}

#hero-text {
    color: white;
    margin-bottom: 20px;
}

#sign-up-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

#details-button {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
    border: 1px solid white;
}

/*Hero End*/

/*Info Start*/

#info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: var(--bg-color);
    height: 150px;
    scroll-margin-top: 100px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: white;
    padding: 20px;
    width: 150px;
    border-radius: 5px;
}

.info-number {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 800;
}

.info-text {
    font-weight: bold;
}

/*Info End*/

/*Our Classes Start*/
#our-classes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 75px;
    margin: 0 auto;
    height: auto;
    overflow-x: hidden;
    scroll-margin-top: 100px;
}

#our-classes {
    background: linear-gradient(250deg, #F6F6F6 50%, white 50%);
}

#our-classes-title {
    position: relative;
    text-align: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

#our-classes-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 80px;
    height: 7px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

#our-classes-text-container {
    margin: 50px auto;
    width: 60%;
    text-align: center;
}

#our-classes-text {
    margin-top: 20px;
    color: var(--info-color);
    font-weight: bold;
}

#our-classes-buttons {
    width: 100%;
    margin-bottom: 50px;
    height: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.our-classes-button {
    position: relative;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: 0;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    margin-top: 10px;
}

.our-classes-button.active {
    background-color: var(--secondary-color);
}

.our-classes-button.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--secondary-color);
    opacity: 1;
    transition: opacity 0.2s ease;
}

#course-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 400px;
}

#course-info-text {
    color: var(--info-color);
    width: 90%;
}

.course-title {
    margin-bottom: 10px;
    font-size: 2rem;
}

.course-text {
    display: flex;
    align-items: center;
    justify-content: start;
    font-weight: bold;
    line-height: 1.5rem;
    margin-bottom: 10px;
    list-style: none;
}

#course-info-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    overflow-x: hidden;
}

#course-img {
    width: 500px;
    object-fit: fill;
}

/*Our Classes End*/

/*BMI Container Start*/
#bmi-container {
    padding: 20px 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 100px;
}

#bmi-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    width: 50%;

}

#bmi-info-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

.bmi-info-text {
    color: var(--info-color);
    font-weight: bold;
}


#bmi-calculate {
    display: flex;
    align-items: center;
    justify-content: center;
}


#bmi-img-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

#bmi-img-area img {
    width: 100%;
}

#bmi-calculate input {
    margin-left: 20px;
    padding: 5px;
    outline: none;
}

#bmi-bmi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#bmi-triangle {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-left: -8px;
    width: 80%;
    height: 10px;
    gap: 5px;
}

.triangle-area {
    position: relative;
}

.triangle-area::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 100%;
    background-color: var(--secondary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 1;
}

/*BMI Container End*/


/*Our best trainers Start*/
#our-best-trainers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    height: auto;
    background-color: var(--bg-color);
    scroll-margin-top: 100px;
}

#our-best-trainers-title {
    padding-top: 50px;
    position: relative;
    text-align: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

#our-best-trainers-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100px;
    width: 80px;
    height: 7px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

#our-best-trainers-text {
    color: var(--info-color);
    font-weight: bold;
    margin-top: 3rem;
    text-align: center;
    width: 50%;
}


#trainers {
    width: 80%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.trainer {
    position: relative;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
}

.trainer img {
    display: block;
    width: 250px;
    height: 300px;
    object-fit: cover;
}

.trainer span {
    position: absolute;
    background: var(--primary-color);
}

.trainer span.top {
    top: -8px;
    left: 50%;
    width: 40px;
    height: 5px;
    transform: translateX(-50%);
}

.trainer span.bottom {
    bottom: -8px;
    left: 50%;
    width: 40px;
    height: 5px;
    transform: translateX(-50%);
}

.trainer span.left {
    top: 50%;
    left: -8px;
    width: 5px;
    height: 60px;
    transform: translateY(-50%);
}

.trainer span.right {
    top: 50%;
    right: -8px;
    width: 5px;
    height: 60px;
    transform: translateY(-50%);
}

.line {
    opacity: 0;
    border-radius: 5px;
    transition: opacity .3s ease, transform .3s ease;
}

.trainer-hover {
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
    background: var(--primary-color);
    width: 90%;
    padding: 20px 0;
    text-align: center;
    color: white;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition:
        transform .5s ease,
        opacity .25s ease;
}

.trainer:hover .trainer-hover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.trainer:hover .top,
.trainer:hover .right,
.trainer:hover .bottom,
.trainer:hover .left {
    opacity: 1;
}

/*Our best trainers Start*/

/*Purchase Start*/

#purchase-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 50px auto;
    width: 80%;
    height: auto;
}

#purchase-title {
    position: relative;
    text-align: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

#purchase-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 80px;
    height: 7px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

#purchase-text {
    color: var(--info-color);
    font-weight: bold;
    margin-top: 3rem;
    text-align: center;
}

#purchase-card-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.purchase-card {
    margin-top: 3rem;
    font-weight: bold;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.purchase-card p {
    margin-bottom: 0.2rem;
}

.purchase-img {
    width: 250px;
    height: 300px;
}

.purchase-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
}

.add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    text-decoration: none;
    color: black;
}

.add-to-cart i {
    position: absolute;
    left: 20px;
}

/*Purchase End*/

/*Review Start*/

#review-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    padding: 50px 100px;
    height: auto;
    background-color: var(--bg-color);
    scroll-margin-top: 100px;
}

#review-title {
    position: relative;
    text-align: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

#review-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 80px;
    height: 7px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

#review-text {
    color: var(--info-color);
    font-weight: bold;
    margin-top: 3rem;
    text-align: center;
}

#reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    width: 90%;
    gap: 100px;
}

.user-info {
    display: flex;
}

.user-info img {
    width: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.job-desc {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    font-weight: bold;
}

.job-desc span {
    margin-bottom: 5px;
}


.job-title {
    font-size: 0.8rem;
    color: #686868;
}

.customer-review {
    position: relative;
    margin-top: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px;

}

.review {
    position: relative;
}

.review .left-triangle {
    position: absolute;
    bottom: -25px;
    left: 0px;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: linear-gradient(225deg,
            #90aee4 50%,
            var(--bg-color) 50%);

}

.review .right-triangle {
    position: absolute;
    bottom: -25px;
    right: 0px;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg,
            #90aee4 50%,
            var(--bg-color) 50%);

}

/*Review End*/


/*Contact Start*/

#contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    height: auto;
    margin-top: 50px;
    scroll-margin-top: 150px;
}

#contact-title {
    position: relative;
    text-align: center;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2rem;
}

#contact-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 80px;
    height: 7px;
    border-radius: 10px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.contact {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

#contact-info {
    width: 60%;
}

#container h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}

#contact-text {
    color: var(--info-color);
    font-weight: bold;
    margin-top: 3rem;
    text-align: center;
}

#container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin-bottom: 100px;
    color: var(--info-color);
    width: 90%;
    margin-top: 50px;
}

#left-side {
    position: relative;
    width: 100%;
    height: 100%;

}

#container form {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#container input,
textarea {
    padding: 10px;
    background-color: var(--bg-color);
    border: 0;
    width: 100%;
    outline: none;
    font-weight: bold;
}

#container textarea {
    resize: none;
    height: 100px;
}

#map-area {
    position: relative;
    width: 100%;
    height: 100%;
}

#map-area iframe {
    width: 100%;
    height: 320px;
}

/*Contact End*/

/*Footer Start*/

#footer {
    height: auto;
    background-color: var(--primary-color);
    color: white;
}

#footer-container {
    width: 80%;
    margin: 0 auto;
    padding: 10px;
}

#footer-links {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#footer-links h4 {
    font-size: 1.2rem;
    margin: 10px;
}

#footer-links ul li {
    list-style-type: none;
    margin: 10px;
}

#footer-links ul li a {
    text-decoration: none;
    color: white;
    text-align: center;
}

/*Footer End*/


/*Responsive*/

@media (max-width: 576px) {

    /*Responsive Navbar Start*/
    #navbar {
        background-color: transparent;
    }

    #navbar #menu {
        display: none;
        gap: 10px;
        background-color: var(--primary-color);
        position: absolute;
        top: 110px;
        margin: 0 auto;
        width: 500px;
        padding: 20px;
        border-radius: 5px;
        z-index: 100;
    }

    #navbar #menu #menu-list {
        display: block;
    }

    #navbar #menu #menu-list li {
        margin: 10px;
    }

    #navbar #menu.show {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;
        top: 110px;
        right: 20px;
    }

    #toggle {
        display: flex;
        font-size: 3rem;
        font-weight: 900;
        cursor: pointer;
    }

    /*Responsive Navbar End*/

    /*Responsive Hero Start*/

    #hero {
        width: 100%;
        height: 700px;
    }

    #hero-content {
        width: 90%;
    }

    #hero-sup-title {
        font-weight: bold;
    }

    #hero-title {
        display: block;
        font-size: 3rem;
    }

    #hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #hero-text {
        background-color: black;
        opacity: 0.8;
        padding: 10px;
        font-size: 1.5rem;
        font-weight: bold;
        width: 100%;
    }

    #hero-buttons a {
        display: block;
        margin-top: 10px;
    }

    /*Responsive Hero End*/

    /*Responsive Info Start*/

    #info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        padding: 10px 0;
    }

    .info-item {
        width: 80%;
        height: 200px;
        font-size: 3rem;
    }

    .info-number {
        font-size: 3rem;
    }

    /*Responsive Info End*/


    /*Responsive Our classes Start*/

    #our-classes {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 30px 0px 0px 0px;
        overflow-x: hidden;
        font-size: 1.5rem;
    }

    #course-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        width: 100%;
        flex: 1;
        text-align: justify;
    }

    .course-text {
        margin-top: 10px;
        text-align: justify;
        line-height: 2rem;
    }

    .course-title {
        margin-top: 40px;
    }

    #course-info-img {
        width: 100%;
        height: auto;
    }

    #our-classes-buttons {
        width: 50%;
        padding-bottom: 20px;
    }

    .our-classes-button {
        flex: 0 1;
        display: flex;
        justify-content: center;
        width: auto;
        margin-top: 10px;
        font-size: 1.5rem;
    }

    /*Responsive Our classes End*/

    /*Responsive BMI Start*/
    #bmi-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-x: hidden;
        font-size: 1.5rem;
        padding: 20px 0px;
        text-align: justify;

    }

    #bmi-info-title {
        margin: 0 auto;
    }

    #bmi-info {
        width: 90%;
    }

    #bmi-calculate {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
    }

    .calculate-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .calculate-container input {
        border: 1px solid black;
        border-radius: 5px;
        margin-right: 5px;
        width: 250px;
        height: 30px;
    }

    /*Responsive BMI End*/

    /*Responsive Our best trainers Start*/

    #our-best-trainers {
        font-size: 1.5rem;
        width: 100%;
    }

    #our-best-trainers-text {
        width: 90%;
        text-align: center;
    }

    #trainers {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: baseline;
        gap: 30px;
    }

    /*Responsive Our best trainers End*/

    /*Responsive purchase Start*/

    #purchase-card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding-bottom: 50px;
        width: 90%;
    }

    #purchase-text {
        font-size: 1.5rem;
    }

    /*Responsive purchase End*/

    /*Responsive Review Start*/

    #review-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 75px 0px;
        margin: 0 auto;
    }

    #review-text {
        font-size: 1.5rem;
        width: 90%;
    }

    #reviews {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        width: 90%;
        font-size: 1.5rem;
    }

    /*Responsive Review End*/

    /*Responsive Contact us Start*/

    #contact-container {
        width: 100%;
        overflow-x: hidden;
        padding: 30px 0px;
        font-size: 1.5rem;
    }

    #container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-top: 60px;
        width: 100%;
        height: auto;
        text-align: center;
        padding: 0 20px;
    }

    .contact {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }

    #left-side {
        width: 90%;
    }

    #left-side h3 {
        text-align: start;
        margin-top: 30px;
    }

    #map-area {
        width: 100%;
    }

    #map-area iframe {
        width: 95%;
        height: 400px;
    }

    /*Responsive Contact us End*/
}