.custom-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* LOGO */
.header-logo img{
    height: 60px;
}

/* CENTER MENU */
.header-menu{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#mainmenu{
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#mainmenu li a{
    color: #0a0a0a;
    font-weight: 600;
    text-decoration: none;
}

/* RIGHT BUTTON */
.header-right{
    display: flex;
    align-items: center;
    gap: 20px;
}











/* hero section css */
/* =====================================
   PROPERTY SLIDER SECTION
===================================== */

.property-slider-section{
    position:relative;
    overflow:hidden;
    height:100vh;
}

/* =====================================
   CAROUSEL
===================================== */

#propertyCarousel,
#propertyCarousel .carousel-inner,
#propertyCarousel .carousel-item{
    height:100vh;
}

#propertyCarousel .carousel-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =====================================
   DARK OVERLAY
===================================== */

.property-overlay{
    position:absolute;
    inset:0;
    /* background:rgba(0,0,0,0.45); */
    z-index:1;
}

/* =====================================
   CONTENT
===================================== */

.property-content{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    align-items:center;
}

.property-text{
    color:#fff;
}

.property-text h1{
    font-size:110px;
    font-weight:700;
    line-height:1;
    text-transform:uppercase;
    margin-bottom:30px;
}

.property-text p{
    max-width:700px;
    font-size:18px;
    line-height:1.9;
    margin-bottom:35px;
    color:#f1f1f1;
}

.property-info{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.property-info h4{
    margin:0;
    font-size:20px;
    font-weight:500;
}

/* =====================================
   BUTTON
===================================== */

.property-btn{
    padding:14px 35px;
    border:2px solid #fff;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    font-size:14px;
    font-weight:600;
    transition:0.3s;
}

.property-btn:hover{
    background:#fff;
    color:#000;
}

/* =====================================
   RESPONSIVE
===================================== */

@media(max-width:991px){

    .property-slider-section{
        height:700px;
    }

    #propertyCarousel,
    #propertyCarousel .carousel-inner,
    #propertyCarousel .carousel-item{
        height:700px;
    }

    /* Shift image left so baked-in text stays in frame */
    #propertyCarousel .carousel-item img{
        object-position: left center !important;
    }

    .property-text h1{
        font-size:70px;
    }

    .property-text p{
        font-size:16px;
    }
}

@media(max-width:767px){

    .property-slider-section{
        height:520px;
    }

    #propertyCarousel,
    #propertyCarousel .carousel-inner,
    #propertyCarousel .carousel-item{
        height:520px;
    }

    #propertyCarousel .carousel-item img{
        object-position: left center !important;
    }

    /* Push HTML text overlay to the bottom so it doesn't hide image content */
    .property-content{
        text-align:center;
        align-items: flex-end !important;
        padding-bottom: 45px;
    }

    .property-text h1{
        font-size:36px;
    }

    .property-text p{
        font-size:14px;
        line-height:1.7;
        margin-bottom: 18px;
    }

    .property-info{
        justify-content:center;
    }

    .property-info h4{
        font-size:14px;
        display: none;
    }
}

@media(max-width:480px){

    .property-slider-section{
        height:420px;
    }

    #propertyCarousel,
    #propertyCarousel .carousel-inner,
    #propertyCarousel .carousel-item{
        height:420px;
    }

    #propertyCarousel .carousel-item img{
        object-position: left center !important;
    }

    .property-content{
        align-items: flex-end !important;
        padding-bottom: 30px;
    }

    .property-text h1{
        font-size:28px;
    }

    .property-btn{
        width:100%;
        text-align:center;
    }
}


/* ==============================================
   MOBILE NAVIGATION & RESPONSIVE FIXES
   ============================================== */

/* -- Desktop: ensure hamburger stays hidden -- */
@media (min-width: 993px) {
    #menu-btn {
        display: none !important;
    }
}

