:root {
    --primary-color: #516f94;
    --secondary-color: #78e7bb;
}

body {
    margin: 0;
    padding: 0;
    background-color: #31302f;
    color: gainsboro;
    font-size: x-large;
    font-family: Arial Rounded MT Bold;
}

@media (max-width: 768px) {
    body {
        font-size: 1.5rem;
    }
    
    .H-content-zone2 h1 {
        font-size: 3.5vh;
    }
    
    .H-content-zone4 h1,
    .H-content-zone8 h1 {
        font-size: 4vh;
    }
}

/* Button and Form Adjustments */
.submit-button,
.H-submit-button {
    padding: 0.75rem;
    font-size: 1.2rem;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .submit-button,
    .H-submit-button {
        padding: 0.5rem;
        font-size: 1rem;
        margin: 0.5rem 0;
    }
    
    input, textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .center {
        position: fixed;
        top: 5%;
        left: 50%;
        transform: translate(-50%, -50%);
}
}

/* Header Styles */
header.header {
    margin-bottom: -17vh;
    padding-top: 2vh;
    padding-bottom: 2vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 8vh;
    font-size: x-large;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    margin-left: 2vw;
    width: 3vw;
    height: 100%;
    border-radius: 50%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 25%;
    padding: 20px 0;
    font-size: xx-large;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
}

nav ul li a:hover {
    transform: translateY(-2px);
}

nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

.logo img {
    width: 100%;
    height: 100%;
}

.resa {
    margin-right: 2vw;
    background-color: var(--primary-color);
    height: 80%;
    width: 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition-duration: 0.9s;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: hidden;
    text-decoration: none;
}

.resa:hover {
    height: 100%;
    width: 10vw;
    cursor: pointer;
    font-size: 1.6rem;

}
@media (max-width: 768px) {
    .resa{
        margin-right: 2vw;
        background-color: var(--primary-color);
        height: 80%;
        width: 25vw;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        transition-duration: 0.9s;
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
        border: hidden;
        text-decoration: none;  
    }
}

