/* ===========================
   Global Styles
   =========================== */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}


/* ===========================
   Hero Section
   =========================== */
.hero-section {
    width: 100%;
    min-height: 100vh; /* Puri screen cover karne ke liye */
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect ke liye */
    position: relative;
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay ko thoda transparent karein taaki image dikhe */
    background: rgba(0, 0, 0, 0.4); 
}

/* Container ko wide karein agar wo chota lag raha hai */
.hero-section .container {
    max-width: 1200px !important; 
    position: relative;
    z-index: 2;
}

/* Text color white karein agar overlay dark kiya hai */
.hero-title {
    color: #ffffff; 
    font-size: 3.5rem;
}

.hero-subtitle {
    color: #f8f9fa;
    font-size: 1.25rem;
}
.search-box {
    background: var(--white);
    padding: 2.2rem 2.5rem 2.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 0.9s ease 0.3s, floatLift 5.5s ease-in-out 1.4s infinite;
    animation-fill-mode: both;
    position: relative;
    z-index: 50;
    /* Removed overflow: hidden to allow 3D rotation without clipping */
}

.search-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 65%;
    height: 100%;
    background: linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 45%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: lightSweep 4.8s ease-in-out 1.8s infinite;
    pointer-events: none;
    z-index: 0;
}

.search-box > * {
    position: relative;
    z-index: 5;
}

/* Property Tabs */
.property-tabs {
    border-bottom: 1px solid #dee2e6;
    gap: 0;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.property-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.property-tabs .nav-item {
    margin: 0;
    flex: 0 0 auto;
}

.property-tabs .nav-link {
    border: none;
    background: transparent;
    color: #9ca3af;
    font-weight: 500;
    padding: 0.7rem 1.3rem;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    position: relative;
}

.property-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: rgba(255, 107, 53, 0.3);
}

.property-tabs .nav-link.active {
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
    animation: tabBounce 0.35s ease;
}

.property-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -3px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8a5b, #ff6b35, #ff8a5b);
    background-size: 200% 100%;
    animation: tabLineFlow 0.7s ease;
}

/* Search Input Group */
.search-input-group {
    position: relative;
}

.ai-toggle-wrapper {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 10;
}

.btn-ai-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid rgba(44, 110, 145, 0.2);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.btn-ai-toggle:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #2c6e91;
}

.ai-stars {
    color: #eb8944;
    font-size: 1.1rem;
    display: flex;
    animation: sparkle 2s infinite;
}

.ai-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c6e91;
}

.search-flip-wrap {
    perspective: 2000px;
    position: relative;
    width: 100%;
    z-index: 30; /* Elevate above hero-features */
}

.search-flip-card {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 120px;
    z-index: 31;
}

.search-flip-card.is-flipped {
    transform: rotateY(180deg);
}

.search-flip-face {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.search-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

/* AI Mode Specifics */
.ai-search-container {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #dbeafe;
}

.ai-badge {
    background: #2c6e91;
    color: #fff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: fit-content;
}

.ai-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ai-search-input-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ai-input-icon {
    position: absolute;
    left: 15px;
    color: #2c6e91;
    font-size: 1.2rem;
}

.ai-query-input {
    padding: 14px 110px 14px 45px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    font-size: 1.05rem !important;
    width: 100%;
}

.ai-query-input:focus {
    border-color: #2c6e91 !important;
    box-shadow: 0 4px 20px rgba(44, 110, 145, 0.15) !important;
    outline: none;
}

.btn-ocr-action {
    position: absolute;
    right: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    transition: all 0.2s;
}

.btn-ocr-action:hover {
    background: #e9ecef;
    color: #212529;
}

.btn-ai-search {
    background: #2c6e91;
    color: #fff;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-ai-search:hover {
    background: #1e4d66;
    transform: translateX(4px);
    color: #fff;
}

.ai-chip {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.ai-chip:hover {
    border-color: #2c6e91;
    color: #2c6e91;
    background: #f0f7ff;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@media (max-width: 991px) {
    .ai-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-ai-search {
        width: 100%;
    }
}

.city-suggest-box {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 50;
}

.city-suggest-item {
    padding: 10px 12px;
    font-size: 0.92rem;
    color: #334155;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.city-suggest-item:last-child {
    border-bottom: none;
}

.city-suggest-item:hover {
    background: #f8fafc;
    color: #2c6e91;
}

.search-input-group .search-icon {
    
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    z-index: 1;
}

.search-input-group .search-input {
    padding: 0.75rem 0.75rem 0.75rem 42px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #495057;
}

.search-input-group .search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.1);
    outline: none;
}

