/* =========================================
   HERO CARD
   ========================================= */
.hero-card {
    position: relative;
    height: 600px;
    background-image: url('../imgs/hero-banner.png');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    margin-bottom: 3rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
    border-radius: 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 610px;
    text-align: left;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 5.5rem;
    width: 450px;
    line-height: 1.6;
}

/* =========================================
   SEARCH CONTAINER
   ========================================= */
.hero-search-container {
    max-width: 650px; /* Increased max-width */
}

.search-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 0 5px 0;
    position: relative;
    transition: color 0.2s;
}

.tab-btn.active {
    color: var(--color-white);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
}

.search-wrapper-relative {
    position: relative;
}

.single-search-form {
    background: var(--color-white);
    border-radius: 60px; /* Larger radius */
    padding: 0.4rem;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.search-input-wrapper {
    flex: 1;
    padding: 0 1.5rem;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem; /* Standard font size */
    color: var(--color-text-dark);
    padding: 0.5rem 0; /* Reduced padding */
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: #999;
}

.btn-search-pill {
    background: #3C2328;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2rem; /* Reduced padding */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-search-pill:hover {
    background: #56343a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Label Styling: Always Floating */
.floating-label-group label {
    position: absolute;
    top: -3px;
    left: 17px;
    background: #ffffff;
    padding: 0 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    pointer-events: none;
    transition: all 0.2s;
    line-height: 1;
}


/* Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestion-group {
    margin-bottom: 1.5rem;
}

.suggestion-group:last-child {
    margin-bottom: 0;
}

.suggestion-group h6 {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.suggestion-group ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-dark);
    transition: color 0.2s;
}

.suggestion-group ul li:last-child {
    border-bottom: none;
}

.suggestion-group ul li:hover {
    color: var(--color-secondary);
}

.suggestion-group ul li i {
    color: #ccc;
    font-size: 1rem;
}

.suggestion-group ul li:hover i {
    color: var(--color-secondary);
}

/* =========================================
   FEATURED PREVIEW SECTION
   ========================================= */
/* .featured-preview {
    padding: 0 1rem;
} */

.featured-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.featured-header h2 {
    font-family: var(--font-primary); /* Based on image, looks sans-serif title like 'Outfit' */
    font-size: 2rem;
    color: #3C2328;
    width: 30%;
    line-height: 1.2;
}

.featured-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: 500px;
    color: var(--color-text-body);
    font-size: 0.95rem;
    gap: 1.5rem;
}

.featured-nav {
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-text-dark);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--color-text-dark);
}

.nav-arrow:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* =========================================
   FEATURED CAROUSEL (Revised)
   ========================================= */
.featured-carousel-container {
    width: 100%;
    overflow: hidden; /* Hide overflow for sliding */
    padding: 1rem 0 3rem 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.property-card {
    flex: 0 0 calc(29% - 1rem); /* Smaller side cards */
    min-width: calc(29% - 1rem);
    max-width: calc(29% - 1rem);
    height: 450px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smoother easing */
    opacity: 0.85; /* Slightly dimmed side cards */
}

/* Middle/Active Card Logic - Larger and more prominent */
.property-card.active {
    flex: 0 0 calc(42% - 1rem); /* Larger center card */
    min-width: calc(42% - 1rem);
    max-width: calc(42% - 1rem);
    opacity: 1; /* Full opacity for center card */
    transform: scale(1.02); /* Slightly larger */
}

.property-card:hover {
    transform: translateY(-5px);
}

.fav-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}

.fav-icon:hover {
    background: #3C2328;
    color: white;
}


