:root {
    --bg-color: #FBFAFF; /* New landing background color */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --accent-dark: #1A1A1A;
    --pill-bg-1: #C5BEE4;
    --pill-bg-2: #F6E7A1;
    --white: #FFFFFF;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --border-radius-lg: 32px;
    --border-radius-pill: 50px;
    --font-main: 'Syne', sans-serif;
    --font-alt: 'Outfit', sans-serif;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pre-reveal states for Framer-style motion */
.hero-title span, .hero-subtitle, .search-bar-container, .main-hero-image, .benefit-card, .category-card, .city-card, .cta-box {
    opacity: 0;
}

/* Lenis Smooth Scroll Base */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Mask Reveal System (MPHD Style) */
.mask-reveal {
    overflow: hidden;
    display: block;
}

.mask-reveal-content {
    display: block;
    transition: var(--transition-smooth);
}

.mask-reveal-content.active {
    transform: translateY(0);
    opacity: 1;
}

/* Cinematic Keyframes */
@keyframes maskRevealUp {
    from { transform: translateY(105%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes cinematicFade {
    from { opacity: 0; transform: scale(1.05); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.animate-mask { animation: maskRevealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-cinematic { animation: cinematicFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-reveal { animation: revealUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.animate-fade { animation: fadeIn 1s ease forwards; opacity: 0; }
.animate-scale { animation: scaleIn 0.6s ease forwards; opacity: 0; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Enhanced Card Interactions */
.property-card {
    transition: var(--transition-smooth);
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.property-card .card-image img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reveal on Scroll Trigger */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
}

.hero-section, .hero-section * {
    font-family: var(--font-alt) !important;
}

.hero-section {
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column; 
    align-items: center;
    background-color: transparent; /* Changed to transparent */
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header {
    position: relative;
    z-index: 1000;
}

/* Navbar */
.navbar {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    z-index: 100;
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.logo img {
    /* Original logo without filter */
}

.navbar .nav-links ul {
    display: flex !important;
    list-style: none !important;
    gap: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar .nav-links ul a {
    text-decoration: none !important;
    color: var(--text-main) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: color 0.2s ease !important;
}

.navbar .nav-links ul li a:hover,
.navbar .nav-links ul li a.active {
    color: #1A1A1A !important;
}

.mobile-nav-header, .mobile-nav-footer {
    display: none !important;
}

/* Hamburger Menu Base Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1A1A1A;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation classes */
.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.contact-btn {
    text-decoration: none;
    color: var(--text-main);
    border: 1.5px solid var(--text-main);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    background-color: var(--text-main);
    color: white;
}


.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: left;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    max-width: 1100px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.6;
    margin-top: 10px;
}

.title-pill {
    display: inline-block;
    width: 78px;
    height: 40px;
    border-radius: var(--border-radius-pill);
    vertical-align: middle;
    margin: 0 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    top: -2px;
}

.pill-house-1 {
    background-image: url('assets/town-buildings-1.png');
}

.pill-house-2 {
    background-image: url('assets/town-buildings-2.png');
}

/* Search Bar Container */
.search-bar-container {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.browse-form-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Hero Image */
.hero-image-container {
    width: 100%;
    overflow: hidden;
    margin-top: -10px; /* Pulls building up to touch the filter line */
}

.main-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Background Lines */
.bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('assets/page-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1; 
}

.container-section {
    padding: 20px 0 5px; /* Significantly reduced top padding */
    background-color: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
}

.browse-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
    padding: 20px 0;
}

.property-card {
    background: transparent;
    border-radius: 24px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    cursor: pointer;
}

.property-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #F1F5F9;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Glassmorphic Price Badge on Photo Top-Left */
.card-price-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.card-price-badge .price-unit {
    font-size: 11px;
    font-weight: 400;
    color: #CBD5E1;
    margin-left: 3px;
}

/* Card Price inside Body */
.card-price-container {
    margin: 10px 0 14px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-price-text {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #335C67; /* Brand Primary Accent */
    letter-spacing: -0.5px;
}

.card-price-unit {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    margin-left: 2px;
}

/* Status Badges Top-Right */
.card-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.card-status-badge.status-negotiable {
    background: #059669;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.card-status-badge.status-fixed {
    background: #64748B;
    color: #FFFFFF;
}

.card-status-badge.status-featured {
    background: #335C67;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(51, 92, 103, 0.3);
}

.card-status-badge.status-sold {
    background: #EF4444;
    color: #FFFFFF;
}

/* Card Body Section */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.card-location {
    font-size: 13px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}

.card-specs-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
    margin-bottom: 18px;
    margin-top: auto;
}

.card-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-btn-view {
    background: #0F172A;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.property-card:hover .card-btn-view {
    background: #1E293B;
    transform: translateX(2px);
}

.card-contact-quick {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-action-icon:hover {
    background: #0F172A;
    color: #FFFFFF;
}

.card-action-icon.wa-icon {
    background: #ECFDF5;
    color: #059669;
}

.card-action-icon.wa-icon:hover {
    background: #25D366;
    color: #FFFFFF;
}

.priority-section {
    padding: 10px 0 40px; /* Further reduced top padding */
    position: relative;
    overflow: hidden;
    background-color: #FBFAFF;
}

.priority-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.priority-text {
    flex: 1;
    max-width: 500px;
}

.priority-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.priority-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

.priority-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Staggered Scroll Reveal Animation */
.priority-cards .benefit-card {
    opacity: 0;
    transform: translateY(40px);
}

.priority-cards .benefit-card.active {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border: 1px solid #E7DCFF;
    border-radius: 20px;
    background: white;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease, box-shadow 0.4s ease, border-color 0.3s ease;
    cursor: pointer;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(193, 165, 255, 0.2);
    border-color: #D4C1FF;
}

.benefit-icon {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.benefit-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.benefit-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.priority-bg {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

.priority-bg img {
    width: 100%;
    height: auto;
}

.categories-section {
    padding: 40px 0 20px;
    background-color: #FBFAFF;
}

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

.category-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border: 1px solid #E7DCFF;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: #A855F7;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.category-icon-box {
    width: 84px;
    height: 84px;
    background-color: #E7DCFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.category-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.view-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-arrow {
    font-size: 18px;
}

.cities-section {
    padding: 20px 0 40px;
    background-color: #FBFAFF;
}

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

.city-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #E7DCFF;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.city-card:hover {
    border-color: #E0E0E0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transform: translateY(-2px);
}

.city-img-box {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.city-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-info-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.city-info-box p {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.testimonials-section {
    padding: 40px 0;
    background-color: #FBFAFF;
}

.text-center {
    text-align: center;
    margin-bottom: 30px;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0;
    padding: 20px 0;
    margin-bottom: 50px;

}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 0;
    animation: scroll 40s linear infinite;
}

.testimonials-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
    align-items: start;
    padding-bottom: 80px; /* Space for staggered items */
}

.testimonial-item-v2 {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.staggered-down {
    transform: translateY(60px);
}

.testimonial-card-v2 {
    background: #f9f9f9;
    padding: 50px 35px 40px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.4s ease, background 0.4s ease;
}

.testimonial-card-v2:hover {
    background: #fdfdfd;
    transform: translateY(-5px);
}

.quote-icon-v2 {
    margin-bottom: 25px;
}

.quote-text-v2 {
    font-size: 18px;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 40px;
    flex-grow: 1;
    font-weight: 500;
}

.client-footer-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar-v2 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.client-avatar-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info-v2 {
    display: flex;
    flex-direction: column;
}

.client-name-v2 {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
}

.client-role-v2 {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

@media (max-width: 1200px) {
    .testimonials-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .staggered-down {
        transform: translateY(0);
    }
}

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

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Property Marquee Styles */
.property-marquee-section {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    padding: 20px 0 60px;
}

.property-marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100vw;
    margin: 15px 0;
    z-index: 5;
}

.property-marquee-content {
    flex-shrink: 0;
    display: flex;
    min-width: 100%;
    animation: scroll 30s linear infinite;
    gap: 30px;
    padding-left: 30px;
}

.property-marquee-item {
    flex: 0 0 1100px; /* Much wider for impact */
    height: 750px;   /* Taller for immersion */
    border-radius: 40px; /* More rounding for the larger scale */
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
}

.property-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-marquee-item:hover img {
    transform: scale(1.1);
}

.trusted-section {
    padding: 40px 0 80px;
    background-color: transparent;
}

.trusted-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.trusted-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #A0AEC0;
    text-transform: uppercase;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-marquee-content {
    display: flex;
    gap: 80px;
    animation: scrollLogos 40s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.logo-item {
    font-size: 22px;
    font-weight: 800;
    color: #CBD5E0;
    letter-spacing: -0.5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

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

/* Property Slider (Featured Listings) */
.property-slider-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: 60px 0;
}

.detailed-slider {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 50px;
}

.detailed-slider::-webkit-scrollbar {
    display: none;
}

.detailed-slider .property-marquee-content {
    animation: none !important; /* Force disable auto-motion */
    display: flex;
    gap: 40px;
    padding: 20px 0;
    width: max-content;
}

.detailed-slider .property-card {
    flex: 0 0 420px; /* Constant width */
    height: 600px;   /* Constant total height */
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #F0F0F0;
    scroll-snap-align: center;
}

.detailed-slider .card-image {
    height: 280px;
    flex-shrink: 0;
    border-radius: 0;
    margin: 0;
}

.detailed-slider .card-content {
    margin: 0; 
    border-radius: 0;
    box-shadow: none;
    padding: 25px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.detailed-slider .property-name {
    height: 52px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.detailed-slider .address {
    height: 40px;
    overflow: hidden;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detailed-slider .specs {
    margin-top: auto;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid #F0F0F0;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slider-control:hover {
    background: #1A1A1A;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev { left: 20px; }
.slider-control.next { right: 20px; }

.cta-section {
    padding: 40px 0;
    background-color: #FBFAFF;
}

.cta-box {
    background-color: #C1A5FF;
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
    color: white;
    border: 1px solid #1A1A1A;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-sub {
    font-family: var(--font-main);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
    display: block;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    background: white;
    padding: 8px;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
}

.cta-form input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #1A1A1A;
}

/* Redesigned Footer - Row Format */
.footer {
    padding: 100px 0 40px;
    background-color: #FBFAFF;
    border-top: 1px solid #E7DCFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand-col .logo {
    margin-bottom: 24px;
}

.footer-brand-col .footer-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background-color: #1A1A1A;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a svg {
    color: white !important;
    stroke: white !important;
}

.utility-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.utility-links a:hover {
    color: #1A1A1A;
}

.social-links a:hover {
    background-color: #C1A5FF;
    transform: translateY(-3px);
}


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

.footer-links a, .footer-links p {
    text-decoration: none;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500; /* Slightly lighter than before for a cleaner look */
    transition: color 0.3s ease;
    margin: 0;
}

.footer-links a:hover {
    color: #C1A5FF;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9CA3AF;
    margin-bottom: 25px;
    font-weight: 700;
}
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #E7DCFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}



.btn-connect {
    background-color: white;
    color: #1A1A1A;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    position: relative; /* Added for cursor positioning */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fake-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    pointer-events: none;
    animation: cursor-move 4s infinite ease-in-out;
}

.fake-cursor svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.click-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(193, 165, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    animation: ripple-effect 4s infinite ease-in-out;
}

@keyframes cursor-move {
    0% { transform: translate(100px, 100px); }
    40% { transform: translate(-10px, -10px); } /* Hovering over button */
    50% { transform: translate(-10px, -10px) scale(0.8); } /* Clicking down */
    60% { transform: translate(-10px, -10px) scale(1); } /* Releasing */
    100% { transform: translate(100px, 100px); }
}

@keyframes ripple-effect {
    0%, 45% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1); opacity: 1; }
    65% { transform: scale(4); opacity: 0; }
    100% { transform: scale(0); opacity: 0; }
}

/* Update button click sync */
.btn-connect {
    animation: button-click-sync 4s infinite ease-in-out;
}

@keyframes button-click-sync {
    0%, 45% { transform: scale(1); }
    50% { transform: scale(0.92); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.btn-connect:hover {
    background-color: #f8f8f8;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
    filter: brightness(0) invert(1); /* Make the architecture line art white */
}

.cta-bg img {
    width: auto;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    object-fit: contain;
}

.contact-page {
    background-color: white;
}

.contact-header {
    padding: 40px 0 40px;
    text-align: center;
}

.contact-header h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -1.5px;
}

.contact-header p {
    font-size: 18px;
    color: #71717A;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

.contact-main {
    padding-bottom: 120px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
    box-shadow: var(--shadow);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(1.1);
}

.map-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.map-type {
    display: flex;
    background: white;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    pointer-events: auto;
}

.map-type button {
    border: none;
    background: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.map-type button.active {
    background: #F8F7FF;
    color: #1A1A1A;
}

.map-zoom {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: auto;
}

.map-zoom button {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.info-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.info-item .country {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-item h4 {
    font-size: 24px;
    font-weight: 700;
}

.info-item p {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-form-box {
    background-color: #F7F2FF;
    padding: 50px;
    border-radius: 40px;
    border: 2px solid #1A1A1A; /* Black 'lining' as requested */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    background: white;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #A855F7;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background-color: #1A1A1A;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #000;
    transform: scale(1.02);
}

.footer {
    background-color: #F8F7FF;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-desc {
    margin-top: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-main);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #A855F7;
}

.footer-links h3, .footer-contact h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #A855F7;
}

.footer-contact p {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

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

.bottom-links a {
    text-decoration: none;
    color: var(--text-muted);
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
    
    .footer-brand-col {
        grid-column: 1 / -1;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }
    .hero-header {
        flex-direction: column;
    }
}
/* Properties Listing Section */
.properties-listing-section {
    padding-bottom: 80px;
    background-color: white;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.btn-load-more {
    padding: 16px 40px;
    background-color: white;
    color: var(--text-main);
    border: 1px solid #1A1A1A;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: #1A1A1A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

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

/* Properties Page - Search Filter */
.search-properties-section {
    padding: 60px 0;
    background-color: white;
}

.search-properties-section h1 {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-main);
}

.search-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-filter-bar {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #1A1A1A; /* Thin dark border as per reference */
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-filter {
    position: relative;
    z-index: 10;
    margin-top: 20px; /* Adjusted to bring it below the title */
    margin-bottom: 0px;
}

.filter-segment {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 30px;
    border-right: 1px solid #EEE;
}

.filter-segment:nth-last-child(2) {
    border-right: none;
}

.segment-icon {
    width: 54px;
    height: 54px;
    background-color: #F0E9FF; /* Soft purple as per reference */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden; /* Added to keep scaled icons contained */
}

.segment-icon img {
    width: 65% !important; /* Adjusted from 100% to allow for better visual balance */
    height: 65% !important;
    object-fit: contain !important;
    transform: scale(1.4); /* Made it bigger relative to the circle */
}

.segment-text {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 15px;
}

.segment-text::after {
    content: '▾';
    position: absolute;
    right: 0;
    bottom: 4px;
    font-size: 10px;
    color: var(--text-muted);
    pointer-events: none;
}

.segment-text span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.segment-text select {
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-browse-action {
    background-color: #1A1A1A;
    color: white;
    border: none;
    border-radius: 18px;
    padding: 20px 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-browse-action:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-more-filter:hover {
    background-color: #D8CCFF;
}


.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.results-count {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
}

.view-toggles {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #E7DCFF;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #1A1A1A;
    color: white;
}

@media (max-width: 992px) {
    .search-filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .search-filter-bar {
        flex-direction: column;
        padding: 20px;
    }
    .filter-segment {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E7DCFF;
        padding: 15px 0;
    }
    .filter-segment:nth-last-child(2) {
        border-bottom: none;
    }
    .btn-browse-action {
        width: 100%;
        margin-top: 10px;
    }
    .hero-filter {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Property Detail Page */
.property-detail-header {
    padding: 40px 0;
    background-color: #FBFAFF;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-main);
    font-weight: 600;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.detail-title-row h1 {
    font-family: 'Syne', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.detail-address {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-price {
    text-align: right;
}

.detail-price .label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.detail-price strong {
    font-size: 36px;
    color: #1A1A1A;
}

/* Gallery */
.property-gallery {
    padding-bottom: 60px;
    background-color: #FBFAFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 500px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sub-images {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
}

.sub-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.more-images {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.more-images span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* Info Section */
.property-info-section {
    padding: 60px 0;
    background-color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.specs-bar {
    display: flex;
    background-color: #FBFAFF;
    border: 1px solid #E7DCFF;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    justify-content: space-around;
}

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

.spec-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.spec-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.description-box h3, .features-list h3, .map-location h3 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.description-box p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.features-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.contact-agent-card {
    background: white;
    border: 1px solid #E7DCFF;
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(193,165,255,0.1);
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.agent-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.agent-profile h4 {
    font-size: 18px;
    margin-bottom: 2px;
}

.agent-profile p {
    font-size: 14px;
    color: var(--text-muted);
}

.agent-form input, .agent-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E7DCFF;
    border-radius: 12px;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.agent-form textarea {
    height: 120px;
    resize: none;
}

.btn-send-message {
    width: 100%;
    padding: 15px;
    background-color: #1A1A1A;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send-message:hover {
    background-color: #000;
}

.direct-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E7DCFF;
}

.direct-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 10px;
}


/* Contact Buttons */
.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #1A1A1A;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn-call:hover {
    background-color: #000;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .gallery-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        height: auto;
    }
    .specs-bar {
        flex-wrap: wrap;
        gap: 20px;
    }
}



/* --- EXACT MOBILE ALIGNMENT FIXES --- */
@media (max-width: 768px) {
    /* Navbar Alignment */
    /* Navbar Alignment */
    .container { z-index: auto !important; width: 100% !important; padding: 0 24px !important; }
    .header { z-index: 99999999 !important; position: relative; background: white !important; padding: 15px 0 !important; }
    .nav-actions { display: none !important; }
    .navbar { justify-content: space-between !important; padding: 0 !important; position: relative; z-index: 99999999 !important; }
    
    /* Mobile Nav Menu Drawer - PREMIUM REDESIGN */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 100% !important;
        height: 100vh !important;
        background: #121212 !important; /* Deep dark background */
        padding: 0 !important;
        gap: 0 !important;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 999999 !important; /* Extremely high to stay above filters/hero */
        overflow-y: auto;
    }
    
    .nav-links.nav-active {
        left: 0 !important;
    }

    .mobile-nav-header {
        display: flex !important;
        width: 100% !important;
        height: 80px !important;
        background: #C1A5FF !important; /* Theme purple as requested */
        padding: 0 40px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 20px !important;
    }

    .nav-links ul {
        width: 100% !important;
        padding: 40px 0 !important; /* Added vertical padding */
        margin: 0 !important;
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important; /* Force vertical orientation */
        align-items: flex-start !important;
        gap: 0 !important;
    }

    .nav-links li { 
        width: 100% !important;
        margin: 0 !important; 
        padding: 20px 40px !important; /* Balanced spacing */
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .navbar .nav-links ul li a,
    .navbar .nav-links ul li a.active { 
        color: #FFFFFF !important; /* Forced pure white for both normal and active states */
        opacity: 1 !important; 
        font-size: 28px !important; 
        font-weight: 500 !important;
        display: block !important;
        text-align: left !important;
        letter-spacing: -0.5px !important;
    }

    .mobile-nav-footer {
        display: block !important;
        margin-top: auto !important;
        padding: 30px 40px !important;
        text-align: center !important;
        border-top: 1px solid rgba(255,255,255,0.05) !important;
        background: rgba(255,255,255,0.02) !important;
    }

    .mobile-nav-footer a {
        color: #1a1a1a !important;
        background: white !important;
        text-decoration: none !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        padding: 16px 32px !important;
        border-radius: 12px !important;
        display: inline-block !important;
        width: 100% !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }


    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 30px !important;
        height: 21px !important;
        cursor: pointer !important;
        z-index: 9999999 !important; /* Above everything including the drawer */
    }

    
    .hamburger span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #1A1A1A !important;
        border-radius: 10px !important;
        transition: all 0.3s ease !important;
    }

    /* When menu is open, make hamburger white */
    .hamburger.toggle span {
        background-color: white !important;
    }

    /* Hamburger Animation to X */
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px) !important;
    }
    .hamburger.toggle span:nth-child(2) {
        opacity: 0 !important;
    }
    .hamburger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px) !important;
    }


    /* Hero Section Alignment (RESTORED) */
    .hero-section {
        padding: 20px 0 0 0 !important; /* Removed bottom padding entirely */
        text-align: left !important;
        background-color: #F8F7FF !important;
        overflow: visible !important;
    }
    .hero-content {
        padding: 0 !important;
        text-align: left !important;
        position: relative;
        z-index: 5;
    }
    .hero-title {
        font-size: 46px !important; /* Re-scaled to match desktop "impact" feel */
        line-height: 1.1 !important; /* Tighter line height for the luxury look */
        text-align: left !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        color: #1a1a1a !important;
        letter-spacing: -2px !important; /* Exact match to original spacing */
    }
    .title-pill {
        width: 75px !important; /* Proportional scaling */
        height: 36px !important;
        top: -3px !important;
        margin: 0 6px !important;
    }
    .hero-subtitle {
        font-size: 18px !important; /* Matched to original readability */
        margin: 0 0 15px 0 !important; /* Balanced gap before filter */
        text-align: left !important;
        color: #777 !important;
        max-width: 100% !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }

    /* Filter Bar Overlapping Alignment (RESTORED) */
    .search-bar-container {
        position: relative !important;
        z-index: 10 !important;
        padding: 0 !important; 
        transform: translateY(0) !important; /* Removed translateY to close the gap */
        width: 100% !important;
    }
    .search-filter-bar {
        flex-direction: column !important;
        padding: 24px !important;
        gap: 20px !important;
        border-radius: 16px !important;
        border: 1px solid #1A1A1A !important;
        background: white !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .filter-segment {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #F3F4F6 !important;
        padding-bottom: 20px !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 16px !important;
        box-sizing: border-box !important;
    }
    .filter-segment:last-of-type {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .segment-icon {
        width: 56px !important; /* Scaled down for mobile */
        height: 56px !important;
        background: #F0E9FF !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }
    .segment-icon img {
        width: 60px !important; 
        height: 60px !important;
        object-fit: contain !important;
        transform: scale(1.1) !important;
    }
    .segment-text {
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .segment-text span {
        font-size: 15px !important;
        color: #9CA3AF !important;
        text-transform: capitalize !important;
    }
    .segment-text select {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #111827 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    .btn-browse-action {
        width: 100% !important;
        margin-top: 10px !important;
        padding: 18px !important;
        border-radius: 14px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        background: #1A1A1A !important;
        color: white !important;
        box-sizing: border-box !important;
    }

    /* Hero Image Alignment (RESTORED) */
    .hero-image-container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .main-hero-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* Home Page Section Optimizations */
    .container-section {
        padding: 20px 0 40px 0 !important; /* Reduced top padding to close the gap */
    }
    .section-title {
        font-size: 32px !important;
        margin-bottom: 20px !important;
    }
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .listings-grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px !important; 
        padding: 10px 0 !important;
    }

    /* Clean Mobile Property Cards */
    .property-card {
        flex-direction: column !important;
        border-radius: 18px !important;
        height: auto !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .card-image-box {
        height: 190px !important;
    }

    .card-price-badge {
        top: 10px !important;
        left: 10px !important;
        padding: 4px 10px !important;
        font-size: 13px !important;
    }

    .card-status-badge {
        top: 10px !important;
        right: 10px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
    }

    .card-body {
        padding: 14px !important;
        margin: 0 !important;
    }

    .card-title {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }

    .card-location {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    .card-specs-row {
        gap: 10px !important;
        padding-top: 10px !important;
        margin-bottom: 14px !important;
    }

    .card-spec-item {
        font-size: 11px !important;
    }

    .card-footer-row {
        gap: 8px !important;
    }

    .card-btn-view {
        padding: 8px 14px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }

    .card-action-icon {
        width: 32px !important;
        height: 32px !important;
    }

    /* Priority Section */
    .priority-section {
        padding: 60px 0 !important;
    }
    .priority-layout {
        flex-direction: column !important;
        gap: 40px !important;
    }
    .priority-text {
        max-width: 100% !important;
    }
    .priority-title {
        font-size: 34px !important;
    }
    .priority-desc {
        font-size: 16px !important;
    }
    .benefit-card {
        padding: 20px !important;
        gap: 15px !important;
    }
    .priority-bg {
        width: 150% !important;
        bottom: -10px !important;
    }

    /* Categories & Cities */
    .categories-grid, .cities-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .category-card, .city-card {
        padding: 20px !important;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 60px 0 !important;
    }
    .testimonial-slide {
        flex-direction: row !important;
        height: 220px !important;
        flex: 0 0 420px !important;
        margin-right: 20px !important;
        border-radius: 18px !important;
    }
    .testimonial-person-box {
        width: 35% !important;
        height: 100% !important;
    }
    .testimonial-content-box {
        width: 65% !important;
        padding: 18px !important;
    }
    .quote {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }
    .rating {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    .user-meta h3 {
        font-size: 13px !important;
    }
    .user-meta p {
        font-size: 11px !important;
    }

    /* CTA Section */
    .cta-section {
        padding: 40px 0 !important;
    }
    .cta-box {
        padding: 40px 20px !important;
        border-radius: 30px !important; 
        text-align: left !important;
        background-image: url('assets/cta-bg-new.png') !important; /* New background image with border included */
        background-size: 100% 100% !important; /* Fixes clipped border on the left/right */
        background-position: center !important;
        background-repeat: no-repeat !important;
        border: 2px solid #1A1A1A !important;
        background-clip: padding-box !important;
        background-color: #C1A5FF !important;
        width: 100% !important;
        max-width: 523px !important;
        min-height: 240px !important; /* Decreased height slightly from 304px */
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .cta-content {
        max-width: 70% !important;
        z-index: 2 !important;
    }
    .cta-sub {
        font-family: var(--font-main) !important;
        font-size: 32px !important; /* Scaled for mobile */
        margin-bottom: 20px !important;
        color: var(--text-main) !important;
        text-align: center !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    .cta-title {
        font-size: 24px !important; /* Slightly smaller to fit decreased height */
        margin-bottom: 10px !important;
    }
    .cta-desc {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    .btn-connect {
        width: fit-content !important;
        padding: 10px 25px !important;
        margin-top: 0 !important;
    }
    .cta-bg {
        display: none !important; /* Hide old background illustration as it's now in the bg-image */
    }

    /* Footer Optimization */
    .footer {
        padding: 60px 0 30px !important;
    }
    .footer-top {
        text-align: center !important;
        margin-bottom: 40px !important;
    }
    .footer-top .logo {
        display: flex !important;
        justify-content: center !important;
    }
    .social-links {
        justify-content: center !important;
    }
    .footer-main-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }
    .footer-link-subgrid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }

    /* Properties Page Specifics */
    .search-properties-section h1 {
        font-size: 36px !important;
        text-align: center !important;
    }
    .results-header {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    /* About Us Page Specifics */
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .story-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Contact Page Specifics */
    .contact-header h1 {
        font-size: 36px !important;
    }
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .map-container {
        height: 300px !important;
    }
    .contact-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .btn-whatsapp, .btn-call {
        width: 100% !important;
        justify-content: center !important;
    }
    .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background-color: #128c7e;
}

.whatsapp-float svg {
    width: 38px;
    height: 38px;
    fill: white;
}

/* Call Floating Button */
.call-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #1A1A1A;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.call-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: #000;
}

.call-float svg {
    width: 34px;
    height: 34px;
    stroke: white;
    fill: none;
}

/* Pulse animation */
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes call-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
    70% { box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

.call-float {
    animation: call-pulse 2s infinite 1s; /* delayed slightly */
}

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

/* Property Status Tags */
.sold-tag {
    position: absolute;
    top: -16px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #EF4444;
    color: #fff;
}

.property-card {
    position: relative;
}

/* Hero Slider Styling - Full Width */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 750px; /* Increased height for dominance */
    margin: 0;
    overflow: hidden;
    background: #1A1A1A; /* Dark background for better contrast during transitions */
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
    color: white;
    z-index: 5;
    width: 90%;
    max-width: 900px;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero-slide.active .hero-slide-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.slide-title {
    font-family: 'Syne', sans-serif;
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .slide-title { font-size: 64px; }
    .slide-subtitle { font-size: 20px; }
}

@media (max-width: 768px) {
    .slide-title { font-size: 42px; letter-spacing: -1px; }
    .slide-subtitle { font-size: 16px; }
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Darkened slightly more for text legibility */
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn:hover {
    background: white;
    color: #1A1A1A;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn.prev {
    left: 40px;
}

.slider-nav-btn.next {
    right: 40px;
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 500px;
    }
    .slider-nav-btn {
        width: 48px;
        height: 48px;
    }
    .slider-nav-btn.prev { left: 20px; }
    .slider-nav-btn.next { right: 20px; }
}


/* Property Carousel Styles */
.featured-section {
    padding: 15px 0;
    background-color: var(--bg-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.slider-header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.slider-nav {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: white;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-btn:hover {
    background: #1A1A1A;
    color: white;
    border-color: #1A1A1A;
}

.property-slider-wrapper {
    width: 100%;
    overflow: hidden; /* Using scrollLeft with GSAP */
    padding: 10px 0 10px;
    margin: 0 -20px;
    padding-left: 20px;
}

.slider-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    width: max-content;
}

.slider-grid .property-card {
    flex: 0 0 430px;
    max-width: 430px;
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .slider-grid .property-card {
        flex: 0 0 380px;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .slider-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .slider-grid .property-card {
        flex: 0 0 300px;
        max-width: 300px;
    }
}

/* Free Property Valuation Section */
.valuation-section {
    padding: 80px 0;
    background-color: #FBFAFF;
    position: relative;
}

.valuation-card-box {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D253D 100%);
    border-radius: 28px;
    padding: 50px;
    color: white;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(26, 26, 26, 0.15);
    position: relative;
    overflow: hidden;
}

.valuation-card-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193, 165, 255, 0.25) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.valuation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #C1A5FF;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.valuation-title {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.valuation-desc {
    font-size: 16px;
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 28px;
}

.valuation-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.valuation-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #F3F4F6;
    font-weight: 500;
}

.valuation-form-container {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 20px;
    color: #1A1A1A;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.form-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.val-form-group {
    margin-bottom: 18px;
}

.val-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
    margin-bottom: 6px;
}

.val-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #F9FAFB;
    color: #111827;
}

.val-form-group input:focus {
    border-color: #1A1A1A;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.btn-valuation-submit {
    width: 100%;
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-valuation-submit:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.valuation-success-box {
    text-align: center;
    padding: 30px 10px;
}

.val-success-icon {
    width: 60px;
    height: 60px;
    background: #ECFDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.valuation-success-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.valuation-success-box p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .valuation-card-box {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .valuation-title {
        font-size: 28px;
    }
}

/* Redesigned Category Sub-Sections Card System */
.category-subsections-wrapper {
    margin-top: 36px;
    margin-bottom: 32px;
    position: relative;
    z-index: 5;
}

.category-subsections-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 20px 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cat-card-header {
    flex-shrink: 0;
}

.cat-card-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #335C67;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 2px;
}

.cat-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.3px;
}

.category-subsections-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category-subsections-bar::-webkit-scrollbar {
    height: 4px;
}

.category-subsections-bar::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.cat-tab-btn {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    color: #334155;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tab-btn svg {
    color: #64748B;
    stroke: #64748B;
    transition: stroke 0.2s ease;
}

.cat-tab-btn:hover {
    background: #FFFFFF;
    border-color: #0F172A;
    color: #0F172A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.cat-tab-btn:hover svg {
    stroke: #0F172A;
}

.cat-tab-btn.active {
    background: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.cat-tab-btn.active svg {
    stroke: #FFFFFF;
}

/* Condition Segregation Bar (New vs Resale / Old) */
.subsections-right-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.condition-subsections-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #E2E8F0;
}

.condition-filter-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 4px;
}

.condition-pill-btn {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.condition-pill-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.condition-pill-btn.active {
    background: #335C67;
    border-color: #335C67;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(51, 92, 103, 0.3);
}

/* Property Card Condition Badge */
.card-condition-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(6px);
}

.card-condition-tag.tag-new {
    background: rgba(16, 185, 129, 0.9);
    color: #FFFFFF;
}

.card-condition-tag.tag-resale {
    background: rgba(245, 158, 11, 0.9);
    color: #FFFFFF;
}

@media (max-width: 992px) {
    .category-subsections-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .subsections-right-group {
        width: 100%;
    }

    .category-subsections-bar, .condition-subsections-bar {
        width: 100%;
        overflow-x: auto;
    }
}

/* Redesigned Testimonials Praise Section (Exact Screenshot Replica) */
.testimonials-praise-section {
    padding: 100px 0 110px;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.praise-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
    line-height: 1.22;
    letter-spacing: -0.8px;
}

.praise-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.praise-track {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
}

.praise-track-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    will-change: transform;
}

.track-left {
    animation: praiseMarqueeLeft 45s linear infinite;
}

.track-right {
    animation: praiseMarqueeRight 45s linear infinite;
}

.praise-marquee-wrapper:hover .praise-track-content {
    animation-play-state: paused;
}

.praise-card {
    width: 420px;
    min-height: 230px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.praise-card:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.praise-quote-icon {
    margin-bottom: 16px;
}

.praise-text {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    line-height: 1.5;
    margin: 0 0 24px;
    flex-grow: 1;
}

.praise-client {
    display: flex;
    align-items: center;
    gap: 14px;
}

.praise-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.praise-client-info {
    display: flex;
    flex-direction: column;
}

.praise-name {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px;
}

.praise-role {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
    font-weight: 400;
}

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

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

@media (max-width: 768px) {
    .praise-main-title {
        font-size: 28px;
        margin-bottom: 36px;
        padding: 0 16px;
    }
    
    .praise-card {
        width: 320px;
        padding: 24px;
        min-height: 210px;
    }
}