.search-input-group .search-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Form Select */
.search-box .form-select {
    padding: 0.75rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #495057;
}

.search-box .form-select:hover,
.search-input-group .search-input:hover {
    border-color: #ffb193;
}

.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 53, 0.1);
}

/* Search Button */
.btn-search {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-search:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    color: #ffffff;
}

.search-form .btn-outline-secondary {
    border-width: 1.5px;
    transition: all 0.25s ease;
}

.search-form .btn-outline-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.search-form .row > div {
    animation: riseIn 0.5s ease both;
}

/* Ensure the Location column has high z-index to break out of animation stacking context */
.search-form .row > div:nth-child(2) {
    position: relative;
    z-index: 999;
}

.search-box.tab-switching .search-form .row > div:nth-child(1) { animation-delay: 0.02s; }
.search-box.tab-switching .search-form .row > div:nth-child(2) { animation-delay: 0.05s; }
.search-box.tab-switching .search-form .row > div:nth-child(3) { animation-delay: 0.08s; }
.search-box.tab-switching .search-form .row > div:nth-child(4) { animation-delay: 0.11s; }
.search-box.tab-switching .search-form .row > div:nth-child(5) { animation-delay: 0.14s; }

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    padding: 0 3rem;
    position: relative;
    z-index: 1; /* Keep below search box elements */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Recent Search Section */
.recent-search-section {

    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1.5rem;
}

.recent-search-section .recent-label {
    color: #ffffff;
    font-weight: 500;
    margin-right: 0.8rem;
}

.recent-search-section .recent-item {
    color: #1a1a1a; 
    background: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    display: inline-block;
    font-weight: 400;
}

/* ===========================
   Features Cards Section
   =========================== */
.features-cards-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.blue-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.green-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.purple-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.feature-card-content {
    flex: 1;
}

.feature-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.feature-card-text {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #9ca3af;
}

/* ===========================
   Properties Section
   =========================== */
