*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}


/* Home-page-only dotted court background, inspired by indoor badminton venues. */
.home-page {
    background-color: #f7f4ec;
}

.home-page .service,
.home-page .location,
.home-page .testimonials,
.home-page .footer {
    background-color: #f7f4ec;
    background-image:
        radial-gradient(circle, rgba(45, 58, 35, .16) .75px, transparent .9px),
        linear-gradient(135deg, rgba(244, 67, 54, .035), transparent 42%);
    background-size: 6px 6px, 100% 100%;
}

/* Full-screen Services section. */
.home-page .service {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: clamp(64px, 8vh, 100px) clamp(20px, 4vw, 72px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-page .service > h1,
.home-page .service > p {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.home-page .service > .row {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

@media (max-width: 700px) {
    .home-page .service,
    .home-page .location,
    .home-page .testimonials,
    .home-page .footer {
        background-size: 5px 5px, 100% 100%;
    }

    .home-page .service {
        min-height: auto;
        padding: 56px 6%;
    }
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image:
        radial-gradient(circle at 75% 48%, rgba(244, 67, 54, .22), transparent 34%),
        linear-gradient(90deg, rgba(3, 8, 15, .96) 0%, rgba(3, 8, 15, .78) 48%, rgba(3, 8, 15, .42) 100%),
        url(images/2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .35));
    pointer-events: none;
}

nav{
    position: relative;
    z-index: 5;
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 135px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 19px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: .5s;    
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}

.page-transition {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 9999;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(244, 67, 54, .16), transparent 42%),
        #111;
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease, visibility .5s ease;
}

.page-transition__mark {
    display: grid;
    justify-items: center;
    gap: 16px;
    transform: scale(.78);
    opacity: 0;
    animation: logo-transition-in .65s cubic-bezier(.22, 1, .36, 1) forwards;
}

.page-transition__mark img {
    width: min(320px, 68vw);
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .38));
}

