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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    max-width: 100%;
    z-index: 100;
    width: 100vw;
}

.announcement {
    background-color: hsl(217 91% 60%);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.announcement a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav {
    /* display: flex; */
    background-color: black;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

/* Hide the menu-icon by default */
nav ul {
    margin-top: 0;
    max-width: 100%;
    max-height: 30vh;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    /* padding: 20px; */
}

nav li {
    display: flex;
    max-height: 50px;
    align-items: center;
}

nav a {
    display: flex;
    text-decoration: none;
    color: white;
    align-items: center;
    padding: 10px;
    height: 100;
    transition: color 0.3s ease;
    font-weight: bolder;
}

.title {
    font-size: 1.5rem;
}

nav a:hover {
    color: hsl(217 91% 60%);
}

nav li:first-child {
    margin-right: auto;
}


nav li button svg {
    width: 30px;
    height: 30px;
    background-color: black;
    padding: 0;
    margin: 0;
    /* margin-right: 10px; */
}

.menulist {
    display: none;
    margin: 0;
    padding: 0;
}

/* Adjust the menu button styling */
#menubtn {
    background-color: transparent;
    /* Ensure the button background is transparent */
    border: none;
    /* Remove any border */
    padding: 5px;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
    display: flex;
    /* Use flex to center the SVG */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    cursor: pointer;
    transition: color 0.3s ease;
}

#menubtn:hover svg path {
    /* background-color: hsl(217 91% 60%); */
    stroke: white;
}

#closeMenu svg rect {
    fill: rgba(0, 0, 0, 0.7);
    /* slightly transparent background */
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    max-width: 50%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.7);
    /* slightly transparent background */
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.sidebar svg {
    width: 30px;
    height: 30px;
}

.sidebar.active {
    display: flex;
    /* shows the sidebar when active */
}