.properties-section {
    padding: 3rem 0 4rem 0;
    background: var(--white);
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.property-card:focus-visible {
    outline: 3px solid rgba(44, 110, 145, 0.45);
    outline-offset: 2px;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

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

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

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-construction {
    background: #1e3a8a;
}

.badge-ready {
    background: #10b981;
}

.badge-new {
    background: #6b7280;
}

.badge-possession {
    background: #6b7280;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: #fee;
    color: #e74c3c;
}

.wishlist-btn i {
    font-size: 1rem;
    color: #6b7280;
}

.property-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.25rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    line-height: 1.25;
    min-height: 2.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
    min-height: 1.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-size {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.8rem;
    min-height: 1.4rem;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.2rem 0 0.7rem;
}

.amenity-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #2c6e91;
    background: #f0f7ff;
    border: 1px solid #d4e7f4;
    border-radius: 999px;
    padding: 3px 8px;
    line-height: 1;
}

.amenity-mini i {
    font-size: 0.75rem;
    color: #eb8944;
}

.property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.property-developer i {
    font-size: 0.9rem;
}

.btn-view-details {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.btn-view-details:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Pagination Controls */
.properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-counter {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-arrows {
    display: flex;
    gap: 0.8rem;
}

.arrow-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.arrow-next {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.arrow-next:hover {
    background: #e55a2b;
}

/* ===========================
   Map Section
   =========================== */
.map-section {
    background: #bebebe5b;
    padding: 4rem 0;

}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.interactive-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

.map-content {
    padding-left: 3rem;
}

.map-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.map-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-explore-map {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-explore-map:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ===========================
   Localities Section
   =========================== */
.localities-section {
    padding: 4rem 0;
    background: #ffffff;
}

.location-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.location-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem 1rem 1rem 1rem;
}

.location-name {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.location-info {
    padding: 0.8rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.location-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.location-count {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-image {
        height: 150px;
    }

    .location-name {
        font-size: 1rem;
    }

    .location-price {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .location-image {
        height: 120px;
    }
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.service-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.service-link {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.8rem;
    color: #e55a2b;
}

.service-link i {
    font-size: 0.85rem;
}

/* ===========================
   Builders Section
   =========================== */
.builders-section {
    padding: 4rem 0;
    background: var(--white);
}

.builder-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.builder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.builder-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

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

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

.builder-info {
    flex: 1;
}

.builder-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.builder-type {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.builder-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-value i {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-left: 0.2rem;
}

.deals-count {
    font-size: 0.8rem;
    color: #9ca3af;
}

.rera-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #10b981;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.builder-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-builder-profile,
.btn-builder-contact {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-builder-profile {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-builder-profile:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-builder-contact {
    background: var(--primary-color);
    color: var(--white);
}

.btn-builder-contact:hover {
    background: #e55a2b;
}

/* ===========================
   Owner Properties Section
   =========================== */
.owner-properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.owner-property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.owner-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.owner-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.owner-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    z-index: 1;
}

.owner-property-content {
    padding: 1.2rem;
}

.owner-property-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.owner-property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.8rem;
}

.owner-property-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.owner-property-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.owner-property-sqft {
    font-size: 0.85rem;
    color: #9ca3af;
}

.btn-contact-owner {
    width: auto;
    padding: 0.55rem 1.2rem;
    background: #1a1a1a;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact-owner:hover {
    background: #2d2d2d;
}

/* ===========================
   Combined Promotional Section
   =========================== */
.combined-promo-section {
    padding: 4rem 0;
    background: transparent;
}

.loan-banner-content {
    background: #1e3a5f;
    padding: 3rem 2.5rem;
    border-radius: 16px;
}

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

.loan-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.loan-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.loan-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-loan-primary,
.btn-loan-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-loan-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-loan-primary:hover {
    background: #e55a2b;
}

.btn-loan-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-loan-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.loan-image-placeholder {
    text-align: right;
}

.loan-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .loan-title {
        font-size: 1.6rem;
    }

    .loan-image-placeholder {
        text-align: center;
        margin-top: 2rem;
    }
}

/* ===========================
   Promotional Cards Section
   =========================== */

.promo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.promo-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.promo-text {
    flex: 1;
}

.promo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.promo-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-promo {
    padding: 0.65rem 1.5rem;
    background: #1a1a1a;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background: #2d2d2d;
}

.promo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-icon i {
    font-size: 2rem;
}

.promo-icon-yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.promo-icon-blue {
    background: #dbeafe;
    color: #3b82f6;
}

@media (max-width: 991px) {
    .promo-card-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   Featured Agents Section
   =========================== */
.featured-agents-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-link {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #e55a2b;
}

.agent-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.agent-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    position: relative;
}

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

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

.agent-info {
    flex: 1;
}

.agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.agent-type {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.agent-rating {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rating-value i {
    color: #fbbf24;
    margin-left: 0.2rem;
}

.deals-count {
    font-size: 0.85rem;
    color: #9ca3af;
}

.agent-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-agent-profile,
.btn-agent-contact {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-agent-profile {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-agent-profile:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-agent-contact {
    background: var(--primary-color);
    color: var(--white);
}

.btn-agent-contact:hover {
    background: #e55a2b;
}

/* ===========================
   Premier Properties Section
   =========================== */
.premier-properties-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.premier-property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.premier-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.premier-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.property-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.status-construction {
    background: #3b82f6;
    color: var(--white);
}

.status-ready {
    background: #10b981;
    color: var(--white);
}

.status-launch {
    background: #1a1a1a;
    color: var(--white);
}

.status-possession {
    background: #f59e0b;
    color: var(--white);
}

.property-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.property-wishlist-btn i {
    color: #9ca3af;
    font-size: 1rem;
}

.property-wishlist-btn:hover {
    background: var(--primary-color);
}

.property-wishlist-btn:hover i {
    color: var(--white);
}

.premier-property-content {
    padding: 1.2rem;
}

.premier-property-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.premier-property-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.premier-property-units {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
}

.premier-property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.premier-property-developer i {
    color: #9ca3af;
}

.btn-view-property {
    width: 100%;
    padding: 0.7rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-property:hover {
    background: #e55a2b;
}

.premier-properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.owner-properties-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.pagination-text {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pagination-arrows {
    display: flex;
    gap: 0.8rem;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-arrow:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-next {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-next:hover {
    background: #e55a2b;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

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

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

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.testimonial-author-location {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* ===========================
   App Download Section
   =========================== */
.app-download-section {
    padding: 5rem 0;
    background: var(--white);
    overflow: hidden;
}

.phone-mockup {
    position: relative;
    text-align: center;
}

.phone-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover .phone-image {
    transform: rotate(0deg) scale(1.02);
}

.app-info {
    padding-left: 2rem;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.app-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.app-store-btn,
.google-play-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: #1a1a1a;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-store-btn:hover,
.google-play-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn i,
.google-play-btn i {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-code-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.qr-code {
    width: 100px;
    height: 100px;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 991px) {
    .app-info {
        padding-left: 0;
        margin-top: 3rem;
        text-align: center;
    }

    .app-buttons,
    .qr-code-section {
        justify-content: center;
    }

    .phone-image {
        transform: rotate(0deg);
        max-height: 400px;
    }
}

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

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

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lightSweep {
    0% {
        left: -130%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    55%,
    100% {
        left: 155%;
        opacity: 0;
    }
}

@keyframes floatLift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes tabLineFlow {
    from {
        background-position: 100% 0;
        opacity: 0.4;
    }
    to {
        background-position: 0 0;
        opacity: 1;
    }
}

@keyframes tabBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .search-box,
    .search-box::before,
    .search-form .row > div,
    .property-tabs .nav-link.active,
    .property-tabs .nav-link.active::after {
        animation: none !important;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===========================
   RENT TAB - Banner Section
   Full-width banner image (1440×500)
   Only visible when Rent tab is active
   =========================== */
.rent-banner-section {
    padding: 2rem 0 0;
}

/* Rent Banner Container */
.rent-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Rent Banner Image */
.rent-banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ===========================
   RENT TAB - Fresh Properties Section
   Section heading + 4 property cards + slider arrows
   =========================== */
.rent-properties-section {
    padding: 2.5rem 0 3rem;
}

/* Rent Section Header */
.rent-section-header {
    margin-bottom: 1.5rem;
}

.rent-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.rent-section-subtitle {
    font-size: 0.9rem;
    color: #10b981;
    margin: 0;
}

/* Rent Slider Wrapper (holds cards + arrows) */
.rent-properties-slider {
    position: relative;
    padding: 0 30px;
}

/* Rent Property Card - needs overflow hidden + relative for ribbon */
.rent-property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.rent-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Rent Property Image Container */
.rent-property-image {
    position: relative;
    overflow: hidden;
    height: 220px;

    /*label changes*/
    z-index: 11;
}

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

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

/* Rent Badge - Status label at top-left of image */
.rent-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Rent Wishlist Heart - Circle button at top-right of image */
.rent-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.rent-wishlist-btn:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rent-wishlist-btn i {
    font-size: 1rem;
    color: #9ca3af;
}

/* Active/filled wishlist - orange background with white heart */
.rent-wishlist-btn.active {
    background: var(--primary-color);
}

.rent-wishlist-btn.active i {
    color: var(--white);
}

/* 
   RENT TAB - Diagonal Ribbon
   Corner ribbon on right edge of card,
    */
.rent-ribbon {
    position: absolute;
    /* top: 195px; */
    /* label changes */
    top: 244px;
    right: -37px;
    padding: 0.35rem 2.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    transform: rotate(45deg);
    text-align: center;
    letter-spacing: 0.5px;
    z-index: 3;
    white-space: nowrap;
}

/* Ribbon color variants */
.ribbon-green {
    background: #10b981;
}

.ribbon-orange {
    background: var(--primary-color);
}

.ribbon-red {
    background: #ef4444;
}

/* ===========================
   RENT TAB - Card Content Area
   Title, location, size, developer, button
   =========================== */
.rent-property-content {
    padding: 1.2rem 1.3rem 1.4rem;
}

.rent-property-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}

.rent-property-location {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.rent-property-size {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.7rem;
}

/* Developer Info - Letter badge + name */
.rent-property-developer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Developer Letter Badge (gray circle with initial) */
.dev-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Default gray badge */
.dev-badge-purple {
    background: #e5e7eb;
    color: #374151;
}

/* Green badge for Godrej (G) */
.dev-badge-green {
    background: #d1fae5;
    color: #059669;
}

/* Rent View Property Details Button - pill shaped */
.btn-rent-view-details {
    display: block;
    width: calc(100% - 1.5rem);
    margin: 0.5rem auto 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rent-view-details:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* ===========================
   RENT TAB - Slider Navigation Arrows
   Circular prev/next buttons on sides of cards
   =========================== */
.rent-arrow-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.rent-arrow-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Left arrow - white outline, outside left edge */
.rent-arrow-prev {
    left: -25px;
}

/* Right arrow - orange filled, outside right edge */
.rent-arrow-next {
    right: -25px;
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.rent-arrow-next:hover {
    background: #e55a2b;
}

/* ===========================
   Responsive - General
   =========================== */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .property-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .property-tabs .nav-item {
        flex: 0 0 auto;
    }
    
    .search-box {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Hero search form stacking */
    .search-form .row > div {
        margin-bottom: 15px;
    }
    
    .search-form .col-md-2, 
    .search-form .col-md-3 {
        width: 100% !important;
    }

    .btn-search {
        width: 100%;
        margin-top: 10px;
    }

    .ai-toggle-wrapper {
        position: relative;
        top: 0;
        right: 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: flex-end;
    }

    .hero-features {
        padding: 0 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .property-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Rent Banner - smaller height on mobile */
    .rent-banner-img {
        height: 250px;
    }

    /* Rent Slider - remove side padding on mobile */
    .rent-properties-slider {
        padding: 0;
    }

    /* Rent Arrows - inside cards on mobile */
    .rent-arrow-prev {
        left: 10px;
    }

    .rent-arrow-next {
        right: 10px;
    }
    
    /* Quick Contact Box in Hero */
    .hero-section .bg-white.rounded-4 {
        min-width: 100% !important;
        padding: 20px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .property-card .property-image {
        height: 180px;
    }
    
    .property-title {
        font-size: 1rem;
    }
}

/* ===========================
   RENT TAB - Properties by Agents Section
   Cards with Agent badge, property info, price, contact button
   =========================== */
.rent-agents-section {
    padding: 2.5rem 0 3rem;
    background: #f8f9fa;
}

/* Agent Slider Wrapper (same structure as fresh properties) */
.rent-agents-slider {
    position: relative;
    padding: 0 30px;
}

/* Agent Property Card */
.rent-agent-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.rent-agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Agent Card Image Container */
.rent-agent-image {
    position: relative;
    overflow: hidden;
    height: 150px;
}

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

.rent-agent-card:hover .rent-agent-image img {
    transform: scale(1.05);
}

/* Yellow "Agent" Tag - top-left of image */
.agent-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f59e0b;
    color: var(--white);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Agent Card Content */
.rent-agent-content {
    padding: 0.75rem 1rem 0.9rem;
}

/* Agent Property Title */
.rent-agent-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.15rem;
}

/* Agent Property Location */
.rent-agent-location {
    font-size: 0.76rem;
    color: #9ca3af;
    margin-bottom: 0.45rem;
}

/* Agent Price Row - amount + sqft */
.rent-agent-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

/* Price Amount (₹ 75 Lac) */
.price-amount {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Price Area (1450 sqft) */
.price-area {
    font-size: 0.74rem;
    color: #9ca3af;
}

/* Contact Owner Button - dark, compact */
.btn-contact-agent {
    display: inline-block;
    background: #1a1a2e;
    color: var(--white);
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact-agent:hover {
    background: #2d2d4a;
    transform: translateY(-1px);
}
/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .search-box {
        padding: 1.5rem;
    }
    .ai-toggle-wrapper {
        position: static;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }
    .btn-ai-toggle {
        width: 100%;
        justify-content: center;
    }
    .search-flip-card {
        min-height: 350px;
    }
    .search-input-group .search-input {
        font-size: 0.9rem;
    }
}