.page-transition__mark span {
    color: rgba(255, 255, 255, .82);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.page-transition.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-transition.is-entering .page-transition__mark {
    animation: logo-transition-in .65s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes logo-transition-in {
    0% { transform: scale(.78); opacity: 0; }
    65% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .page-transition,
    .page-transition__mark {
        animation: none;
        transition: none;
    }
}

.hero-layout {
    position: absolute;
    z-index: 2;
    inset: 110px 5% 0;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
    align-items: center;
    max-width: 1500px;
    margin: auto;
}

.text-box{
    position: relative;
    z-index: 3;
    width: min(690px, 100%);
    color: #fff;
    text-align: left;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 22px;
    color: #f44336;
    font-size: clamp(.72rem, 1vw, .92rem);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-title-wrap {
    position: relative;
}

.hero-outline {
    position: absolute;
    z-index: -1;
    top: -46px;
    left: 0;
    color: transparent;
    font-size: clamp(4rem, 7.4vw, 8rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -.05em;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}

.text-box h1{
    font-size: clamp(3rem, 5.4vw, 6.1rem);
    line-height: .95;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.text-box h1 strong {
    color: #f44336;
    font-weight: 800;
}
.text-box p{
    max-width: 650px;
    margin: 28px 0 34px;
    padding: 0;
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.65;
}

.text-box i{
    color: #f44336;
}

.text-box strong {
  font-weight: bold;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 13px 32px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease;
    text-transform: uppercase;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transform: translateY(-2px);
}

.hero-btn--primary {
    color: #fff;
    border-color: #f44336;
    background: #f44336;
}

.hero-btn--primary:hover {
    border-color: #fff;
    background: #fff;
    color: #151515;
}

.hero-visual {
    position: relative;
    align-self: end;
    height: min(80vh, 850px);
    min-height: 500px;
}

.hero-visual img {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    width: min(100%, 820px);
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(-18px 12px 30px rgba(0, 0, 0, .42));
}

.hero-glow {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(244, 67, 54, .22);
    filter: blur(70px);
}

.hero-visual__note {
    display: none;
    position: absolute;
    right: 10%;
    bottom: 24%;
    z-index: 1;
    padding: 15px 18px;
    border: 1px dashed rgba(255, 255, 255, .42);
    border-radius: 12px;
    color: rgba(255, 255, 255, .72);
    text-align: center;
    font-size: .75rem;
}

.hero-visual.is-image-missing .hero-visual__note {
    display: block;
}


@media(max-width: 700px)
{
    .header {
        min-height: 760px;
        background-image:
            linear-gradient(rgba(3, 8, 15, .78), rgba(3, 8, 15, .92)),
            url(images/2.jpg);
    }

    nav {
        padding: 20px 6%;
    }

    nav img {
        width: 112px;
    }

   .nav-links ul li
    {
        display: block;
    }
    .nav-links
    {
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    .nav-links ul{
        padding: 30px;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
    }
    .hero-layout {
        position: relative;
        inset: auto;
        display: block;
        min-height: 650px;
        padding: 86px 6% 70px;
    }

    .text-box {
        width: 100%;
    }

    .hero-outline {
        top: -25px;
        font-size: clamp(3rem, 17vw, 5rem);
    }

    .text-box h1{
        font-size: clamp(2.8rem, 14vw, 4.7rem);
    }
    .text-box p{
        max-width: 520px;
        margin: 22px 0 28px;
        font-size: 1rem;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-btn {
        padding: 11px 20px;
        font-size: .76rem;
    }

    .hero-visual {
        position: absolute;
        right: -18%;
        bottom: 0;
        z-index: -1;
        width: 78%;
        height: 48%;
        min-height: 0;
        opacity: .38;
    }
}

/*---------- service --------*/

.service{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 19px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    line-height: 1.5;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;  
}
  
.service-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: .5s;
}

.service-col i{
    color: #f44336;
}

h3{
    text-align: center;
    font-weight: 800;
    margin: 10px 0;
}
.service-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

.service-col .fa-brands{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.service-col strong{
    font-weight: bold;
    color: #222;
}

/* @media (max-width:700px){
    .row{
        flex-direction: column;
    }
}  */

@media (max-width:700px){
  .service .row{
    flex-direction: column;
    align-items: center;   /* center the cards */
    gap: 24px;
  }

  .service .service-col{
    width: 100%;
    max-width: 520px;      /* all cards same width */
    margin: 0 auto;        /* ensure centered */
  }
  .service{
    padding-left: 0;
    padding-right: 0;
  }
}


/*---------------- location ----------------*/

.row1{
    margin-top: 10px;
    justify-content: center;
    align-items: center;
}
.location{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.location-col{
    flex-basis: 80%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.location-col img{
    width: 80%;
    display: block;
}


.location p {
  margin-bottom: 10px;
  font-size: 18px;
  color: #222;
  line-height: 1.5;
  width: 80%;
  display: inline-block;
}

.location strong{
    /* color: #222; */
    font-weight: bold;
}

.layer{
    background: transparent;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    transition: .5s;
}
.location-col:hover .layer{
    background: rgba(226, 0, 0, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 20px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: .5s;
}
.location-col:hover .layer h3{
    bottom: 49%;
    opacity: 1;
}

/*-------------- Facilities old  ----------------*/
/* 
.facility{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facility-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facility-col img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.facility-col p{
    padding: 0;
    margin-bottom: 15px;
    margin-top: 16px;
    text-align: justify;
    line-height: 1.5;
}

.facility-col strong {
    color: #222;
    font-weight: bold;
}
.facility-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
} */

/* ===== updated Facilities: framed cards + pro hover ===== */
.facility {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.facility .row {
  display: flex;
  justify-content: center;   /* 🔥 center the group */
  align-items: stretch;
  gap: 24px;                 /* equal spacing */
}

.facility-col{
  flex: 0 0 32%;
  max-width: 32%;
}

/* The framed card */
.facility-card{
  background: #fff3f3;                 /* matches your theme */
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;                    /* keeps image rounded */
  padding: 0;                          /* image is full width */
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transform: translateY(0);
  transition: transform 250ms ease, box-shadow 250ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.facility-card strong{
  background: rgba(244, 67, 54, 0.10);
  padding: 0 6px;
  border-radius: 6px;
}


/* Image styling */
.facility-card img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

/* Text padding */
.facility-card h3,
.facility-card p{
  padding: 0 18px;
}

.facility-card h3{
  margin-top: 16px;
  margin-bottom: 10px;
}

.facility-card p{
  padding-bottom: 18px;
  margin-top: 0;
}

/* Hover effect (desktop) */
.facility-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.10);
}
.facility-card:hover img{
  transform: scale(1.04);
}

/* Mobile: cards centered and stacked nicely */

@media (max-width:700px){
  .facility .row{
    flex-direction: column;
    align-items: center;
  }
  .facility-col{
    width: 100%;
    max-width: 520px;
  }
  .facility-card img{
    height: 200px;
  }
  
}





/*---------------- testimonials ------------------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa{
    color: #f44336;
}

@media(max-width:700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}

/*-------- Call To Action ----------*/


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/tzu-ying-tai-badminton.avif);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px; 
    padding: 0; 
}

@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}

/*--------------Footer---------------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.icons .fa-brands{ 
     color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-solid{
    color: #f44336;
}
.fa-heart-o{
    color: #f44336;
}


/*--------------- About Us Page --------------*/


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/2.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

/* Booking-page background: a quiet dot grid inspired by indoor court walls. */
.booking-page{
    background-color: #f7f4ec;
}

.booking-page .about-us{
    position: relative;
    isolation: isolate;
}

.booking-page .about-us::before{
    content: '';
    position: absolute;
    z-index: -2;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #f7f4ec;
    background-image:
        radial-gradient(circle, rgba(45, 58, 35, .16) .75px, transparent .9px),
        linear-gradient(135deg, rgba(244, 67, 54, .035), transparent 42%);
    background-size: 6px 6px, 100% 100%;
}

/* A very subtle badminton-court outline adds context without distracting. */
.booking-page .about-us::after{
    content: '';
    position: absolute;
    z-index: -1;
    right: -7vw;
    top: 84px;
    width: min(34vw, 460px);
    aspect-ratio: 1 / 2;
    border: 1px solid rgba(45, 58, 35, .08);
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(45, 58, 35, .07) 50%, transparent 50.2%),
        linear-gradient(transparent 24.8%, rgba(45, 58, 35, .07) 25%, transparent 25.2%),
        linear-gradient(transparent 49.8%, rgba(45, 58, 35, .08) 50%, transparent 50.2%),
        linear-gradient(transparent 74.8%, rgba(45, 58, 35, .07) 75%, transparent 75.2%);
    transform: rotate(7deg);
    pointer-events: none;
}

.booking-page .about-col,
.booking-page .pricing,
.booking-page .venue-info{
    position: relative;
    z-index: 1;
}

.booking-page .price-card,
.booking-page .pricing-tabs,
.booking-page .info-note{
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #222;
    line-height: 1.5;
    width: 95%;
    display: inline-block;
}

.about-col i{
    color: #f44336;
    margin-right: 8px;
}
.hero-btn.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.hero-btn.red-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    color: #fff;
}
.hero-btn.red-btn::after{
    background: #f44336;
}
.hero-btn.red-btn::before{
    background: #f44336;
}
.content-image{
    flex-basis: 50%;
}
.about-col img{
    width: 100%;
}

/* .about-col .table {
    width: 60%;
    border-collapse: collapse;
    margin: 40px auto;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.about-col th, 
.about-col td {
    border: 1px solid #ddd;
    padding: 12px;
}
.about-col th {
    background-color: white;
    color: black;
}
.about-col tr:nth-child(even) {
    background-color: #f9f9f9;
}
.about-col tr:hover {
    background-color: #f44336;
}
.about-col caption {
    caption-side: top;
    margin-bottom: 10px;
    font-size: 36px;
    /* font-weight: bold; */
    /* text-align: left;
} */ */

/* ===== Pricing layout ===== */
.pricing{
  margin-top: 24px;
}

.pricing-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.pricing-title{
  font-size: 32px;
  font-weight: 700;
}

/* Tabs */
.pricing-tabs{
  background: #fff3f3;
  padding: 6px;
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
}

.pricing-tab{
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
}

.pricing-tab.is-active{
  background: #f44336;
  color: #fff;
}

/* Cards */
.price-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card{
  background: #fff3f3;
  border-radius: 14px;
  padding: 20px;
}

.price-amount{
  font-size: 36px;
  font-weight: 800;
}

.price-label{
  font-weight: 700;
  margin-top: 6px;
}

.price-sub{
  color: #777;
  margin-top: 4px;
}

/* CTA */
.pricing-cta{
  margin-top: 36px;
  display: flex;
  justify-content: flex-start;
}



/* ===== Venue info formatting ===== */
.venue-info{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}

.info-item,
.info-note{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 20px;
  line-height: 1.5;
}

.info-item i,
.info-note i{
  color: #f44336;
  font-size: 20px;
  margin-top: 3px;
  min-width: 20px;
}

.info-item strong{
  font-weight: 600;
}

.info-item em{
  font-style: normal;
  font-size: 20px;
  color: #777;
}

/* Note style */
.info-note{
  background: #fff4f4;
  padding: 12px 14px;
  border-left: 4px solid #f44336;
  border-radius: 6px;
}


/* ===== About / Booking page – OLD mobile layout (restore) ===== */
@media (max-width:700px){

  .booking-page .about-us::before{
    background-size: 5px 5px, 100% 100%;
  }

  .booking-page .about-us::after{
    right: -24vw;
    top: 44px;
    width: 74vw;
    opacity: .7;
  }

  .about-us{
    padding: 30px 6%;
  }

  .about-us .row{
    flex-direction: column;
  }

  .about-col{
    flex-basis: 100%;
  }

  .about-col img{
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 10px;
  }

  .price-cards{
    grid-template-columns: 1fr;
  }
  .pricing-cta{
    justify-content: center;
  }

}



/*---------- Blog Page -------------*/

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-right{
    flex-basis: 32%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}

.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}

.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}


@media (max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
} 


/*------- Contact Us Page ------------*/

.con_location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.con_location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div{
  display: flex;
  align-items: flex-start;   /* top-align icon with text */
  margin-bottom: 40px;
}

.contact-col div i{
  font-size: 28px;
  color: #f44336;
  margin-right: 30px;
  margin-top: 6px;           /* small baseline tweak */
  width: 32px;               /* makes all icons line up */
  flex: 0 0 32px;
}
    
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}

.footer-link{
    text-decoration: none;
    color: #777;
}

.form-status{
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.4;
}

.form-status.success{
  background: #e9fff1;
  border: 1px solid #9ae6b4;
  color: #166534;
}

.form-status.error{
  background: #fff1f1;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ===== Contact page: mobile layout ===== */
@media (max-width:700px){

  /* Map section */
  .con_location{
    padding: 18px 6%;
  }
  .con_location iframe{
    width: 100% !important;
    height: 280px;
    border-radius: 10px;
  }

  /* Contact section layout */
  .contact-us{
    padding: 24px 6%;
  }
  .contact-us .row{
    flex-direction: column;
    gap: 22px;
  }

  /* Left info column */
  .contact-col{
    flex-basis: 100%;
  }
  .contact-col div{
    align-items: flex-start;
    gap: 12px;
  }
  .contact-col div i{
    font-size: 20px;
    margin: 0;
    margin-top: 4px;
  }
  .contact-col div h5{
    font-size: 16px;
    line-height: 1.25;
  }
  .contact-col div p{
    font-size: 14px;
    line-height: 1.4;
  }

  /* Form column */
  .contact-col form input,
  .contact-col form textarea{
    width: 100%;
    font-size: 14px;
  }
  .contact-col form textarea{
    min-height: 160px;
    resize: vertical;
  }

  .contact-col form .hero-btn{
    width: 100%;
    text-align: center;
  }
}


/* ---------- Moving badminton brand logos ---------- */
.brand-marquee {
    --marquee-gap: clamp(2.5rem, 7vw, 6rem);
    --marquee-speed: 28s;
    width: 100%;
    overflow: hidden;
    padding: 22px 0;
    background: #fff;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.brand-marquee__track {
    display: flex;
    width: max-content;
    animation: brandMarquee var(--marquee-speed) linear infinite;
    will-change: transform;
}

.brand-marquee__group {
    display: flex;
    align-items: center;
    gap: var(--marquee-gap);
    padding-right: var(--marquee-gap);
}

.brand-marquee__item {
    --logo-scale: 1;
    width: clamp(150px, 14vw, 190px);
    height: 74px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}

.brand-marquee__item img {
    display: block;
    width: 140px;
    height: 52px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    opacity: .82;
    transform: scale(var(--logo-scale));
    transform-origin: center;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.brand-marquee__item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(calc(var(--logo-scale) * 1.06));
}

/*
 * These values compensate for the different canvas shapes and built-in
 * whitespace in the supplied files. The visible marks now occupy roughly
 * the same width without stretching or distorting any logo.
 */
.brand-marquee__item--victor  { --logo-scale: 1.07; }
.brand-marquee__item--yonex   { --logo-scale: 2.15; }
.brand-marquee__item--mizuno  { --logo-scale: 1.70; }
.brand-marquee__item--babolat { --logo-scale: 1.07; }
.brand-marquee__item--lining  { --logo-scale: 1.44; }
.brand-marquee__item--carlton { --logo-scale: 1.67; }

/* Text appears automatically if a logo file has not been added yet. */
.brand-marquee__fallback {
    color: #555;
    font: 700 clamp(.9rem, 1.5vw, 1.15rem)/1 Poppins, sans-serif;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
}

.brand-marquee:hover .brand-marquee__track {
    animation-play-state: paused;
}

@keyframes brandMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 700px) {
    .brand-marquee {
        --marquee-gap: 2.5rem;
        --marquee-speed: 20s;
        padding: 16px 0;
    }

    .brand-marquee__item {
        width: 128px;
        height: 58px;
    }

    .brand-marquee__item img {
        width: 100px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-marquee__track {
        animation: none;
    }

    .brand-marquee {
        overflow-x: auto;
    }
}

/* ---------- Social activity photo slider ---------- */
/* Keep all three service cards equal even when one contains an iframe. */
.service > .row {
    display: flex;
    align-items: stretch;
    gap: 2%;
}

.service > .row > .service-col {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
}

.service > .row > .service-col > h3 {
    min-height: 1.5em;
}

/* ---------- Compact Court Hire pricing ---------- */
.service-pricing {
    width: 100%;
    margin-top: 14px;
}

.service-pricing__tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 5px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.service-pricing__tab {
    padding: 8px 10px;
    border: 0;
    border-radius: 999px;
    color: #555;
    background: transparent;
    font: 600 .82rem/1 Poppins, sans-serif;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.service-pricing__tab.is-active {
    color: #fff;
    background: #f44336;
    box-shadow: 0 4px 12px rgba(244, 67, 54, .28);
}

.service-pricing__panel[hidden] {
    display: none;
}

.service-pricing__cards {
    display: grid;
    gap: 9px;
}

.service-price-card {
    position: relative;
    display: grid;
    grid-template-columns: 68px 1fr;
    grid-template-areas:
        "amount label"
        "amount time";
    column-gap: 10px;
    align-items: center;
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid rgba(244, 67, 54, .13);
    border-radius: 11px;
    background: rgba(255, 255, 255, .78);
    text-align: left;
}

.service-price-card.is-featured {
    border-color: rgba(244, 67, 54, .42);
    background: #fff;
    box-shadow: 0 6px 16px rgba(244, 67, 54, .12);
}

.service-price-card__badge {
    position: absolute;
    top: -7px;
    right: 10px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #fff;
    background: #f44336;
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.service-price-card__amount {
    grid-area: amount;
    color: #f44336;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.service-price-card__label {
    grid-area: label;
    color: #222;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.25;
}

.service-price-card__time {
    grid-area: time;
    margin: 2px 0 0;
    color: #777;
    font-size: .66rem;
    line-height: 1.35;
}

.service-pricing__book {
    display: inline-block;
    margin-top: 13px;
    padding: 9px 20px;
    border: 1px solid #f44336;
    border-radius: 999px;
    color: #fff;
    background: #f44336;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.service-pricing__book:hover,
.service-pricing__book:focus-visible {
    color: #f44336;
    background: transparent;
}

.social-slider {
    position: relative;
    width: 100%;
    margin: 14px 0 16px;
    overflow: hidden;
    border-radius: 12px;
    background: #1d1d1d;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
    aspect-ratio: 16 / 10;
    touch-action: pan-y;
}

.social-slider__track {
    display: flex;
    height: 100%;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.social-slider__slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    margin: 0;
}

.social-slider__slide img,
.social-slider__slide video,
.social-slider__slide iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-slider__slide video {
    background: #000;
}

.social-slider__slide iframe {
    border: 0;
    background: #fff;
}

.social-slider__video-link {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .68);
    font-size: .65rem;
    font-weight: 600;
    text-decoration: none;
}

.social-slider__video-link:hover,
.social-slider__video-link:focus-visible {
    background: #f44336;
}

.social-slider__slide figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px 48px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
    font-size: .78rem;
    line-height: 1.3;
    text-align: center;
}

.social-slider__button {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .48);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}

.social-slider__button:hover,
.social-slider__button:focus-visible {
    background: #f44336;
    transform: translateY(-50%) scale(1.08);
}

.social-slider__button--previous { left: 9px; }
.social-slider__button--next { right: 9px; }

.social-slider__dots {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 7px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.social-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.social-slider__dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

.coaching-slider .social-slider__dots {
    top: 8px;
    bottom: auto;
}

.social-slider__slide--video figcaption {
    display: none;
}

.social-slider__slide.is-missing {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #202020, #f44336);
}

.social-slider__slide.is-missing::before {
    content: attr(data-missing-label);
    font: 600 1rem/1.3 Poppins, sans-serif;
}

.social-slider__slide.is-missing img,
.social-slider__slide.is-missing video,
.social-slider__slide.is-missing iframe,
.social-slider__slide.is-missing figcaption {
    display: none;
}

/* Facilities reuse the media slider while keeping every card the same size. */
.facility-slider {
    flex: 0 0 210px;
    height: 210px;
    margin: 0;
    border-radius: 0;
    aspect-ratio: auto;
    box-shadow: none;
}

.facility-slider .social-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.facility-card:hover .facility-slider .social-slider__slide img {
    transform: none;
}

.facility-slider .social-slider__slide figcaption {
    padding: 34px 46px 20px;
    font-size: .72rem;
}

.facility-slider .social-slider__dots {
    bottom: 8px;
}

.facility-slider .social-slider__button {
    width: 32px;
    height: 32px;
}

@media (prefers-reduced-motion: reduce) {
    .social-slider__track {
        transition: none;
    }
}

@media (max-width: 700px) {
    .service > .row {
        display: block;
    }

    .service > .row > .service-col {
        width: auto;
        min-width: 0;
        margin-bottom: 24px;
    }

    .facility-slider {
        flex-basis: 200px;
        height: 200px;
    }
}



/* ===== Scroll reveal animation) ===== */
/* .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}


.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
} */

/* Optional: different directions */
/* .reveal[data-reveal="left"] { transform: translateX(-28px); }
.reveal[data-reveal="right"] { transform: translateX(28px); }
.reveal[data-reveal="up"] { transform: translateY(28px); }
.reveal[data-reveal="down"] { transform: translateY(-28px); } */

/* Accessibility: respect reduced motion */
/* @media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
} */

/* ===== Scroll reveal animation (stable) ===== */
/* .reveal {
  --tx: 0px;
  --ty: 28px;

  opacity: 0;
  transform: translate(var(--tx), var(--ty));
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0px, 0px);
  filter: blur(0);
} */

/* Directions */
/* .reveal[data-reveal="left"]  { --tx: -28px; --ty: 0px; }
.reveal[data-reveal="right"] { --tx:  28px; --ty: 0px; }
.reveal[data-reveal="up"]    { --tx: 0px;  --ty: 28px; }
.reveal[data-reveal="down"]  { --tx: 0px;  --ty: -28px; }

@media (max-width:700px){
  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"]{
    --tx: 0px;
    --ty: 28px;
  }
} */
/* updated scrolling */
/* ===== Smooth reveal (performance friendly) ===== */
.reveal{
  /* default motion */
  --tx: 0px;
  --ty: 18px;

  opacity: 0;
  transform: translate3d(var(--tx), var(--ty), 0);
  transition:
    opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);

  /* small performance hint without overloading GPU */
  will-change: auto;
}

.reveal.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Direction controls (use data-reveal="left/right/up/down") */
.reveal[data-reveal="left"]  { --tx: -18px; --ty: 0px; }
.reveal[data-reveal="right"] { --tx:  18px; --ty: 0px; }
.reveal[data-reveal="up"]    { --tx: 0px;  --ty: 18px; }
.reveal[data-reveal="down"]  { --tx: 0px;  --ty: -18px; }

/* Mobile: keep it consistent and light */
@media (max-width:700px){
  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"]{
    --tx: 0px;
    --ty: 16px;
  }
}

/* Accessibility + extra smoothness */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

html, body {
  overflow-x: hidden;
}

/* ===== Facilities showcase — inspired by the reference About section ===== */
.facility {
  width: min(1180px, 88%);
  padding: 110px 0;
  text-align: left;
}

.facility-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.facility-heading__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #f44336;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.facility-heading h1 {
  max-width: 680px;
  color: #171717;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.facility-heading > p {
  max-width: 680px;
  margin-top: 16px;
  padding: 0;
  color: #686868;
  font-size: 1rem;
  line-height: 1.7;
}

.facility-showcase {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(460px, 1.18fr);
  min-height: 610px;
  overflow: hidden;
  border-radius: 24px;
  background: #171717;
  box-shadow: 0 24px 65px rgba(0, 0, 0, .14);
}

.facility-showcase__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 58px);
}

