/* ==========================================================================
   Bangi Heights Development - Style Guide & Base Core
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

:root {
    /* Colors - Primary */
    --primary-navy: #1A2B4A;
    --primary-gold: #C9A961;
    --primary-gold-light: #E5D4A6;

    /* Colors - Secondary */
    --secondary-slate: #475569;
    --secondary-teal: #2D5F5D;
    --secondary-cream: #F8F6F1;

    /* Colors - Accent */
    --accent-copper: #B87A4B;
    --accent-emerald: #2D7A5F;
    --accent-coral: #D4856F;

    /* Colors - Neutrals */
    --neutral-white: #FFFFFF;
    --neutral-off-white: #FAFAF8;
    --neutral-light-gray: #E8E8E4;
    --neutral-gray: #A8A8A0;
    --neutral-dark-gray: #4A4A42;
    --neutral-black: #1F1F1A;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1A2B4A 0%, #2D5F5D 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 43, 74, 0.9) 0%, rgba(45, 95, 93, 0.7) 100%);
    --gradient-gold: linear-gradient(135deg, #C9A961 0%, #E5D4A6 50%, #C9A961 100%);
    --gradient-section: linear-gradient(180deg, #FAFAF8 0%, #FFFFFF 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(229, 212, 166, 0.05) 100%);

    /* Typography - Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Typography - Scale */
    --h1-size: 4rem;
    --h1-weight: 700;
    --h1-line-height: 1.1;
    --h1-letter-spacing: -0.02em;
    --h1-mobile: 2.5rem;
    --h2-size: 3rem;
    --h2-weight: 600;
    --h2-line-height: 1.2;
    --h2-letter-spacing: -0.01em;
    --h2-mobile: 2rem;
    --h3-size: 2.25rem;
    --h3-weight: 600;
    --h3-line-height: 1.3;
    --h3-letter-spacing: -0.01em;
    --h3-mobile: 1.75rem;
    --h4-size: 1.75rem;
    --h4-weight: 600;
    --h4-line-height: 1.4;
    --h4-letter-spacing: 0;
    --h4-mobile: 1.5rem;
    --h5-size: 1.25rem;
    --h5-weight: 600;
    --h5-line-height: 1.5;
    --h5-letter-spacing: 0;
    --h6-size: 1rem;
    --h6-weight: 600;
    --h6-line-height: 1.5;
    --h6-letter-spacing: 0.02em;
    --h6-text-transform: uppercase;

    --body-size: 1.0625rem;
    --body-weight: 400;
    --body-line-height: 1.7;
    --body-letter-spacing: 0;
    --body-large: 1.25rem;
    --body-large-line-height: 1.6;
    --body-small: 0.9375rem;
    --body-small-line-height: 1.6;

    --caption-size: 0.875rem;
    --caption-weight: 500;
    --caption-line-height: 1.5;
    --caption-letter-spacing: 0.02em;
    --label-size: 0.75rem;
    --label-weight: 600;
    --label-line-height: 1.4;
    --label-letter-spacing: 0.08em;
    --label-text-transform: uppercase;

    --display-size: 5rem;
    --display-weight: 400;
    --display-line-height: 1.1;
    --display-letter-spacing: -0.02em;
    --display-mobile: 3rem;

    /* Container Widths */
    --container-xl: 1320px;
    --container-lg: 1200px;
    --container-md: 960px;
    --container-sm: 720px;
    --container-content: 800px;
    --container-padding: 24px;

    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 2.5rem;
    --space-6: 3rem;
    --space-7: 4rem;
    --space-8: 5rem;
    --space-9: 6rem;
    --space-10: 8rem;

    --section-padding-y: 6rem;
    --section-padding-y-mobile: 3rem;
    --section-padding-small: 4rem;
    --section-padding-large: 8rem;

    /* Elevation / Shadows */
    --shadow-xs: 0 1px 3px rgba(26, 43, 74, 0.06);
    --shadow-sm: 0 2px 8px rgba(26, 43, 74, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 43, 74, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 43, 74, 0.16);
    --shadow-xl: 0 12px 48px rgba(26, 43, 74, 0.2);
    --shadow-gold: 0 8px 24px rgba(201, 169, 97, 0.3);
    --shadow-hover: 0 16px 56px rgba(26, 43, 74, 0.22);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Icons */
    --icon-xs: 16px;
    --icon-sm: 20px;
    --icon-md: 24px;
    --icon-lg: 32px;
    --icon-xl: 48px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    font-weight: var(--body-weight);
    line-height: var(--body-line-height);
    color: var(--neutral-dark-gray);
    background-color: var(--neutral-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

ul,
ol {
    list-style: none;
}

/* Filter Utility for warmth */
.image-warm-filter {
    filter: brightness(1.05) contrast(1.1) saturate(1.15) sepia(0.08);
}

/* Containers */
.container {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-content {
    max-width: var(--container-content);
    margin: 0 auto;
}

/* Topography Utilities */
h1,
.h1 {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    line-height: var(--h1-line-height);
    letter-spacing: var(--h1-letter-spacing);
    color: var(--primary-navy);
}

h2,
.h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    line-height: var(--h2-line-height);
    letter-spacing: var(--h2-letter-spacing);
    color: var(--primary-navy);
}

h3,
.h3 {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    font-weight: var(--h3-weight);
    line-height: var(--h3-line-height);
    letter-spacing: var(--h3-letter-spacing);
    color: var(--primary-navy);
}

h4,
.h4 {
    font-family: var(--font-heading);
    font-size: var(--h4-size);
    font-weight: var(--h4-weight);
    line-height: var(--h4-line-height);
    color: var(--primary-navy);
}

/* Accent Texts */
.accent-text {
    font-family: var(--font-accent);
}

.text-gold {
    color: var(--primary-gold);
}

.text-coral {
    color: var(--accent-coral);
}

.text-navy {
    color: var(--primary-navy);
}

.text-white {
    color: var(--neutral-white);
}

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

/* Icon Utilities */
.icon-gold {
    color: var(--primary-gold);
}

.icon-white {
    color: var(--neutral-white);
}

/* Grid Utilities */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-3);
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

/* Responsive adjustments */
@media (max-width: 992px) {

    h1,
    .h1 {
        font-size: var(--h1-mobile);
    }

    h2,
    .h2 {
        font-size: var(--h2-mobile);
    }

    h3,
    .h3 {
        font-size: var(--h3-mobile);
    }

    h4,
    .h4 {
        font-size: var(--h4-mobile);
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 var(--space-3);
    }

    section {
        padding: var(--section-padding-y-mobile) 0 !important;
    }
}

/* Section Spacing */
section {
    padding: var(--section-padding-y) 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--neutral-off-white);
}

.section-bg-dark {
    background-color: var(--primary-navy);
    color: var(--neutral-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--body-small);
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--neutral-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 122, 75, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-ghost {
    background: transparent;
    color: var(--neutral-white);
    border: 1px solid var(--neutral-white);
}

.btn-ghost:hover {
    background: var(--neutral-white);
    color: var(--primary-navy);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-navy);
    color: var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--neutral-white);
}