/* -- Mobile navigation (≤992px) -- */
@media (max-width: 992px) {

    /* Remove absolute centering; put menu back in normal document flow */
    .header-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        width: 100%;
        display: none;   /* Hidden until hamburger is clicked */
    }

    /* Reveal the menu when JS adds .menu-open to <header> */
    header.menu-open .header-menu {
        display: block;
    }

    /* Allow the flex row to wrap so the menu sits below logo + button */
    .custom-header {
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 0;
    }

    .header-logo {
        flex: 1;
    }

    .header-right {
        flex: 0 0 auto;
    }

    /* ---- Mobile menu list ---- */
    #mainmenu {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        position: static !important;
        height: auto !important;
        float: none !important;
        padding: 5px 0 18px !important;
        margin: 0 !important;
        background: transparent !important;
        overflow-y: visible !important;
        top: auto !important;
        list-style: none !important;
    }

    #mainmenu li {
        width: 100% !important;
        float: none !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mainmenu li:last-child {
        border-bottom: none !important;
        margin-bottom: 5px !important;
    }

    #mainmenu li a,
    #mainmenu li a.menu-item {
        display: block !important;
        padding: 11px 5px !important;
        color: rgba(255, 255, 255, 0.88) !important;
        font-size: 15px !important;
        text-align: left !important;
        font-weight: 500 !important;
        border: none !important;
        text-decoration: none !important;
        transition: color 0.2s, padding-left 0.2s !important;
    }

    #mainmenu li a:hover,
    #mainmenu li a.menu-item:hover {
        color: #ffffff !important;
        padding-left: 10px !important;
    }

    /* Give the mobile header the site's dark-teal brand colour */
    header.header-mobile {
        background: #103C3B !important;
    }

    /* Logo size on mobile */
    .header-logo img {
        height: 38px;
    }

    /* Hamburger icon size */
    #menu-btn {
        font-size: 22px;
        width: 36px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        position: fixed;
        top: 14px;
        right: 18px;
        z-index: 99999;
    }
}

/* -- Small phones (≤576px) -- */
@media (max-width: 576px) {

    /* Hero heading */
    .property-text h1 {
        font-size: 30px !important;
        margin-bottom: 15px;
        line-height: 1.15;
    }

    .property-text p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .property-info h4 {
        font-size: 13px;
    }

    .property-btn {
        padding: 10px 22px;
        font-size: 12px;
    }

    /* Logo size on small phones */
    .header-logo img {
        height: 32px;
    }
}










/* nav bar color css */


/* ==============================================
   HALF-FLUID SPLIT SECTION — MOBILE FIX
   ============================================== */

/* Tablets and smaller: reset full-bleed technique so image stacks cleanly */
@media (max-width: 991px) {

    .half-fluid .right-half,
    .half-fluid .left-half {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        position: static !important;
    }

    /* Image panel: fixed height when stacked vertically */
    .half-fluid .image {
        min-height: 300px !important;
        height: 300px !important;
        background-position: center center !important;
    }

    /* Reduce inner text padding on tablets */
    .half-fluid .col-lg-6 .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .half-fluid .col-lg-6 .my-5 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* Phones: smaller image height */
@media (max-width: 576px) {

    .half-fluid .image {
        min-height: 220px !important;
        height: 220px !important;
    }
}


/* ==============================================
   SUB-PAGE HERO IMAGES — FULL DISPLAY FIX
   ============================================== */

/* Default (desktop): override mh-600 (600px) with viewport-relative height.
   On desktop, Jarallax's own inline styles take precedence over our CSS. */
#section-hero {
    min-height: 80vh !important;
}

/* Desktop fallback: keep image covering the section if Jarallax hasn't run yet */
#section-hero .jarallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* ---- Mobile & Tablet (≤992px): show the FULL image, no cropping ----
   Jarallax destroys itself at this breakpoint. We put the <img> back into
   normal document flow so the section height equals the image's natural
   height — the complete image is visible without any clipping. */
@media (max-width: 992px) {

    #section-hero {
        min-height: 0 !important;
        height: auto !important;
    }

    #section-hero .jarallax-img {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: unset !important;
        object-position: unset !important;
        top: auto !important;
        left: auto !important;
        z-index: 0 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    /* Keep overlay text pinned toward the bottom */
    #section-hero .abs.bottom-10 {
        bottom: 6% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

/* Phones: hero heading sizes (applies if h1/h3 are uncommented in HTML) */
@media (max-width: 576px) {

    #section-hero h1 {
        font-size: 10vw !important;
        line-height: 1.1 !important;
    }

    #section-hero h3 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
}


