/* Real Estate Marketing Page Specific Styles */

/* =========================================
   NEW HERO LAYOUT (Strict Design System Compliance)
   ========================================= */

.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 1.6rem);
    /* Reduced by 20% from 2rem */
    padding-bottom: 0.8rem;
    /* Reduced by 20% from 1rem */
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 40vh;
    /* Reduced by 20% from 50vh */
    display: flex;
    align-items: flex-start;
    background: linear-gradient(to bottom, var(--bg-color) 0%, #ffffff 100%);
    overflow: hidden;
}

/* Background Abstract Shape (Soft Clay Gradient) */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    /* Subtle clay gradient */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(238, 240, 244, 0) 70%);
    z-index: 0;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Above bg */

    /* Resetting "Card" styles from Global CSS */
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

/* LEFT COLUMN: Text */
/* LEFT COLUMN: Text */

/* LEFT COLUMN: Text */
.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    /* Reduced gap from 1.5rem */
    padding-left: 5rem;
    padding-top: 3.2rem;
    /* Reduced by 20% from 4rem */
    /* Increased padding left of text */
}

/* Override font size for "classy and corporate" look */
.hero-text-col .about-title {
    font-size: 2.2rem !important;
    /* Reduced from 3.5rem */
    line-height: 1.25;
}

.hero-text-col .about-desc {
    font-size: 1rem;
    max-width: 90%;
    line-height: 1.7;
}

/* Small adjustments for the about-stats */
.hero-text-col .about-stats {
    width: 100%;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* End of Text Column Styles */

/* RIGHT COLUMN: Image */
.hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 5rem;
    margin-top: -3rem;
    /* Pull image up */
    /* Increased right padding */
}

.hero-isometric-img {
    width: 110%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
    /* Clean, soft appearance - no heavy filters */
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.1));
    animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text-col {
        align-items: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-image-col {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-isometric-img {
        width: 80%;
        max-width: 500px;
    }

    .hero-main-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   VALUE PROPOSITION SECTION
   ========================================= */
.value-proposition-section {
    padding: 5rem 3rem;
    /* Increased for more whitespace as requested */
    position: relative;
    background: #fff;
    /* White background to contrast with hero grey */
}

.value-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Text takes less space, grid takes more */
    gap: 4.5rem;
    /* Increased for better balance with new padding */
    align-items: center;
}

/* Left Text Column */
.value-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem;
    /* Reduced by 25% from 1.5rem */
}

.section-tag {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--accent-pink);
    text-transform: uppercase;
    font-size: 0.6375rem;
    /* Reduced by 25% from 0.85rem */
    letter-spacing: 0.75px;
    /* Reduced by 25% from 1px */
}

.value-heading {
    font-size: 1.5rem;
    /* Reduced by 25% from 2rem */
    line-height: 1.2;
    color: var(--text-main);
    max-width: 100%;
}

.value-subheading {
    font-size: 0.75rem;
    /* Reduced by 25% from 1rem */
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 100%;
}

/* Reduced Button Size & Outline Style */
.value-text-col .btn-primary {
    padding: 0.33rem 2.5rem;
    /* Reduced height by 25%, increased horizontal padding */
    font-size: 0.675rem;
    /* Reduced by 25% from 0.9rem */
    background: transparent;
    border: 1px solid #1f2937;
    color: #1f2937;
    box-shadow: none;
    transition: all 0.3s ease;
}

.value-text-col .btn-primary:active {
    box-shadow: none;
    transform: translateY(1px);
}

.value-text-col .btn-primary:hover {
    background: #1f2937;
    color: #ffffff;
    box-shadow: none;
    transform: translateY(-2px);
}

/* Right Tiles Grid */
.value-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem;
    /* Reduced by 25% from 1.5rem */
}

