* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --frost: #F7FCFF;
    --slate: #637186;
    --midnight: #0d1a2d;
    --sky: #2eb2ff;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Urbanist", sans-serif;
    background-color: var(--frost);
}

.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 45px 45px 0 45px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 85px;
}

.nav-links ul a {
    color: var(--midnight);
    text-decoration: none;
}

.nav-links button.book {
    background-color: var(--midnight);
    color: var(--white);
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 10px 20px;
    display: flex;
    align-items: center;  
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}


.hero {
    margin: 0 auto;
    padding: 15px 25px 60px 25px;
    max-width: 1500px;
}

.hero-inner {
    background-image: url('../assets/bg-01.png');
    background-size: cover;
    background-position: center 0%;
    border-radius: 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 40px 40px 40px;
    gap: 20px;
}

.hero-inner h2 {
    font-size: 50px;
    margin-top: 80px;
    font-weight: 300;
}

.hero-inner p {
    font-size: 20px;
    font-weight: 200;
}

.hero-inner button {
    background-color: var(--midnight);
    color: var(--white);
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 15px 25px;
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 100;
}
 
.hero-footer {
    position: absolute;
    bottom: 20px;
    left: 18%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-footer img {
    width: 250px;
    margin-left: -45px;
}

.hero-footer p{
    color: var(--white);
}

.about-nav {
    display: flex;
    justify-content: space-between;
    padding: 0 55px;
}

.about-nav p {
    font-size: 25px;
    font-weight: 500;
}

.about-title {
    font-size: 18px;
}

.about-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.mode, .private, .rating {
    width: 450px;
    height: 320px;
    min-height: 320px;
    padding: 20px;
    font-size: 18px;
    color: var(--white);
    border-radius: 25px;
}

.mode {
    background-color: var(--midnight);
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-weight: 300;
}

.mode img {
    width: 50px;
    height: 50px;
    object-fit: cover; 
    margin-bottom: 10px;
    align-self: center;
}

.mode p {
    width: 100%;
    font-size: 20px; 
    line-height: 1.5;
    word-wrap: break-word;
    text-align: center;
}

.card-highlight {
    color: var(--slate);
}

.mode .toggle-container {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    margin-top: auto;
}

input[type="checkbox"].box {
    width: 50px;
    height: 20px;
    border-radius: 15px;
    background: var(--sky);
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
}

input[type="checkbox"].box:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 50%;
    left: 1px;
    background: var(--white);
    transform: translateY(-50%);
    transition: 0.3s;
}

input[type="checkbox"].box:checked:before {
    left: 26px;
}

.mode .toggle-container label {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
}


.private {
    background-image: url(../assets/couch.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.private-title {
    width: fit-content;
    height: fit-content;
    padding: 20px;
    border-radius: 80px;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rating {
    font-family: Arial, sans-serif;
    color: var(--midnight);
}

.info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info h1 {
    font-size: 70px;
}

.info h3 {
    font-size: 15px;
}

.info p {
    color: var(--slate);
    font-size: 15px;
}

.levels {
    margin-top: 20px;
}

.level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0;
}

.level span {
    font-size: 14px;
}

.dots {
    display: flex;
    gap: 6px;
    margin: 0 10px;
}

.dots span {
    width: 10px;
    height: 10px;
    background-color: #27a3ff;
    border-radius: 50%;
    display: inline-block;
}

.number {
    font-weight: bold;
}

.facts {
    display: flex;
    justify-content: center; 
    gap: 150px;
}

.head {
    text-align: center;
    margin-top: 55px;
    margin-bottom: 45px;
    font-size: 30px;
}

.facts h1 {
    font-size: 60px;
}

.facts p {
    font-size: 20px;
    color: var(--slate);
}

.hours, .rate, .member, .anual {
    text-align: center;
    margin-bottom: 50px;
}

.parts {
    display: flex;
    padding: 25px;
    margin-left: 15px;
    gap: 35px;
}

.part1 h6{
    font-size: 18px;
    margin-top: 25px;
    color: var(--slate);
    margin-left: 15px;
}

.part1 p {
    font-size: 30px;
    margin-bottom: 55px;
    margin-top: 25px;
}

.part1 button {
    background-color: var(--midnight);
    color: var(--white);
    border: none;
    outline: none;
    border-radius: 100px;
    padding: 15px 25px;
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 100;
}

.part2 {
  width: 450px;
  min-height: 320px;   
  padding: 20px;
  font-size: 18px;
  color: var(--white);
  border-radius: 25px;
  background-image: url(../assets/female.png);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}


.services-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; 
  padding: 25px 0 0 0; 
}


.services-button {
    background-color: #0d1a2d9e;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
}

.services-button:hover {
    background-color: #0d1a2d26;
}

.part3 {
    width: 450px;
    height: 320px;
    font-size: 18px;
    color: var(--white);
    border-radius: 25px;
}

.hourly {
    width: 450px;
    height: 170px;
    padding: 20px;
    font-size: 18px;
    color: var(--white);
    border-radius: 25px;
    background-image: url(../assets/balls.png);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hourly p {
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 20px;
    font-weight: 600;
    font-size: 25px;
}

.part3-p {
    color: var(--midnight);
    margin-top: 15px;
    font-size: 25px;
}

.part3-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.arrow-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--midnight);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.arrow-btn:hover {
    background-color: var(--light-gray);
}

.plans {
    display: flex;
    justify-content: space-between;
    margin-right: 160px;
    padding: 40px;
    background-color: var(--frost);
}

.prices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: var(--sky); 
    color: var(--white);
    border-radius: 20px;
    padding: 25px;
    width: fit-content;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
}


.plan-title {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 12px;
}


.price1 h1 {
    font-size: 28px;
    margin-bottom: 15px;
}