/* Link Effect */
.link {
    position: relative;
    display: inline-block;
    color: inherit;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link:hover::after {
    width: 100%;
}

/* Animations - On Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
}

.fade-in-up.is-visible {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* Dividers */
.divider {
    width: 100%;
    height: 1px;
    margin: var(--space-4) 0;
    background: linear-gradient(to right, transparent 0%, var(--neutral-light-gray) 50%, transparent 100%);
}

.divider-gold {
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--primary-gold) 50%, transparent 100%);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    letter-spacing: var(--label-letter-spacing);
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: var(--space-2);
}

/* Mobile Menu Slide */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--neutral-white);
        box-shadow: var(--shadow-xl);
        padding: var(--space-6) var(--space-4);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(0px);
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-link {
    color: var(--primary-navy);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--primary-navy);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-white);
    letter-spacing: 0.05em;
    transition: color 0.4s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-white);
    transition: color 0.4s;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--neutral-white);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        padding-top: 80px;
    }

    .nav-menu .nav-link {
        color: var(--primary-navy);
        font-size: 1.125rem;
    }

    .hidden-mobile {
        display: none !important;
    }
}

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

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--primary-navy);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--primary-navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 480px;
        padding: 100px 0 60px !important;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--neutral-white);
    padding-top: 80px;
}

.hero-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    letter-spacing: 0.15em;
    color: var(--primary-gold);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.hero-title {
    color: var(--neutral-white);
    margin-bottom: var(--space-3);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: var(--body-large);
    font-weight: 300;
    color: var(--primary-gold-light);
    margin-bottom: var(--space-5);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

@media (max-width: 576px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
    }
}

.trust-line {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.animating-mouse {
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-images {
    position: relative;
    padding-right: var(--space-4);
    padding-bottom: var(--space-5);
}

.image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-gold);
}

.image-main img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.image-overlap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--neutral-off-white);
    box-shadow: var(--shadow-lg);
}

.image-overlap img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 40px;
    left: -20px;
    background: var(--neutral-white);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--primary-gold);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-slate);
    line-height: 1.2;
    text-transform: uppercase;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-points {
    margin: var(--space-4) 0;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.point-text {
    font-weight: 600;
    color: var(--primary-navy);
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding-top: var(--space-3);
    border-top: 1px solid var(--neutral-light-gray);
}

.badge-grayscale {
    height: 48px;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.3s;
}

.badge-grayscale:hover {
    filter: grayscale(0) opacity(1);
}

.badge-text-only {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--neutral-gray);
    border: 2px solid var(--neutral-gray);
    border-radius: 4px;
    padding: 4px 12px;
    transition: all 0.3s;
    cursor: default;
}