/* ==============================================
   NAVBAR SCROLL COLOR BEHAVIOR
   ============================================== */

/* --- BEFORE SCROLLING ---
   header.transparent = initial state, white background
   Use dark/black text for readability on light background */
header.transparent:not(.header-mobile) #mainmenu > li > a,
header.transparent:not(.header-mobile) #mainmenu li a {
    color: #103C3B !important;
    transition: color 0.3s ease;
}

header.transparent:not(.header-mobile) #mainmenu > li > a:hover,
header.transparent:not(.header-mobile) #mainmenu li a:hover {
    color: #B07E50 !important;
}

/* "Schedule a Visit" button — dark outline before scroll */
header.transparent:not(.header-mobile) .header-right .btn-main {
    color: #103C3B !important;
    border-color: #103C3B !important;
    transition: all 0.3s ease;
}

header.transparent:not(.header-mobile) .header-right .btn-main:hover {
    background: #103C3B !important;
    color: #ffffff !important;
}

/* Hamburger icon — dark before scroll */
header.transparent:not(.header-mobile) #menu-btn {
    color: #103C3B !important;
}

/* --- AFTER SCROLLING ---
   header.smaller = fixed sticky header with var(--bg-dark-1) background (#103C3B)
   Use white text for readability on dark background.
   NOTE: :not(.header-mobile) matches specificity of the transparent rule above
   so this LATER rule wins when both .transparent and .smaller are present */
header.smaller:not(.header-mobile) #mainmenu > li > a,
header.smaller:not(.header-mobile) #mainmenu li a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

header.smaller:not(.header-mobile) #mainmenu > li > a:hover,
header.smaller:not(.header-mobile) #mainmenu li a:hover {
    color: #B07E50 !important;
}

/* "Schedule a Visit" button — white outline after scroll */
header.smaller:not(.header-mobile) .header-right .btn-main {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease;
}

header.smaller:not(.header-mobile) .header-right .btn-main:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
}

/* Hamburger icon — white after scroll (on mobile .smaller state) */
header.smaller #menu-btn {
    color: #ffffff !important;
}

/* Smooth transition for header background */
header {
    transition: background 0.3s ease, color 0.3s ease !important;
}


/* ==============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================== */

/* --- Stats / Counter Section ---
   .fs-60 timer numbers are 60px — too large on mobile */
@media (max-width: 767px) {
    .de_count h3.fs-60,
    .de_count .fs-60 {
        font-size: 42px !important;
    }
}

@media (max-width: 480px) {
    .de_count h3.fs-60,
    .de_count .fs-60 {
        font-size: 34px !important;
    }
}

/* --- De-Dot Interactive Map ---
   Popup cards can overflow off-screen on small devices */
@media (max-width: 767px) {
    /* Hide popup text on small screens — map is too small for readable popups */
    .de-dot .d-content {
        display: none !important;
    }
    /* Slightly reduce dot size on mobile */
    .de-dot {
        width: 22px !important;
        height: 22px !important;
        margin: -11px 0 0 -11px !important;
    }
    .de-dot:before,
    .de-dot:after {
        width: 10px !important;
        height: 10px !important;
    }
}

/* --- OWL Room Carousel ---
   Nav arrows should not overlap section heading text on mobile */
@media (max-width: 767px) {
    .owl-custom-nav.menu-float {
        padding: 0 !important;
    }
    /* Keep arrows inside the carousel item bounds */
    .owl-custom-nav.menu-float .btn-prev,
    .owl-custom-nav.menu-float .btn-next {
        z-index: 100 !important;
    }
}

/* --- Footer Contact Icons ---
   .fs-60 icons in footer are 60px — reduce on small screens */
@media (max-width: 767px) {
    .footer-info-group .fs-60,
    footer .fs-60 {
        font-size: 40px !important;
    }
}

/* --- General Section Headings --- 
   Ensure h2/h3 headings scale nicely on mobile.
   Use modest sizes that don't override hero-specific rules. */