/* Consolidated Mobile Styles */
@media (max-width: 768px) {
    header.header {
        margin-bottom: 0;
        padding-top: 2vh;
        height: 10vh;
        flex-direction: row;
        gap: 1rem;
        font-size: small;
    }
    
    .logo {
        margin-left: 5%;
        width: 20vw;
        height: 100%;
    }
    .center {
        margin: 0;
    }

    nav {
        width: 100%;
        padding: 2vh 0;
        flex-direction: column;
        gap: 0.5rem;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
    }
    
    nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    nav ul li a {
        color: var(--secondary-color);
        font-size: 1.2rem;
        text-align: center;
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .header-content nav ul li a {
        color: var(--secondary-color);
    }

    .resa {
        transform: translateY(-2px);
    }
}

/* Container Styles */
.H-container {
    max-width: 82%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 768px) {
    .H-container {
        max-width: 100%;
        width: 100%;
    }
}
/* Content Zones */
.H-content-zone1 {
    width: 100vw;
    height: 80vh;
    margin: 18vh 0 0 0;
    padding-bottom: 10vh;
}

@media (max-width: 768px) {
    .H-content-zone1 {
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        margin: 0;
    }
}

.H-content-zone2 {
    width: 100%;
    margin: 20vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.H-content-zone2 h1 {
    color: var(--secondary-color);
    text-shadow: 2px 2px var(--primary-color) ;
    font-size: 5vh;
    text-decoration: underline;
}
.H-content-zone2 b {
    text-shadow: 2px 2px red ;
    font-size: 3vh;
}
@media (max-width: 768px) {
    .H-content-zone2 h1 {
        font-size: 4vh;
        text-shadow: 1px 1px var(--primary-color);
    }
    
    .H-content-zone2 b {
        font-size: 2.8vh;
        text-shadow: 1px 1px red;
    }
}

@media (max-width: 768px) {
    .H-content-zone2 {
        padding: 0 2vw;
        margin: 5vh 0 10vh 0;
        gap: 1rem;
        width: 90%;
    }
    
    .H-content-zone2 h1 {
        font-size: 3.5vh;
        text-align: center;
    }
}

.H-content-zone3 {
    height: 10vh;
    margin-bottom: 12vh;
    font-size: 5vh;
}

@media (max-width: 768px) {
    .H-content-zone3 {
        height: auto;
        margin-bottom: 8vh;
        font-size: 4vh;
        text-align: center;
    }
}

.H-content-zone4 {
    width: 100%;
    height: 80vh;
    margin: 40px 0;
    padding: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    /*
    .H-content-zone4 {
        height: 70vh;
        margin: 30px 0;
        padding: 20px;
        overflow-y: auto;
    }
    
    .H-content-zone4 img {
        width: 90%;
        max-width: 600px;
        object-fit: contain;
    }
        */
    .H-content-zone4 {
        display: none;
    }
}

.H-content-zone5 {
    width: 90vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .H-content-zone5 {
        width: 100%;
        max-width: none;
        padding: 0 2vw;
    }
}

.H-content-zone6 {
    width: 100%;
    margin: 4vh 1vw 1vh 1vw;
    padding: 0vh 1vw 1vh 1vw;
    text-align: center;
    background-color: #4e4e4e;
}

@media (max-width: 768px) {
    .H-content-zone6 {
        margin: 2vh 0;
        padding: 1vh;
        width: 90%;
    }
    
    .H-content-zone6 h1 {
        font-size: 4vh;
        text-align: center;
    }
}

.H-content-zone8 {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

@media (max-width: 768px) {
    .H-content-zone8 {
        max-width: none;
        padding: 0 2vw;
    }
}

/* Section Titles */

@media (max-width: 768px) {
    .H-content-zone3 h1,
    .H-content-zone6 h1,
    .H-content-zone8 h1 {
        font-size: 2rem;
        text-align: center;
        margin: 0.5rem 0;
    }
}


/*Content Zone 1 Image carousel*/
.H-home-img {
    height: 100%;
    object-fit: contain;
}

.H-Z1-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding-bottom: 10vh;
}

.H-slide-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}
.H-slide-container img {
    flex: 1 0 100%;
}

.H-play-pause {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(200, 200, 200);
    border: 5px thick var(--primary-color);
    cursor: pointer;
    font-size: 24px;
    width: 3vw;
    height: 6vh;
    z-index: 1;
    opacity: 0.9;
}
.H-play-pause:hover{
    background: rgba(255, 255, 255);
}
@media (max-width: 768px) {
    .H-play-pause{
        position: absolute;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(200, 200, 200);
        border: 5px thick var(--primary-color);
        cursor: pointer;
        font-size: 24px;
        width: 8vw;
        height: 4vh;
        z-index: 1;
        opacity: 0.9;
    }
    
}

.H-Z1-carousel-container:hover .play-pause {
    opacity: 1;
}

.H-home-img:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.overlay {
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 5.0s ease;
}

.overlay:hover {
    opacity: 0.05;
}

.overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 80%;
    height: auto;
    opacity: 0.8;
}
@media (max-width: 768px) {
    .H-home-img {
        height: auto;
        max-width: 100%;
        width: 100%;
    }
    
    .H-Z1-carousel-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        margin: 0;
    }

    .H-slide-container {
        display: flex;
        transition: transform 0.5s ease-in-out;
        width: 100%;
        height: 100%;
    }
    
    .H-carousel-overlay {
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        margin: 0;
        opacity: 1;
        animation: fadeOut forwards;
        animation-duration: 8s;
        animation-delay: 2s;
    }

    @keyframes fadeOut {
        to {
            opacity: 0;
        }
    }

    .overlay-img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 15vw;
        max-width: 80%;
        height: auto;
        opacity: 0.8;
    }
}

