:root {
    --premium-teal: #1E6465;
    --premium-teal-dark: #154546;
    --premium-teal-light: #e6fffa;
    --premium-black: #000000;
    --premium-gold: #c5a059;
    --premium-gray-light: #f8fafc;
    --premium-gray-text: #64748b;
    --premium-card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --premium-font: 'Outfit', 'Inter', sans-serif;
}

body {
    font-family: var(--premium-font);
    background-color: #fff;
    color: #1e293b;
    overflow-x: hidden;
}

/* --- Header Redesign --- */
.premium-header {
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.premium-header:not(.scrolled)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Slightly taller than header */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

.premium-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Clean dark shadow, NO blue */
    border-bottom: 0;
}

.premium-header.inner-header {
    background: #fff !important;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-logo-img {
    height: 38px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-premium {
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 12px !important;
    transition: all 0.3s;
}

.scrolled .nav-link-premium {
    color: #1e293b;
}

.nav-link-premium:hover {
    color: var(--premium-gold) !important;
}

.btn-premium-join {
    background: var(--premium-teal);
    color: #fff !important;
    padding: 12px 35px !important;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px -5px rgba(30, 100, 101, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-premium-join:hover {
    background: var(--premium-gold);
    color: #fff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(197, 160, 89, 0.5);
}

/* Custom Hamburger Icon */
.premium-hamburger {
    width: 26px;
    height: 18px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--premium-teal);
    border-radius: 10px;
    transition: all 0.3s;
}

.scrolled .premium-hamburger span {
    background: var(--premium-teal);
}

.premium-header:not(.scrolled) .premium-hamburger span {
    background: #fff;
}

.premium-hamburger span:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.premium-hamburger:hover span:nth-child(2) {
    width: 100%;
}

/* --- Hero Section --- */
.premium-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%);
    z-index: 2;
}

.hero-content-wrap {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-lead-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
}

/* --- Premium Cards & Carousels --- */
.premium-card {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: var(--premium-card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.card-img-wrap {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

/* --- Keystone Membership (Black Section) --- */
.keystone-section {
    background: var(--premium-black);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.keystone-title {
    color: var(--premium-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 2000;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}

.m-nav-item {
    text-align: center;
    color: var(--premium-gray-text);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
}

.m-nav-item i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 4px;
}

.m-nav-item.active {
    color: var(--premium-teal);
}

.m-nav-brand-btn {
    width: 60px;
    height: 60px;
    background: var(--premium-teal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -35px;
    box-shadow: 0 10px 20px rgba(30, 100, 101, 0.3);
    border: 5px solid #fff;
}

.m-nav-brand-btn i {
    font-size: 1.5rem;
    margin: 0;
}

/* --- Scroll to Top Button --- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    width: 60px;
    height: 60px;
    background: var(--premium-teal);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(30, 100, 101, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background: var(--premium-teal-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 100, 101, 0.5);
}

@media (max-width: 991px) {
    #scrollTopBtn {
        bottom: 90px;
        /* Above the mobile bottom nav */
        width: 50px;
        height: 50px;
        right: 20px;
    }
}

/* --- Utility Classes --- */
.text-gold {
    color: var(--premium-gold) !important;
}

.bg-premium-teal {
    background-color: var(--premium-teal) !important;
}

.text-shadow-luxury {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 1);
}

.luxury-heading-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--premium-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.glass-card-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card-premium:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--premium-gold);
    transform: translateY(-15px) scale(1.02);
}

.gold-glow-border {
    border: 2px solid var(--premium-gold);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 991px) {
    .premium-header {
        padding: 8px 0;
    }

    .header-logo-img {
        height: 28px !important;
    }

    .mobile-ui-group {
        gap: 1.25rem !important;
    }

    .mobile-ui-group i {
        font-size: 1.2rem !important;
    }

    .mobile-ui-group .btn-premium-join {
        padding: 6px 16px !important;
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
    }

    .premium-hero {
        height: auto;
        min-height: 80vh;
    }

    .hero-content-wrap {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-lead-form {
        margin-top: 0;
    }

    .hero-headline {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Ensure containers don't overflow */
    .container,
    .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
}

/* --- Section Textures & Patterns (More Visible) --- */
.bg-premium-pattern {
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%231e6465' fill-opacity='0.08'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h40v40H40V0zM0 40h40v40H0V40z'/%3E%3C/g%3E%3C/svg%3E");
}

.bg-dot-pattern {
    background-color: #ffffff;
    background-image: radial-gradient(#1e646526 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-image-section {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

.bg-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.3s;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.amenity-img-box {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.amenity-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.amenity-img-box:hover img {
    transform: scale(1.1);
}

.bg-image-section>.container {
    position: relative;
    z-index: 2;
}

.bg-gradient-soft {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* --- Footer Refinement (Club Mahindra Style) --- */
.premium-footer {
    background: #0d2e2f;
    /* Deep Teal */
    color: #fff;
    padding-top: 80px;
    padding-bottom: 20px;
    border-top: 5px solid var(--premium-gold);
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.footer-heading {
    color: #c5a059;
    /* Gold */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #c5a059;
    padding-left: 5px;
}

.footer-bottom-wrap {
    background: #081d1e;
    padding: 20px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}