:root {
    --mainDarkColor: #10142d;
    --mainLightColor: #f6d339;

}

* {
    box-sizing: border-box;
}

/* ---------- Global responsive guards (no visual change on desktop) ---------- */

html {
    overflow-x: hidden;
    /* stops iOS from inflating text in landscape, which breaks fixed layouts */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}

.logo {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: var(--mainDarkColor, #10142d);
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10 and Edge */
    user-select: none;         /* Standard syntax */
  
}

body > h1,
body > h2,
body > h3,
body > p,
body > table,
body > form,
body > a {
    margin-left: 20px;
    margin-right: 20px;
}

::selection {
    background-color: var(--mainLightColor, #f6d339);
    color: #10142d;
}

.top-bar {
    color: var(--mainDarkColor, #10142d);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
}

.top-bar .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.top-bar .logo img {
    width: 100px;
    height: 100px;
    display: block;
}

.main-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-menu nav {
    display: flex;
    align-items: center;
    color: white;
    padding: 10px;
    text-align: center;
}

.main-menu nav li {
    display: inline-flex;
    align-items: center;
    text-align: center;
}

.main-menu nav a {
    color: var(--mainDarkColor, #10142d);
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    font-size: 1.1rem;
    display: inline-block;
    line-height: 2;
    text-align: center;
    height: 100%;
    padding: 10px;


}

.main-menu nav a:hover {
    color: var(--mainLightColor, #f6d339);
    background-color: var(--mainDarkColor, #10142d);
    border-radius: 5px;
    transition: background-color 0.5s, color 0.5s;


}



header {
    display: block;
    background-color: white;
    margin-bottom: 20px;
    width: 100%;
    height: auto;
    padding: 20px;

}

.welcome-section {
    text-align: center;
    margin-bottom: 20px;

}

.welcome-section h1 {
    /* fluid: 2rem on phones -> original 3rem from 800px and up */
    font-size: clamp(2rem, 6vw, 3rem);
    text-transform: capitalize;
    color: var(--mainDarkColor, #10142d);
    margin-bottom: 10px;
    font-weight: bold;
}

.welcome-section h3 {
    text-transform: uppercase;
    color: var(--mainLightColor, #f6d339);
}

.container {
    margin: 0 auto;
    padding: 20px;

}

.buttons {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.buttons .btn {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    background-color: var(--mainDarkColor, #10142d);
    color: var(--mainLightColor, #f6d339);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: min(200px, 100%);
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
    z-index: 2;
}

.buttons .btn::before {
    content: attr(data-text);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 6px 12px;
    background-color: var(--mainLightColor, #f6d339);
    color: var(--mainDarkColor, #10142d);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.buttons .btn:hover {
    background-color: var(--mainLightColor, #f6d339) ;
    color: var(--mainDarkColor, #10142d);
    transform: translateY(-2px);
}

.buttons .btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.video-section {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.video-section video {
    width: 100%;
    max-width: 1024px;
    height: auto;
    border-radius: 5px;
}

.banner-background1 {
    position: absolute;
    top: 2000px;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 300px;
    background-color: var(--mainLightColor, #f6d339);
}

.banner-background2 {
    position: absolute;
    top: 650px;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 1000px;
    background-color: var(--mainLightColor, #f6d339);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 10px 0;
}

section {
    margin: auto;
    padding: 10px;
    border: 3px solid #ccc;
}

.about {
    padding: 10px;
    background-image: linear-gradient(to left, var(--mainDarkColor, #10142d), #1e3c72);
    border-radius: 5px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;

}

.about h2 {
    color: white;
    font-size: 1.5rem;
    margin: 10px;
    flex-basis: 10%;
}

.about p {
    color: white;
    /* overflow: hidden; */
    overflow: auto;
    flex-basis: 60%;


}

.about p::first-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00;
}

.yoga {
    border-bottom: 2px solid #ff00ff;
    border-left: 2px solid #ff00ff;
    color: #ff00ff;
}

.swimming {
    border-bottom: 2px solid #0a8510;
    border-left: 2px solid #0a8510;
    color: #0a8510;
}

.basketball {
    border-bottom: 2px solid #0000ff;
    border-left: 2px solid #0000ff;
    color: #0000ff;
}

.soccer {
    border-bottom: 2px solid #ff0000;
    border-left: 2px solid #ff0000;
    color: #ff0000;
}

.personaltraining {
    border-bottom: 2px solid #000000;
    border-left: 2px solid #000000;
    color: #000000;
}

.yoga,
.swimming,
.basketball,
.soccer,
.personaltraining {
    padding: 10px;
    margin: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
}

table {
    width: 100%;
    margin-top: 20px;
}

table td {
    padding: 10px;
    background-color: #f9f9f9;
}

table thead td {
    background-color: #333;
    color: white;
    font-weight: bold;
    text-align: center;
}

form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-field {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-field:focus {
    border-color: #e60909;
    background-color: #e7cccc;
    outline: none;
}

.activities {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-evenly;
    justify-content: space-evenly;
    align-items: center;


}

.activity-img {
    width: 450px;
    height: 360px;
    margin: 10px;
    filter: grayscale(100);
}

.activity-img:hover {
    filter: grayscale(0);
}

.activities-section {
    text-align: center;
    margin: 100px auto;


}

.activities-section h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    text-transform: capitalize;
    color: var(--mainDarkColor, #10142d);
    margin-bottom: 10px;
    font-weight: bold;
}

.buttons-parent {
    display: grid;
    width: 80%;
    padding: 50px;
    margin: auto;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    
}
.statistics-section {
    width: 100%;
    text-align: center;
    margin: 200px auto;

}

.statistics-parent {
     display: grid;
    width: 80%;
    padding: 50px;
    margin: auto;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;  
     
}

.statistics-parent h2 {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: auto;
    min-height: 50px;
    margin: 20px auto;
    padding: 10px;
    font-size: clamp(1.15rem, 3.2vw, 1.5rem);

}

.statistics-parent h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--mainLightColor, #f6d339);
    background-image: linear-gradient(to right,  #10142d  #f6d339);
    transition:  2s;

}
.statistics-parent h2:hover::after{
    width: 20%;

}

.contacts {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 50px 20px;
    text-align: center;
    background-color: var(--mainLightColor, #f6d339);
    background-image: linear-gradient(to bottom, #f6d339, #ffe98a);
}

.contacts h2 {
    color: var(--mainDarkColor, #10142d);
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-transform: capitalize;
    margin-bottom: 10px;
}

.contacts > p {
    color: var(--mainDarkColor, #10142d);
    max-width: 700px;
    margin: 0 auto 30px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.contact-card {
    background-color: #ffffff;
    border: 2px solid var(--mainDarkColor, #10142d);
    border-radius: 5px;
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 26px 0 rgba(16, 20, 45, 0.4);
}

.contact-card h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-card p {
    color: #333;
    margin: 5px 0;
}

.contact-card a {
    color: var(--mainDarkColor, #10142d);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-card a:hover {
    color: #1e3c72;
    border-bottom-color: var(--mainDarkColor, #10142d);
}

.social-media h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.social-media ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--mainLightColor, #f6d339);
    color: var(--mainLightColor, #f6d339);
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    background-color: var(--mainLightColor, #f6d339);
    color: var(--mainDarkColor, #10142d);
    transform: translateY(-4px);
}



.social-media img {
    width: 28px;
    height: 28px;

}
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 25px 20px;
    text-align: center;
    background-image: linear-gradient(to bottom, var(--mainDarkColor, #10142d), #1e3c72);
    color: #ffffff;
    border-top: 4px solid var(--mainLightColor, #f6d339);
}

footer p {
    margin: 4px 0;
    color: #ffffff;
    text-align: center;
    line-height: 1.5;
}

footer a {
    color: var(--mainLightColor, #f6d339);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.page-head {
    text-align: center;
    margin: 40px auto 20px;
    padding: 0 20px;
}

.page-head h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    text-transform: capitalize;
    color: var(--mainDarkColor, #10142d);
    font-weight: bold;
    margin-bottom: 10px;
}

.page-head h3 {
    text-transform: uppercase;
    color: var(--mainLightColor, #f6d339);
    background-color: var(--mainDarkColor, #10142d);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
}

.court-section {
    border: 3px solid var(--mainDarkColor, #10142d);
    background-color: #ffffff;
    border-radius: 5px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.court-section h2 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.5rem;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.courts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
    width: 100%;
    margin: auto;
    padding: 0;
}

.court-card {
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-top: 5px solid var(--mainLightColor, #f6d339);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    padding: 10px;
    margin: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.court-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 20, 45, 0.3);
}

.court-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    filter: grayscale(100);
    transition: filter 0.3s ease;
}

.court-card:hover img {
    filter: grayscale(0);
}

.court-card h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.1rem;
    margin: 10px 0 5px;
}

.court-card .status {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    background-color: var(--mainDarkColor, #10142d);
    color: var(--mainLightColor, #f6d339);
}

.court-card .status.is-busy {
    background-color: #e60909;
    color: #ffffff;
}

.booking-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 3px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.booking-form h2 {
    color: var(--mainDarkColor, #10142d);
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-row label {
    color: var(--mainDarkColor, #10142d);
    font-weight: bold;
    margin-bottom: 6px;
}

.booking-form .input-field,
.booking-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.booking-form .input-field:focus,
.booking-form select:focus {
    border-color: #e60909;
    background-color: #e7cccc;
    outline: none;
}

.court-total {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--mainDarkColor, #10142d);
    background-color: var(--mainLightColor, #f6d339);
    border-radius: 5px;
    padding: 12px;
    margin: 20px 0;
}

.activities-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    background-image: linear-gradient(to left, var(--mainDarkColor, #10142d), #1e3c72);
    border-radius: 5px;
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
}

.activities-intro img {
    width: 260px;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    border: 3px solid var(--mainLightColor, #f6d339);
    flex-shrink: 0;
}

.activities-intro p {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.activities-intro h3 {
    color: var(--mainLightColor, #f6d339);
    text-transform: uppercase;
    font-size: 1.3rem;
    margin: 0;
}

.activity-categories {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-evenly;
    justify-content: space-evenly;
    align-items: center;
    margin: 60px auto;
    padding: 0;
}

.activity-categories .yoga,
.activity-categories .swimming,
.activity-categories .basketball,
.activity-categories .soccer,
.activity-categories .personaltraining {
    text-align: center;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.activity-categories .yoga:hover,
.activity-categories .swimming:hover,
.activity-categories .basketball:hover,
.activity-categories .soccer:hover,
.activity-categories .personaltraining:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(16, 20, 45, 0.3);
}

.activity-list {
    width: 100%;
    margin: 60px auto;
}

.activity-list .item {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    margin: 15px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 6px solid var(--mainDarkColor, #10142d);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-list .item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(16, 20, 45, 0.3);
}

.activity-list .item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    filter: grayscale(100);
    transition: filter 0.3s ease;
    flex-shrink: 0;
}

.activity-list .item:hover img {
    filter: grayscale(0);
}

.activity-list .item h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.3rem;
    margin: 0 0 5px;
    text-transform: capitalize;
}

.activity-list .item .meta {
    color: #333;
    margin: 0;
    font-size: 0.95rem;
}

.activity-list .item .meta strong {
    color: var(--mainDarkColor, #10142d);
}

.activity-list .item .level {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    background-color: var(--mainDarkColor, #10142d);
    color: var(--mainLightColor, #f6d339);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0;
}

.plan-card {
    position: relative;
    background-color: #f9f9f9;
    border: 3px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--mainDarkColor, #10142d);
    box-shadow: 0 8px 26px 0 rgba(16, 20, 45, 0.4);
}

.plan-card h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px;
}

.plan-card .price {
    color: var(--mainDarkColor, #10142d);
    font-size: clamp(2.2rem, 8vw, 3rem);
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.plan-card .price sup {
    font-size: 1.2rem;
    vertical-align: super;
}

.plan-card .cycle {
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.plan-card ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.plan-card ul li {
    color: #333;
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
}

.plan-card ul li:last-child {
    border-bottom: none;
}

.plan-card.is-featured {
    background-image: linear-gradient(to bottom, var(--mainDarkColor, #10142d), #1e3c72);
    border-color: var(--mainLightColor, #f6d339);
    box-shadow: 0 8px 30px 0 rgba(16, 20, 45, 0.5);
    transform: scale(1.04);
}

.plan-card.is-featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.plan-card.is-featured h3,
.plan-card.is-featured .price,
.plan-card.is-featured ul li {
    color: #ffffff;
}

.plan-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--mainLightColor, #f6d339);
    color: var(--mainDarkColor, #10142d);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
}

.perks-section {
    width: 100%;
    margin: 60px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border: 3px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.perks-section h2 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.5rem;
    text-transform: capitalize;
    margin-bottom: 25px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
    width: 100%;
}

.perk {
    background-color: #ffffff;
    border-left: 5px solid var(--mainLightColor, #f6d339);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.perk h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.perk p {
    color: #333;
    margin: 0;
}

.compare-table {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 60px;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.compare-table td {
    padding: 12px 15px;
    background-color: #f9f9f9;
    color: #333;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.compare-table td:first-child {
    text-align: left;
    font-weight: bold;
    color: var(--mainDarkColor, #10142d);
}

.compare-table thead td {
    background-color: var(--mainDarkColor, #10142d);
    color: var(--mainLightColor, #f6d339);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.compare-table tbody tr:hover td {
    background-color: #f0f0f0;
}

.about-hero {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 40px auto;
    padding: 30px;
    background-image: linear-gradient(to left, var(--mainDarkColor, #10142d), #1e3c72);
    border-radius: 5px;
    box-shadow: 0 4px 20px 0 rgba(16, 20, 45, 0.3);
}

.about-hero .about-copy {
    flex: 1;
}

.about-hero h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-transform: capitalize;
    margin: 0 0 15px;
}

.about-hero p {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.about-hero p::first-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00;
}

.about-hero img {
    width: 340px;
    height: 240px;
    object-fit: cover;
    border-radius: 5px;
    border: 4px solid var(--mainLightColor, #f6d339);
    flex-shrink: 0;
    filter: grayscale(100);
    transition: filter 0.3s ease;
}

.about-hero:hover img {
    filter: grayscale(0);
}

.values-section {
    width: 100%;
    margin: 60px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border: 3px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.values-section h2 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.5rem;
    text-transform: capitalize;
    margin-bottom: 25px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

.value-card {
    background-color: #ffffff;
    border-bottom: 5px solid var(--mainLightColor, #f6d339);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(16, 20, 45, 0.3);
}

.value-card .year {
    display: inline-block;
    background-color: var(--mainDarkColor, #10142d);
    color: var(--mainLightColor, #f6d339);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.value-card h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.2rem;
    text-transform: capitalize;
    margin: 0 0 10px;
}

.value-card p {
    color: #333;
    margin: 0;
}

.team-section {
    width: 100%;
    margin: 60px auto;
    text-align: center;
}

.team-section h2 {
    color: var(--mainDarkColor, #10142d);
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-transform: capitalize;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 25px;
    width: 100%;
}

.team-card {
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    padding: 10px;
    margin: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(16, 20, 45, 0.3);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--mainLightColor, #f6d339);
    margin: 10px 0;
    filter: grayscale(100);
    transition: filter 0.3s ease;
}

.team-card:hover img {
    filter: grayscale(0);
}

.team-card h3 {
    color: var(--mainDarkColor, #10142d);
    font-size: 1.1rem;
    text-transform: capitalize;
    margin: 10px 0 5px;
}

.team-card .role {
    color: var(--mainDarkColor, #10142d);
    background-color: var(--mainLightColor, #f6d339);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}


/* ============================================================
   RESPONSIVE LAYOUT
   ------------------------------------------------------------
   The stylesheet above stays desktop-first so the original
   design is untouched from 1024px upwards. Everything below
   adapts the same components for narrower viewports using
   fluid values, auto-fit grids, wrapping flex rows and
   auto-width images so nothing overflows horizontally.

   Breakpoints
     >= 1440px  large desktop / scaling whitespace
     <= 1199px  laptop, first space-constrained step
     <= 1023px  tablet, nav wraps, multi-column content relaxes
     <= 767px   mobile, single column layouts
     <= 480px   small mobile
   ============================================================ */


/* ---------- Large desktop : 1440px and up ---------- */
@media (min-width: 1440px) {

    .container {
        padding: 24px;
    }

    /* the two very tall sections scale with the viewport instead of
       leaving a huge fixed gap on ultra-wide screens */
    .activities-section {
        margin: clamp(100px, 7vw, 160px) auto;
    }

    .statistics-section {
        margin: clamp(200px, 14vw, 280px) auto;
    }
}


/* ---------- Laptop / small desktop : up to 1199px ---------- */
@media (max-width: 1199px) {

    .top-bar {
        padding: 0 24px;
    }

    /* activity photos shrink with the row instead of forcing
       a fixed 450x360 box, the original 5:4 ratio is kept */
    .activities {
        gap: 0;
    }

    .activity-img {
        flex: 1 1 240px;
        width: auto;
        max-width: 420px;
        min-width: 200px;
        height: auto;
        aspect-ratio: 5 / 4;
        margin: 10px;
    }

    .buttons-parent,
    .statistics-parent {
        padding: 40px 20px;
    }

    .about-hero img {
        width: 280px;
        height: 200px;
    }

    .activities-intro img {
        width: 220px;
        height: 155px;
    }

    .compare-table td {
        padding: 10px 8px;
    }

    .contacts {
        padding: 40px 20px;
    }

    /* keep the decorative yellow bands behind the content */
    .banner-background1 {
        top: 1650px;
        height: 260px;
    }

    .banner-background2 {
        top: 560px;
        height: 1000px;
    }
}


/* ---------- Tablet : up to 1023px ---------- */
@media (max-width: 1023px) {

    .top-bar {
        height: auto;
        min-height: 0;
        padding: 14px 16px;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .top-bar .logo {
        width: 84px;
        height: 84px;
    }

    .top-bar .logo img {
        width: 84px;
        height: 84px;
    }

    .main-menu {
        height: auto;
    }

    .main-menu nav {
        padding: 6px 0;
    }

    .main-menu nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 6px;
    }

    .main-menu nav a {
        margin: 0 4px;
        padding: 8px 6px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .container {
        padding: 18px;
    }

    /* one flexible column count instead of a hard three column grid,
       so buttons and statistics re-flow instead of being squeezed */
    .buttons-parent,
    .statistics-parent {
        width: 100%;
        padding: 30px 16px;
        grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
        gap: 10px;
    }

    .activities-section {
        margin: 80px auto;
    }

    .statistics-section {
        margin: 120px auto;
    }

    .activity-list .item img {
        width: 130px;
        height: 90px;
    }

    /* lets long words wrap inside the flex rows instead of pushing
       the page sideways */
    .activity-list .item>div,
    .about-hero .about-copy,
    .activities-intro>div,
    .plan-card ul,
    .contacts-grid,
    .perks-grid,
    .values-grid,
    .team-grid {
        min-width: 0;
    }

    .about-hero,
    .activities-intro {
        gap: 20px;
        padding: 22px;
    }

    .about {
        flex-direction: column;
    }

    .about h2,
    .about p {
        flex-basis: auto;
    }

    .about p {
        overflow: visible;
    }

    .court-section {
        padding: 22px;
    }

    .booking-form {
        padding: 18px;
    }

    .perks-section,
    .values-section {
        padding: 22px 16px;
    }

    .plan-card {
        padding: 24px 16px;
    }

    .plan-card.is-featured {
        transform: scale(1.02);
    }

    .plan-card.is-featured:hover {
        transform: scale(1.02) translateY(-6px);
    }

    .compare-table {
        font-size: 0.85rem;
    }

    .banner-background1 {
        top: 1750px;
        height: 240px;
    }

    .banner-background2 {
        top: 600px;
        height: 1000px;
    }
}


/* ---------- Mobile : up to 767px ---------- */
@media (max-width: 767px) {

    header {
        padding: 12px 10px;
        margin-bottom: 14px;
    }

    /* logo above a wrapped, centred menu */
    .top-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 14px 12px 6px;
        gap: 6px;
    }

    .top-bar .logo {
        width: 68px;
        height: 68px;
    }

    .top-bar .logo img {
        width: 68px;
        height: 68px;
    }

    .main-menu {
        width: 100%;
    }

    .main-menu nav {
        padding: 4px 0 10px;
    }

    .main-menu nav ul {
        justify-content: center;
        row-gap: 4px;
    }

    .main-menu nav a {
        margin: 0 3px;
        padding: 9px 7px;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .container {
        padding: 14px;
    }

    .activities-section {
        margin: 50px auto;
    }

    .statistics-section {
        margin: 70px auto;
    }

    .buttons-parent,
    .statistics-parent {
        padding: 16px 12px;
        gap: 14px;
    }

    .activity-img {
        flex: 1 1 240px;
        min-width: 0;
        max-width: 100%;
        margin: 8px 0;
    }

    /* text over image stacks into one column, images keep their ratio */
    .activities-intro,
    .about-hero {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 18px 16px;
        margin: 24px auto;
    }

    .activities-intro img,
    .about-hero img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .activities-intro img {
        aspect-ratio: 13 / 9;
    }

    .about-hero img {
        aspect-ratio: 17 / 12;
    }

    .activity-list .item {
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 14px;
    }

    .activity-list .item>div {
        flex: 1 1 150px;
    }

    .yoga,
    .swimming,
    .basketball,
    .soccer,
    .personaltraining {
        flex: 1 1 100%;
        margin: 6px 0;
        font-size: 1.05rem;
    }

    .plans-grid {
        gap: 18px;
        margin: 28px auto 40px;
    }

    .perks-section,
    .values-section {
        padding: 18px 12px;
        margin: 36px auto;
    }

    .compare-table {
        margin: 20px auto 40px;
        font-size: 0.8rem;
    }

    .compare-table td {
        padding: 8px 5px;
    }

    .compare-table thead td {
        font-size: 0.75rem;
        letter-spacing: 0;
    }

    .contacts {
        padding: 32px 14px;
    }

    .contact-card {
        padding: 16px;
    }

    .booking-form {
        padding: 16px 14px;
    }

    /* 16px fields stop iOS Safari zooming the page on focus */
    .booking-form .input-field,
    .booking-form select {
        font-size: 1rem;
        width: 100%;
    }

    /* comfortable touch targets, full width of the column */
    .buttons .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        min-height: 50px;
        padding: 12px 16px;
    }

    .banner-background1 {
        top: 1500px;
        height: 220px;
    }

    .banner-background2 {
        top: 520px;
        height: 900px;
    }
}


/* ---------- Small mobile : up to 480px ---------- */
@media (max-width: 480px) {

    .top-bar .logo {
        width: 58px;
        height: 58px;
    }

    .top-bar .logo img {
        width: 58px;
        height: 58px;
    }

    .main-menu nav a {
        margin: 0 2px;
        padding: 8px 5px;
        font-size: 0.88rem;
    }

    .container {
        padding: 12px;
    }

    .activity-img {
        flex: 1 1 100%;
    }

    .activity-list .item {
        flex-direction: column;
        text-align: center;
    }

    .activity-list .item img {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .activity-list .item>div {
        flex: 1 1 100%;
    }

    .activities-intro img,
    .about-hero img {
        aspect-ratio: 16 / 10;
    }

    .activity-list .item .level {
        margin-left: 0;
    }

    .statistics-parent h2 {
        font-size: 1.2rem;
    }

    .plan-card {
        padding: 22px 12px;
    }

    /* the slight scale lift is dropped so the card never touches the
       screen edge, the hover lift is kept */
    .plan-card.is-featured {
        transform: none;
    }

    .plan-card.is-featured:hover {
        transform: translateY(-6px);
    }

    .compare-table {
        font-size: 0.72rem;
    }

    .compare-table td {
        padding: 6px 4px;
    }

    .compare-table thead td {
        font-size: 0.68rem;
    }

    .contacts {
        padding: 26px 12px;
    }

    .social-media ul {
        gap: 14px;
    }

    .social-media a {
        width: 48px;
        height: 48px;
    }

    .social-media img {
        width: 24px;
        height: 24px;
    }

    footer {
        padding: 20px 12px;
    }

    .banner-background1 {
        top: 1420px;
        height: 200px;
    }

    .banner-background2 {
        top: 500px;
        height: 860px;
    }
}


/* ---------- Short landscape screens (phones turned sideways) ---------- */
@media (max-height: 520px) and (orientation: landscape) {

    .top-bar {
        padding: 10px 16px;
    }

    .top-bar .logo,
    .top-bar .logo img {
        width: 60px;
        height: 60px;
    }

    .activities-section,
    .statistics-section {
        margin: 50px auto;
    }
}