/* Clay Tile */
/* Clay Tile Enhanced */
.clay-tile-grid-item {
    background: #ffffff;
    border-radius: 18px;
    /* Reduced by 25% from 24px */
    padding: 1.125rem;
    /* Reduced by 25% from 1.5rem */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    /* Reduced by 25% from 0.5rem */
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

/* Hover Overlay for Text Readability */
.clay-tile-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Ensure content stays above overlay */
.clay-tile-grid-item>* {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.clay-tile-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.clay-tile-grid-item:hover::before {
    opacity: 1;
}

/* Text Colors on Hover */
.clay-tile-grid-item:hover .tile-title,
.clay-tile-grid-item:hover .tile-desc {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Specific Hover Background Images */
.tile-plots:hover {
    background-image: url('../images/villa-plot.png');
}

.tile-farmland:hover {
    background-image: url('../images/farmland.png');
}

.tile-villas:hover {
    background-image: url('../images/villa.png');
}

.tile-apartments:hover {
    background-image: url('../images/apartment.png');
}


.clay-tile-grid-item:hover .tile-icon-box {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tile-icon-box {
    width: 36px;
    /* Reduced by 25% from 48px */
    height: 36px;
    /* Reduced by 25% from 48px */
    border-radius: 9px;
    /* Reduced by 25% from 12px */
    background: var(--bg-color);
    box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
    /* Pressed look for icon box */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    /* Reduced by 25% from 1.4rem */
    margin-bottom: 0;
    /* Removing extra margin */
}

.tile-title {
    font-size: 0.825rem;
    /* Reduced by 25% from 1.1rem */
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-top: 0.25rem;
}

.tile-desc {
    font-size: 0.675rem;
    /* Reduced by 25% from 0.9rem */
    color: var(--text-muted);
    line-height: 1.4;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .value-tiles-grid {
        gap: 1.5rem;
    }
}


/* =========================================
/* Featured Projects Section */
.partner-section {
    padding: 7rem 3rem;
    /* Increased for more whitespace as requested */
    /* Seamless Merge: Top (White->Gray) and Bottom (Gray->White) */
    background: linear-gradient(to bottom, #ffffff 0%, #f3f4f6 15%, #f3f4f6 85%, #ffffff 100%);
}

.partner-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    /* Increased for more breathing room */
    align-items: stretch;
    /* Stretch to equal height */
}

/* LEFT COLUMN: Cards */
.partner-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Reduced by 25% from 2rem */
    min-width: 0;
    /* Prevent Grid blowout */
    width: 100%;
}

/* Feature Card (Top) styles ... */
/* ... Stats Card (Bottom) styles ... */

/* RIGHT COLUMN: Text */
.partner-right-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Prevent Grid blowout */
}

.partner-heading {
    font-size: 1.65rem;
    /* Reduced by 25% from 2.2rem */
    line-height: 1.2;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
    /* Reduced margin for tighter alignment */
    /* Top aligned */
}

.partner-desc {
    color: var(--text-muted);
    font-size: 0.75rem;
    /* Reduced by 25% from 1rem */
    line-height: 1.7;
    margin-bottom: 0.5rem;
    /* Reduced margin for tighter alignment */
    max-width: 90%;
}

.partner-right-col .btn-primary {
    margin-top: 1rem;
    /* Fixed margin instead of auto to reduce gap with logos */
    align-self: flex-start;
    /* Prevent full width stretch */
    padding: 0.33rem 2.5rem;
    /* Reduced height by 25% more, increased horizontal padding */
    font-size: 0.75rem;
    /* Reduced size */
    background: transparent;
    border: 1px solid #1f2937;
    color: #1f2937;
    box-shadow: none;
    transition: all 0.3s ease;
}

.partner-right-col .btn-primary:active {
    box-shadow: none;
    transform: translateY(1px);
}

.partner-right-col .btn-primary:hover {
    background: #1f2937;
    color: #ffffff;
    box-shadow: none;
    transform: translateY(-2px);
}

/* Feature Card (Top) - Slider Container */
.partner-feature-card {
    background: #f3f4f6;
    border-radius: 18px;
    /* Reduced by 25% from 24px */
    padding: 0 0 1.5rem 0;
    /* Reduced by 25% from 2rem */
    /* Remove side padding to fix slider overflow clipping, keep bottom for dots */
    /* Neumorphic Shadows */
    box-shadow: 6.75px 6.75px 12px #d1d5db, -6.75px -6.75px 12px #ffffff;
    /* Reduced by 25% */
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    max-width: 95%;
    display: block;
    /* Was flex, now block for slider */
    overflow: hidden;
    /* Clip slides */
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    gap: 0;
    /* Ensure no gaps between slides */
    margin: 0;
}

.slide-item {
    flex: 0 0 100%;
    min-width: 100%;
    /* Force full width */
    width: 100%;
    margin: 0;
    padding: 0.375rem;
    /* Reduced by 25% from 0.5rem */
    display: flex;
    align-items: center;
    gap: 0.9rem;
    /* Reduced by 25% from 1.2rem */
    /* Internal gap between img and text */
    box-sizing: border-box;
}

.slider-dots {
    position: absolute;
    bottom: 7.5px;
    /* Reduced by 25% from 10px */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    /* Reduced by 25% from 8px */
    z-index: 10;
}

.slider-dot {
    width: 6px;
    /* Reduced by 25% from 8px */
    height: 6px;
    /* Reduced by 25% from 8px */
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #059669;
    /* Emerald */
}



.feature-img-box {
    width: 166.5px;
    /* Increased by 20% from 138.75px */
    height: 202.5px;
    /* Increased by 20% from 168.75px for ratio consistency */
    border-radius: 16.2px;
    /* Increased by 20% from 13.5px */
    overflow: hidden;
    flex-shrink: 0;
}

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

.partner-feature-card:hover .feature-img {
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
    position: relative;
    height: 202.5px;
    /* Increased by 20% from 168.75px to match image box */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.arrow-bubble {
    position: absolute;
    top: 0;
    left: 0;
    /* Reset position to top-left of content area if needed, or keep right if designs differ. Ref image shows arrow top-left of content. */
    right: auto;
    background: #111827;
    color: white;
    width: 24px;
    /* Reduced by 25% from 32px */
    height: 24px;
    /* Reduced by 25% from 32px */
    border-radius: 6px;
    /* Reduced by 25% from 8px */
    /* Square with rounded corners like ref */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    /* Reduced by 25% from 1rem */
    box-shadow: 0 3px 7.5px rgba(0, 0, 0, 0.2);
    /* Reduced by 25% from 4px 10px */
}

.feature-content h3 {
    font-size: 0.825rem;
    /* Reduced by 25% from 1.1rem */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.15rem;
    /* Reduced by 25% from 0.2rem */
    font-family: var(--font-heading);
    line-height: 1.2;
}

.feature-content p {
    font-size: 0.675rem;
    /* Reduced by 25% from 0.9rem */
    color: var(--text-muted);
    line-height: 1.5;
}

.project-subtitle {
    font-size: 0.5625rem;
    /* Reduced by 25% from 0.75rem */
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 0.1rem;
}

.project-desc {
    font-size: 0.5625rem;
    /* Reduced by 25% from 0.75rem */
    color: #6b7280;
    /* Lighter grey */
    line-height: 1.4;
    margin-bottom: 0.375rem;
    /* Reduced by 25% from 0.5rem */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines like ref */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-text-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #059669;
    /* Emerald Primary */
    text-decoration: none;
    font-size: 0.7125rem;
    /* Reduced by 25% from 0.95rem */
    transition: gap 0.2s ease;
    gap: 0.225rem;
    /* Reduced by 25% from 0.3rem */
}

.btn-text-arrow:hover {
    gap: 0.6rem;
    text-decoration: underline;
}

/* Logo Marquee Styles */
.partner-logo-marquee {
    overflow: hidden;
    width: 95%;
    /* Match cards max-width */
    position: relative;
    padding: 0;
    /* Removed padding to pull button up */
    /* Vertical spacing */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    width: 400%;
    /* 8 logos * 2 sets * 25% view width each = 400% */
    animation: scrollMarquee 25s linear infinite;
}

.marquee-logo {
    flex: 0 0 6.25%;
    /* 1 item / 16 items total = 6.25% of track width */
    max-width: 6.25%;
    padding: 0 0.6rem;
    /* Reduced for compact layout */
    height: 45px;
    /* Reduced from 60px to maintain proportion with reduced gaps */
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.marquee-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Scroll exactly one set width */
    }
}

/* Stats Card (Bottom) */
.partner-stats-card {
    background: #f3f4f6;
    /* Neumorphic Shadows */
    box-shadow: 6.75px 6.75px 12px #d1d5db, -6.75px -6.75px 12px #ffffff;
    /* Reduced by 25% from 9px 16px */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    /* Reduced by 25% from 20px */
    padding: 1.125rem;
    /* Reduced by 25% from 1.5rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
}

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

.stat-item h3 {
    font-size: 1.35rem;
    /* Reduced by 25% from 1.8rem */
    font-weight: 900;
    color: #cbd5e1;
    /* Floor of the hole */
    margin-bottom: 0.15rem;
    /* Reduced by 25% from 0.2rem */
    font-family: var(--font-heading);
    /* Hollow/Engraved Effect */
    text-shadow: 1px 1px 0 #ffffff, -0.5px -0.5px 0 rgba(0, 0, 0, 0.1);
}

.stat-item p {
    font-size: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    color: #64748b;
    /* Slate 500 */
    margin: 0;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 30px;
    /* Reduced by 25% from 40px */
    background: #e2e8f0;
    /* Soft Gray Divider */
    box-shadow: 1px 1px 2px rgba(163, 177, 198, 0.2);
}

/* RIGHT COLUMN: Text */
.partner-heading {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--text-main);
    margin: 0 0 1.5rem 0;
}

.partner-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

/* ROI Feature Box - Matching reference */
.roi-box {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #ffffff;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
    margin-bottom: 2.5rem;
    width: fit-content;
}

.roi-icon {
    width: 52px;
    height: 52px;
    background: #e0e7ff;
    /* Soft Purple/Blue tint like ref or stick to green? Ref shows purple. Let's use soft purple for contrast */
    background: #f3e8ff;
    /* Soft Purple to match ref image vibe but modernized */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #7e22ce;
    /* Purple text */
}

/* Actually, user said "with our brand guidelines". So stick to Green/Emerald */
.roi-icon {
    background: #d1fae5;
    color: #059669;
}

.roi-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.roi-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .partner-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partner-left-col,
    .partner-stats-card,
    .partner-feature-card {
        max-width: 100%;
    }
}