.facility-feature {
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .62);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, padding-left .25s ease;
}

.facility-feature:first-child {
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.facility-feature:hover,
.facility-feature:focus-visible,
.facility-feature.is-active {
  color: #fff;
  padding-left: 8px;
}

.facility-feature:focus-visible {
  outline: 2px solid #f44336;
  outline-offset: 4px;
}

.facility-feature__number {
  padding-top: 4px;
  color: #f44336;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.facility-feature__copy {
  display: grid;
  gap: 8px;
}

.facility-feature__copy strong {
  color: inherit;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.2;
}

.facility-feature__copy > span {
  max-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}

.facility-feature.is-active .facility-feature__copy > span {
  max-height: 130px;
  opacity: 1;
  transform: translateY(0);
}

.facility-feature i {
  margin-top: 5px;
  color: #f44336;
  opacity: .35;
  transform: rotate(-35deg);
  transition: opacity .25s ease, transform .25s ease;
}

.facility-feature.is-active i {
  opacity: 1;
  transform: rotate(0);
}

.facility-showcase__book {
  align-self: flex-start;
  margin-top: 30px;
  padding: 12px 26px;
  border: 1px solid #f44336;
  border-radius: 999px;
  color: #fff;
  background: #f44336;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.facility-showcase__book:hover,
.facility-showcase__book:focus-visible {
  color: #f44336;
  background: transparent;
  transform: translateY(-2px);
}

.facility-showcase__slider {
  height: 100%;
  min-height: 610px;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
  box-shadow: none;
}

.facility-showcase__slider::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, rgba(23, 23, 23, .55), transparent);
  pointer-events: none;
}

