/* ==========================================================================
   CSS Variables & Base Reset
   ========================================================================== */
:root {
    --brand-dark: #393685;
    --brand-light: #4b4b8f;
    --brand-accent: #6ec1e4;
    --surface: #fff;
    --text-main: #333333;
    --text-muted: #626262;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --font-main: "Poppins", sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
}


/* width */
::-webkit-scrollbar {
  width: 5px;
}

iframe.g-map{width: 100%; height: 450px;}
/* Track */
::-webkit-scrollbar-track {
  background: #004ea;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #393685;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.doc-section {
    scroll-margin-top: 120px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==========================================================================
   Layout & Typography Helpers
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.container.small { max-width: 940px; }
.topmrminus { margin-top: -40px; }
.section-padding { padding-top: 60px; padding-bottom: 60px; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

h1, h2, h3, h4 {
    color: var(--brand-dark);
    font-weight: 300;
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-main);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background-color: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(57, 54, 133, 0.35);
}

.btn-outline {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f0f0fa;
    color: var(--brand-dark);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-main);
    border: 1.5px dashed #a0a0d0;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-outline:hover {
    background-color: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(57, 54, 133, 0.25);
}

.btn-outline i,
.btn-outline svg {
    font-size: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--brand-dark);
    line-height: 1.2;
}

.logo-text span {
    font-weight: 400;
    font-size: 12px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-dark);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--brand-dark); }
.nav-links a:hover::after { width: 100%; }

@media (max-width: 992px) { .nav-links { display: none; } }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    display: flex;
    flex-wrap: wrap;
    /* min-height: 600px; */
    background-color: var(--surface);
    padding: 100px 5% 0;
}

.hero-left,
.hero-right {
    width: 50%;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
}

.hero-left {
    
    text-align: center;
    position: relative;
}

.hero-left img { width: 100%; }

.hero-right {
    background: url(../images/texture.jpg) no-repeat center center;
    background-size: cover;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.02);
    flex-direction: column;
}

.bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

.hero-left .content { position: relative; z-index: 1; }
.heroslider { float: left; width: 100%; list-style: none; }

.hero-right h2 {
    font-size: 36px;
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.3;
}

.hero-right h2 span { font-weight: 300; }

.hero-right p {
    color: var(--text-muted);
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero-left, .hero-right { width: 100%; padding: 40px 8px; }
    .hero-right { box-shadow: none; }
}

/* ==========================================================================
   Floating Contact Form
   ========================================================================== */