/* =========================================
   CLIENTS WE ARE PROUD OF SECTION
   ========================================= */
.proud-clients-section {
    padding: 6rem 3rem;
    /* Increased for more whitespace as requested */
    background: #ffffff;
    /* Ensure it stands out against light grey backgrounds if any */
}

.unique-proud-container {
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.proud-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    /* Increased for more breathing room */
}

.proud-heading {
    font-size: 1.875rem;
    /* Reduced by 25% from 2.5rem */
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
}

.proud-pill {
    padding: 0.375rem 1.125rem;
    /* Reduced by 25% from 0.5rem 1.5rem */
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.6375rem;
    /* Reduced by 25% from 0.85rem */
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.proud-pill:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.proud-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.125rem;
    /* Reduced by 25% from 1.5rem */
    /* Responsive scrolling for mobile */
    overflow-x: auto;
    padding-bottom: 1rem;
    /* Space for scrollbar if needed */
    scrollbar-width: none;
    /* Firefox */
}

.proud-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Card Styling */
.proud-card {
    background: transparent;
    border-radius: 16px;
    min-width: 165px;
    /* Reduced by 25% from 220px */
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    /* Reduced by 25% from 0.4rem */
    transition: transform 0.3s ease;
}

.proud-card:hover {
    transform: translateY(-5px);
}

