/* Animations and Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Clean Decorative Lines */
.decorative-line {
    display: block;
    height: 3px;
    width: 0;
    background-color: var(--brand-blue);
    margin-top: 10px;
    transition: width 0.8s ease-out;
}

.decorative-line.animate {
    width: 100%;
}

/* Residential Communities Card Hover Effects */
#communities .container > div > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

#communities .container > div > div:hover a {
    background: white;
    color: #000080;
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .contact-map-card {
        padding: 25px 20px !important;
        margin-top: 40px !important;
    }
    
    .contact-map-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .contact-map-card iframe {
        height: 300px !important;
    }
    
    .contact-info,
    .contact-form-section {
        padding: 25px 20px !important;
    }
    
    .contact .section-header h2 {
        font-size: 2.5rem !important;
    }
    
    .contact {
        padding: 60px 0 !important;
    }
}

/* White line for services section */
.services .decorative-line {
    background-color: #ffffff;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Reset and Base Styles */
:root {
    --brand-blue: #000080;
    --brand-blue-dark: #000060;
    --brand-red: #C62828;
    --brand-navy: #1f2937;
    --accent-blue: #000080;
    --light-grey: #ffffff;
    --text: #333333;
    --muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #000080;
    --border: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: #ffffff; /* White background to prevent gray showing */
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Prevent horizontal scrolling and zoom issues */
* {
    max-width: 100%;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

/* Global: Remove all rounded corners */
* {
    border-radius: 0 !important;
}

/* Prevent zoom from affecting layout */
@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* Typography utility for headings */
.heading-font { font-family: 'Montserrat', Arial, sans-serif; }
.h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
.h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }

/* Buttons */
.btn-quote { background: var(--brand-red); color: #fff; padding: 12px 18px; font-weight: 700; border:none; cursor:pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn-quote:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(198,40,40,.2); }

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

/* Navigation */
/* =============================================
   Elementor-Style Header
   ============================================= */

/* Header Container */
.elementor-header {
    position: relative; /* NOT fixed - scrolls normally */
    width: 100%;
    background: #ffffff;
}

/* Top Contact Bar - NOT sticky, scrolls away */
.top-contact-bar {
    background: var(--brand-blue); /* Brand blue background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    font-size: 0.9rem;
    position: relative; /* NOT fixed */
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-address a,
.top-bar-phone a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff; /* White text */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.top-bar-address a:hover,
.top-bar-phone a:hover {
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white on hover */
}

.top-bar-address i,
.top-bar-phone svg {
    font-size: 1rem;
    color: #ffffff; /* White icons */
    flex-shrink: 0;
}

/* Main Navbar - Sticky (follows when scrolling) */
.main-navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 128, 0.1);
    transition: all 0.3s ease;
    padding: 10px 0;
    position: sticky; /* Sticks to top when scrolling */
    top: 0;
    z-index: 1000;
}

/* When scrolled, make it stick */
.main-navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Make nav items more prominent in Elementor style */
.main-navbar .nav-link {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.main-navbar .nav-link.active {
    color: var(--brand-blue);
    font-weight: 800;
}

/* Original navbar styles maintained for compatibility */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 128, 0.1);
    z-index: 1000;
    transition: all 0.5s ease;
    padding: 10px 0;
    opacity: 1 !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    text-decoration: none;
    display: block;
}

.brand-logo {
    height: 100px;
    width: auto;
    display: block;
    margin-left: 10px; /* move slightly to the right */
    transition: transform 0.3s ease;
}

.nav-logo a:hover .brand-logo {
    transform: scale(1.05);
}

.logo-animate { animation: logoGlow 1s ease-out both; }
@keyframes logoGlow {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); text-shadow: 0 0 0 rgba(37,99,235,0); }
    to { opacity: 1; transform: translateY(0) scale(1); text-shadow: 0 8px 24px rgba(37,99,235,0.25); }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 24px;
    justify-content: flex-end;
}

@media (min-width: 769px) {
    .nav-menu { display: flex; }
}

