/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */
:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #ff6b6b;
    --secondary: #0f172a;
    --accent: #f39c12;
    --gradient: linear-gradient(135deg, #e74c3c, #c0392b);
    --gradient-alt: linear-gradient(135deg, #e74c3c, #f39c12);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --navy-blue: rgb(18, 25, 46);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

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

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: white;
}

.loader .house-icon {
    font-size: 60px;
    color: var(--primary);
    animation: bounce 1s infinite;
}

.loader p {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-top: 15px;
    color: white;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 20px auto 0;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    animation: loadProgress 2s ease forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

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

/* ========================================
   UTILITIES
   ======================================== */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-badge-light {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: capitalize;
}

h4 {
    text-transform: capitalize;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.bg-light-custom {
    background-color: var(--bg-light);
}

.bg-navy-blue {
    background-color: var(--navy-blue);
}

/* ========================================
   PRIMARY BUTTON
   ======================================== */
.btn-primary-custom {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

/* ========================================
   NAVBAR
   ======================================== */
#mainNav {
    padding: 15px 0;
    transition: var(--transition);
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.47);
}

#mainNav.scrolled {
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: white !important;
}

.navbar-brand i,
.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 18px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* ========================================
   HERO SECTION — FIXED SPACING
   ======================================== */
.hero-section {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(231, 76, 60, 0.15));
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: white;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.z-3 {
    z-index: 3;
}

/* Hero Row — proper spacing */
.hero-row {
    min-height: 100vh;
    padding-top: 100px; /* navbar space */
    padding-bottom: 80px; /* scroll indicator space */
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-badge i {
    margin-right: 5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--secondary);
    border-color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-item h3::after {
    content: '+';
    color: var(--primary);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ========================================
   HERO SEARCH CARD — FIXED SPACING
   ======================================== */
.hero-search-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-search-card h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 18px;
    font-size: 22px;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border);
    background: transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 14px;
}

.tab-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-search-card label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-search-card .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
    height: auto;
}

.hero-search-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: white;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   REQUIREMENTS SECTION
   ======================================== */
.requirements-section {
    padding: 100px 0;
}

.requirement-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.requirement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.requirement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.requirement-card:hover::before {
    transform: scaleX(1);
}

.requirement-card .icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.requirement-card:hover .icon-wrapper {
    background: var(--gradient);
    transform: rotateY(180deg);
}

.requirement-card .icon-wrapper i {
    font-size: 30px;
    color: var(--primary);
    transition: var(--transition);
}

.requirement-card:hover .icon-wrapper i {
    color: white;
}

.requirement-card h6 {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--text-dark);
}

/* ========================================
   ABOUT SECTION — FIXED IMAGES
   ======================================== */
.about-section {
    padding: 100px 0;
}

.about-images-wrapper {
    position: relative;
    padding: 20px;
    min-height: 480px;
}

.about-img-primary {
    width: 65%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.about-img-primary img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-img-primary:hover img {
    transform: scale(1.05);
}

.about-img-secondary {
    width: 55%;
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 3;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: var(--shadow-lg);
}

.about-img-secondary img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-img-secondary:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--gradient);
    color: white;
    padding: 22px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 5;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
}

.experience-badge h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.experience-badge p {
    font-size: 13px;
    margin: 5px 0 0;
    opacity: 0.9;
}

/* About Features */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--bg-light);
    border-color: var(--border);
    transform: translateX(5px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient);
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-item:hover .feature-icon i {
    color: white;
}

.feature-item h5 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-us-section {
    padding: 100px 0;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(10deg);
}

.why-us-icon i {
    font-size: 35px;
    color: white;
}

.why-us-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.why-us-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ========================================
   PROPERTIES SECTION
   ======================================== */