.proud-img-box {
    width: 100%;
    aspect-ratio: 1 / 0.8;
    /* Rectangular as per ref */
    border-radius: 15px;
    /* Reduced by 25% from 20px */
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: #f3f4f6;
    position: relative;
    /* Essential for overlay */
}

.proud-logo-overlay {
    position: absolute;
    bottom: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    left: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    height: 24px;
    /* Reduced by 25% from 32px */
    width: auto;
    max-width: 75px;
    /* Reduced by 25% from 100px */
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 6px;
    /* Reduced by 25% from 4px 8px */
    border-radius: 6px;
    /* Reduced by 25% from 8px */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

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

.proud-card-title {
    font-size: 0.825rem;
    /* Reduced by 25% from 1.1rem */
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.proud-card-desc {
    font-size: 0.675rem;
    /* Reduced by 25% from 0.9rem */
    color: var(--text-muted);
    line-height: 1.2;
    margin: 0;
    flex-grow: 1;
    /* Push footer down */
}

.proud-card-footer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    margin-top: 0.375rem;
    /* Reduced by 25% from 0.5rem */
}

.proud-icon-circle {
    width: 21px;
    /* Reduced by 25% from 28px */
    height: 21px;
    /* Reduced by 25% from 28px */
    border-radius: 50%;
    background: #1f2937;
    /* Dark circle */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    /* Reduced by 25% from 0.8rem */
}

.proud-role {
    font-size: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.375px;
    /* Reduced by 25% from 0.5px */
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .proud-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Wrap on tablet */
        overflow-x: visible;
    }
}