.nav-item.nav-dropdown { position: relative; }
.nav-dropdown-wrapper {
    display: contents;
}
.dropdown-toggle-mobile {
    display: none !important;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 128, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 260px;
    display: none;
    z-index: 1100;
    border: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
}
/* Desktop hover dropdown - only for screens wider than 1200px */
@media (min-width: 1201px) {
    .nav-item.nav-dropdown:hover > .dropdown-menu { display: block; }
}
.dropdown-menu li { padding: 0; list-style: none; }
.dropdown-menu a, .dropdown-label {
    display: block;
    padding: 10px 16px;
    color: #000080;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    margin: 2px 8px;
    font-weight: 600;
}
.dropdown-label { font-weight: 700; color: #000; padding-top: 14px; }
.dropdown-menu a:hover { 
    background: rgba(70, 102, 180, 0.2);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
    padding: 10px 12px;
}

.nav-link:hover {
    color: var(--brand-blue);
    background: rgba(0, 0, 0, 0.05);
}
.nav-cta { 
    background: transparent; 
    color: #000; 
    border: none; 
    padding: 10px 12px;
    transition: all 0.3s ease;
}
.nav-cta:hover { 
    color: var(--brand-blue);
    background: rgba(0, 0, 0, 0.05);
}

/* Shrink on scroll */
.navbar.shrink {
    background: #ffffff !important;
    padding: 8px 0;
    opacity: 1 !important;
}
.navbar.shrink .nav-container { height: 50px; }
.navbar.shrink .brand-logo { height: 70px; }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Banner - NO scroll-up behavior */
.hero {
    position: relative;
    height: 100vh; /* Full screen height */
    width: 100%;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

/* Contact Banner - Hidden (info now in header) */
.contact-banner {
    display: none !important;
}

.contact-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info-left {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.contact-item-banner i {
    font-size: 1.2rem;
    color: var(--brand-red);
}

.contact-info-right {
    display: flex;
    align-items: center;
}

.call-now-btn {
    background: var(--brand-red);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}

.call-now-btn:hover {
    background: #a71e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

.call-now-btn i {
    font-size: 1.1rem;
}

/* Mobile Contact Banner - Clean Version */
.contact-banner-mobile {
    background: var(--brand-blue);
    padding: 1px 0 !important;
    position: relative;
    z-index: 10;
    display: none;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.contact-banner-mobile .contact-banner-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-banner-mobile .contact-info-left {
    display: flex !important;
    gap: 2px !important;
    flex-wrap: wrap !important;
}

.contact-banner-mobile .contact-item-banner {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-banner-mobile .contact-item-banner i {
    font-size: 0.7rem !important;
    color: var(--brand-red) !important;
}

.contact-banner-mobile .call-now-btn {
    background: var(--brand-red) !important;
    color: white !important;
    padding: 3px 6px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.6rem !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(198, 40, 40, 0.3) !important;
    margin: 0 !important;
}

.contact-banner-mobile .call-now-btn:hover {
    background: #a71e1e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(198, 40, 40, 0.4) !important;
}

.contact-banner-mobile .call-now-btn i {
    font-size: 0.6rem !important;
}

/* Residential page hero - smaller */
.residential .hero {
    height: 60vh;
}

.residential .hero-heading {
    font-size: clamp(2rem, 6vw, 4rem);
}

.residential .hero-subheading {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

/* Commercial page hero - smaller to match residential */
.commercial .hero {
    height: 60vh;
}

.commercial .hero-heading {
    font-size: clamp(2rem, 6vw, 4rem);
}

.commercial .hero-subheading {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    display: block;
    margin: 0;
    padding: 0;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.2) saturate(1.1) brightness(1.05);
}

.hero-img.active {
    opacity: 1;
}

/* Mobile-specific hero images */
.hero-img-mobile {
    width: 100%;
    height: 50vh;
    max-height: 50vh;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 2s ease-in-out;
    display: none;
    margin: 0;
    padding: 0;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.2) saturate(1.1) brightness(1.05);
    background: transparent;
}

.hero-img-mobile.active {
    opacity: 1;
}

/* Slideshow Navigation Arrows */
.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.slideshow-arrow:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.2);
}

.slideshow-arrow-left {
    left: 20px;
}

.slideshow-arrow-right {
    right: 20px;
}

.slideshow-arrow i {
    font-size: 18px;
    color: #000080;
    font-weight: bold;
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-indicator.active {
    background: var(--brand-blue);
}

/* Hide mobile indicators on desktop */
.slideshow-indicator-mobile {
    display: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    color: white;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 15px 45px;
    background: var(--brand-blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.hero-btn:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-heading {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7), 
                 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.8s forwards;
}

.hero-subheading {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 
                 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 1.2s forwards;
}

/* Subtle looping zoom-in effect */
@keyframes slowZoom {
    0% { transform: scale(1); }
    45% { transform: scale(1.04); }
    95% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* Enhanced Intro section */
.intro { 
    padding: 80px 24px; 
    background: var(--bg-alt);
    color: white;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 2s forwards;
}

.intro .intro-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text-column {
    max-width: 600px;
}

.intro-images {
    position: relative;
    padding: 0;
    max-width: 800px;
    margin-left: auto;
    margin-top: 30px;
}

.image-stack {
    position: relative;
    width: 100%;
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: flex-start;
}

.intro-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.side-image {
    width: 48%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.side-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: block;
}

/* Navy translucent rectangle behind image for depth effect */
.side-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 80, 0.8);
    z-index: -1;
    transform: translate(-35px, 25px);
}


.intro-image:hover {
    transform: translateY(-5px);
}

.side-image:hover {
    transform: translateY(-5px);
}

.side-image:hover img {
    transform: translateY(-5px);
}

.side-image:hover::before {
    transform: translate(-45px, 30px);
}


.contact-btn {
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #000080 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,128,0.2);
}

@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-text-column {
        max-width: 100%;
        text-align: center;
    }
    
    .intro-images {
        max-width: 900px;
        margin: 0 auto;
    }
}
.intro-display {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.25;
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    text-align: left;
}

.btn {
    padding: 15px 30px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.btn-contact {
    background: var(--brand-navy);
    color: white;
    padding: 16px 45px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-contact:hover {
    background: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* Section Styles */
section {
    padding: 70px 0;
}

/* Alternating section helper */
.section-blue { background: var(--bg-alt); color: #ffffff; }
.section-blue a { color: #ffffff; }
.arial-text { font-family: 'Montserrat', Arial, sans-serif; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--bg-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--brand-navy);
    margin-bottom: 20px;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat p {
    color: var(--muted);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Service cards are now static with hover effects */

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--brand-navy);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Recent Projects Gallery */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.project-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Staggered animations for project cards */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    transform: translateY(-10px);
}


.project-image-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background: rgba(255,255,255,0.1);
}

.placeholder-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    margin: 15px;
}

.placeholder-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all-container {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-block;
    background: transparent;
    color: #000080;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #000080;
}

.view-all-btn:hover {
    background: #000080;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,128,0.2);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-alt);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 111, 235, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay i {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.portfolio-overlay h4 {
    color: white;
    font-size: 1.3rem;
    text-align: center;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Contact Section - Remove animations to prevent scroll bar and loading issues */
.contact-info,
.contact-form-section,
.contact-map-card {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent scroll bar from appearing */
#contact {
    overflow: hidden;
}

/* Ensure contact section doesn't create horizontal scroll */
.contact .container {
    overflow-x: hidden;
}

/* Enhanced Form Input Animations */
.form-group input,
.form-group textarea {
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--brand-blue);
    transform: translateY(-5px);
}

/* Button Animation */
.submit-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: var(--brand-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.3);
}

/* Contact Icon Animation */
.contact-icon {
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
    animation: none;
}

/* Map Card Animation */
.contact-map-card iframe {
    transition: all 0.3s ease;
}

.contact-map-card:hover iframe {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-top: 5px;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-item p {
    color: #7f8c8d;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #000080;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* Social Links */
.social-links a:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateY(-3px);
}

/* Videos */
.videos .videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.video-card { background: #fff; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display:flex; align-items:center; justify-content:space-between; gap:16px; }

/* Logos rows */
.logos { background: var(--bg); padding: 60px 0; }
.logos.alt { background: var(--bg-alt); }
.logos-row { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.logo-box { padding:10px 16px; border:1px solid var(--border); background:#fff; color:var(--brand-navy); font-weight:500; font-size: 0.95rem; }

/* Testimonials */

/* Residential Communities Carousel */
.residential-communities {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.residential-communities.section-blue {
    background: var(--bg-alt);
}

.residential-communities .container {
    position: relative;
    z-index: 1;
}

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

/* Logo Scrolling Animation */
.logo-scroll-container {
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
    padding: 40px 0;
    position: relative;
    pointer-events: none;
}

.logo-scroll-container * {
    pointer-events: auto;
}

.logo-scroll-track {
    display: flex;
    gap: 40px;
    animation: scrollLogos 40s linear infinite;
    width: max-content;
    will-change: transform;
    pointer-events: auto;
}

.logo-scroll-track a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

.logo-scroll-track a img {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none;
    -webkit-user-drag: none;
}

.logo-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLogosMobile {
    0% {
        transform: translateX(0);
    }
    12.5% {
        transform: translateX(-100vw);
    }
    25% {
        transform: translateX(-200vw);
    }
    37.5% {
        transform: translateX(-300vw);
    }
    50% {
        transform: translateX(-400vw);
    }
    62.5% {
        transform: translateX(-500vw);
    }
    75% {
        transform: translateX(-600vw);
    }
    87.5% {
        transform: translateX(-700vw);
    }
    100% {
        transform: translateX(-800vw);
    }
}

@keyframes scrollLogosCommercial {
    0% {
        transform: translateX(0);
    }
    11.11% {
        transform: translateX(-100vw);
    }
    22.22% {
        transform: translateX(-200vw);
    }
    33.33% {
        transform: translateX(-300vw);
    }
    44.44% {
        transform: translateX(-400vw);
    }
    55.55% {
        transform: translateX(-500vw);
    }
    66.66% {
        transform: translateX(-600vw);
    }
    77.77% {
        transform: translateX(-700vw);
    }
    88.88% {
        transform: translateX(-800vw);
    }
    100% {
        transform: translateX(-900vw);
    }
}

@keyframes scrollLogosResidential {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-100vw);
    }
    40% {
        transform: translateX(-200vw);
    }
    60% {
        transform: translateX(-300vw);
    }
    80% {
        transform: translateX(-400vw);
    }
    100% {
        transform: translateX(-500vw);
    }
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.community-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    min-width: 280px;
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.community-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.community-item,
.community-item a {
    display: block;
    text-decoration: none;
}

.community-item {
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.community-item a {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: block;
    width: 100%;
    height: 100%;
}

.community-logo {
    max-width: 840px;
    max-height: 360px;
    object-fit: contain;
    filter: none; /* Show original logo colors */
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1.15);
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 11;
}

/* Remove filters since we now have white background boxes */
.community-item img[src*="TheVillageOnDove.png"],
.community-item img[src*="DelLago.png"],
.community-item img[src*="Bougainvillea.png"] {
    filter: none;
    opacity: 1;
}

.community-item:hover .community-logo {
    opacity: 1;
    transform: scale(1.20);
}

.communities-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.communities-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.communities-btn:hover {
    background: #ffffff;
    color: var(--brand-blue);
    transform: translateY(-2px);
}

/* Commercial Properties Section */
.commercial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.commercial-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    min-width: 280px;
}

.commercial-item:hover {
    transform: scale(1.1);
}

.commercial-item,
.commercial-item a {
    display: block;
    text-decoration: none;
}

.commercial-item {
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.commercial-item a {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: block;
    width: 100%;
    height: 100%;
}

.commercial-logo {
    max-width: 840px;
    max-height: 360px;
    object-fit: contain;
    filter: none; /* Keep original colors for commercial logos */
    transition: all 0.3s ease;
    opacity: 0.85;
    transform: scale(1.15);
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 11;
}

.commercial-item:hover .commercial-logo {
    opacity: 1;
    transform: scale(1.20);
}

/* Water Tower image positioning - move to the right */
.commercial-item img[src*="WaterTowerCentre"] {
    transform: scale(1.15) translateX(12px);
}

.commercial-item:hover img[src*="WaterTowerCentre"] {
    transform: scale(1.20) translateX(15px);
}

/* Reduce commercial item height slightly by reducing padding */
.commercial-item[style*="padding: 20px"] {
    padding: 15px 20px !important;
}

.commercial-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.commercial-btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.commercial-btn:hover {
    background: #ffffff;
    color: var(--brand-blue);
    transform: translateY(-2px);
}

/* Parallax Testimonials Section */
.parallax-section {
    padding: 60px 0;
    background-image: url('../../public/images/homedecor.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    min-height: 50vh;
}

  .parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
  }
  
  
.parallax-bg img {
    display: none; /* Hide img tag since we're using background-image */
}

.parallax-section .container {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0;
}





/* Mobile responsiveness for parallax */
@media screen and (max-width: 767px) {
    .parallax-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Subtle white tint */
    z-index: 1;
}


/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details h3 {
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-details p {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-map {
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.contact-methods p {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-form-section {
    display: flex;
    flex-direction: column;
}

.contact-form-section h3 {
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.submit-btn {
    background: var(--brand-blue);
    color: white;
    padding: 15px 40px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--brand-red);
    transform: translateY(-2px);
}

.contact-logo {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-logo img {
    max-width: 200px;
    height: auto;
}

/* Tablet Responsive for Elementor Header - Extended to cover iPad landscape */
@media (min-width: 769px) and (max-width: 1200px) {
    .top-bar-container {
        padding: 0 20px;
    }
    
    .top-bar-address a,
    .top-bar-phone a {
        font-size: 0.85rem;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .brand-logo {
        height: 80px;
    }
    
    /* iPad Dropdown - Same as Mobile */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 10001 !important;
        padding: 8px;
        position: relative;
        background: transparent;
        border: none;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: #000;
        margin: 3px 0;
        transition: 0.3s;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #000080 !important;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #000080 !important;
    }
    
    /* iPad nav menu - Clean dropdown below header */
    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        transition: all 0.3s ease !important;
        z-index: 9999 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: none !important;
        list-style: none !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border-top: 1px solid rgba(0,0,128,0.1) !important;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-item {
        margin: 0 !important;
        list-style: none !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .nav-link {
        color: #000080 !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        display: block !important;
        padding: 15px 20px !important;
        letter-spacing: 0.3px !important;
        transition: all 0.3s ease !important;
        border-bottom: 1px solid rgba(0,0,128,0.1) !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .nav-link:hover {
        color: #000080 !important;
        background-color: rgba(0,0,128,0.05) !important;
    }
    
    .nav-dropdown-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }
    
    .nav-dropdown-wrapper .nav-link {
        flex: 1 !important;
        text-align: center !important;
        padding: 15px 20px !important;
    }
    
    .dropdown-toggle-mobile {
        display: flex !important;
        background: none !important;
        border: none !important;
        color: #000080 !important;
        cursor: pointer !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
        transition: transform 0.3s ease, color 0.3s ease !important;
        outline: none !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 44px !important;
        position: absolute !important;
        right: 0 !important;
    }
    
    .dropdown-toggle-mobile:hover {
        color: #C62828 !important;
    }
    
    .dropdown-toggle-mobile i {
        transition: transform 0.3s ease !important;
    }
    
    .nav-dropdown .nav-link {
        flex: 1 !important;
        text-align: center !important;
    }
    
    .nav-dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        width: 100%;
    }
    
    .nav-dropdown .dropdown-menu.show {
        display: block !important;
    }
    
    .nav-dropdown .dropdown-menu li {
        margin: 10px 0 !important;
        text-align: center !important;
    }
    
    .nav-dropdown .dropdown-menu a {
        color: #000080 !important;
        font-size: 1.2rem !important;
        padding: 5px 20px !important;
        text-align: center !important;
        display: block !important;
    }
    
    .nav-dropdown .dropdown-menu .dropdown-label {
        text-align: center !important;
    }
    
    /* Ensure Contact Us link is aligned like other nav items */
    .nav-cta {
        text-align: center !important;
        padding: 15px 20px !important;
        width: 100% !important;
        display: block !important;
    }
    
    /* Scroll to Top Button - iPad */
    .scroll-to-top {
        position: fixed !important;
        bottom: 30px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        background: linear-gradient(135deg, #000080, #1a1a8a) !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        z-index: 9998 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4) !important;
        transition: all 0.3s ease !important;
        opacity: 0 !important;
        transform: scale(0.8) !important;
    }

    .scroll-to-top.visible {
        display: flex !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .scroll-to-top:hover {
        background: linear-gradient(135deg, #1a1a8a, #000080) !important;
        transform: scale(1.1) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 128, 0.5) !important;
    }

    .scroll-to-top:active {
        transform: scale(0.95) !important;
    }
}

/* Mobile Navigation - Clean Version */
@media (max-width: 768px) {
    /* Elementor Header Mobile Styles */
    .top-contact-bar {
        padding: 8px 0;
        font-size: 0.75rem;
    }
    
    .top-bar-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .top-bar-address a,
    .top-bar-phone a {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    /* Hide address on very small screens, show only phone */
    .top-bar-address {
        display: none;
    }
    
    /* Adjust hero for mobile - full screen */
    .hero {
        height: 100vh !important; /* Full screen on mobile too */
        margin: 0 !important;
        padding: 0 !important;
    }

    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 10001 !important;
        padding: 8px;
        position: relative;
        background: transparent;
        border: none;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: #000;
        margin: 3px 0;
        transition: 0.3s;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #000080 !important;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #000080 !important;
    }
    
    /* Mobile nav menu - Clean dropdown below header */
    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        transition: all 0.3s ease !important;
        z-index: 9999 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: none !important;
        list-style: none !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border-top: 1px solid rgba(0,0,128,0.1) !important;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-item {
        margin: 0 !important;
        list-style: none !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .nav-link {
        color: #000080 !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        display: block !important;
        padding: 15px 20px !important;
        letter-spacing: 0.3px !important;
        transition: all 0.3s ease !important;
        border-bottom: 1px solid rgba(0,0,128,0.1) !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .nav-link:hover {
        color: #000080 !important;
        background-color: rgba(0,0,128,0.05) !important;
    }
    
    .nav-dropdown-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }
    
    .nav-dropdown-wrapper .nav-link {
        flex: 1 !important;
        text-align: center !important;
        padding: 15px 20px !important;
    }
    
    .dropdown-toggle-mobile {
        display: flex !important;
        background: none !important;
        border: none !important;
        color: #000080 !important;
        cursor: pointer !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
        transition: transform 0.3s ease, color 0.3s ease !important;
        outline: none !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 44px !important;
        position: absolute !important;
        right: 0 !important;
    }
    
    .dropdown-toggle-mobile:hover {
        color: #C62828 !important;
    }
    
    .dropdown-toggle-mobile i {
        transition: transform 0.3s ease !important;
    }
    
    .nav-dropdown .nav-link {
        flex: 1 !important;
        text-align: center !important;
    }
    
    .nav-dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        width: 100%;
    }
    
    .nav-dropdown .dropdown-menu.show {
        display: block !important;
    }
    
    .nav-dropdown .dropdown-menu li {
        margin: 10px 0 !important;
        text-align: center !important;
    }
    
    .nav-dropdown .dropdown-menu a {
        color: #000080 !important;
        font-size: 1.2rem !important;
        padding: 5px 20px !important;
        text-align: center !important;
        display: block !important;
    }
    
    .nav-dropdown .dropdown-menu .dropdown-label {
        text-align: center !important;
    }
    
    /* Ensure Contact Us link is aligned like other nav items */
    .nav-cta {
        text-align: center !important;
        padding: 15px 20px !important;
        width: 100% !important;
        display: block !important;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 15px 0;
        z-index: 10000 !important;
        position: relative;
        background: #ffffff !important;
        opacity: 1 !important;
    }
    
    .nav-container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .brand-logo {
        max-width: 120px;
        height: auto;
    }
    
    
    /* Hero Section */
    .hero {
        height: 50vh;
        min-height: 50vh;
        max-height: 50vh;
    }
    
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .hero-slideshow {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .hero-heading {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .hero-subheading {
        font-size: 1.1rem;
        line-height: 1.3;
        padding: 0 10px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    /* Hide desktop images on mobile (except residential and projects pages) */
    .hero-img {
        display: none !important;
    }
    
    /* Show residential page hero images on mobile */
    .residential .hero-img {
        display: block !important;
        object-fit: cover;
        width: 100%;
        height: 50vh;
        max-height: 50vh;
        object-position: center center;
        image-rendering: high-quality;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        filter: contrast(1.2) saturate(1.1) brightness(1.05);
        background: transparent;
    }

    /* Show projects page hero images on mobile */
    .projects .hero-img {
        display: block !important;
        object-fit: cover;
        width: 100%;
        height: 50vh;
        max-height: 50vh;
        object-position: center center;
        image-rendering: high-quality;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        filter: contrast(1.2) saturate(1.1) brightness(1.05);
        background: transparent;
    }
    
    /* Show mobile images on mobile */
    .hero-img-mobile {
        display: block !important;
        object-fit: cover;
        width: 100%;
        height: 50vh;
        max-height: 50vh;
        object-position: center center;
        image-rendering: high-quality;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        filter: contrast(1.2) saturate(1.1) brightness(1.05);
        background: transparent;
    }
    
    /* Slideshow Arrows - Mobile */
    .slideshow-arrow {
        width: 32px !important;
        height: 32px !important;
    }
    
    .slideshow-arrow i {
        font-size: 12px !important;
    }
    
    .slideshow-arrow-left {
        left: 10px !important;
    }
    
    .slideshow-arrow-right {
        right: 10px !important;
    }
    
    /* Show mobile indicators on mobile */
    .slideshow-indicator-mobile {
        display: block !important;
    }
    
    /* Intro Section - Mobile Redesign */
    .intro-container {
        padding: 40px 20px;
    }
    
    .intro-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .intro-text-column {
        order: 1;
    }
    
    .intro-images {
        order: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        margin-top: 25px;
        padding: 0 20px;
    }
    
    .image-stack {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .side-image {
        width: 100%;
        max-width: 300px;
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
        margin: 10px 0;
    }
    
    .intro-image {
        max-width: 100%;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .side-image img {
        width: 100%;
        min-width: 100%;
        height: 200px;
        max-height: 200px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        object-fit: cover;
        display: block;
    }
    
    /* Mobile adjustments for navy translucent rectangle */
    .side-image::before {
        top: 10px;
        left: 10px;
        transform: translate(-18px, 12px);
    }
    
    /* Clean Typography */
    .intro h2,
    .intro .intro-title {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        color: #000 !important;
        text-align: center !important;
    }
    
    .intro .intro-subtitle {
        font-size: 1rem !important;
        font-weight: 500 !important;
        color: #666 !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    .intro .intro-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: #555 !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .intro .contact-btn {
        font-size: 0.9rem !important;
        padding: 12px 25px !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }
    
    /* Upcoming Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .project-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Villas at Del Lago logo on mobile */
    .project-card > div:first-child {
        height: 250px !important;
        padding: 30px !important;
    }
    
    .project-card h3 {
        font-size: 1.3rem !important;
    }
    
    .project-card p {
        font-size: 0.95rem !important;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Mobile Carousel - Force carousel to work */
    .residential-communities .logo-scroll-container,
    .commercial-properties .logo-scroll-container {
        width: 100% !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        padding: 20px 0 !important;
        position: relative !important;
        display: block !important;
    }
    
    .residential-communities .logo-scroll-track {
        display: flex !important;
        gap: 0 !important;
        animation: scrollLogosResidential 40s linear infinite !important;
        width: 500vw !important; /* 5 unique items */
        will-change: transform !important;
        animation-fill-mode: none !important;
        flex-shrink: 0 !important;
    }
    
    .commercial-properties .logo-scroll-track {
        display: flex !important;
        gap: 0 !important;
        /* Animation disabled - JavaScript controls speed to match residential */
        animation: none !important;
        width: 900vw !important;
        will-change: transform !important;
        animation-fill-mode: none !important;
        flex-shrink: 0 !important;
    }
    
    .residential-communities .logo-scroll-track:hover,
    .commercial-properties .logo-scroll-track:hover {
        animation-play-state: paused !important;
    }
    
    /* Mobile carousel containers - small, white, sharp edges */
    .residential-communities .logo-scroll-track .community-item {
        min-width: 180px !important;
        width: 180px !important;
        height: 140px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background: white !important;
        margin: 0 10px !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 10;
    }
    
    .residential-communities .logo-scroll-track .community-item a {
        pointer-events: auto !important;
        cursor: pointer !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative;
        z-index: 11;
    }
    
    .residential-communities .logo-scroll-track .community-item img {
        max-width: 130% !important;
        max-height: 130% !important;
        object-fit: contain !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        user-select: none;
        -webkit-user-drag: none;
        position: relative;
        z-index: 12;
    }
    
    .commercial-properties .logo-scroll-track .commercial-item {
        min-width: 180px !important;
        width: 180px !important;
        height: 140px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background: white !important;
        margin: 0 10px !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 10;
    }
    
    .commercial-properties .logo-scroll-track .commercial-item a {
        pointer-events: auto !important;
        cursor: pointer !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative;
        z-index: 11;
    }
    
    .commercial-properties .logo-scroll-track .commercial-item img {
        max-width: 200% !important;
        max-height: 200% !important;
        object-fit: contain !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        user-select: none;
        -webkit-user-drag: none;
        position: relative;
        z-index: 12;
    }
    
    /* Water Tower image positioning - move to the right on mobile */
    .commercial-properties .logo-scroll-track .commercial-item img[src*="WaterTowerCentre"] {
        transform: translateX(12px) !important;
    }
    
    /* Hide grid layouts on mobile - use carousel instead */
    .communities-grid {
        display: none !important;
    }
    
    /* Residential page communities grid - mobile */
    #communities .container > div {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    /* Residential community cards - mobile */
    #communities .container > div > div {
        margin-bottom: 0 !important;
    }
    
    #communities .container > div > div > div:first-child {
        height: 240px !important;
        padding: 30px !important;
    }
    
    #communities .container > div > div > div:last-child {
        padding: 25px 20px !important;
    }
    
    #communities .container > div > div h3 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    
    #communities .container > div > div p {
        font-size: 0.9rem !important;
        margin-bottom: 18px !important;
    }
    
    #communities .container > div > div a {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
    }
    
    /* Commercial page properties grid - mobile */
    #properties .container > div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    /* Commercial property cards - mobile */
    #properties .container > div > div {
        margin-bottom: 0 !important;
    }
    
    #properties .container > div > div > div:first-child {
        height: 240px !important;
        padding: 30px !important;
    }
    
    #properties .container > div > div > div:last-child {
        padding: 25px 20px !important;
    }
    
    #properties .container > div > div h3 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    
    #properties .container > div > div p {
        font-size: 0.9rem !important;
        margin-bottom: 18px !important;
    }
    
    #properties .container > div > div a {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
    }
    
    /* Why Lease With Cantu section - horizontal scroll on mobile */
    .why-build .features-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 25px !important;
        padding: 0 20px !important;
        scroll-behavior: smooth !important;
    }
    
    .why-build .feature-card {
        flex: 0 0 calc(100vw - 80px) !important;
        max-width: calc(100vw - 80px) !important;
        scroll-snap-align: start !important;
    }
    
    /* Why Build with Cantu - Horizontal Scrolling on Mobile */
    .features-grid-scroll {
        display: flex !important;
        overflow-x: auto !important;
        gap: 20px !important;
        padding: 0 20px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
    }
    
    .features-grid-scroll .feature-card {
        flex: 0 0 calc(100vw - 80px) !important;
        max-width: calc(100vw - 80px) !important;
        scroll-snap-align: start !important;
        padding: 30px 20px !important;
    }
    
    .features-grid-scroll .feature-card i {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .features-grid-scroll .feature-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }
    
    .features-grid-scroll .feature-card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Fix large text in residential/commercial sections */
    .residential-communities .section-header {
        margin-top: 40px !important;
    }
    
    .residential-communities .section-header h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        color: #ffffff !important;
    }
    
    /* Residential page section header - mobile */
    /* Remove this rule to preserve inline colors */
    
    /* About Us section - mobile */
    .about-us,
    section.about-us[style*="padding: 100px 0"] {
        padding: 40px 0 0 0 !important;
    }
    
    .about-us .container {
        padding: 0 20px !important;
    }
    
    .about-us .section-header {
        margin-bottom: 30px !important;
    }
    
    .about-us .section-header h2 {
        font-size: 2rem !important;
    }
    
    .about-us .section-header div {
        width: 80px !important;
        height: 3px !important;
        margin: 15px auto 0 !important;
    }
    
    /* Main content grid - stack on mobile */
    .about-us .container > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Logo container on mobile */
    .about-logo-container {
        height: 300px !important;
        padding: 20px !important;
        border-radius: 10px !important;
    }
    
    /* Carousel on mobile */
    .about-carousel-container {
        height: 250px !important;
        border-radius: 10px !important;
    }
    
    .about-carousel-slide img {
        object-fit: cover !important;
    }
    
    /* Logo slide on mobile needs special handling */
    .about-carousel-slide:first-child img {
        object-fit: contain !important;
        padding: 20px !important;
    }
    
    .about-carousel-prev,
    .about-carousel-next {
        width: 40px !important;
        height: 40px !important;
    }
    
    .about-carousel-prev {
        left: 10px !important;
    }
    
    .about-carousel-next {
        right: 10px !important;
    }
    
    .about-carousel-prev i,
    .about-carousel-next i {
        font-size: 16px !important;
    }
    
    /* Carousel indicators on mobile */
    .about-carousel-indicators {
        bottom: 15px !important;
        gap: 8px !important;
    }
    
    .about-indicator {
        width: 10px !important;
        height: 10px !important;
    }
    
    .about-us h3 {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .about-us p {
        font-size: 0.95rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        line-height: 1.6 !important;
    }
    
    /* Stats row on mobile - vertical stack */
    .about-us .container > div:last-child,
    .about-us .container > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 30px !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .about-us .container > div:last-child > div {
        text-align: center !important;
    }
    
    .about-us .container > div:last-child > div > div:first-child {
        font-size: 3rem !important;
        line-height: 1 !important;
    }
    
    .about-us .container > div:last-child > div > div:last-child {
        font-size: 0.85rem !important;
        margin-top: 10px !important;
        letter-spacing: 1px !important;
    }
    
    .commercial-properties .section-header h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        color: #ffffff !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
    }
    
    .residential-communities .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .commercial-properties .section-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        color: rgba(255,255,255,0.9) !important;
        font-weight: 300 !important;
        text-transform: lowercase !important;
    }
    
    /* Improve mobile section spacing */
    .residential-communities,
    .commercial-properties {
        background: var(--bg-alt) !important;
    }
    
    .residential-communities {
        padding: 0 !important;
        margin-top: -30px !important;
    }
    
    .commercial-properties {
        padding: 0 !important;
        margin-bottom: 40px !important;
    }
    
    .residential-communities .container,
    .commercial-properties .container {
        padding: 0 20px !important;
    }
    
    .community-logo {
        max-width: 500px !important;
        height: auto !important;
        width: auto !important;
        opacity: 1 !important;
        filter: none !important;
    }
    
    .community-item:hover .community-logo {
        opacity: 1 !important;
        transform: scale(1.05) !important;
    }
    
    /* Remove filters since mobile also has white boxes now */
    .community-item img[src*="TheVillageOnDove.png"],
    .community-item img[src*="DelLago.png"],
    .community-item img[src*="Bougainvillea.png"] {
        filter: none !important;
        opacity: 1 !important;
    }
    
    /* Commercial Grid - Same size as service cards */
    .commercial-grid {
        display: none !important;
    }
    
    .commercial-logo {
        max-width: 500px !important;
        height: auto !important;
        width: auto !important;
    }
    
    
    /* Testimonials */
    
   
    
    /* Contact Banner Mobile - Clean */
    .contact-banner-mobile {
        display: block !important;
        padding: 1px 0 !important;
    }
    
    .contact-banner {
        display: none !important;
    }
    
    .contact-banner-mobile .contact-banner-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1px !important;
    }
    
    .contact-banner-mobile .contact-info-left {
        flex-direction: column !important;
        gap: 1px !important;
    }
    
    .contact-banner-mobile .contact-item-banner {
        font-size: 0.65rem !important;
        justify-content: center !important;
    }
    
    .contact-banner-mobile .call-now-btn {
        padding: 2px 4px !important;
        font-size: 0.55rem !important;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .contact-map iframe {
        height: 250px;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    /* Section Headers - Mobile */
    .section-header h2 {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        color: #ffffff !important;
    }
    
    /* Upcoming Projects Section - Mobile */
    .upcoming-projects .section-header h2 {
        color: #000080 !important;
        font-size: 2rem !important;
    }
    
    .upcoming-projects {
        padding: 60px 0 50px 0 !important;
        margin-top: 0 !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    /* Improve overall mobile spacing */
    section {
        padding: 40px 0 !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
    
    /* Buttons */
    .contact-btn,
    .communities-btn,
    .commercial-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Commercial button white border on mobile */
    .commercial-properties .commercial-btn {
        border-color: #ffffff !important;
        color: #ffffff !important;
    }
    
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-heading {
        font-size: 2rem;
    }
    
    .hero-subheading {
        font-size: 0.9rem;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .communities-grid,
    .commercial-grid {
        display: none !important;
    }
    
    
    .residential-communities .logo-scroll-track {
        display: flex !important;
        gap: 0 !important;
        animation: scrollLogosMobile 32s linear infinite !important;
        width: 800vw !important;
        will-change: transform !important;
        flex-shrink: 0 !important;
    }
    
    .commercial-properties .logo-scroll-track {
        display: flex !important;
        gap: 0 !important;
        animation: none !important; /* JavaScript controls speed to match residential */
        width: 800vw !important;
        will-change: transform !important;
        flex-shrink: 0 !important;
    }
    
    .residential-communities .logo-scroll-track:hover,
    .commercial-properties .logo-scroll-track:hover {
        animation-play-state: paused !important;
    }
    
    
    /* Mobile carousel containers - small, white, sharp edges */
    .residential-communities .logo-scroll-track .community-item {
        min-width: 180px !important;
        width: 200px !important;
        height: 200px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background: white !important;
        margin: 0 10px !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
    }
    
    .residential-communities .logo-scroll-track .community-item img {
        max-width: 130% !important;
        max-height: 130% !important;
        object-fit: contain !important;
    }
    
    .commercial-properties .logo-scroll-track .commercial-item {
        min-width: 180px !important;
        width: 200px !important;
        height: 200px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        background: white !important;
        margin: 0 10px !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
    }
    
    .commercial-properties .logo-scroll-track .commercial-item img {
        max-width: 130% !important;
        max-height: 130% !important;
        object-fit: contain !important;
    }
    
    /* Water Tower image positioning - move to the right on mobile (480px) */
    .commercial-properties .logo-scroll-track .commercial-item img[src*="WaterTowerCentre"] {
        transform: translateX(12px) !important;
    }
    
    .commercial-logo {
        max-width: 500px !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Commercial button white border on mobile */
    .commercial-properties .commercial-btn {
        border-color: #ffffff !important;
        color: #ffffff !important;
    }
    
    /* Remove filters since extra small screens also have white boxes now */
    .community-item img[src*="TheVillageOnDove.png"],
    .community-item img[src*="DelLago.png"],
    .community-item img[src*="Bougainvillea.png"] {
        filter: none !important;
        opacity: 1 !important;
    }
    
    .contact-content {
        padding: 0 15px;
    }
    
    .contact-map iframe {
        height: 200px;
    }
}

/* Touch and Mobile Optimizations */
@media (max-width: 768px) {
    /* Improve touch targets */
    .nav-link,
    .contact-btn,
    .communities-btn,
    .commercial-btn,
    .submit-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
    }
    
    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
    }
    
    /* Better spacing for mobile */
    .container {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    /* Prevent content from being cut off by browser UI */
    body {
        padding-bottom: 20px;
    }
    
    /* Fix section spacing */
    section {
        margin-bottom: 30px;
        padding: 20px 0;
    }
    
    /* Remove gaps between residential and commercial sections on mobile */
    .residential-communities,
    .commercial-properties {
        margin-bottom: 0 !important;
    }
    
    /* Ensure buttons have proper spacing */
    .communities-button-container,
    .commercial-button-container {
        margin-top: 30px;
        margin-bottom: 40px !important;
    }
    
    /* Optimize images for mobile */
    .intro-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }

    .side-image {
        max-width: 300px !important;
        margin: 10px 0 !important;
    }
    
    .side-image img {
        height: 200px !important;
        max-height: 200px !important;
        object-fit: cover !important;
    }

    /* Scroll to Top Button - Mobile */
    .scroll-to-top {
        position: fixed;
        bottom: 30px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #000080, #1a1a8a);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        z-index: 9998;
        box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4);
        transition: all 0.3s ease;
        opacity: 0;
        transform: scale(0.8);
    }

    .scroll-to-top.visible {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }

    .scroll-to-top:hover {
        background: linear-gradient(135deg, #1a1a8a, #000080);
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 128, 0.5);
    }

    .scroll-to-top:active {
        transform: scale(0.95);
    }

    /* Hide scroll to top on desktop, show on mobile and iPad */
    @media (min-width: 1201px) {
        .scroll-to-top {
            display: none !important;
        }
    }

    /* Faster carousel on mobile */
    .hero-img {
        transition: opacity 1s ease-in-out !important;
    }
    
    /* Improve readability */
    .hero-subheading,
    .intro-description,
    .service-card p {
        line-height: 1.6;
    }
}

/* Communities - removed duplicate definition */
.community-card { display:block; background:#fff; border:1px solid #e1e8ed; padding:18px; color:#2c3e50; text-decoration:none; transition:transform .2s ease, box-shadow .2s ease; }
.community-card:hover { transform: translateY(-4px); box-shadow:0 10px 20px rgba(0,0,0,0.08); }

/* Tabs */
.tabs { display:flex; gap:10px; margin-bottom:20px; }
.tab-button { border:1px solid var(--border); background:#fff; padding:10px 16px; cursor:pointer; font-weight:600; }
.tab-button.active { background: var(--brand-blue); color:#fff; border-color: var(--brand-blue); }
.tab-content { display:none; }
.tab-content.active { display:block; }
.item-list { list-style:none; padding:0; }
.item-list li { padding:10px 0; border-bottom:1px dashed var(--border); }
.item-list.two-col { columns: 2; column-gap: 24px; }

/* Agents */
.agents-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:20px; }
.agent-card { background:#fff; border:1px solid #e1e8ed; padding:18px; text-align:center; }
.agent-photo { width:100%; height:160px; background:#f0f2f5; margin-bottom:12px; }

/* Mini services row */
.services-grid.mini .service-card { padding:24px; }
.services-grid.mini .service-card h3 { font-family: 'Montserrat', Arial, sans-serif; font-weight:700; }
.services-grid.mini .service-card p { color:#dfe7fb; }

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    animation: slideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile Responsive Styles for Video Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto !important;
        width: 95% !important;
        padding: 10px !important;
    }
    
    .close-modal {
        top: -35px !important;
        right: 10px !important;
        font-size: 1.8rem !important;
    }
    
    .video-container {
        padding-bottom: 56.25% !important; /* Maintain 16:9 aspect ratio */
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 15% auto !important;
        width: 98% !important;
        padding: 5px !important;
    }
    
    .close-modal {
        top: -30px !important;
        right: 5px !important;
        font-size: 1.5rem !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-logo-right {
        right: 70px;
    }
    
    .nav-logo-right img {
        height: 40px;
    }
    
    
    .hero-content {
        padding: 0 20px;
        margin-top: 150px;
    }
    
    .hero-heading { font-size: 2.2rem; }
    .hero-subheading { font-size: 0.95rem; }
    
    .hero-button-bottom {
        bottom: 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-top: 120px;
    }
    
    .hero-heading { font-size: 1.8rem; }
    .hero-subheading { font-size: 0.9rem; }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .btn-contact {
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    .hero-button-bottom {
        bottom: 40px;
    }
    
    .nav-logo-right {
        right: 60px;
    }
    
    .nav-logo-right img {
        height: 35px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Responsive intro */
@media (max-width: 768px) {
    .intro .intro-container { grid-template-columns: 1fr; text-align: center; }
    .intro-icon { margin: 0 auto 12px; }
}

/* Commercial page mobile text color fixes */
@media (max-width: 768px) {
    /* Fix white text on white background in commercial.html */
    .commercial #properties h2,
    .commercial .why-build h2,
    .commercial h2 {
        color: #000080 !important;
    }
}

/* Residential individual pages mobile optimization */
@media (max-width: 768px) {
    /* Two column layout becomes single column */
    section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Hero heading on residential pages */
    #hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    #hero p {
        font-size: 1.1rem !important;
    }
    
    /* Section headings */
    section h2 {
        font-size: 1.8rem !important;
    }
    
    /* Map height */
    iframe[src*="maps"] {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    /* Hero heading extra small */
    #hero h1 {
        font-size: 2rem !important;
    }
    
    #hero p {
        font-size: 1rem !important;
    }
    
    /* Section headings extra small */
    section h2 {
        font-size: 1.5rem !important;
    }
    
    /* Map height extra small */
    iframe[src*="maps"] {
        height: 250px !important;
    }
}


@keyframes extendLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* Intro Section Aesthetics */
.intro-heading {
    position: relative;
}

.intro-decorative-line {
    display: block;
    width: 50%;
    height: 3px;
    background-color: var(--brand-blue);
    margin-top: 5px;
}

.intro-subheading {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* View Brochure button mobile optimization */
.brochure-button {
    min-height: 48px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0, 0, 128, 0.2) !important;
    user-select: none !important;
}

/* Ensure child elements don't block clicks */
.brochure-button * {
    pointer-events: none !important;
}

.brochure-button {
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .brochure-button {
        min-height: 56px !important; /* Larger touch target on mobile */
        padding: 18px 20px !important;
    }
}

/* Also target buttons with the specific style pattern */
a[style*="display: flex"][style*="border: 2px solid #000080"] {
    min-height: 48px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0, 0, 128, 0.2) !important;
}

@media (max-width: 768px) {
    a[style*="display: flex"][style*="border: 2px solid #000080"] {
        min-height: 56px !important;
        padding: 18px 20px !important;
    }
}