.facility-showcase__slider .social-slider__slide figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 90px 60px 42px;
  text-align: left;
}

.facility-showcase__slider .social-slider__slide figcaption strong {
  font-size: 1.12rem;
}

.facility-showcase__slider .social-slider__slide figcaption span {
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
}

.facility-showcase__slider .social-slider__dots {
  right: 22px;
  bottom: 24px;
  left: auto;
}

.facility-showcase__slider .social-slider__button--previous { left: 20px; }
.facility-showcase__slider .social-slider__button--next { right: 20px; }

@media (max-width: 900px) {
  .facility-showcase {
    grid-template-columns: 1fr;
  }

  .facility-showcase__slider {
    min-height: 430px;
    order: -1;
  }

  .facility-showcase__slider::after {
    inset: auto 0 0;
    width: auto;
    height: 22%;
    background: linear-gradient(transparent, rgba(23, 23, 23, .5));
  }
}

@media (max-width: 700px) {
  .facility {
    width: 90%;
    padding: 80px 0;
  }

  .facility-heading {
    margin-bottom: 30px;
  }

  .facility-showcase {
    min-height: 0;
    border-radius: 18px;
  }

  .facility-showcase__content {
    padding: 24px;
  }

  .facility-showcase__slider {
    min-height: 310px;
    height: 310px;
  }

  .facility-feature {
    grid-template-columns: 30px 1fr 18px;
    gap: 10px;
    padding: 20px 0;
  }

  .facility-feature__copy > span {
    font-size: .76rem;
  }

  .facility-showcase__slider .social-slider__slide figcaption {
    padding: 70px 48px 36px;
  }
}