@media (max-width: 768px) {
    .proud-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        overflow-x: hidden;
    }

    .proud-card {
        min-width: 0;
    }

    .proud-heading {
        font-size: 2rem;
    }
}

/* =========================================
   CHALLENGES SECTION (Scrolling Marquee)
   ========================================= */
.challenges-section {
    padding: 4rem 0;
    /* Reduced by 20% from 5rem 0 */
    background: #ffffff;
    overflow: hidden;
}

.challenges-layout {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 3.2rem;
    /* Reduced by 20% from 4rem */
    align-items: center;
}

.challenges-heading {
    font-size: 1.44rem;
    /* Reduced by 20% from 1.8rem */
    line-height: 1.3;
    color: var(--text-main);
}

/* Scrolling Wrapper */
.challenges-scroller {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroll-track {
    display: flex;
    gap: 1.2rem;
    /* Reduced by 20% from 1.5rem */
    width: max-content;
    /* Important for horizontal scroll */
    animation: scrollLeft 20s linear infinite;
    /* 20s for smooth loop, adjusted for speed */
}

/* Challenge Card */
.challenge-card {
    background: #ecfdf5;
    /* Light Green */
    padding: 1.6rem;
    /* Reduced by 20% from 2rem */
    border-radius: 16px;
    /* Reduced by 20% from 20px */
    min-width: 240px;
    /* Reduced by 20% from 300px */
    max-width: 240px;
    /* Reduced by 20% from 300px */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Proper Skeuomorphism */
    box-shadow:
        9.6px 9.6px 19.2px rgba(167, 243, 208, 0.4),
        /* Shadow reduced by 20% */
        -9.6px -9.6px 19.2px rgba(255, 255, 255, 0.8),
        inset 1.6px 1.6px 3.2px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.challenge-card h3 {
    font-size: 0.88rem;
    /* Reduced by 20% from 1.1rem */
    font-family: var(--font-body);
    /* More readable for body-like text */
    font-weight: 500;
    color: #064e3b;
    /* Dark green text for contrast */
    line-height: 1.5;
}

/* Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Moves half way (since we duplicated content) */
    }
}

/* Responsive */
@media (max-width: 992px) {
    .challenges-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .challenges-heading {
        text-align: center;
        font-size: 2rem;
    }
}

/* =========================================
   WHAT WE DO SECTION
   ========================================= */
.what-we-do-section {
    padding: 7rem 4rem;
    /* Increased for more whitespace as requested */
    background: linear-gradient(to bottom, #ffffff 0%, #ecfdf5 100px);
    /* Seamless merge from white */
    color: #064e3b;
    /* Dark emerald text */
}

.what-we-do-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    /* Headings left, Grid right */
    gap: 4.5rem;
    /* Increased for more breathing room */
    align-items: flex-start;
}

.wwd-text {
    position: sticky;
    top: 4.5rem;
    /* Reduced by 25% from 6rem */
    /* Sticky effect for long scroll */
}

.wwd-heading {
    font-size: 1.5rem;
    /* Reduced by 25% from 2rem */
    line-height: 1.2;
    margin-bottom: 1.125rem;
    /* Reduced by 25% from 1.5rem */
    color: #064e3b;
}

.wwd-subheading {
    font-size: 0.75rem;
    /* Reduced by 25% from 1rem */
    line-height: 1.6;
    color: #047857;
    /* Slightly lighter emerald */
    max-width: 90%;
}

/* Grid Layout */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.125rem 3rem;
    /* Reduced by 25% from 1.5rem 4rem */
    /* Row gap 3rem, Col gap 2rem */
}

/* Grid Item */
/* Grid Item */
.wwd-item {
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: flex-start;
    gap: 0.75rem;
    /* Reduced by 25% from 1rem */

    /* Skeuomorphic White Box */
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    padding: 0.9rem;
    /* Reduced by 25% from 1.2rem */
    border-radius: 15px;
    /* Reduced by 25% from 20px */

    /* Realistic Shadows */
    box-shadow:
        8px 8px 16px rgba(209, 213, 219, 0.4),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wwd-icon-box {
    font-size: 1.5rem;
    /* Reduced by 25% from 2rem */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    /* Reduced by 25% from 40px */
    flex-shrink: 0;
}

.wwd-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    /* Reduced by 25% from 0.4rem */
}