.properties-section {
    padding: 100px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.property-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.property-badge.sale {
    background: linear-gradient(135deg, #10b981, #059669);
}

.property-badge.rent {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.property-badge.new {
    background: var(--gradient);
}

.property-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    z-index: 2;
    color: var(--text-dark);
}

.property-favorite:hover,
.property-favorite.liked {
    background: #ef4444;
    color: white;
}

.property-info {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.property-price span {
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 400;
}

.property-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.property-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.property-location i {
    color: var(--primary);
    margin-right: 5px;
}

.property-features {
    display: flex;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    margin-top: auto;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
}

.property-feature i {
    color: var(--primary);
    font-size: 14px;
}

/* ========================================
   LOCALITIES SECTION
   ======================================== */
.localities-section {
    padding: 100px 0;
}

.locality-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
}

.locality-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.locality-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.locality-card:hover img {
    transform: scale(1.15);
}

.locality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: var(--transition);
}

.locality-card:hover .locality-overlay {
    background: linear-gradient(to top, rgba(231, 76, 60, 0.9) 0%, rgba(0, 0, 0, 0.2) 70%);
}

.locality-overlay h5 {
    color: white;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
}

.locality-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
}

.locality-overlay .property-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 100px 0;
}

.service-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 35px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 15px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 2px;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 15px;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 55px 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    opacity: 0.9;
    font-size: 16px;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.cta-card .btn-light {
    color: var(--primary);
}

.cta-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 100px 0;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(243, 156, 18, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--gradient);
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.contact-card:hover .contact-icon i {
    color: white;
}

.contact-card h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-wrapper h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 22px;
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-floating > label {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   MAP
   ======================================== */
.map-section {
    width: 100%;
    line-height: 0;
}

.map-section iframe {
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-section iframe:hover {
    filter: grayscale(0%);
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
    background: var(--navy-blue);
    color: white;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.footer-brand span,
.footer-brand i {
    color: var(--primary);
}

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

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: none;
    color: white;
}

.newsletter-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-section a.text-light {
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a.text-light:hover {
    color: var(--primary) !important;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 998;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.btn-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

/* ========================================
   SUCCESS MODAL
   ======================================== */
.success-icon {
    font-size: 60px;
    color: #10b981;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-row {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-item h3 {
        font-size: 28px;
    }

    .cta-card {
        padding: 40px 30px;
        text-align: center;
    }

    .about-images-wrapper {
        min-height: 380px;
    }

    .about-img-primary {
        width: 70%;
    }

    .about-img-secondary {
        width: 55%;
    }

    .about-img-primary img {
        height: 280px;
    }

    .about-img-secondary img {
        height: 220px;
    }

    #mainNav .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
    }

    .scroll-indicator {
        display: none;
    }
}

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

    .hero-row {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-buttons .btn:first-child {
        margin-right: 0 !important;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .cta-card h2 {
        font-size: 26px;
    }

    .about-images-wrapper {
        min-height: auto;
        padding: 0;
        margin-bottom: 30px;
    }

    .about-img-primary {
        width: 100%;
        position: relative;
    }

    .about-img-primary img {
        height: 260px;
    }

    .about-img-secondary {
        position: relative;
        width: 80%;
        bottom: auto;
        right: auto;
        margin-top: -40px;
        margin-left: auto;
    }

    .about-img-secondary img {
        height: 200px;
    }

    .experience-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: inline-block;
        margin-top: 15px;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .locality-card {
        height: 220px;
    }

    .requirements-section,
    .about-section,
    .properties-section,
    .services-section,
    .testimonials-section,
    .contact-section,
    .localities-section,
    .why-us-section {
        padding: 70px 0;
    }

    .cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-search-card {
        padding: 24px 20px;
    }

    .hero-search-card h4 {
        font-size: 19px;
    }

    .search-tabs {
        flex-direction: column;
    }

    .filter-buttons {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .requirements-section,
    .about-section,
    .properties-section,
    .services-section,
    .testimonials-section,
    .contact-section,
    .localities-section,
    .why-us-section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 30px 0;
    }

    .cta-card {
        padding: 30px 20px;
    }

    .cta-card h2 {
        font-size: 22px;
    }

    .experience-badge {
        padding: 15px 20px;
    }

    .experience-badge h3 {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}