/* Facilities card: description left, large sliding image right. */
.facility-about-slider {
  height: 570px;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #ffe7e5;
  aspect-ratio: auto;
  box-shadow: 0 22px 60px rgba(44, 20, 18, .13);
}

.facility-about-slider .social-slider__track {
  height: 100%;
}

.facility-about-slide {
  display: grid;
  grid-template-columns: minmax(330px, .88fr) minmax(460px, 1.12fr);
  height: 100%;
  background: linear-gradient(115deg, #ffe7e5 0%, #fff4f3 46%, #fff 46%);
}

.facility-about-slide__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 76px);
  padding-right: clamp(28px, 4vw, 58px);
}

.facility-about-slide__number {
  margin-bottom: 18px;
  color: #f44336;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.facility-about-slide__copy h2 {
  max-width: 470px;
  color: #1f1f1f;
  font-size: clamp(2rem, 3.2vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.facility-about-slide__copy p {
  max-width: 500px;
  margin: 22px 0 18px;
  padding: 0;
  color: #4f4f4f;
  font-size: .96rem;
  line-height: 1.7;
}

.facility-about-slide__copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-about-slide__copy li {
  position: relative;
  padding-left: 22px;
  color: #242424;
  font-size: .8rem;
  font-weight: 600;
}

.facility-about-slide__copy li::before {
  content: '';
  position: absolute;
  top: .48em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f44336;
}

.facility-about-slide__media {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.facility-about-slide__media::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, rgba(255, 244, 243, .9), transparent);
  pointer-events: none;
}

.facility-about-slider .facility-about-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.facility-about-slider .social-slider__button {
  top: auto;
  bottom: 28px;
  width: 40px;
  height: 40px;
  background: rgba(20, 20, 20, .72);
  transform: none;
}

.facility-about-slider .social-slider__button:hover,
.facility-about-slider .social-slider__button:focus-visible {
  background: #f44336;
  transform: scale(1.06);
}

.facility-about-slider .social-slider__button--previous {
  left: calc(44% + 24px);
}

.facility-about-slider .social-slider__button--next {
  right: 24px;
}

.facility-about-slider .social-slider__dots {
  right: 76px;
  bottom: 43px;
  left: auto;
}

@media (max-width: 900px) {
  .facility-about-slider {
    height: 760px;
  }

  .facility-about-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 330px;
    background: #ffe7e5;
  }

  .facility-about-slide__copy {
    padding: 40px 42px 30px;
  }

  .facility-about-slide__copy p {
    margin: 16px 0;
  }

  .facility-about-slide__media::after {
    inset: 0 0 auto;
    width: auto;
    height: 16%;
    background: linear-gradient(#ffe7e5, transparent);
  }

  .facility-about-slider .social-slider__button {
    bottom: 22px;
  }

  .facility-about-slider .social-slider__button--previous {
    left: 22px;
  }

  .facility-about-slider .social-slider__button--next {
    right: 22px;
  }

  .facility-about-slider .social-slider__dots {
    right: 74px;
    bottom: 37px;
  }
}

@media (max-width: 700px) {
  .facility-about-slider {
    height: 720px;
    border-radius: 18px;
  }

  .facility-about-slide {
    grid-template-rows: 1fr 270px;
  }

  .facility-about-slide__copy {
    padding: 30px 26px 22px;
  }

  .facility-about-slide__copy h2 {
    font-size: 2rem;
  }

  .facility-about-slide__copy p {
    font-size: .82rem;
    line-height: 1.55;
  }

  .facility-about-slide__copy li {
    font-size: .72rem;
  }
}

/* Final facilities layout: fixed content, sliding photos only. */
.facility-about-layout {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(500px, 1.14fr);
  min-height: 610px;
  overflow: hidden;
  border-radius: 26px;
  background: #ffe7e5;
  box-shadow: 0 22px 60px rgba(44, 20, 18, .13);
}

.facility-about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 4.5vw, 66px);
}