/* Enhanced Glass-morphism Overlay */
.card-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    
    /* Enhanced Glass Effect */
    background: rgba(255, 255, 255, 0.1); /* Lighter base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem;
    color: white;
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-tag.for-sale {
    background: rgba(34, 197, 94, 0.9); /* Green */
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.status-tag.coming-soon {
    background: rgba(59, 130, 246, 0.9); /* Blue */
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.status-tag.sold {
    background: rgba(239, 68, 68, 0.9); /* Red */
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.card-price {
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.card-details {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    opacity: 0.95;
}

.card-address {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* =========================================
   EXCLUSIVE PORTFOLIO SECTION
   ========================================= */
.exclusive-portfolio {
    padding-bottom: 4rem;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    color: #3C2328;
    line-height: 1.1;
    max-width: 400px;
    font-family: var(--font-primary);
}

.portfolio-header .header-right {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 1.5rem;
}

.portfolio-header p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.btn-outline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #3C2328;
    background: transparent;
    color: #3C2328;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-outline-pill:hover {
    background: #3C2328;
    color: white;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    /* No border or bg needed, it's clean */
}

/* Image Slider Styles */
.img-slider-container {
    height: 350px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.img-slider-track {
    display: flex;
    height: 100%;
    width: 100%; /* Will be managed by JS to slide */
    transition: transform 0.5s ease-in-out;
}

.img-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Slider Controls (Hidden by default) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0; /* Hidden */
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #3C2328;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
}

.slider-prev {
    left: 1rem;
    transform: translateY(-50%) translateX(-10px); /* Slide in effect */
}

.slider-next {
    right: 1rem;
    transform: translateY(-50%) translateX(10px); /* Slide in effect */
}

/* Show controls on hover */
.img-slider-container:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0); /* Reset transform */
}

.slider-arrow:hover {
    background: #3C2328;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Pagination Badge */
.slider-pagination {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
    letter-spacing: 1px;
}

.fav-icon-small {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    color: #3C2328;
    transition: all 0.2s;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fav-icon-small:hover {
    background: #3C2328;
    color: white;
}

.content-container {
    padding: 0.5rem;
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.35rem;
}

.portfolio-card-header .prop-title {
    margin-bottom: 0; /* Reset margin since it's flexed */
    width: 70%;
    line-height: 1.2;
}

.portfolio-card-header .status-tag {
    margin-top: 0 !important; /* Override inline styles if any */
    padding: 0.3rem 0.7rem !important;
}

.prop-title {
    font-size: 1.35rem;
    color: #3C2328;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-family: var(--font-primary);
}

.prop-specs, .prop-address {
    color: #666; /* Muted grey */
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.divider {
    height: 1px;
    background: var(--color-border);
    margin: 1rem 0;
}

.prop-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3C2328;
}

/* =========================================
   AGENT PREVIEW SECTION
   ========================================= */
/* .agent-preview-section {
    padding: 0 1rem;
} */

.agent-preview-card {
    background: #3C2328; /* Brand Dark */
    border-radius: 40px;
    padding: 4rem 5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.agent-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 4rem;
}

.agent-text {
    max-width: 500px;
}

.agent-text h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.agent-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.btn-light-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: #3C2328;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-light-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    padding-right: 2.5rem; /* Slide arrow effect space */
}

/* Agent Visuals / Decorations */
.agent-visual {
    position: relative;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-decoration {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255,255,255,0.05); /* Fainter */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-decoration::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* Abstract Team Stack */
.agent-stack {
    position: relative;
    width: 260px;
    height: 200px;
}

.agent-card-small {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    width: 100%;
}

/* Card Positioning & Stacking */
.card-1 {
    top: 0;
    left: 0;
    transform: scale(0.9) translateY(-20px);
    opacity: 0.7;
    z-index: 1;
}

.card-2 {
    top: 25px;
    left: 15px;
    transform: scale(0.95) translateY(-10px);
    opacity: 0.9;
    z-index: 2;
}

.card-3 {
    top: 50px;
    left: 30px;
    z-index: 3;
    background: white; /* Pure white for pop */
    color: #3C2328;
    justify-content: flex-start; /* Align left */
    padding: 0.8rem 1.25rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25); /* Deeper shadow */
}

.verified-badge {
    position: relative;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #d4a5a5 0%, #3C2328 100%); /* Premium gradient */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(60, 35, 40, 0.3);
}

.verified-check {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    color: #27ae60; /* Success green */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    border: 2px solid white;
}

.verified-info {
    display: flex;
    flex-direction: column;
}

.v-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.v-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.v-rating i {
    color: #f1c40f; /* Star color */
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .agent-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .agent-visual {
        align-self: center;
        width: 100%;
        max-width: 350px;
    }
    
    .circle-decoration {
        width: 250px;
        height: 250px;
    }
    
    .agent-preview-card {
        padding: 3rem;
    }
}

@media (max-width: 1024px) {
    /* ... existing styles ... */
    
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .portfolio-header .header-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    
    .hero-card {
        padding: 0 2rem;
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .featured-header {
        align-items: flex-start;
    }
    
    .featured-header h2, .featured-desc {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .headline-wrap {
        /* Mobile specific adjustments */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    

    
    .nav-list {
        display: none; /* Mobile menu needed later */
    }
    
    .single-search-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 1rem;
    }
    
    .btn-search-pill {
        width: 100%;
        justify-content: center;
        /* margin-top: 1rem; */
    }
    
    .search-input-wrapper {
        padding: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
    }
}

/* =========================================
   SELLER PROCESS SECTION
   ========================================= */
.seller-process-section {
    padding: 4rem 1rem;
    text-align: center;
}

.section-header-center {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section-header-center h2 {
    font-size: 2.5rem;
    color: #3C2328;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.section-header-center p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 4rem auto;
}

.process-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
    background-color: var(--glass-white);
}

.process-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #f9f5f5; /* Light tint of brand */
    color: #3C2328;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover .step-icon {
    background: #3C2328;
    color: white;
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #3C2328;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transition: background 0.3s;
}

.process-card:hover .step-number {
    background: white;
    color: #3C2328;
}

.process-card h3 {
    font-size: 1.3rem;
    color: #3C2328;
    margin-bottom: 0.75rem;
    font-family: var(--font-primary);
}

.process-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Valuation Input */
.valuation-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.valuation-form {
    position: relative;
}

.valuation-input-wrapper {
    position: relative;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Soft shadow lift */
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.valuation-input-wrapper .search-icon {
    margin-left: 1.5rem;
    color: #999;
    font-size: 1.1rem;
}

.valuation-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.valuation-input-wrapper .btn-dark-pill {
    padding: 1rem 2rem;
    border-radius: 40px;
    background: #3C2328;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.valuation-input-wrapper .btn-dark-pill:hover {
    background: #56343a;
    transform: translateY(-2px);
}

/* =========================================
   TEAM CTA SECTION (Bento Style)
   ========================================= */
.team-bento-cta {
    background: #000; /* Pure black premium feel */
}

.team-bento{
    padding: 4rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center; /* Center vertically */
    color: white;
    overflow: hidden;
}

.bento-content {
    padding-right: 2rem;
}

.eyebrow-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted); /* or Gold */
    margin-bottom: 0.5rem;
}

.bento-title {
    font-family: var(--font-heading); /* Serif */
    font-size: 3.5rem;
    font-weight: 400; /* Elegant thin serif */
    margin-bottom: 2rem;
    line-height: 1;
    color: white;
}

.bento-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: justify; /* Editorial feel */
}

.btn-gold-outline {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-accent);
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-gold-outline:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

/* Right Grid Visual */
.bento-grid-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 1rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Tall item spans 2 rows */
.grid-item.tall {
    grid-row: span 2;
}

/* Responsive */
@media (max-width: 900px) {
    .team-bento-cta {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 3rem;
        text-align: center;
    }

    .bento-content {
        padding-right: 0;
    }
    
    .bento-desc {
        text-align: left; /* Keep left alignment for readability on mobile */
    }

    .bento-grid-visual {
        grid-template-columns: 1fr 1fr; /* Keep grid structure */
        grid-template-rows: 150px 150px; /* Smaller height */
    }
}

@media (max-width: 900px) {
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



/* =========================================
   RESPONSIVE STYLES - TABLET
   ========================================= */
@media (max-width: 1024px) and (min-width: 769px) {

    /* Hero Section */
    .hero-card {
        padding: 0 2rem;
        height: 500px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        width: 400px;
        margin-bottom: 4rem;
    }

    /* Featured Carousel - 2 cards visible */
    .carousel-track {
        gap: 1rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .featured-carousel-container .property-card {
        flex: 0 0 calc(50% - 0.5rem) !important;
        min-width: calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
        min-height: 450px !important;
        height: 450px !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        border-radius: 30px;
        background-size: cover;
        background-position: center;
    }
    
    .featured-carousel-container .property-card.active {
        flex: 0 0 calc(50% - 0.5rem) !important;
        min-width: calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
        min-height: 450px !important;
        height: 450px !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    /* Featured Properties */
    .featured-header h2 {
        font-size: 1.8rem;
    }

    .featured-desc {
        width: 400px;
        font-size: 0.9rem;
    }

    /* Portfolio */
    .portfolio-header h2 {
        font-size: 2rem;
    }

    .portfolio-header .header-right {
        max-width: 400px;
    }

    /* Seller Process */
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    /* Meet The Team Section */
    .team-bento {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .bento-content {
        max-width: 100%;
        text-align: center;
    }

    .bento-title {
        font-size: 2.5rem;
    }

    .bento-grid-visual {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .grid-item.tall {
        grid-row: span 1;
    }
}

/* =========================================
   RESPONSIVE STYLES - MOBILE
   ========================================= */
@media (max-width: 768px) {
    /* App Container */
    .app-container {
        padding: 0 1rem;
    }

    .main-container {
        padding: 0 1rem;
    }

    /* Hero Section */
    .hero-card {
        height: auto;
        min-height: 500px;
        padding: 2rem 1rem;
        border-radius: 20px;
        margin-bottom: 2rem;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 2.5rem;
    }

    /* Search Container */
    .hero-search-container {
        max-width: 100%;
    }

    .search-tabs {
        justify-content: center;
        gap: 2rem;
        margin-bottom: 1rem;
    }

    .tab-btn {
        font-size: 1rem;
    }

    .single-search-form {
        flex-direction: column;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }

    .search-input-wrapper {
        padding: 0 1rem;
    }

    .search-input-wrapper input {
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }

    .btn-search-pill {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Featured Carousel - 1 card visible */
    .featured-carousel-container {
        overflow: hidden !important;
        min-height: 420px;
    }
    
    .carousel-track {
        gap: 0.5rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .featured-carousel-container .property-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 400px !important;
        height: 400px !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        display: block !important;
        border-radius: 30px;
        background-size: cover;
        background-position: center;
    }
    
    .featured-carousel-container .property-card.active {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 400px !important;
        height: 400px !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        display: block !important;
    }

    /* Featured Section */
    .featured-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .featured-header h2 {
        font-size: 1.8rem;
        width: 100%;
    }

    .featured-desc {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    .featured-nav {
        align-self: flex-start;
    }

    .featured-carousel-container {
        padding: 1rem 0 2rem 0;
    }

    .carousel-track {
        flex-direction: column;
        gap: 1rem;
    }

    .property-card {
        width: 100%;
        height: 350px;
        flex: none;
    }

    .property-card.active {
        flex: none;
    }

    /* Portfolio Section */
    .exclusive-portfolio {
        padding-bottom: 2rem;
    }

    .portfolio-header {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .portfolio-header h2 {
        font-size: 2rem;
        max-width: 100%;
    }

    .portfolio-header .header-right {
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .img-slider-container {
        height: 280px;
    }

    /* Meet The Team Section */
    .team-bento {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .bento-content {
        max-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .bento-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .bento-desc {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .btn-gold-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .bento-grid-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .grid-item.tall {
        grid-row: span 1;
        height: 300px;
    }

    .grid-item {
        height: 250px;
    }

    /* Agent Preview Section */
    .agent-preview-card {
        padding: 2.5rem 1.5rem;
        border-radius: 25px;
    }

    .agent-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .agent-text {
        max-width: 100%;
    }

    .agent-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .agent-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .agent-visual {
        display: none; /* Hide decorative elements on mobile */
    }

    /* Seller Process Section */
    .seller-process-section {
        padding: 3rem 0;
    }

    .section-header-center {
        margin-bottom: 2rem;
    }

    .section-header-center h2 {
        font-size: 1.8rem;
    }

    .section-header-center p {
        font-size: 0.9rem;
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-card {
        padding: 1.5rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .process-card h3 {
        font-size: 1.2rem;
    }

    .process-card p {
        font-size: 0.9rem;
    }

    /* Valuation CTA */
    .valuation-cta-container {
        max-width: 100%;
    }

    .valuation-input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        border-radius: 30px;
    }

    .valuation-input-wrapper .search-icon {
        display: none;
    }

    .valuation-input-wrapper input {
        padding: 0.75rem 0.5rem;
    }

    .valuation-input-wrapper .btn-dark-pill {
        width: 100%;
        text-align: center;
    }

    /* Utility Classes */
    .mt-5 {
        margin-top: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-3 {
        margin-top: 1.5rem !important;
    }

    .mb-3 {
        margin-bottom: 1.5rem !important;
    }
}



/* =========================================
   AGENT GALLERY STYLES (Restored)
   ========================================= */
.agent-gallery {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

.agent-gallery::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(0,0,0,0) 70%); /* White glow */
    border-radius: 50%;
    z-index: 0;
}

.agent-face {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3C2328; /* Match section bg */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy transition */
}

/* Positions */
.a-face-1 {
    top: 15%;
    left: 5%;
    z-index: 1;
    transform: scale(0.9);
}

.a-face-2 {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    z-index: 3;
    border-color: white; /* Highlight center agent */
}

.a-face-3 {
    bottom: 15%;
    right: 5%;
    z-index: 2;
    transform: scale(0.9);
}

/* Hover Interaction on the Card */
.agent-preview-card:hover .a-face-1 {
    transform: scale(1) translate(-20px, -20px) rotate(-5deg);
}

.agent-preview-card:hover .a-face-2 {
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--color-accent); /* Glow gold on hover */
}

.agent-preview-card:hover .a-face-3 {
    transform: scale(1) translate(20px, 20px) rotate(5deg);
}

@media (max-width: 900px) {
    .agent-visual {
        height: auto;
    }
    
    .agent-gallery {
        width: 100%;
        height: 250px;
    }
    
    .a-face-1 { left: 15%; }
    .a-face-2 { left: 50%; }
    .a-face-3 { right: 15%; }
}
