/* =========================================
   1. CSS VARIABLES (THE CONTROL CENTER)
   ========================================= */
:root {
    /* --- BRAND COLORS --- */
    --primary-color: #009999;
    --secondary-color: #006666;
    /* Darker shade for hover */

    /* Backgrounds */
    --bg-light: #f4fbfb;
    --white: #ffffff;
    --accent-color: #d4af37;

    /* --- TYPOGRAPHY --- */
    --text-dark: #333333;
    --text-light: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* --- STYLING PRESETS --- */
    --radius: 12px;
    --shadow-card: 0 10px 30px rgba(0, 153, 153, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 153, 153, 0.2);
    --transition: all 0.3s ease;
}



/* =========================================
   2. RESET & BASICS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Watermark Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/logo.jpg');
    background-repeat: repeat;
    background-size: 250px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* =========================================
   3. NAVIGATION BAR (DESKTOP)
   ========================================= */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

/* --- BASE LINK STYLE --- */
.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

/* --- ANIMATED UNDERLINE (Excludes Membership Button) --- */
/* Only adds spacing and line logic to standard links */
.nav-link:not(.btn-highlight) {
    padding-bottom: 5px;
}

/* The Hidden Line */
.nav-link:not(.btn-highlight)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

/* Hover & Active: Change Text Color (Standard Links Only) */
.nav-link:not(.btn-highlight):hover,
.nav-link:not(.btn-highlight).active {
    color: var(--primary-color);
    background-color: transparent;
}

/* Hover & Active: Draw Line (Standard Links Only) */
.nav-link:not(.btn-highlight):hover::after,
.nav-link:not(.btn-highlight).active::after {
    width: 100%;
}

/* --- MEMBERSHIP BUTTON SPECIFICS --- */
/* Ensures the button keeps its solid look */
.nav-link.btn-highlight {
    color: var(--white) !important;
    background-color: var(--primary-color);
}

.nav-link.btn-highlight:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
    color: var(--white) !important;
}

/* GLOBAL BUTTON STYLES */
.btn-highlight {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-highlight:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.btn-outline {
    border: 2px solid white;
    color: white !important;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s;
    background: transparent;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: #333 !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* =========================================
   4. DROPDOWN MENUS
   ========================================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-card);
    border-radius: 4px;
    z-index: 1000;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a.active {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    background-color: rgba(0, 0, 0, 0.03);
}

/* =========================================
   5. PAGE SECTIONS (HERO & INTRO)
   ========================================= */
.page-content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content p,
.page-content h1,
.page-content h2,
.page-content h3 {
    margin: 20px;
}

/* Base Hero Styles */
.home-hero,
.membership-hero,
.rooms-hero,
.page-hero,
.service-hero,
.cta-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    height: auto;
    padding-top: 40px;
    padding-bottom: 20px;
}

/* The Overlay Box */
.hero-overlay {
    background: linear-gradient(
        to bottom, 
        rgba(2, 170, 170, 0.3),  /* Light Tint at top */
        rgba(7, 44, 44, 0.9)     /* Dark Teal/Green at bottom */
    );
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.hero-overlay h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
}

/* Intro Text */
.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.service-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-intro h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    /* Space below the header */
    padding-top: 40px;
    /* Space above the header */
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
}

/* =========================================
   6. CARDS & GRIDS
   ========================================= */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-features {
    background-color: #f8fafc;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-features h3 {
    width: 100%;
    text-align: center;
    color: #00897b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card,
.event-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover,
.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--primary-color);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-card:hover i {
    transform: scale(1.1);
    background: var(--primary-color);
    color: var(--white);
}

/* =========================================
   7. RECENT EVENTS SPECIFIC
   ========================================= */
.recent-events {
    background-color: var(--bg-light);
    padding: 80px 0;
    border-top: 1px solid #eaeaea;
}

.event-img-wrap {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-card:hover .event-img-wrap img {
    transform: scale(1.1);
}

.event-info {
    padding: 20px;
    text-align: center;
}

/* =========================================
   8. SCROLL ANIMATIONS
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.from-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.from-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =========================================
   9. SIDE-BY-SIDE LAYOUT (ZIG-ZAG)
   ========================================= */
.service-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin: 60px 0;
    position: relative;
}

.service-details h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-color);
}

.service-details h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

.service-cta {
    padding: 40px;
}