.wwd-item:hover {
    transform: translateY(-5px);
    box-shadow:
        12px 12px 24px rgba(209, 213, 219, 0.5),
        -12px -12px 24px rgba(255, 255, 255, 0.9);
}

.wwd-title {
    font-size: 0.825rem;
    /* Reduced by 25% from 1.1rem */
    font-weight: 700;
    color: #064e3b;
    font-family: var(--font-heading);
    position: relative;
    padding-left: 0;
    border-left: none;
    /* Accent border instead of icon */
}

.wwd-desc {
    font-size: 0.675rem;
    /* Reduced by 25% from 0.9rem */
    line-height: 1.5;
    color: #065f46;
}

/* Responsive */
@media (max-width: 992px) {
    .what-we-do-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .wwd-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .wwd-text {
        position: static;
        margin-bottom: 2rem;
    }
}

/* =========================================
   WORKFLOW SECTION (Mind Map)
   ========================================= */
.workflow-section {
    padding: 7rem 4rem;
    /* Increased for more whitespace as requested */
    background: linear-gradient(to bottom, #ecfdf5 0%, #ffffff 50px);
    overflow: hidden;
    /* Ensure nodes don't overflow */
}

.workflow-layout {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 4.5rem;
    /* Increased for more breathing room */
    align-items: center;
}

.workflow-text h2 {
    font-size: 1.65rem;
    /* Reduced by 25% from 2.2rem */
    color: var(--text-main);
    margin-bottom: 0.75rem;
    /* Reduced by 25% from 1rem */
}

.workflow-text p {
    font-size: 0.825rem;
    /* Reduced by 25% from 1.1rem */
    color: var(--text-muted);
}

/* Mind Map Container */
/* Mind Map Container */
.mind-map-container {
    position: relative;
    width: 450px;
    /* Reduced by 25% from 600px */
    height: 300px;
    /* Reduced by 25% from 400px */
    /* Reduced height for spherical look */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    /* 3D Perspective */
}

/* Revolving Track (Holds Ring + Nodes) - JS Controlled */
.revolving-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Transformation handled by JS */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass to nodes? No, nodes are children. */
}

/* Connection Ring */
.connection-ring {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px dashed #d1fae5;
    border-radius: 50%;
    display: none;
    /* Turned off as JS handles lines now, unless user wants ring + lines */
}

/* Central Hub (Static, centered in container) */
/* Central Hub (Static, centered in container) */
.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    width: 112.5px;
    /* Reduced by 25% from 150px */
    height: 112.5px;
    /* Reduced by 25% from 150px */

    /* Paper Sphere Effect (Skeuomorphism) */
    border-radius: 50%;
    /* Matte White / Off-White Paper Gradient */
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f9fafb 40%, #e5e7eb 100%);

    /* Layered shadows for soft, matte depth */
    box-shadow:
        inset 7.5px 7.5px 15px rgba(255, 255, 255, 1),
        /* Reduced by 25% from 10px 10px 20px */
        /* Top-left highlight */
        inset -3.75px -3.75px 11.25px rgba(0, 0, 0, 0.03),
        /* Reduced by 25% from 5px 5px 15px */
        /* Subtle bottom-right shading */
        0 11.25px 26.25px rgba(0, 0, 0, 0.1),
        /* Reduced by 25% from 15px 35px */
        /* Soft drop shadow */
        0 0 0 1px rgba(0, 0, 0, 0.02);
    /* Tiny border definition */

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
}

.hub-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.975rem;
    /* Reduced by 25% from 1.3rem */
    line-height: 1.1;

    /* Etched/Letterpress Text Effect on Paper */
    color: #064e3b;
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.8),
        /* Hard white edge (bottom-right) */
        -1px -1px 1px rgba(0, 0, 0, 0.1);
    /* Soft dark inner shadow (top-left) */

    opacity: 0.95;
}