.facility-about-content__label {
  margin-bottom: 14px;
  color: #f44336;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.facility-about-content > h2 {
  color: #1f1f1f;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.facility-about-content > p {
  margin: 20px 0 24px;
  padding: 0;
  color: #555;
  font-size: .9rem;
  line-height: 1.65;
}

.facility-about-content__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid rgba(80, 32, 28, .13);
}

.facility-about-content__item > span {
  padding-top: 3px;
  color: #f44336;
  font-size: .68rem;
  font-weight: 700;
}

.facility-about-content__item strong {
  color: #242424;
  font-size: .95rem;
}

.facility-about-content__item p {
  margin-top: 4px;
  padding: 0;
  color: #666;
  font-size: .72rem;
  line-height: 1.45;
}

.facility-about-content__book {
  align-self: flex-start;
  margin-top: 24px;
  padding: 12px 25px;
  border: 1px solid #f44336;
  border-radius: 999px;
  color: #fff;
  background: #f44336;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.facility-about-content__book:hover,
.facility-about-content__book:focus-visible {
  color: #f44336;
  background: transparent;
  transform: translateY(-2px);
}

.facility-photo-slider {
  height: 100%;
  min-height: 610px;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
  box-shadow: none;
}

.facility-photo-slider::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 16%;
  background: linear-gradient(90deg, rgba(255, 231, 229, .88), transparent);
  pointer-events: none;
}

.facility-photo-slider .facility-photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.facility-photo-slider .facility-photo-slide figcaption {
  padding: 85px 54px 38px;
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
}

.facility-photo-slider .social-slider__button {
  width: 40px;
  height: 40px;
}

.facility-photo-slider .social-slider__button--previous { left: 22px; }
.facility-photo-slider .social-slider__button--next { right: 22px; }

.facility-photo-slider .social-slider__dots {
  right: 76px;
  bottom: 24px;
  left: auto;
}

@media (max-width: 900px) {
  .facility-about-layout {
    grid-template-columns: 1fr;
  }

  .facility-photo-slider {
    min-height: 420px;
    height: 420px;
  }

  .facility-photo-slider::before {
    inset: 0 0 auto;
    width: auto;
    height: 15%;
    background: linear-gradient(#ffe7e5, transparent);
  }
}

@media (max-width: 700px) {
  .facility-about-layout {
    border-radius: 18px;
  }

  .facility-about-content {
    padding: 30px 26px;
  }

  .facility-about-content > h2 {
    font-size: 2rem;
  }

  .facility-photo-slider {
    min-height: 300px;
    height: 300px;
  }
}












