:root {
    --primary-color: #0f1e36;
    --primary-light: #1d3153;
    --accent-gold: #d8a341;
    --accent-gold-hover: #a37f3e;
    --text-color: #1a202c;
    --text-muted: #4a5568;
    --text-white: #fff;
    --bg-white: #fff;
    --bg-cream: #f9f9fb;
    --bg-dark: #0a1424;
    --header-height: 80px;
    --transition-fast: .3s cubic-bezier(.4, 0, .2, 1);
    --border-radius: 6px;
    --box-shadow: 0 10px 30px rgba(15, 30, 54, .06);
    --border-subtle: 1px solid rgba(216, 163, 65, .25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: "Open Sans", "Poppins", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-hover);
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

section[id], header[id] {
    scroll-margin-top: var(--header-height);
}

body {
    background-color: var(--bg-white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#home-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-white);
    box-shadow: 0 2px 20px rgba(15, 30, 54, .08);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.logo-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.brand-main {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: .8px;
}

.brand-sub {
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: .8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: "Poppins", sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: .5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

.hero {
    position: relative;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--header-height) 20px 60px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--primary-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    /* Optimized transition performance using opacity only */
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 30, 54, .55) 0%, rgba(10, 20, 36, .7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    color: var(--text-white);
}

.hero-content h1 {
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin-bottom: 22px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, .95);
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: "Poppins", sans-serif;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn.primary {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    border: 1px solid var(--accent-gold);
}

.btn.primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 163, 65, .3);
}

.btn.secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    backdrop-filter: blur(2px);
}

.btn.secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
    transform: translateY(-2px);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
    max-width: 90%;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .4);
    border: 1px solid var(--accent-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active, .dot:hover {
    background-color: var(--accent-gold);
    transform: scale(1.25);
}

/* About Section & Team Styles */
.about-section {
    padding: 100px 20px;
}

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    object-fit: cover;
    border: var(--border-subtle);
}

.about-text h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* Team Showcase Grid Styles */
.team-container {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border: var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all var(--transition-fast);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(15, 30, 54, .1);
}

.team-img-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-info {
    padding: 24px 20px;
}

.team-info h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.team-role {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: .3px;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Full Team Landscape Banner Styles - Centered and Enlarged */
.full-team-banner {
    width: 100%;
    max-width: 900px;
    max-height: 550px;
    margin: 50px auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: var(--border-subtle);
}

.full-team-banner img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.full-team-banner:hover img {
    transform: scale(1.02);
}

.services {
    padding: 100px 20px;
    background-color: var(--bg-cream);
    content-visibility: auto; /* Boosts rendering performance for off-screen sections */
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: var(--border-subtle);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(15, 30, 54, .1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 22px;
}

.service-card h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: .95rem;
}

.why-us {
    padding: 100px 20px;
    background-color: var(--bg-white);
    content-visibility: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 35px 25px;
    background-color: var(--bg-cream);
    border: var(--border-subtle);
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.feature i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 18px;
}

.feature h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature p {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Featured Properties Section */
.properties-section {
    padding: 100px 20px;
    background-color: var(--bg-cream);
    content-visibility: auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.property-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: var(--border-subtle);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.property-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(15, 30, 54, .1);
}

.property-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-img-wrapper img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.property-badge.managed {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.property-badge.commercial {
    background-color: #2b6cb0;
    color: var(--text-white);
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.property-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: var(--accent-gold);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features i {
    color: var(--accent-gold);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.property-price span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.faq-section {
    padding: 100px 20px;
    background-color: var(--bg-white);
    content-visibility: auto;
}

.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-cream);
    border: var(--border-subtle);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item.active {
    border-color: var(--accent-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1rem;
    color: var(--accent-gold);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-in-out, padding .3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cta {
    padding: 95px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    color: var(--text-white);
    text-align: center;
    border-top: 3px solid var(--accent-gold);
}

.cta h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -.5px;
    margin-bottom: 18px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, .85);
}

footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 70px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-content h3 {
    font-family: "Poppins", sans-serif;
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.footer-content h4 {
    font-family: "Poppins", sans-serif;
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-content p {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
    margin-bottom: 12px;
}

.footer-content p i {
    color: var(--accent-gold);
    margin-right: 8px;
}

.footer-content ul li {
    margin-bottom: 12px;
}

.footer-content ul li a {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
}

.footer-content ul li a:hover {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .45);
    font-size: .85rem;
}

.whatsapp-float-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-tooltip {
    background-color: var(--primary-color);
    color: var(--text-white);
    font-family: "Poppins", sans-serif;
    font-size: .82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .18);
    border: 1px solid var(--accent-gold);
    position: relative;
    animation: tooltip-float 2.5s ease-in-out infinite;
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 22px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
}

.whatsapp-float {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, .4);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe5b;
    color: #fff;
    transform: scale(1.1);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .7);
    }
    
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes tooltip-float {
    0%, 100% {
        transform: translateY(0);
    }
    
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .brand-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .brand-main {
        font-size: 1.1rem;
        font-weight: 900;
        line-height: 1.1;
    }
    
    .brand-sub {
        font-size: .75rem;
        font-weight: 700;
        line-height: 1.1;
    }
    
    .menu-toggle {
        display: block;
        font-size: 1.6rem;
        color: var(--primary-color);
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 20px;
        transition: right .35s ease-in-out;
        box-shadow: -5px 10px 25px rgba(0, 0, 0, .15);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .faq-question {
        font-size: .95rem;
        padding: 16px 18px;
    }
    
    .whatsapp-float-wrapper {
        bottom: 25px;
        right: 15px;
    }
    
    .whatsapp-tooltip {
        font-size: .72rem;
        padding: 5px 10px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
    
    .whatsapp-tooltip::after {
        right: 18px;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

@media (max-width: 400px) {
    .logo img {
        height: 38px;
    }
    
    .brand-main {
        font-size: .9rem;
    }
    
    .brand-sub {
        font-size: .65rem;
    }
}