/* Section 2 Text*/
.H-nouvelle-salle-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; /* Added this line */
    max-width: 800px; /* Added this to ensure content stays centered */
    margin: 0 auto; /* Added this for proper horizontal centering */
}

/*News banner*/
.H-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 85vw;
    margin: 0;
    padding: 0 1vw 1vh 1vw; 
    color: #ae1616;
    text-shadow: 2px 2px 5px #000;
    background-color: #333333; 

}
@media (max-width: 768px) {
    .H-banner{
        width: 100vw;
        font-size: 3vh;

    }
}
.H-banner p {
    margin: 0;
}


/* Section 3 Catch phrase animation*/
.invis {
    opacity: 0;
    size: 0cm;
    display: none;
}
.animating {
    opacity: 0;
    animation-name: reveal-fade-in;
    animation-duration: 1s;
    animation-iteration-count: 2;
    animation-direction: alternate;
    animation-fill-mode: forwards;
}
.H-line-animation::before {
    content: "";
    position: absolute;
    top: calc(100% - 2px);
    width: 100%;
    height: 4px;
    background-color: #cf0000;
    transform-origin: center center;
    transform: scaleX(0);
    animation: line-animation 3s ease infinite alternate;
}


@keyframes reveal-fade-in {
    0%, 25% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
        opacity: 0;
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 1;
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 1;
    }
}
@keyframes H-line-animation {
    0%, 15% {
        transform: scaleX(0);
    }
    20%, 25% {
        transform: scaleX(1);
        top: calc(100% - 2px);
    }
    50% {
        transform: scaleX(1);
        top: 0px;
    }
    70% {
        transform: scaleX(0.2);
        top: 0px;
    }
    80%, 100% {
        transform: scaleX(0.2);
        top: 0px;
    }
}