.features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}


.explore {
    background-color: #0d1a2d;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.explore:hover {
    opacity: 0.9;
}


.price2 {
    font-size: 28px;
    font-weight: bold;
}

.money {
    text-align: right;
}

.month {
    font-size: 14px;
    font-weight: normal;
    margin-left: 3px;
}


.basic-plan,
.Elite-Plan {
    background-color: var(--frost);
    color: var(--slate);
    border-radius: 15px;
    padding: 18px;
    width: 680px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
}

.basic-plan button,
.Elite-Plan button {
    background-color: var(--slate);
    color: var(--white);
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}



.tit1 {
    width: fit-content;
    border: 1px var(--midnight) solid;
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 25px;
    margin-left: 10px;
}

.prices-titles h3 {
    font-size: 35px;
    margin-bottom: 20px;
}

.prices-titles p {
    color: var(--slate);
    font-size: 25px;
}
.review-titles {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    gap: 20px;
}

.review-left {
    display: flex;
    flex-direction: column; /* stack title + text */
}

.review-title {
    font-size: 18px;
    margin-bottom: 20px;
    margin-left: 25px;
    font-weight: 300;
}

.thereview {
    font-size: 30px;
    margin: 0; /* remove default p gap */
}

.counter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 70px;
}

.outof {
    font-size: 18px;
    color: var(--slate);
}

.review {
    font-size: 20px;
    margin-top: 10px;
}

.counter-image {
    border-radius: 55px;
    width: 400px;  /* fixed width */
    height: 400px; /* fixed height */
    object-fit: cover; /* keeps aspect ratio while filling the box */
    margin-right: 10%;
}



.switches {
    display: flex;
    justify-content: space-between;
    margin-top: 15%; 
    margin-right: 10%;   
}

.switches-titles {
    display: flex;
    flex-direction: column;
    gap: 10px;
} 

.switches-titles h2{
    font-size: 40px;
}

.switches-titles p{
    font-size: 25px;
    color: var(--slate);
}

.switches-buttons {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 150px; 
}

.switch-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%; 
  border: none;
  background: transparent;
  color: var(--sky);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.switch-btn.right {
  background: var(--sky);
  color: white;
}
.faq-titles {
    display: flex;
    justify-content: space-between;
    padding: 50px 50px 0 50px;
}

.faq-titles h6 {
    font-size: 20px;
    color: var(--slate);
}

.faq-titles p {
    font-size: 30px;
    font-weight: 500;
}

.faq-container {
    display: flex;
    align-items: stretch; 
    gap: 0px;
    padding: 50px 50px 5px 50px;
}

.faq-container .questions {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-container img {
    flex: 1;
    border-radius: 20px;   
    object-fit: cover;     
    max-width: 40%;
    height: auto;          
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.icon {
    display: flex; 
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--midnight);
    padding: 8px;
}

.question .text {
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
    padding-right: 10px;
}

.faq-footer {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    align-items: center;
}

.faq-footer div {
    font-size: 18px;
    color: var(--midnight);
}

.question .text::after {
    content: attr(data-answer);
    display: none;
    margin-top: 10px;
    font-weight: 400;
    color: var(--slate);
}

.question.active .text::after {
    display: block;
}

.answer {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.touch {
    background-color: var(--sky);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.touch:hover {
    opacity: 0.9;
}

.email {
    width: 95%;
    height: 400px;
    padding: 50px;
    margin: 0 auto;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-radius: 50px;
    background-image: url(../assets/Tennis-bg.jpg);
    background-size: cover;
    background-position: center; 
}

.email h1 {
    color: var(--white);
    font-size: 45px;
    font-weight: 400;
}

.email-box {
  display: flex;
  align-items: center;
  background-color: var(--midnight);
  border-radius: 50px;
  padding: 5px;
  width: fit-content;
}

.email-box input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 14px;
}

.email-box input::placeholder {
  color: var(--slate);
}

.email-btn {
  border: none;
  background: var(--sky);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}

footer {
    background-color: var(--midnight);
    color: var(--white); 
}

.footer1 {
    display: flex;
    gap: 150px;
    padding: 60px;
}

.footerone {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footerone button {
    width: fit-content;
}

.footerone p {
    font-size: 30px;
}

.footertwo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footertwo h6 {
    font-size: 18px;
    font-weight: 500;
}

.socials {
    display: flex;
    gap: 25px;
}

.social {
    padding: 8px 20px 8px 20px;
    border-radius: 50px;
    border: none;
    background-color: black;
    color: var(--white);
}

.footer2 {
    display: flex;
    gap: 250px;
    padding: 60px;
}

.footerfour {
    display: flex;
    gap: 50px;
}

.about, .Contact {
    line-height: 2;
}

.about li, .Contact li {
    list-style-type: none;
    color: var(--white);
}

.footerfour-li a {
    text-decoration: none; 
    color: var(--white);        
    transition: color 0.3s; 
}

.footerfour-li a:hover {
    color: #fff; 
}

.footerthree h1 {
    font-size: 100px;
    white-space: nowrap;
}

.bottomfooter {
    display: flex;
    justify-content: space-between;
    padding: 50px;
}

#topBtn {
    display: none; 
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    border: none;
    outline: none;
    background-color: var(--sky);
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
}

#topBtn:hover {
    background-color: var(--midnight);
    transform: scale(1.1);
}

.bottomfooter {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 25px;
    font-size: 35px;      /* Big text */
    font-weight: 500;
    color: var(--slate);
    line-height: 1.6;     /* Better spacing between lines */
    flex-direction: column; /* Ensures stacked layout if needed */
}

.bottomfooter a {
    color: var(--sky);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bottomfooter a:hover {
    text-decoration: underline;
    color: var(--midnight); /* Subtle hover effect */
}