/* Map Nodes (Children of Track) */
.map-node {
    position: absolute;
    /* Skeuomorphic White Box */
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 0.75rem 1.125rem;
    /* Reduced by 25% from 1rem 1.5rem */
    border-radius: 15px;
    /* Reduced by 25% from 20px */
    /* Soft rounded corners */
    /* Skeuomorphic Depth Shadows */
    box-shadow:
        9px 9px 18px rgba(209, 213, 219, 0.5),
        /* Reduced by 25% from 12px 12px 24px */
        /* Soft dark shadow */
        -9px -9px 18px rgba(255, 255, 255, 0.9),
        /* Reduced by 25% from -12px -12px */
        /* Bright white highlight */
        inset 1px 1px 2px rgba(255, 255, 255, 0.8);
    /* Inner rim light */
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Subtle bezel */

    display: flex;
    align-items: center;
    gap: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    width: 180px;
    /* Reduced by 25% from 240px */
    height: 67.5px;
    /* Reduced by 25% from 90px */
    box-sizing: border-box;
    /* Include padding in size */

    /* JS controls transform/scale/zIndex */
    top: 0;
    left: 0;
    margin: 0;
    transform-origin: center center;
    cursor: pointer;
    pointer-events: auto;
    will-change: transform, z-index, opacity;
}

.map-node:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    box-shadow:
        16px 16px 32px rgba(209, 213, 219, 0.6),
        -16px -16px 32px rgba(255, 255, 255, 1),
        inset 1px 1px 1px rgba(255, 255, 255, 0.5);
    z-index: 100 !important;
}

.map-node h4 {
    margin: 0;
    font-size: 0.7125rem;
    /* Reduced by 25% from 0.95rem */
    font-weight: 700;
    color: #1f2937;
    /* Dark gray for high contrast */
    line-height: 1.2;
}

.map-node p {
    margin: 0;
    font-size: 0.6rem;
    /* Reduced by 25% from 0.8rem */
    color: #6b7280;
    /* Muted gray */
    line-height: 1.4;
    margin-top: 0.15rem;
    /* Reduced by 25% from 0.2rem */
}

/* Responsive */
@media (max-width: 992px) {
    .workflow-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

}

/* =========================================
   MOBILE LAYOUT OPTIMIZER (320px - 480px)
   ========================================= */
@media (max-width: 768px) {
    /* Value Tiles Grid */
    .value-tiles-grid {
        grid-template-columns: 1fr;
    }

    /* What We Do - One Column for Mobile/Tablet */
    .wwd-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .wwd-item {
        flex-direction: row !important;
        padding: 16px !important;
        gap: 12px !important;
        min-height: auto !important;
        text-align: left !important;
        align-items: center !important;
    }

    .wwd-icon-box {
        font-size: 1.5rem !important;
        width: auto !important;
    }

    .wwd-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .wwd-desc {
        font-size: 11px !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Workflow Flowchart Layout - Keep Circular */
    .mind-map-container {
        width: 100% !important;
        height: 380px !important;
        display: block !important;
        position: relative !important;
        overflow: visible !important;
    }

    .revolving-track {
        position: absolute !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .central-node {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100px !important;
        height: 100px !important;
        margin: 0 !important;
        box-shadow: 0 10px 25px rgba(5, 150, 105, 0.15) !important;
        z-index: 50 !important;
    }

    .hub-title {
        font-size: 0.9rem !important;
    }

    .map-node {
        position: absolute !important;
        width: 120px !important;
        height: 48px !important;
        padding: 0.4rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.4rem !important;
        background: white !important;
        border: 1px solid #e5e7eb !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    }

    .node-icon {
        font-size: 1rem !important;
        width: 28px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ecfdf5 !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        color: #059669 !important;
    }

    .node-info h4 {
        font-size: 11px !important;
        margin-bottom: 0 !important;
        color: #1f2937 !important;
        line-height: 1.2 !important;
    }

    .node-info p {
        display: none !important;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {

    /* Reset Hero Layout specific to Real Estate Page */
    .hero-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .hero-text-col {
        padding: 0 !important;
        /* Remove massive 5rem padding */
        width: 100% !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    /* Target specific text elements to increase size */
    /* Target specific text elements to increase size */
    .hero-text-col .about-label {
        font-size: 30px !important;
        /* Huge label */
        font-weight: 800 !important;
        margin-bottom: 12px !important;
        display: block;
        line-height: 1.1;
        max-width: 250px;
        /* Force wrapping to two lines */
    }

    .hero-text-col .about-title {
        font-size: 36px !important;
        /* Increased further */
        line-height: 1.15 !important;
    }

    .hero-image-col {
        width: 100% !important;
        height: auto !important;
        margin-top: 0 !important;
    }

}