.contactBtn {
    background-color: hsl(217, 91%, 60%);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.contactBtn:hover {
    background-color: white;
    color: hsl(217, 91%, 60%);
}


.contact-section {
    padding: 20px 20px;
    background-color: hsl(240 3.7% 15.9%);
    text-align: center;

}

.contact-section h2 {
    margin-top: 0px;
    font-size: 2.5rem;
    color: white;
}

.contact-details p {
    font-size: 1.4rem;
    margin: 10px 0;
}

.contact-section form {
    max-width: 100%;
    /* margin: 20px auto 0 auto; */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-section form input {
    padding: 10px;
    border: 5px solid #ccc;
    /* Updated border color */
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section form textarea {
    height: 100px;
    padding: 10px;
    border: 5px solid #ccc;
    /* Updated border color */
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section form input:focus,
.contact-section form textarea:focus {
    border-color: hsl(217, 91%, 60%);
    box-shadow: 0 0 8px rgba(60, 131, 246, 0.5);
}

.contact-section form button {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: hsl(217, 91%, 60%);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-section form button:hover {
    background-color: hsl(217, 91%, 50%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(60, 131, 246, 0.4);
}

.contact-section form button:active {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(60, 131, 246, 0.4);
}

.main {
    margin: top 0;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: black;
    height: 100vh;
    max-width: 100%;
}

.text {
    flex: 1;
    padding-left: 40px;
    max-width: 50%;
    animation: slide-right 1s ease-out forwards;
}


@keyframes slide-right {
    from {
        transform: translateX(-50%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.text h1 {
    font-family: 'popins', sans-serif;
    line-height: 1;
    font-weight: bold;
    color: hsl(217 91% 60%);
    font-size: 45px;
    margin-bottom: 20px;
    /* font-weight: 700; */
    font-size: 4rem;
}

.typing-animation {
    display: inline;
    color: white;
    font-size: 3.5rem;
    /* font-weight: 800; */
}

.typing-animation .typing-animation-text {
    display: block;
}

.cursor {
    display: inline;
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


.text p {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 10px;
    color: white;
    /* text-align: justify; */
}

.mainTextHidden {
    display: none;
}

/* Visible state with smooth transition; adjust max-height as needed */
.mainTextVisible {
    display: inline;

}

.text button {
    background-color: hsl(217 91% 60%);
    color: white;
    border: 2px solid black;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 10px;
}

.text button:hover {
    background-color: white;
    color: hsl(217 91% 60%);
}

.image {
    flex: 1;
    animation: slide-left 1s ease-out forwards;
    max-width: 50%;
    margin-bottom: 0;
}

@keyframes slide-left {
    from {
        transform: translateX(+25%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.image img {
    max-width: 100%;
    height: 70vh;
    border-radius: 10px;
}


/* training type */

.training {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding-top: 10px;
    background-color: hsl(240 3.7% 15.9%);
    justify-items: center;
    height: 85vh;

}

.training-h2 {
    margin-top: 0;
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'popins', sans-serif;
    line-height: 1;
    font-weight: bold;
    /* margin-bottom: 20px; */
}

.button-container {
    text-align: center;
    margin: 5px 0;
    /* margin-bottom: 1px; */
}

.tab-button {
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 1.5rem;
    border: 2px solid hsl(240 3.7% 15.9%);
    border-radius: 10px;
    background-color: hsl(217 91% 60%);
    cursor: pointer;
    font-size: 1.2rem;
}


.tab-button.active {
    background-color: black;
    color: white;
}

.card-container {
    display: flex;
    justify-content: center;
    padding: 5px;
}

.card {
    display: none;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    animation: slide-up 0.5s ease-in forwards;
    height: 60vh;
}

@keyframes slide-up {
    from {
        transform: translateY(50%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.card.active {
    display: flex;
}

.card img {
    width: 50%;
    object-fit: cover;
    height: 100%;
}

.card-text {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 50%;
    justify-content: center;
}

.card-text h2 {
    margin-top: 0;
    color: white;
    font-size: 2.5rem;
    font-family: 'popins', sans-serif;
    font-weight: bold;
}

.card-text p {
    font-size: 1.5rem;
    padding: 5px;
    line-height: 1.4;
    color: hsl(217 91% 60%);
    /* text-align: justify; */
}


.gym-equipment {
    text-align: center;
    padding: 5px;
    background-color: black;
    height: 80vh;
}

.gym-equipment h2 {
    color: white;
    /* margin-top: 10px; */
    text-align: center;
    font-size: 2.5rem;
    font-family: 'popins', sans-serif;
    font-weight: bold;
}

.slideshow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 60vh;
    width: 100%;
}

.slide {
    position: absolute;
    transition: all 1s ease-in-out;
    opacity: 0;
    transform: scale(0.8);

}

.slide img {
    width: 50vh;
    height: 45vh;
    border-radius: 10px;
    object-fit: cover;

}

.slide-text {
    text-align: center;
    margin: 0 90px 10px 90px;
    font-size: 1.5rem;
    opacity: 0;
    color: white;
    transition: opacity 0.8s ease-in-out;
}

/* Center Slide */
.slide.center {
    opacity: 1;
    transform: scale(1.2);
    z-index: 2;
}

.slide.center .slide-text {
    opacity: 1;
}

/* Left and Right Slides */
.slide.left,
.slide.right {
    opacity: 0.6;
    transform: scale(0.8);
    z-index: 1;
}

.slide.left {
    transform: translateX(-400px) scale(0.8);
}

.slide.right {
    transform: translateX(400px) scale(0.8);
}


/* testimonial section */

.feedback-section {
    text-align: center;
    padding-top: 1px;
    background-color: hsl(240 3.7% 15.9%);
    height: 80vh;
    justify-content: center;
}

.feedback-section h2 {
    color: white;
    font-size: 2.5rem;
    font-family: 'popins', sans-serif;
    font-weight: bold;
}



.feedback-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-cards-wrapper {
    overflow: hidden;
    width: 80%;
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px;
    /* Adjust as needed */
}

.feedback-cards {
    display: flex;
    transition: transform 1s ease-out;
}


.feedback-cards .f-card {
    display: flex;
    flex-direction: column;
    /* Adjust as needed */
    box-sizing: border-box;
    padding: 10px;
    align-items: center;
    justify-content: center;
    color: white;
    min-width: calc(100% / 3);
    /* default: 3 cards visible */
}


.f-card img {
    display: flex;
    width: 20vh;
    height: 25vh;
    border-radius: 50%;
    align-items: center;
    /* justify-content: center; */
}

.f-card>p>strong {
    font-family: 'popins', sans-serif;
    color: hsl(217 91% 60%);
    font-size: 25px;
}

.f-text {
    color: white;
    font-family: 'popins', sans-serif;
    font-style: italic;

}

.arrow {
    background-color: transparent;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: hsl(217 91% 60%);

}

.left-arrow {
    left: 0px;
}

.right-arrow {
    right: 0px;
}



/* Find us section */

/* Find us section */

.findus {
    display: flex;
    /* padding: 10px; */
    flex-direction: column;
    background-color: black;
    align-items: center;
    justify-content: center;
    height: 80vh;

}

.findus h2 {
    color: white;
    font-family: 'popins', sans-serif;
    font-size: 2.5rem;
    /* margin-bottom: 5px; */
    margin-top: 10px;
    font-weight: bold;
}

.findus-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 60vh;
    /* margin: 0 auto; */
    gap: 40px;
}

.findus-loc {
    margin-left: 40px;
    flex: 1 1 60%;
    opacity: 0;
    /* Initially hidden */
    transform: translateX(-50%);
    /* Initially off-screen */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.findus-loc.slide-right {
    opacity: 1;
    transform: translateX(0);
    /* Slide in */
}

.findus-loc iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.findus-address {
    flex: 1 1 40%;
    opacity: 0;
    /* Initially hidden */
    transform: translateX(50%);
    /* Initially off-screen */
    background-color: hsl(217 91% 60%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 1s ease-out, opacity 1s ease-out;
    margin-right: 40px;
}

.findus-address.slide-left {
    opacity: 1;
    transform: translateX(0);
    /* Slide in */
}

.findus svg {
    width: 30px;
    height: 30px;
    margin: 0px;
    vertical-align: middle;
}

.findus-address h3 {
    margin-top: 0;
    font-size: 30px;
    color: black;
    font-family: 'popins', sans-serif;
    margin-bottom: 5px;
}



.findus-address p {
    font-size: 20px;
    color: white;
}

/* footer */

/* Footer Section */

.foot {
    background-color: black;
    color: white;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;

}

.foot-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.foot-col1 {
    flex: 1;
    margin-right: 100px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.foot-col2,
.foot-col3 {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.foot h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    margin-bottom: 0px;
    font-weight: bold;
}

.foot p {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    margin: 5px 0;
    padding: 20px;
    line-height: 1.4;
    text-align: justify;
}

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

.foot ul li {
    margin: 5px 0;
}

.foot ul li a {
    color: hsl(217, 91%, 60%);
    text-decoration: none;
    font-weight: bold;
}

.foot ul li a:hover {
    /* text-decoration: underline; */
    color: white;
}

.foot .foot-bottom {
    display: flex;
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
    width: 100%;
    text-align: center;

}

.foot svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}


/* Responsive (screens up to 768px) */

/* Mobile styles (screens up to 768px) */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }


    header {
        max-height: 100px;
    }


    .contactBtn {
        background-color: hsl(217, 91%, 60%);
        color: white;
        border: 2px solid black;
        border-radius: 5px;
        padding: 5px 10px;
        font-size: 1rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }


    nav {
        position: relative;
        flex-direction: row;
        max-width: 100%;
        align-items: center;
        justify-content: center;
        background-color: black;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .hideOnMobile {
        display: none;
    }

    .menulist {
        display: block;
    }


    .main {
        margin-top: 40px;
        flex-direction: column;
        height: auto;
    }

    .text {
        flex: 1;
        padding-left: 40px;
        padding-top: 20px;
        margin-bottom: 30px;
        max-width: 100%;
        animation: slide-right 1s ease-out forwards;
    }

    .text h1 {
        font-family: 'popins', sans-serif;
        line-height: 1;
        font-weight: bold;
        color: hsl(217 91% 60%);
        margin-bottom: 20px;
        /* font-weight: 700; */
        font-size: 2.9rem;
    }

    .typing-animation {
        display: inline;
        color: white;
        font-size: 2.5rem;
        /* font-weight: 800; */
    }

    .image {
        flex: 1;
        animation: slide-left 1s ease-out forwards;
        max-width: 100%;
    }

    .image img {
        height: 60vh;
    }

    .text button {
        border-radius: 5px;
        padding: 5px 10px;
        font-size: 1rem;

    }

    .training {
        padding: 20px;
        height: 95vh;
    }

    .training-h2 {
        position: relative;
        margin-top: 0;
        color: white;
        text-align: center;
        font-size: 1.5rem;
        font-family: 'popins', sans-serif;
        line-height: 1;
        font-weight: bold;
        /* margin-bottom: 20px; */
    }

    .tab-button {
        font-size: 1rem;
        padding: 7px 15px;
        /* font-weight: bold; */

    }

    .card-container {
        flex-direction: column;
        align-items: center;
        padding: 0.5px;
    }

    .card {
        display: none;
        /* Hide all cards by default */
        background-color: black;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        width: 100%;
        animation: slide-up 0.5s ease-in forwards;
        /* height: 80vh; */
    }

    .card.active {
        display: flex;
        /* Show the active card */
        flex-direction: column;
        height: 80vh;
    }

    .card img {
        width: 100%;
        height: 50vh;
    }

    .card-text {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        height: 30vh;
        padding: 0px 5px;
    }

    .card-text h2 {
        margin-top: 0;
        font-size: 1.5rem;
    }

    .card-text p {
        margin-top: 0;
        font-size: 1rem;
    }


    .gym-equipment {
        height: 70vh;
    }

    .gym-equipment h2 {
        font-size: 1.5rem;
    }

    .slide-text {
        font-size: 1rem;
    }


    .feedback-section {
        padding-top: 1px;
        background-color: hsl(240 3.7% 15.9%);
        height: 75vh;
        justify-content: center;
    }

    .feedback-section h2 {
        color: white;
        font-size: 1.5rem;
    }

    .feedback-cards .f-card {
        min-width: 50%;
        /* only 2 card per view */
    }

    .findus {
        position: relative;
        display: flex;
        flex-direction: column;
        background-color: black;
        margin-top: 0;
        padding: 10px;
        padding-top: 0px;
        height: 100vh;
    }

    .findus h2 {
        font-size: 1.5rem;
    }

    .findus-container {
        display: flex;
        position: relative;
        flex-direction: column;
        width: 100%;
        height: 90vh;
        /* margin: 0 auto; */
    }

    .findus-loc {
        flex: 1;
        opacity: 0;
        max-width: 100%;
        border: none;
        transition: slide-right 1s ease-out forwards;
        margin: 0px;
        padding: 10px;
        max-height: 40vh;
    }

    .findus-address {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        max-width: 100%;
        transition: slide-left 1s ease-out forwards;
        margin: 0px;
        padding: 10px;
        max-height: 60vh;
     
    }

    .findus-address h3 {
        display: flex;
        align-items: center;
    }
    
    .findus-address p {
        display: flex;
        align-items: center;
    }

    .foot-container {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        width: 100%;
        gap: 10px;
        /* justify-content: space-between; */
        /* flex-wrap: wrap; */
    }

    .contact-section h2{
        font-size: 1.5rem;
    }

    .foot-col1{
        padding: 2px;
        margin: 0;
        grid-column: 1 / -1;
    }

    .foot-col2,
    .foot-col3 {
        padding: 2px;
        margin: 0;
        justify-self:center;
        /* text-align: center; */
    }


}


@media (max-width: 500px) {
    html {
        overflow-x: hidden;
        width: 100%;
    }


    .sidebar {
        width: 100%;
        align-items: center;
    }

    .sidebar ul {
        width: 100%;
        align-items: center;
    }

    .image img {
        max-height: 30vh;
    }

    .training {
        max-width: 100%;
        background-color: hsl(240 3.7% 15.9%);
        height: 70vh;
    }

    .card.active {
        display: flex;
        /* Show the active card */
        flex-direction: column;
        height: 55vh;
    }

    .card img {
        width: 100%;
        height: 30vh;
    }

    .card-text {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        height: 25vh;
        padding: 5px;
    }

    .feedback-section{
        height: 66vh;
    }

    .feedback-cards .f-card {
        min-width: 100%;
        height: 50vh;

        /* only one card per view */
    }

}