.badge-text-only:hover {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

@media (max-width: 992px) {
    .experience-badge {
        left: 10px;
    }

    .image-main {
        width: 85%;
    }

    .image-overlap {
        width: 50%;
    }
}

/* ==========================================================================
   Statistics Section
   ========================================================================== */
.statistics {
    border-top: 4px solid var(--primary-gold);
    border-bottom: 4px solid var(--primary-gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    text-align: center;
}

.stat-item {
    padding: var(--space-2);
}

.stat-number {
    margin-bottom: var(--space-1);
}

.stat-label {
    color: var(--neutral-white);
    opacity: 0.9;
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .stat-item {
        margin-bottom: var(--space-3);
    }
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

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

@media (max-width: 768px) {

    .property-grid,
    .feature-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        margin-left: calc(var(--space-3) * -1);
        margin-right: calc(var(--space-3) * -1);
        padding-left: var(--space-3);
        padding-right: var(--space-3);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .property-grid::-webkit-scrollbar,
    .feature-grid::-webkit-scrollbar {
        display: none;
    }

    .property-card,
    .feature-card {
        min-width: 80vw;
        max-width: 320px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

.property-card {
    background: var(--neutral-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 43, 74, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--neutral-light-gray);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .card-image img {
    transform: scale(1.08);
}

.price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-gold);
    color: var(--neutral-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.card-content {
    padding: var(--space-4);
}

.card-title {
    margin-bottom: var(--space-1);
    line-height: 1.3;
    font-size: 1.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--neutral-gray);
    font-size: 0.875rem;
    margin-bottom: var(--space-3);
}

.property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid var(--neutral-light-gray);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--neutral-dark-gray);
}

.margin-bottom-large {
    margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
    .margin-bottom-large {
        margin-bottom: var(--space-4);
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

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

.feature-card {
    background: var(--neutral-white);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-light-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--secondary-cream);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.feature-text {
    color: var(--secondary-slate);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-card {
        padding: var(--space-3);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-2);
    }

    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }

    .feature-text {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.custom-carousel {
    position: relative;
    overflow: hidden;
    padding: var(--space-2) 0;
}

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

.carousel-track {
    display: flex;
    gap: var(--space-4);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 calc(50% - (var(--space-4) / 2));
    background: var(--neutral-white);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-light-gray);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

.stars {
    color: var(--primary-gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
}

.testimonial-quote {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--neutral-dark-gray);
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-top: 1px solid var(--neutral-light-gray);
    padding-top: var(--space-3);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold-light);
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--primary-navy);
    font-size: 1.05rem;
}

.author-info span {
    display: block;
    color: var(--secondary-slate);
    font-size: 0.875rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--neutral-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    z-index: 10;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--primary-navy);
    color: var(--neutral-white);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

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

/* ==========================================================================
   Awards Section
   ========================================================================== */
.awards-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-5);
}

.award-item {
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: default;
}

.award-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.award-logo {
    height: 60px;
    margin: 0 auto var(--space-2);
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.award-item:hover .award-logo {
    opacity: 1;
}

.award-text-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: var(--space-2);
    letter-spacing: 1px;
}

.award-item:hover .award-text-logo {
    border-color: var(--neutral-white);
}

.award-name {
    font-size: 0.875rem;
    color: var(--primary-gold-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .awards-grid {
        gap: var(--space-4);
    }

    .award-item {
        flex: 0 0 40%;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-5);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-map {
        order: 3;
        grid-column: 1 / span 2;
        height: 400px;
    }
}

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

    .contact-map {
        grid-column: 1;
        height: 300px;
        order: initial;
    }
}

.contact-form-wrap {
    background: var(--neutral-white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-light-gray);
}

.form-group {
    margin-bottom: var(--space-3);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-dark-gray);
    background: var(--neutral-off-white);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: var(--neutral-white);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: var(--space-4);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--secondary-slate);
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.125rem;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-bottom: var(--space-3);
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    display: block;
    padding: 12px 16px;
    background: rgba(45, 122, 95, 0.1);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald);
}

.form-status.error {
    display: block;
    padding: 12px 16px;
    background: rgba(212, 133, 111, 0.1);
    border: 1px solid var(--accent-coral);
    color: var(--accent-coral);
}

.form-control.invalid {
    border-color: var(--accent-coral);
    background: rgba(212, 133, 111, 0.05);
}

.field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.8125rem;
    color: var(--accent-coral);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.map-link {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--neutral-white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.map-link:hover {
    background: var(--primary-navy);
    color: var(--neutral-white);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-block strong {
    display: block;
    color: var(--primary-navy);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.info-block p {
    color: var(--secondary-slate);
    font-size: 0.9375rem;
}

.contact-link {
    color: var(--primary-navy);
    font-weight: 600;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: var(--space-3);
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--neutral-light-gray);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--neutral-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-navy);
    color: var(--neutral-white);
    padding-top: var(--space-8);
    border-top: 4px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-badge {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.footer-badge-text {
    font-family: var(--font-heading);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0.6;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-gold-light);
    margin-bottom: var(--space-3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 4px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

    .mobile-only {
        display: block;
        margin-top: 4px;
    }
}

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

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
}

.legal-links a:hover {
    color: var(--primary-gold);
}

.powered-by {
    text-align: center;
    padding-bottom: var(--space-4);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.powered-by a {
    color: rgba(255, 255, 255, 0.6);
}

.powered-by a:hover {
    color: var(--primary-gold);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}