.contact-floater {
    position: relative;
    z-index: 20;
    max-width: 1000px;
    margin: -40px auto 40px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-text p:first-child {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-text p:last-child {
    color: var(--brand-light);
    font-size: 24px;
    font-weight: 300;
}

.contact-form-group {
    display: flex;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Field with floating label */
.field-holder {
    position: relative;
    margin-top: 10px;
    flex: 1;
    min-width: 140px;
}

.field-holder label {
    position: absolute;
    background-color: var(--white);
    padding: 0 5px;
    top: 3px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-dark);
    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 1;
}

.field-holder input,
.contact-form-group input {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text-main);
    background: var(--white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field-holder input:focus,
.contact-form-group input:focus {
    outline: none;
    border-color: var(--brand-dark);
    box-shadow: 0 0 0 3px rgba(57, 54, 133, 0.1);
}

/* Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #111 !important;
    transition: background-color 5000s ease-in-out 0s;
}

@media (max-width: 768px) {
    .contact-floater { margin: 20px; flex-direction: column; align-items: flex-start; }
    .contact-form-group { width: 100%; }
}

/* ==========================================================================
   Two-Column Split Layouts
   ========================================================================== */
.biophilic .spacetop { padding-top: 60px; }

.split-section {
    display: flex;
    align-items: center;
    gap: 40px;
    background: url(../images/texture.jpg) repeat center center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    margin-bottom:60px;
    overflow: hidden;
}

.split-section.reverse { flex-direction: row-reverse; }

.split-section.no-bg {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.split-half { width: 50%; }

.split-half.left { padding: 40px 0px 40px 60px; }
.split-half.left aside {
    border-right: 1px dashed #B2B2B2;
    padding-right: 40px;
}

.split-half img { width: 100%; object-fit: cover; }

.split-half h3 {
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.split-half p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-weight: 300;
}

.split-half ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.split-half ul li::before {
    content: '•';
    color: var(--brand-dark);
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.border-left-title {
    border-left: 4px solid var(--brand-dark);
    padding-left: 20px;
}

@media (max-width: 768px) {
    .split-section, .split-section.reverse { flex-direction: column; padding: 20px; }
    .split-half { width: 100%; }
    .split-half.left { padding: 20px; }
}

/* ==========================================================================
   Highlights Grid
   ========================================================================== */
.highlights { position: relative; z-index: 5; }

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.highlight-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    cursor: default;
}

.highlight-card:hover {
    background-color: var(--brand-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-light);
}

.highlight-card .val {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-light);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.highlight-card .desc {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.highlight-card:hover .val,
.highlight-card:hover .desc { color: var(--white); }

@media (max-width: 768px) {
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Amenities Grid
   ========================================================================== */
.amenities-section {
    background: url(../images/amenities_bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    color: var(--white);
}

.amenities-section .section-title {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}
/* 
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.amenity-item:hover,
.amenity-item.active {
    background-color: #5eb3d9;
    border-color: #5eb3d9;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(94, 179, 217, 0.35);
} */


.amenities-grid {
    /* Swap grid for flexbox */
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This perfectly centers the bottom row */
    gap: 16px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.amenity-item {
    /* Calculate exact width for 5 items: (100% - total gap space) / 5 */
    /* 4 gaps * 16px = 64px */
    width: calc((100% - 64px) / 5); 
    
    /* Your existing properties remain unchanged below */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.amenity-item:hover,
.amenity-item.active {
    background-color: #5eb3d9;
    border-color: #5eb3d9;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(94, 179, 217, 0.35);
}
 

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.amenity-item span {
    font-size: 13px;
    max-width: 130px;
    line-height: 1.5;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.3px;
}


.amenity-icon {
    width: 48px;
    height: 48px;
    background-image: url('../images/amentitis_ic.png');
    background-repeat: no-repeat;
    display: block;
}

/* Each icon's X position — top row (normal state) */
.icon-pool        { background-position: 0px      0px; }
.icon-gym         { background-position: -120px    0px; }
.icon-indoor      { background-position: -240px   0px; }
.icon-tennis      { background-position: -360px   0px; }
.icon-jogging     { background-position: -470px   0px; }
.icon-amphitheatre{ background-position: -580px   0px; }
.icon-kids        { background-position: -690px   0px; }
.icon-rooftop     { background-position: -810px   0px; }
.icon-reflexology { background-position: -930px   0px; }

/* Hover — bottom row */
.amenity-item:hover .icon-pool        { background-position: 0px      -60px; }
.amenity-item:hover .icon-gym         { background-position: -120px    -60px; }
.amenity-item:hover .icon-indoor      { background-position: -240px   -60px; }
.amenity-item:hover .icon-tennis      { background-position: -360px   -60px; }
.amenity-item:hover .icon-jogging     { background-position: -470px   -60px; }
.amenity-item:hover .icon-amphitheatre{ background-position: -580px   -60px; }
.amenity-item:hover .icon-kids        { background-position: -690px   -60px; }
.amenity-item:hover .icon-rooftop     { background-position: -810px   -60px; }
.amenity-item:hover .icon-reflexology { background-position: -930px   -60px; }

/* Active card same as hover */
.amenity-item.active .icon-pool        { background-position: 0px      -60px; }
.amenity-item.active .icon-gym        { background-position: -120px    -60px; }
.amenity-item.active .icon-indoor      { background-position: -240px   -60px; }
.amenity-item.active .icon-tennis      { background-position: -360px   -60px; }
.amenity-item.active .icon-jogging     { background-position: -470px   -60px; }
.amenity-item.active .icon-amphitheatre{ background-position: -580px   -60px; }
.amenity-item.active .icon-kids        { background-position: -690px   -60px; }
.amenity-item.active .icon-rooftop     { background-position: -810px   -60px; }
.amenity-item.active .icon-reflexology { background-position: -930px   -60px; }
@media (max-width: 992px) {
    .amenities-grid { grid-template-columns: repeat(3, 1fr); }
    .amenities-section .section-title { font-size: 36px; margin-bottom: 40px; }
}

@media (max-width: 768px) {
    .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .amenities-section { padding: 60px 0; }
    .amenities-section .section-title { font-size: 28px; margin-bottom: 36px; letter-spacing: 1px; }
    .amenity-icon { font-size: 30px; }
    .amenity-item span { font-size: 12px; }
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
    position: relative;
    cursor: pointer;
    height: 650px;
    overflow: hidden;
}

.video-section {
    position: relative;  /* already in your CSS — just confirm */
}

.video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-section video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background 0.3s ease;
}

.video-section:hover .video-overlay { background: rgba(0, 0, 0, 0.45); }

.video-overlay i {
    font-size: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.video-section:hover .video-overlay i { transform: scale(1.12); }

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    background-color: var(--brand-dark);
    padding: 80px 0;
}

.gallery-section .section-title { color: var(--white); }

.slick-slider-wrapper { margin: 0 60px; }

.slide-item {
    padding: 0 15px;
    outline: none;
    position: relative;
}

.slide-item img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    padding: 14px 24px;
    background-color: var(--brand-dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-caption::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("../images/link_ic.png");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

/* Slick arrows — shared style for gallery + floorplan */
.gallery-section .slick-prev,
.gallery-section .slick-next,
#floorplan .slick-prev,
#floorplan .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #212056;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

.gallery-section .slick-prev:hover,
.gallery-section .slick-next:hover,
#floorplan .slick-prev:hover,
#floorplan .slick-next:hover {
    background-color: #15143a;
    transform: translateY(-50%) scale(1.08);
}

.gallery-section .slick-prev,
#floorplan .slick-prev { left: -60px; }

.gallery-section .slick-next,
#floorplan .slick-next { right: -60px; }

/* Hide default slick text arrow */
.gallery-section .slick-prev::before,
.gallery-section .slick-next::before,
#floorplan .slick-prev::before,
#floorplan .slick-next::before {
    opacity: 1;
    color: white;
    font-size: 0;
    display: block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.gallery-section .slick-prev::before,
#floorplan .slick-prev::before {
    content: '';
    background-image: url("../images/arrow_l.png");
}

.gallery-section .slick-next::before,
#floorplan .slick-next::before {
    content: '';
    background-image: url("../images/arrow_r.png");
}

/* ==========================================================================
   Floor Plan Tabs
   ========================================================================== */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--border-color);
    margin:0 auto 20px;
    width: fit-content;
    padding: 0 20%;
}

.tab-link {
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.tab-link:hover { color: var(--text-main); }

.tab-link.active {
    color: var(--brand-dark);
    font-weight: 600;
    border-bottom-color: var(--brand-dark);
}

.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.filter-wrapper select {
    padding: 9px 16px;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.filter-wrapper select:focus { border-color: var(--brand-dark); }

.btndwnbrochure{margin-top: 40px;}

/* Plan Card */
.plan-card-inner {
    background: var(--white);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.plan-card-inner img { box-shadow: none; }

.plan-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 24px;
    background-color: var(--brand-dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-title::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("../images/link_ic.png");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.static-tab-info {
    background: var(--white);
    padding: 10px;
    text-align: center;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    border: 1px solid #f0f0f0;
}

.static-tab-info i { font-size: 40px; margin-bottom: 15px; }

/* ==========================================================================
   Map Container
   ========================================================================== */
.map_container {
    margin: -30px auto 0;
    position: relative;
    background-color: var(--white);
    padding: 40px 60px;
}

/* ==========================================================================
   Misc Helpers
   ========================================================================== */
.highlight-banner { padding: 0 5%; }
.mrbtmnone { margin-bottom: 0; }
.biophilic { position: relative; }
.compoft-privacy { position: relative; padding: 40px 60px; background-color: var(--white); }
.w30 { width: 30%; }
.w70 { width: 70%; }
.white-bg { background-color: var(--white); }
.padd40 { padding: 20px 40px; }
.banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Top Popup / Modal Form
   ========================================================================== */
.toppopup .contact-form { box-shadow: none; display: block; }
.toppopup .contact-form .form-inline { display: block; }
.toppopup .contact-form .form-btn .submit {
    background-color: var(--brand-dark);
    width: 100%;
    padding: 13px 20px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.toppopup .modal-content .close {
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    color: var(--brand-dark);
    text-align: center;
    border: 1px solid var(--brand-dark);
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    margin: 10px 0;
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.toppopup .modal-content .close:hover {
    background-color: var(--brand-dark);
    color: var(--white);
}

.toppopup .field-holder { position: relative; margin-top: 16px; }

.toppopup .field-holder label {
    position: absolute;
    background-color: var(--white);
    padding: 0 5px;
    top: -10px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-dark);
    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 1;
}

.contact-form .form-header,
.toppopup .contact-form .form-header { margin-bottom: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--brand-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

.footer p {
    margin-bottom: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 768px) {
    iframe.g-map{height: 350px;}
    .tabs-container {
        padding: 0;
}

    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

    .header .logoDiv {
    max-width: 120px;
}

    .bottom-btn {
        font-size: 13px;
        font-weight: 400;
        padding: 5px 10px;
        text-transform: none;
        top: 29px;
        width: auto;
        right: 90px;
        bottom: auto;
    }

        .hero-left {
        width: 100%;
        padding: 10px 0px;
    }

       .hero-right {
        text-align: center;
    }

      .hero-right h2 {
    font-size: 24px;
    
}

.features-form {
    top: 0;
    position: relative;
}

.feature-holder {
  padding-top: 0px;         padding-bottom: 0px;

}

.field-holder label {
    top: 1px;
}

.contact-form .form-header, .toppopup .contact-form .form-header {
    margin-bottom: 0px;
}

.split-section, .split-section.reverse {
        padding: 0px;
    }

    .split-half.left aside {
    border-right: 0px dashed #B2B2B2;
    padding-right: 0px;
}
.topmrminus {
    margin-top: 0px;
}
.split-section {
    margin-bottom: 40px;
}
.biophilic .spacetop {
    padding-top: 0px;
}
.biophilic {
    margin: 20px 0px; text-align: center;
}
.biophilic .split-half:nth-child(2) {padding: 0px 20px; }
.w30, .w70 {
    width: 100%;
}

.compoft-privacy .split-half h3 br{display: none;}
.compoft-privacy{margin-top: -40px; width:80%; margin-left: auto; margin-right: auto; text-align: center; padding: 20px 0;}
.split-half h3 { font-size: 24px;}
.compoft-privacy .split-section{gap: 0px;;}
.compoft-privacy .split-section {
        margin-bottom: 0px;
    }
    .split-half{text-align: center;}
    .split-half ul{text-align: left;}
    .padd40 { padding: 0px 40px;}
    .key_features{margin-bottom: 20px;}
    .spaces_balcony{margin-top:20px}

    .amenity-item { width: calc((100% - 64px) / 2); }
    .section-padding {
    padding: 20px;
}

.project_thumb h3 br{display: none;}
.project_thumb .split-half:nth-child(2) {padding: 0px 20px; }
.project_thumb .split-section{margin-bottom: 0px;}

/* --- Mobile Responsive Design --- */

.slick-slider-wrapper {
    margin: 0 0px;
}

    .gallery-slider {
        padding-bottom: 60px; /* Reduce bottom spacing on mobile */
    }
    
    .gallery-slider .slick-prev,
    .gallery-slider .slick-next {
        width: 40px; /* Make arrows slightly smaller */
        height: 40px;
        top: auto;
        bottom: -20px; /* Move arrows closer to the images */
    }

    /* Keep them tightly grouped in the center */
    .gallery-slider .slick-prev {
        left: calc(50% - 48px); 
    }
    .gallery-slider .slick-next {
        right: calc(50% - 48px);
    }

    .gallery-section .container {
    padding: 0 0px;
}

#floorplan{padding: 40px 0 60px;}
#floorplan .container {padding: 0px;}


    
    #floorplan .slick-prev,
    #floorplan .slick-next {
        width: 40px; /* Make arrows slightly smaller */
        height: 40px;
        top: auto;
        bottom: -100px; /* Move arrows closer to the images */
    }

    /* Keep them tightly grouped in the center */
    #floorplan .slick-prev {
        left: calc(50% - 48px); 
    }
    #floorplan .slick-next {
        right: calc(50% - 48px);
    }

    .gallery-section .container {
    padding: 0 0px;
}

.btndwnbrochure{padding-top: 80px;}
.filter-wrapper {
    margin-right: 30px;
}

.map_container .split-section{background-color: #393685; padding: 20px;}
.map_container .split-half h3{color: var(--white);}
.map_container .split-half p{color: var(--white);}
.map_container .split-section {gap: 0px;}
.map_container .split-half {width: 100% !important; gap: 0px;}

}