/* Video in Section 4 */
.H-home-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Pourquoi nous zone Section 5*/
.H-pourquoi-nous {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.H-image-text-pair {
    position: relative;
    width: 25%;
    height: 30vh;
    transition: all 0.3s ease-out;
}

.H-image-text-pair img {
    width: auto;
    max-height: 100%;
    object-fit: fill;
}

.H-text-overlay {
    position: absolute;
    top: 50%;
    left: center;
    transform: translateY(-50%);
    color: white;
    background-color: rgba(0,0,0,0.7);
    padding: 12px 24px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.H-image-text-pair:hover .H-text-overlay {
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .H-pourquoi-nous {
        display: flex;
        justify-content: center;
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .H-image-text-pair {
        position: relative;
        width: 100%;
        height: 40vh;
        margin: 10px 0;
        transition: all 0.3s ease-out;
        cursor: pointer;
    }

    .H-image-text-pair.active .H-text-overlay,
    .H-image-text-pair.in-view .H-text-overlay {
        opacity: 1 !important;
    }

    .H-image-text-pair img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .H-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        background-color: rgba(0,0,0,0.7);
        padding: 12px 24px;
        border-radius: 4px;
        opacity: 0;
        transition: all 0.3s ease-out;
    }
}

/* Content Zone 6 (FAQ) */
.H-faq-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.H-faq-category {
    display: flex;
    flex-wrap: wrap; /* This allows items to wrap if needed */
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.H-faq-item {
    flex: 1 1 300px; /* Each item will take at least 300px width, but can grow as needed */
    min-width: 300px;
}
.H-content-zone6 > h1 {
    font-size: 3rem;
    text-decoration: underline;
    
}
.H-faq-container > h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .H-faq-container {
        display: grid;
        gap: 20px;
    }

    .H-question-answer {
        width: 100%;
        padding-right: 0; /* Removes any right padding */
        
        img {
            max-width: 100%;
            object-fit: contain;
        }
    }

    h2 {
        font-size: 3vh;
        margin-bottom: 12px;
    }

    p {
        font-size: 14px;
        line-height: 1.5;
        margin: 0 0 16px 0;
    }
}

/* Google review Section 7*/
.H-google-reviews-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.H-review-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 15px;
}

.H-review-author {
    font-weight: bold;
    color: #2c3e50;
}

.H-review-rating {
    color: #ff6b6b;
    margin-left: 5px;
}

.H-review-text {
    margin-top: 5px;
    color: #7f8c8d;
}

.H-review-date {
    margin-top: 5px;
    font-size: 0.9em;
    color: #95a5a6;
}

/* Form Styles Section 8*/
.H-contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.H-contact-form h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}
.H-contact-form input,
.H-contact-form textarea {
    width: 90%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .H-contact-form input,
    .H-contact-form textarea {
        width: 90%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .H-submit-button {
        font-size: 1rem;
        padding: 0.875rem;
    }
}

.H-form-group {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.H-form-group label {
    font-weight: 500;
    color: #ffffff;
    font-size: 1rem;
}

input, textarea {
    width: 90%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.H-submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, var(--primary-color), #4CAF50);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.H-submit-button:hover {
    transform: translateY(-2px);
}


/* ---------- AquaFit styles ---------- */
.AQ-content-zone1 {
    display: flex;
    width: 100vw;
    height: 80vh;
    margin: 18vh 0 0 0;
}

.AQ-content-zone2 {
    padding: 0;
    margin: 0 auto;
    width: 100%;
}

.AQ-content-zone3 {
    display: flex;
    margin: 0;
    width: 100%;
}

.AQ-content-zone4 {
    display: flex;
    border-bottom: 2px solid aqua;
}

.AQ-content-zone5 {
    display: flex;
    border-bottom: 2px solid aqua;
}

/* Section 1 */
.AQ-full-image-container {
    margin: 0;
    width: 100%;
    height: 100%;
}
.AQ-main-img {
    width: 100%;
    height: 100%;
}
.AQ-main-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.AQ-full-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    figure {
        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
}

/* Section 2 eye Catcher */
.AQ-eye-catcher {
    padding: 5vh 5vw;
    width: 80%;
    height: 50vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.AQ-eye-catcher img{
    width: fit-content;
    height: 20vh;
}

.AQ-eye-catcher h1{
    text-align: center;
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 5px var(--secondary-color);
    margin-bottom: 25px;
}

.AQ-eye-catcher p{
    font-size: 1.2rem;
    line-height: 1.6;
    color: beige;
    text-align: center;
}

/* Section 3 images to click on */
.AQ-image-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.AQ-pourquoi-nous {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.AQ-image-text-pair {
    position: relative;
    width: 25%;
    height: 30vh;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.AQ-image-text-pair img {
    width: auto;
    max-height: 100%;
    object-fit: fill;
}

.AQ-text-overlay {
    position: absolute;
    top: 50%;
    left: center;
    transform: translateY(-50%);
    color: white;
    background-color: rgba(0,0,0,0.7);
    padding: 12px 24px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.AQ-image-text-pair:hover .AQ-text-overlay {
    opacity: 1;
    
}
.slide-show-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden; /* Added to ensure it's hidden initially */
}

.slide-show-container.hidden {
    visibility: hidden;
}

.slide-group {
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 20px;
}

.slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.nav-controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.prev, .next {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.3);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.prev:hover, .next:hover {
    background-color: rgba(255,255,255,0.4);
}

@media screen and (max-width: 768px) {
    .AQ-pourquoi-nous {
        display: flex;
        justify-content: center;
        padding: 0 10px;
        flex-wrap: wrap;
    }

    .AQ-image-text-pair {
        position: relative;
        width: 100%;
        height: 40vh;
        margin: 10px 0;
        transition: all 0.3s ease-out;
    }

    .AQ-image-text-pair.active .H-text-overlay,
    .AQ-image-text-pair.in-view .H-text-overlay {
        opacity: 1 !important;
    }

    .AQ-image-text-pair img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .AQ-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        background-color: rgba(0,0,0,0.7);
        padding: 12px 24px;
        border-radius: 4px;
        opacity: 0;
        transition: all 0.3s ease-out;
    }
}

/* Section 4 Images with texboxes next to them*/
.AQ-class-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    height: max-content;
    gap: 20px;
    padding: 20px;
}

.AQ-image-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 10px;
    flex: 0 0 calc(50% - 20px);
}
.AQ-image-info img {
    width: 55vw;
    height: auto;
}
.AQ-button-container {
    display: flex;
    flex-direction: column;
    border: 2px solid rgb(238, 204, 163);
}
.AQ-button-container button {
    padding: 10px 20px;
    margin: 5px;
    border: 0;
    background-color: rgb(0, 0, 0, 0);
    color: white;
    cursor: pointer;
    font-size: inherit;
    transition: all 0.3s ease;
}

.AQ-button-container button:hover {
    background-color: var(--primary-color);
}

.AQ-button-container button:active {
    transform: translateY(0);
}
.AQ-section-item {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.AQ-section-item:hover {
    background-color: #f0f0f0;
}
.AQ-info-box {
    background: rgb(0, 0, 0, 0);
    border: 2px solid rgb(238, 204, 163);
    margin: 50px;
    display: none;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    max-width: 300px;
    z-index: 1000;
    animation: all 2s forwards 0 1 forwards forwards;
}
 /* Animation for info box */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.AQ-info-box.active {
    display: block;
    animation: slideIn 0.3s ease-out forwards;
}

/* ---------- Fitness styles ---------- */
.F-content-zone1 {
    display: flex;
    border-bottom: 2px solid #4CAF50;
}

.F-content-zone2 {
    display: flex;
    border-bottom: 2px solid #4CAF50;
}

.F-content-zone3 {
    display: flex;
    border-bottom: 2px solid #4CAF50;
}

.F-content-zone4 {
    display: flex;
    border-bottom: 2px solid #4CAF50;
}

.F-content-zone5 {
    display: flex;
    border-bottom: 2px solid #4CAF50;
}

/* ---------- Kids styles ---------- */
.K-content-zone1 {
    display: flex;
    border-bottom: 2px solid #FFC107;
}

.K-content-zone2 {
    display: flex;
    border-bottom: 2px solid #FFC107;
}

.K-content-zone3 {
    display: flex;
    border-bottom: 2px solid #FFC107;
}

.K-content-zone4 {
    display: flex;
    border-bottom: 2px solid #FFC107;
}

.K-content-zone5 {
    display: flex;
    border-bottom: 2px solid #FFC107;
}


/* ---------- Footer Styles ---------- */
footer {
    width: 100vw;
    height: 100%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
    flex-wrap: wrap;
    color: grey;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.socials ul, .socials-Kids ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}
.socials h3, .socials-Kids h3 {
    text-decoration: underline;
    
}

.socials li, .socials-Kids li {
    margin: 0.5vw;
    font-size: 6vh;
    
}

.social-link img {
    width: 4vw;
    height: 8vh;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.5);
}

.email-link {
    text-align: center;
}

.map-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25vw;
    height: 50vh;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    filter: brightness(0.9);
}

.opening-hours {
    margin-bottom: 30vh;
}
.opening-hours ul{
    list-style: none;
}

.att{
    display: flex;
    width: 100%;
    margin-top: auto;
    align-items: center;
    flex-direction: column;
}
/* Mobile Footer Styles */
@media screen and (max-width: 768px) {
    footer {
        width: 100%;
        max-height: 90vh;
        margin-top: auto;
        padding: 1rem;
        flex-wrap: wrap;
    }

    .social-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .socials ul, .socials-Kids ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
    .socials a, .socials-Kids a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .map-container {
        width: 100%;
        height: 300px;
        margin: 1rem 0;
    }

    .email-link {
        text-align: center;
        margin: 1rem 0;
    }

    .social-link img {
        width: 25%;
        height: auto;
        border-radius: 50%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .map-container iframe {
        padding-bottom: 5px;
    }
}