@media (max-width: 576px) {
    /* Section vertical spacing — exclude hero/fullscreen sections */
    section:not(.property-slider-section):not(.no-top):not(.no-bottom):not(.p-0) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* --- Ensure images are always responsive ---
   Catch any images that might overflow their containers.
   NOT using !important so existing object-fit/height rules still win. */
@media (max-width: 991px) {
    img:not(.jarallax-img) {
        max-width: 100%;
    }
}

/* --- Property Highlights two-column lists ---
   col-md-5 stacks at tablet but text should be readable */
@media (max-width: 575px) {
    .ul-check li {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* --- Carousel HTML overlay text ---
   At very small sizes, make CTA content fit cleanly */
@media (max-width: 380px) {
    .property-text h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }

    .property-text p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .property-btn .btn-main {
        padding: 8px 18px !important;
        font-size: 12px !important;
    }
}

/* --- Founder / Team section ---
   Circular image + content on mobile */
@media (max-width: 575px) {
    .d-img-with-badge {
        max-width: 280px !important;
        margin: 0 auto !important;
    }
}

/* --- Navbar on mobile (≤992px): ensure proper layout after fixes --- */
@media (max-width: 992px) {
    /* Header text in mobile open state stays white */
    header.header-mobile.menu-open #mainmenu li a {
        color: #ffffff !important;
    }

    /* When mobile menu is NOT open, show closed hamburger in correct color */
    header.transparent.header-mobile:not(.menu-open) #menu-btn {
        color: #ffffff !important;
    }

    header.smaller.header-mobile:not(.menu-open) #menu-btn {
        color: #ffffff !important;
    }
}






















/* about us hero content */

.hero-section{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 100%;
    z-index: 5;
}

.hero-content .col-12{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    text-align: center;
}

.hero-title{
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1;
}

.hero-subtitle{
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

/* Mobile Responsive */
@media(max-width:768px){

    .hero-section{
        height: 70vh;
    }

    .hero-title{
        font-size: 42px;
    }

    .hero-subtitle{
        font-size: 18px;
    }
}



.hero-content{
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 100%;
    z-index: 5;
}



























/* founder row */

/* SECTION */
.founder-section{

    padding: 100px 0;

    background: #f5f5f5;

}

/* SUBTITLE */
.subtitle{

    color: #c58b52;

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 10px;

    text-transform: uppercase;

}

/* MAIN TITLE */
.founder-main-title{

    font-size: 52px;

    font-weight: 700;

    color: #15383f;

    margin-bottom: 15px;

}

/* SUBTEXT */
.founder-subtext{

    color: #666;

    font-size: 18px;

    line-height: 1.7;

}

/* BOX */
.founder-box{

    margin-top: 60px;

    display: flex;

    align-items: center;

    gap: 60px;

    background: #fff;

    border-radius: 35px;

    padding: 50px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.08);

}

/* IMAGE */
.founder-image img{

    width: 350px;

    border-radius: 25px;

    object-fit: cover;

}

/* TAG */
.founder-tag{

    display: inline-block;

    background: rgba(197,139,82,0.12);

    color: #c58b52;

    padding: 10px 18px;

    border-radius: 50px;

    font-weight: 600;

    margin-bottom: 20px;

}

/* NAME */
.founder-content h3{

    font-size: 48px;

    font-weight: 700;

    color: #15383f;

    margin-bottom: 20px;

}

/* PHONE */
.founder-phone{

    display: inline-flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: #25D366;

    font-size: 22px;

    font-weight: 600;

    margin-bottom: 25px;

    transition: all 0.4s ease;

}

.founder-phone:hover{

    transform: translateY(-3px);

}

/* PARAGRAPH */
.founder-content p{

    color: #555;

    line-height: 1.9;

    margin-bottom: 30px;

}

/* BUTTON */
.founder-btn{

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #15383f;

    color: #fff;

    padding: 15px 35px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.4s ease;

}

/* BUTTON HOVER */
.founder-btn:hover{

    background: #25D366;

    color: #fff;

    transform: translateY(-4px);

}

/* MOBILE */
@media(max-width:768px){

    .founder-box{

        flex-direction: column;

        text-align: center;

        padding: 35px 25px;

    }

    .founder-image img{

        width: 100%;

    }

    .founder-main-title{

        font-size: 38px;

    }

    .founder-content h3{

        font-size: 36px;

    }

}


.founder-content{

    position: relative;

    z-index: 5;

}

.founder-btn{

    position: relative;

    z-index: 10;

    pointer-events: auto;

    cursor: pointer;

}