.split-text,
.split-image {
    flex: 1;
    width: 50%;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

/* =========================================
   10. FOOTER
   ========================================= */
.site-footer {
    background-color: #ffffff;
    padding-top: 80px;
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-heading,
.footer-brand-title {
    font-family: var(--font-heading);
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.footer-brand-title {
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.footer-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.icon-list i {
    font-size: 1.2rem;
    width: 20px;
    color: #555;
}

.footer-logo img {
    height: 80px;
    width: auto;
    display: block;
}

.footer-bottom {
    background-color: #f9fbfb;
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.footer-bottom .text-highlight {
    color: var(--primary-color); 
    font-weight: 600;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* =========================================
   11. CONTACT PAGE STYLES (PREMIUM DESKTOP)
   ========================================= */

/* 1. HERO ALIGNMENT */
/* Note: Background gradient is handled by your Master Hero rule */
.contact-hero-bg {
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. MAIN LAYOUT WRAPPER */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* 1/3 Info, 2/3 Form */
    gap: 80px;
    margin-top: -60px;
    /* Pulls content up over the hero */
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

/* 3. LEFT COLUMN: INFO & ICONS */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.intro-text {
    margin-bottom: 50px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Floating Icon Boxes */
.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    /* Slide right */
}

@keyframes icon-heartbeat {
    0% {
        transform: scale(1); /* Normal size */
    }
    50% {
        transform: scale(1.2); /* Grows 20% bigger */
    }
    100% {
        transform: scale(1); /* Back to normal */
    }
}

.info-item .icon-box i {
    display: inline-block; /* Crucial: Allows the icon to transform */
    color: var(--primary-color); /* Ensure it's your brand color */
    
    /* The Animation: 1.5s speed, runs forever, smooth ease-in-out */
    animation: icon-heartbeat 1.5s infinite ease-in-out;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    /* Perfect Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    flex-shrink: 0;
}

.info-item:hover .icon-box {
    background: var(--primary-color);
    box-shadow: var(--shadow-hover);
    animation-play-state: paused;
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.info-item:hover .icon-box i {
    color: var(--white);
}

.info-text h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.info-text p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* 4. RIGHT COLUMN: GLASS FORM */
.form-container {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    /* Deep Shadow */
    position: relative;
    overflow: hidden;
}

/* Accent Top Bar */
.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-container label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    color: var(--text-light);
}

/* Stylish Inputs */
.form-container input,
.form-container textarea {
    border: none;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 18px 20px;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-container input:focus,
.form-container textarea:focus {
    background-color: var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
    /* Glow Ring */
    outline: none;
    transform: translateY(-2px);
}

.form-container textarea {
    height: 150px;
    resize: none;
}

/* Full Width Button */
.form-container .btn-highlight {
    background: var(--primary-color);
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: var(--radius);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-card);
    margin-top: 10px;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.form-container .btn-highlight:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* 5. MAP SECTION */
.map-section {
    width: 100%;
    margin-top: 100px;
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    /* B&W Map */
    transition: var(--transition);
}

.map-section:hover iframe {
    filter: grayscale(0%);
    /* Color on Hover */
}

/* =========================================
   12. MEMBERSHIP DASHBOARD
   ========================================= */
.membership-hero {
    background-image: url('../img/membership-hero.jpg');
}

.membership-dashboard {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-col-left {
    flex: 1.4;
}

.dashboard-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Flip Cards */
.flip-card {
    background-color: transparent;
    width: 100%;
    perspective: 1000px;
    cursor: pointer;
}

.card-tall {
    height: 600px;
}

.card-short {
    height: 285px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    will-change: transform;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
}

.flip-card-front {
    z-index: 2;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.small-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.flip-card-front h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-short h3 {
    font-size: 1.6rem;
}

.click-hint {
    margin-top: 20px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
}

.flip-card-back {
    transform: rotateY(180deg);
    justify-content: flex-start;
    padding-top: 30px;
    background: white;
    color: #333;
}

.back-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.back-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #000;
}

.close-icon {
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.price-list {
    width: 100%;
    text-align: left;
}

.scrollable-list {
    overflow-y: auto;
    max-height: 480px;
    padding-right: 5px;
    width: 100%;
}

.scrollable-list::-webkit-scrollbar {
    width: 4px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

.price-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.price-list strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.price-list span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.95;
    display: none;
    /* Accordion hidden default */
}

.year-price {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
    display: none;
}

/* Accordion Logic */
.price-list li::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
}

.price-list li.active {
    background: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 8px;
}

.price-list li.active span,
.price-list li.active .year-price {
    display: block;
}

.price-list li.active::after {
    content: '-';
}

/* Card Colors */
.gold-bg {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    color: #5c4508;
}

.gold-bg .card-icon {
    color: #5c4508;
    background: rgba(92, 69, 8, 0.1);
}

.gold-bg h3,
.gold-bg .click-hint {
    color: #5c4508;
}

.gold-bg-dark {
    background: linear-gradient(135deg, #a67c00, #bf953f);
    color: white;
}

.silver-bg {
    background: linear-gradient(135deg, #9c9e9f, #f6f6f6, #b0b2b3);
    color: #333;
}

.silver-bg .card-icon {
    color: #333;
    background: rgba(0, 0, 0, 0.1);
}

.silver-bg h3,
.silver-bg .click-hint {
    color: #333;
}

.silver-bg-dark {
    background: linear-gradient(135deg, #757F9A, #D7DDE8);
    color: #222;
}

.bronze-bg {
    background: linear-gradient(135deg, #804a00, #b08d55, #895100);
    color: #fff;
}

.bronze-bg-dark {
    background: linear-gradient(135deg, #603813, #b29f94);
    color: #fff;
}

/* =========================================
   MULTI-SELECT RADIO STYLING
   ========================================= */

.custom-checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 5px;
}

/* Hide the real checkbox */
.custom-checkbox-item input[type="checkbox"] {
    display: none;
}

/* The Fake Circle */
.fake-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%; /* Makes it round */
    margin-right: 8px;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
    background: #fff;
    flex-shrink: 0;
}

/* Checked State: Turn Teal with White Dot */
.custom-checkbox-item input:checked + .fake-radio {
    background-color:var(--primary-color);
    border-color:var(--primary-color);
    box-shadow: inset 0 0 0 4px #fff; /* Creates the white dot inside */
}

/* Optional: Bold text when selected */
.custom-checkbox-item input:checked {
    font-weight: bold;
    color: #009999;
}

/* =========================================
   13. MEMBERSHIP FORM
   ========================================= */
.form-section {
    padding-bottom: 80px;
    background-color: #fff;
}

.form-container-wide {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}

.form-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e1e1;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.membership-options-box {
    background-color: #eef2f3;
    padding: 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.membership-options-box h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
    padding-bottom: 10px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.option-col {
    padding-right: 20px;
}

.border-right {
    border-right: 1px solid #ccc;
}

.plan-item {
    margin-bottom: 25px;
}

.plan-item h5 {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 8px;
}

.radio-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-row label {
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.radio-row input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #555;
    margin: 0;
}

.small-note {
    font-size: 0.75rem;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

/* Radio Inline Group */
.radio-inline-group {
    display: flex;
    gap: 30px;
    padding-top: 12px;
}

.radio-inline-group label {
    font-weight: normal;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #444;
}

.radio-inline-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin: 0;
    display: grid;
    place-content: center;
    transition: all 0.2s;
}

.radio-inline-group input[type="radio"]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.2s transform ease-in-out;
    background-color: white;
}

.radio-inline-group input[type="radio"]:checked {
    border-color: #567c80;
    background-color: #567c80;
}

.radio-inline-group input[type="radio"]:checked::before {
    transform: scale(1);
}

/* Stripe Payment */
.payment-section {
    margin-top: 40px;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    background-color: #fafafa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
}

.payment-section h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.payment-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.stripe-card-container {
    background-color: white;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.secure-badge {
    font-size: 0.85rem;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

#card-errors {
    color: #fa755a;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* =========================================
   14. OUR ROOMS PAGE
   ========================================= */
.rooms-hero {
    background-image: url('../img/rooms-hero.jpg');
}

.intro-text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.intro-text-center h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.intro-text-center p {
    color: #666;
    font-size: 1.1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 60px;
}

.room-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.room-img {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-img img {
    transform: scale(1.05);
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(86, 124, 128, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.btn-overlay {
    background: #fff;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.room-details {
    padding: 15px;
}

.room-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.room-desc {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 45px;
}

.capacity-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f9f9f9;
    padding: 5px;
    border-radius: 6px;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
}

.cap-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.cta-section {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 20px;
    border-radius: 8px;
    margin-bottom: 60px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    color: #333;
    margin-bottom: 10px;
}

.cta-section p {
    color: #666;
    margin-bottom: 30px;
}

/* =========================================
   15. ABOUT & FEATURES
   ========================================= */
.about-hero {
    background-image: url('../img/about-hero.jpg');
    background-position: center;
}

.about-text-section {
    padding: 60px 0;
    background: #fff;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.why-choose-us {
    background-color: #f4f4f4;
    padding: 80px 20px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* =========================================
   16. COACHES SECTION (FLIP MODAL)
   ========================================= */
.coaches-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.coaches-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.coach-card-wrapper {
    height: 450px;
    width: 100%;
}

.coach-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    cursor: pointer;
    will-change: transform;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.coach-card.is-expanded {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 10001 !important;
    border-radius: 12px;
}

.coach-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.coach-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.coach-front,
.coach-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.coach-front {
    background-color: #f0f4f5;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.coach-img-wrapper {
    height: 75%;
    position: relative;
}

.coach-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.coach-info-front {
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #eef5f6;
}

.coach-info-front h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.coach-role {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 5px;
}

.tap-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    pointer-events: none;
}

.coach-back {
    transform: rotateY(180deg);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: left;
}

.coach-back-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    flex-shrink: 0;
}

.mini-profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #eee;
}

.mini-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

.coach-role-back {
    display: block;
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-card-btn {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.close-card-btn:hover {
    color: #333;
}

.coach-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.detail-block {
    margin-bottom: 25px;
}

.detail-block h4 {
    font-size: 1rem;
    color: #888;
    margin-bottom: 8px;
    font-weight: normal;
}

.highlight-text {
    font-weight: 600;
    color: #555;
    font-style: italic;
}

.detail-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.coach-back-footer {
    padding: 15px 30px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    flex-shrink: 0;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-row a {
    width: 35px;
    height: 35px;
    background-color: #567c80;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* =========================================
   17. HOME COMPONENTS (VIDEO, SLIDERS, REVIEWS)
   ========================================= */

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding-bottom: 20px;
    flex: 0 1 350px;
    min-width: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
    position: relative;
    height: 200px;
    width: 100%;
    background-color: #f0f0f0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: visible;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    top: 175px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid white;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
    padding: 0 15px;
}

.rooms-slider-section {
    padding: 80px 0;
    background: #f9f9f9;
    overflow: hidden;
}

.room-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.room-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.room-slide {
    min-width: 400px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.room-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background-color: #eee;
}

.slide-content {
    padding: 20px;
}

.slide-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.slide-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    color: #333;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.cta-hero {
    background-image: url('../img/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.cta-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(86, 124, 128, 0.9);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.reviews-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.review-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: 20px;
}

.review-card .stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.review-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-card h4 {
    font-weight: bold;
    color: var(--primary-color);
}

.review-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-color);
}

/* =========================================
   18. MASTER MOBILE SECTION (READABLE & FIXED)
   ========================================= */
@media (max-width: 768px) {

 /* --- A. Navigation & Dropdowns (FIXED) --- */
    .mobile-toggle {
        display: block;
        margin-top: 0 !important;
    }

    .navbar {
        height: 90px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Floating Menu Container */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px !important;
        right: 10px;
        width: 70%;
        background-color: var(--bg-light); /* Ensure var exists or use #fff */
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding-top: 10px;
        padding-bottom: 15px;
        z-index: 9999;
        border-radius: 20px;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-menu li a {
        display: block;
        position: relative;
        padding: 10px 20px !important;
        text-align: left;
        width: 93%;
        font-size: 1rem !important;
        line-height: 1.2;
        text-decoration: none !important;
        color: var(--text-dark); /* Default Color */
        font-weight: 500;
    }

    /* --- UNDERLINE LOGIC (STRICT) --- */
    
    /* 1. Default State: Invisible Underline */
    .nav-menu li a:not(.btn-highlight)::after {
        content: "";
        position: absolute;
        left: 20px; /* Aligns with padding */
        bottom: 5px;
        width: 0; /* MUST be 0 width by default */
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease-out;
    }

    /* 2. Active State: ONLY the current page gets the line */
    .nav-menu li.active > a:not(.btn-highlight)::after {
        width: 60px; /* Shows the line */
    }
    
    /* 3. Active State: Change text color slightly */
    .nav-menu li.active > a:not(.btn-highlight) {
        color: var(--primary-color);
    }

    /* 4. DISABLE HOVER on mobile to prevent "Sticky" active look */
    .nav-menu li a:not(.btn-highlight):hover::after {
        width: 0; 
    }

    /* Dropdown Logic */
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        border-top: 1px solid #eee;
        display: none !important;
        margin-top: 5px;
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-menu li a {
        padding-left: 35px !important;
        font-size: 0.9rem !important;
        color: var(--text-light);
    }
    /* --- B. Glass Hero --- */
    .hero-overlay {
        background: linear-gradient(
            to bottom, 
            rgba(2, 170, 170, 0.3),  /* Light Tint at top */
            rgba(7, 44, 44, 0.9)     /* Dark Teal/Green at bottom */
        );
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 24px !important;
        padding: 30px 20px !important;
        width: 90% !important;
        margin: 0 auto;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

    .hero-overlay h1,
    .home-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 15px !important;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    .hero-overlay p,
    .home-hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        opacity: 1 !important;
    }

    /* --- C. Modern Buttons --- */
    .hero-btns {
        flex-direction: column;
        gap: 12px !important;
        width: 100%;
        margin-top: 20px !important;
    }

    .btn-highlight,
    .hero-btns .btn-outline {
        width: 100% !important;
        max-width: none !important;
        padding: 14px 0 !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 15px !important;
        display: block !important;
        text-align: center;
    }

    .btn-highlight {
        background: linear-gradient(90deg, #009999, #007f7f) !important;
        border: none !important;
    }

    /* --- D. Typography Scaling --- */
    .service-intro h2,
    .section-header h2,
    .intro-text-center h2 {
        font-size: clamp(1.5rem, 5vw, 1.8rem) !important;
        line-height: 1.25 !important;
    }

    /* --- E. Contact Page (Premium Mobile) --- */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 0;
        padding: 0 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .section-title {
        text-align: center;
    }

    .intro-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .info-item {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .info-item:hover {
        transform: none;
    }

    /* --- F. General Grids & Layouts --- */
    
    /* 1. Standard Stacked Grids */
    .features-grid,
    .coaches-grid,
    .rooms-grid,
    .options-grid {
        grid-template-columns: 1fr;
    }

    /* 2. FOOTER FIX (2-Column Compact Layout) */
    footer .container, 
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns side-by-side */
        gap: 30px 15px;
        text-align: left;
    }

    .footer-container {
        text-align: left;
    }

    /* Make the Logo/About text (First Column) span full width */
    footer .footer-col:first-child {
        grid-column: 1 / -1; 
        margin-bottom: 10px;
    }

    /* Compact Headings */
    footer h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        margin-top: 0;
    }

    /* Compact Links */
    footer ul li a {
        font-size: 0.9rem;
        padding: 5px 0;
        display: block;
    }

    /* Ensure Copyright Bar stays at the bottom full width */
    footer .copyright-bar {
        grid-column: 1 / -1;
        margin-top: 20px;
        text-align: center;
    }

    /* --- G. Membership Dashboard --- */
    .membership-dashboard {
        flex-direction: column;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .dashboard-col-left,
    .dashboard-col-right {
        width: 100%;
        max-width: 400px;
        flex: none;
    }

    .card-tall { height: 550px; }
    .card-short { height: 350px; }

    .flip-card-back {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* --- H. Image & Slider Adjustments --- */
    .room-img { height: 200px; }
    .slider-btn { display: none; }
    .room-track { overflow-x: auto; padding-bottom: 20px; }
    .room-slide { min-width: 300px; }

    .service-details { flex-direction: column !important; }
    
    .split-text,
    .split-image {
        width: 100%;
        flex: none;
    }

    .split-image { margin-top: 30px; }

    /* --- I. Membership Form (Mobile) --- */
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 30px !important;
    }

    .membership-options-box { padding: 25px 15px !important; }

    .option-col {
        border-right: none !important;
        border-bottom: 1px solid #ccc;
        padding-bottom: 25px !important;
        margin-bottom: 25px !important;
        padding-right: 0 !important;
    }

    .option-col:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .radio-inline-group {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .payment-section { padding: 20px 15px !important; }

    /* --- J. COACHES & SCROLL FIXES --- */
    .coach-back {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        overflow: hidden;
    }

    .coach-scroll-area {
        flex: 1;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto !important;
        position: relative;
        z-index: 10;
    }

    .coach-back-header,
    .coach-back-footer {
        flex-shrink: 0;
        position: relative;
        z-index: 20;
    }

    .coach-clone.is-expanded .coach-back {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        max-height: 100% !important;
        width: 100% !important;
        transform: rotateY(180deg) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        overflow: hidden !important;
        border-radius: 15px !important;
    }

    .coach-clone.is-expanded .coach-scroll-area {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        display: block !important;
        overflow-y: auto !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: auto !important;
        padding: 15px 20px;
        color: #333 !important;
    }

    .coach-clone.is-expanded .coach-back-header,
    .coach-clone.is-expanded .coach-back-footer {
        flex: 0 0 auto !important;
        width: 100%;
    }

    .coach-clone.is-expanded .coach-front {
        display: none !important;
        pointer-events: none !important;
    }
}