/* ============================================
   MASTERKEYPRO - Modern Real Estate Theme
   Inspired by Housiey & HomeBazaar
   ============================================ */

/* ============================================
   CSS VARIABLES - New Color Scheme
   ============================================ */
:root {
    /* Primary Colors - Modern Indigo Theme */
    --primary: #0097b2;
    --primary-dark: #007a8f;
    --primary-light: #818CF8;
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;

    /* Legacy Blue Variables (for backward compatibility) */
    --primary-blue: #0097b2;
    --primary-blue-light: #818CF8;
    --primary-blue-dark: #007a8f;

    /* Secondary Colors */
    --secondary: #10B981;
    --secondary-dark: #059669;
    --secondary-light: #34D399;

    /* Accent Colors */
    --accent-gold: #F59E0B;
    --accent-orange: #F97316;
    --accent-red: #EF4444;
    --accent-pink: #EC4899;
    --accent-purple: #8B5CF6;
    --accent-cyan: #06B6D4;

    /* Dark Theme Colors */
    --dark: #1E293B;
    --dark-deep: #0F172A;
    --dark-navy: #0A1628;
    --primary-navy: #1E3A5F;

    /* Neutral Colors */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Text Colors */
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --bg-gradient: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --bg-gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);

    /* Border Colors */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 40px rgba(79, 70, 229, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--text-white);
    border: none;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.4);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-dark {
    background: var(--primary-navy);
    color: var(--text-white);
    border: none;
}

.btn-dark:hover {
    background: var(--gray-800);
    color: var(--text-white);
}

.btn-white {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-white:hover {
    background: var(--bg-light);
    border-color: var(--border-medium);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #F97316 100%);
    color: var(--text-white);
    border: none;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
    color: var(--text-white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ============================================
   NAVBAR - Modern Sticky Header
   ============================================ */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 1px 0 var(--border-light);
    padding: 12px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

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

.brand-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.brand-tagline {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.08);
}

.navbar-cta .btn {
    padding: 10px 20px;
}

/* ============================================
   HERO SECTION - Full Width with Overlay
   ============================================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    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(--text-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--primary-blue-light);
}

.hero-subtitle {
    font-size: 20px;
    color: #E2E8F0;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue-light);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #CBD5E1;
    margin-top: 6px;
}

/* ============================================
   SEARCH BOX - Glassmorphism Style
   ============================================ */
.search-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-2xl);
}

.search-card-header {
    margin-bottom: 24px;
}

.search-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.search-card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.search-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-tab.active {
    background: var(--bg-white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.search-tab:hover:not(.active) {
    color: var(--text-primary);
}

.form-control,
.form-select {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

/* ============================================
   PROPERTY & PROJECT CARDS
   ============================================ */
.property-card,
.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.property-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.card-badge {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #F97316 100%);
    color: var(--text-white);
}

.badge-new {
    background: var(--accent-green);
    color: var(--text-white);
}

.badge-hot {
    background: var(--accent-red);
    color: var(--text-white);
}

.badge-verified {
    background: var(--primary-blue);
    color: var(--text-white);
}

.card-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.card-favorite:hover {
    background: var(--accent-red);
    color: var(--text-white);
    transform: scale(1.1);
}

.card-favorite.active {
    background: var(--accent-red);
    color: var(--text-white);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.card-location i {
    color: var(--primary-blue);
}

.card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.card-price .price-suffix {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.card-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.card-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.card-feature i {
    color: var(--text-muted);
}

.card-footer {
    padding: 16px 20px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   CITY TABS - Filter Pills
   ============================================ */
.city-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.city-tab {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.city-tab:hover {
    background: var(--bg-white);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.city-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-white);
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-gradient);
    color: var(--text-white);
}

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    height: 100%;
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-blue);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   DEVELOPER/BUILDER CARDS
   ============================================ */
.builder-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

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

.builder-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 16px;
    background: var(--bg-light);
    padding: 12px;
}

.builder-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.builder-experience {
    font-size: 13px;
    color: var(--text-secondary);
}

.builder-projects {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 12px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.testimonial-content {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info .name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
}

.testimonial-info .role {
    font-size: 14px;
    color: var(--text-secondary);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.testimonial-rating i {
    color: var(--accent-gold);
    font-size: 14px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stats-item {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stats-number span {
    color: var(--primary-blue-light);
}

.stats-text {
    font-size: 16px;
    color: #CBD5E1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-navy);
    color: #CBD5E1;
    padding-top: 64px;
}

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

.footer-brand .brand-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
}

.footer-brand .brand-tagline {
    font-size: 14px;
    color: #94A3B8;
}

.footer-description {
    font-size: 15px;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: #94A3B8;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    margin-top: 48px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 14px;
    color: #64748B;
}

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

.footer-bottom-links a {
    font-size: 14px;
    color: #64748B;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

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

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-card {
        min-width: calc(50% - 12px);
    }

    .section {
        padding: 60px 0;
    }

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

@media (max-width: 767px) {
    .hero-section {
        min-height: 100vh;
        padding: 100px 0 40px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
        min-width: calc(50% - 6px);
    }

    .stat-number {
        font-size: 22px;
    }

    .search-card {
        padding: 24px;
        margin-top: 32px;
    }

    .section {
        padding: 48px 0;
    }

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

    .section-subtitle {
        font-size: 16px;
    }

    .city-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .city-tab {
        flex-shrink: 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .card-image-wrapper {
        height: 180px;
    }

    .card-body {
        padding: 16px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-price {
        font-size: 20px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-accent-gold {
    color: var(--accent-gold) !important;
}

.text-accent-green {
    color: var(--accent-green) !important;
}

.bg-primary-navy {
    background-color: var(--primary-navy) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.border-primary-blue {
    border-color: var(--primary-blue) !important;
}

.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   HORIZONTAL SEARCH BAR - Hero Section
   ============================================ */

/* Centered Hero Content */
.hero-center-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0 40px;
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    gap: 5px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-badge i {
    color: var(--accent-gold);
    font-size: 14px;
}

/* Main Title */
.hero-main-title {
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FFE066 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-weight: 400;
}

/* Property Type Tabs */
.property-type-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Horizontal Search Form - VERTICAL STACK LAYOUT */
.horizontal-search-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: white !important;
    border-radius: 60px !important;
    padding: 16px 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    gap: 16px !important;
    max-width: 1000px !important;
    margin: 0 auto 24px !important;
    transition: padding 0.3s ease !important;
}

/* Intent Tabs - HORIZONTAL ROW ABOVE SEARCH */
.intent-tabs {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    border-right: none !important;
    width: 100% !important;
}

.intent-tabs .type-tab {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #333 !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    flex: 1 !important;
    justify-content: center !important;
    max-width: 150px !important;
}

.intent-tabs .type-tab i {
    font-size: 16px !important;
}

.intent-tabs .type-tab:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px) !important;
}

.intent-tabs .type-tab.active {
    background: #0097b2 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 151, 178, 0.4) !important;
}

/* Search Fields Row - Horizontal Layout Below Tabs */
.search-fields-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
    background: #f8f9fa !important;
    border-radius: 50px !important;
    padding: 4px !important;
}

.search-field {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.search-field label {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    color: #999 !important;
    margin-bottom: 3px !important;
}

/* City Field */
.city-field {
    flex: 0 0 auto !important;
    border-right: 1px solid #eee !important;
    min-width: 140px !important;
}

.city-selector {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.city-selector i {
    color: #0097b2 !important;
    font-size: 16px !important;
}

.city-select {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    width: 100%;
}

.city-select:focus {
    outline: none;
    box-shadow: none;
}

/* Search Input Field */
.search-input-field {
    flex: 1;
    min-width: 250px;
    border-right: 1px solid #eee;
}


.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-wrapper i {
    color: #999;
    font-size: 16px;
}

.search-input {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
    padding: 6px 0;
}

.search-input:focus {
    outline: none;
}

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

/* Search Submit Button */
.search-submit-btn {
    background: #0097b2;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    margin: 6px 6px 6px 0;
    flex-shrink: 0;
}

.search-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 151, 178, 0.5);
    color: white;
}

/* Sell CTA inside search form */
.sell-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.sell-cta .search-submit-btn {
    margin: 0;
    width: auto;
}


/* Quick Locations */
.quick-locations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.quick-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-tag {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.location-tag i {
    font-size: 12px;
    opacity: 0.8;
}

.location-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive for Horizontal Search */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-main-subtitle {
        font-size: 16px;
    }

    .property-type-tabs {
        gap: 8px;
    }

    .horizontal-search-form {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        border-radius: 20px;
        padding: 8px;
        gap: 0;
        max-width: 100%;
        overflow-x: auto;
    }

    .intent-tabs {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 6px;
        padding: 8px;
        border-right: 1px solid #eee;
        border-bottom: none;
        width: auto;
    }

    .intent-tabs .type-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    .intent-tabs .type-tab span {
        display: none;
    }

    .intent-tabs .type-tab i {
        font-size: 16px;
    }

    .search-field {
        padding: 10px 12px;
        border-radius: 0;
        background: transparent;
        flex: 1;
    }

    .city-field {
        flex: 1;
        border-right: 1px solid #eee;
        min-width: 100px;
    }

    .search-input-field {
        flex: 1;
        border-right: 1px solid #eee;
        min-width: 150px;
    }

    .search-submit-btn {
        width: auto;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 13px;
        margin: 6px;
    }

    .sell-cta .search-submit-btn {
        width: auto;
    }

    .hero-stats-row {
        gap: 20px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-text {
        font-size: 11px;
    }

    .quick-locations {
        gap: 8px;
    }

    .location-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-center-content {
        padding: 40px 0 30px;
    }

    .hero-main-title {
        font-size: 25px;
        line-height: 1.3;
    }


    .property-type-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .type-tab {
        justify-content: center;
    }

    .stat-divider {
        height: 30px;
    }
}

/* ============================================
   CONSULTATION SECTION - Hover Effects & Modal
   ============================================ */
.consultation-cta {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consultation-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12) !important;
}


/* Modal Styling */
.consultation-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.consultation-modal .modal-header {
    background: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
    color: white;
    border: none;
    padding: 24px;
}

.consultation-modal .modal-body {
    padding: 30px;
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.time-slot-option {
    position: relative;
}

.time-slot-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.time-slot-label {
    display: block;
    padding: 12px;
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.time-slot-option input[type="radio"]:checked+.time-slot-label {
    background: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
    border-color: #0097b2;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.time-slot-label:hover {
    border-color: #0097b2;
    background: #EFF6FF;
}

.time-slot-option input[type="radio"]:checked+.time-slot-label:hover {
    background: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
    color: white;
}

/* ============================================
   HERO BACKGROUND - Enhanced
   ============================================ */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-container {
    position: relative;
    z-index: 2;
}

/* ============================================
   PARTNERS SECTION - Professional Logo Grid
   ============================================ */
.partners-grid {
    position: relative;
}

.partner-card {
    background: #ffffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 160px;
}

.partner-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.partner-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-name {
    color: #64748B;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.partner-card:hover .partner-name {
    color: #0F172A;
}

/* ============================================
   PROPERTY TYPE CARDS - With Images
   ============================================ */
.property-type-card {
    display: block;
    text-decoration: none;
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.property-type-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px);
}

.property-type-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.property-type-image img {
    transition: transform 0.4s ease;
}

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

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.overlay-icon i {
    font-size: 28px;
    color: #0097b2;
}

.property-type-card:hover .overlay-icon {
    opacity: 1;
}

/* ============================================
   FEATURE BOX - Clean Icons
   ============================================ */
.feature-box {
    padding: 1.5rem;
}

.feature-icon {
    transition: transform 0.2s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.05);
}

/* ============================================
   CAMPAIGNS BANNER - Responsive
   ============================================ */
.campaigns-banner {
    position: relative;
}

.campaign-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.campaign-info {
    flex: 1;
    min-width: 0;
}

.campaign-tagline {
    display: inline-block;
}

.campaign-btn:hover {
    background-color: #F9FAFB !important;
    border-color: #CBD5E1 !important;
    transform: translateX(2px);
}

.campaigns-swiper {
    position: relative;
}

/* ============================================
   ENQUIRY SECTION - Modern Clean Design
   ============================================ */
.enquiry-card {
    transition: all 0.3s ease;
}

.form-control-modern,
.form-select {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0F172A;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.form-control-modern:focus,
.form-select:focus {
    border-color: #0097b2;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
    background-color: #FFFFFF;
}

.form-control-modern::placeholder {
    color: #94A3B8;
}

.enquiry-form-clean .form-label {
    display: block;
    margin-bottom: 8px;
}

.enquiry-form-clean .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.enquiry-form-clean .btn-primary:active {
    transform: translateY(0);
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(4px);
}

.trust-badges>div {
    transition: all 0.3s ease;
}

.trust-badges>div:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-3px);
}

.enquiry-form-clean .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.enquiry-form-clean .btn-primary.loading {
    position: relative;
    color: transparent;
}

.enquiry-form-clean .btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.form-control-modern.is-invalid {
    border-color: #DC2626;
}

.form-control-modern.is-invalid:focus {
    border-color: #DC2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-control-modern.is-valid {
    border-color: #10B981;
}

.form-control-modern.is-valid:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.enquiry-section {
    scroll-margin-top: 80px;
}

@keyframes float {

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

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

.enquiry-card .col-lg-5>div>div[style*="position: absolute"] {
    animation: float 6s ease-in-out infinite;
}

.enquiry-card .col-lg-5>div>div[style*="position: absolute"]:nth-child(2) {
    animation-delay: 1s;
}

/* ============================================
   YOUTUBE VIDEOS & SHORTS SECTION
   ============================================ */
.youtube-video-card {
    transition: transform 0.3s ease;
}

.youtube-video-card:hover {
    transform: translateY(-4px);
}

.video-thumbnail {
    background: #000;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-overlay i {
    font-size: 64px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-thumbnail:hover .play-overlay i {
    transform: scale(1.1);
    color: #FF0000;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.shorts-card {
    transition: transform 0.3s ease;
}

.shorts-card:hover {
    transform: translateY(-4px);
}

.shorts-thumbnail {
    background: #000;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.shorts-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.shorts-overlay i {
    font-size: 48px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.shorts-thumbnail:hover .shorts-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.shorts-thumbnail:hover .shorts-overlay i {
    transform: scale(1.1);
}

.shorts-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF0000;
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================================
   SOCIAL MEDIA SECTION - Professional Design
   ============================================ */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #F9FAFB;
    color: #475569;
    font-weight: 600;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-label {
    font-size: 14px;
    font-weight: 600;
    display: none;
}

@media (min-width: 768px) {
    .social-label {
        display: inline;
    }
}

.instagram-link {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: #FFFFFF;
    border-color: transparent;
}

.instagram-link:hover {
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.4);
}

.youtube-link {
    background: #FF0000;
    color: #FFFFFF;
    border-color: transparent;
}

.youtube-link:hover {
    color: #FFFFFF;
    background: #CC0000;
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
}

.whatsapp-link {
    background: #25D366;
    color: #FFFFFF;
    border-color: transparent;
}

.whatsapp-link:hover {
    color: #FFFFFF;
    background: #1DA851;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.social-stats {
    padding: 1.5rem;
    background: #F9FAFB;
    border-radius: 12px;
    display: inline-flex;
    border: 1px solid #E5E7EB;
}

.social-stats .stat-item {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.social-stats .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    background: #E5E7EB;
}

.social-post-card {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-post-card:hover {
    transform: translateY(-6px);
}

.post-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.post-image img {
    transition: transform 0.4s ease;
}

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

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-post-card:hover .post-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.social-post-card:hover .overlay-content {
    transform: translateY(0);
}

.platform-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-post-card:hover .platform-badge {
    transform: scale(1.1) rotate(5deg);
}

.post-title {
    transition: color 0.2s ease;
}

.social-post-card:hover .post-title {
    color: #0097b2 !important;
}

.post-meta {
    opacity: 0.8;
}

.social-posts .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.stat-item {
    animation: countUp 0.6s ease-out;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* ============================================
   MOBILE SEARCH BAR - Hidden by default
   ============================================ */
.mobile-search-form {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto 1.5rem auto;
    padding: 12px;
    gap: 12px;
}

.mobile-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-tab {
    background: transparent;
    border: none;
    color: #64748B;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-tab.active {
    background: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

.mobile-search-content {
    display: flex;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 8px;
}

.mobile-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}

.mobile-search-input i {
    color: #94A3B8;
    font-size: 16px;
}

.mobile-search-input input {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #0F172A;
    width: 100%;
    outline: none;
}

.mobile-search-input input::placeholder {
    color: #94A3B8;
}

.mobile-search-btn {
    background: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

.mobile-search-btn:active {
    transform: scale(0.95);
}

.mobile-sell-cta {
    text-align: center;
    padding: 8px 0;
}

.mobile-sell-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0097b2 0%, #007a8f 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

/* ============================================
   RESPONSIVE STYLES - Mobile Optimizations
   ============================================ */

/* Partners Section - Mobile */
@media (max-width: 767px) {
    .partner-card {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }

    .partner-logo {
        max-width: 100px;
    }

    .partner-name {
        font-size: 11px;
    }

    .trust-badge .d-flex {
        flex-direction: column;
        text-align: center !important;
        gap: 0.75rem !important;
    }

    .trust-badge div {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .partners-grid .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .property-type-card {
        padding: 1rem;
    }

    .property-type-image img {
        height: 150px !important;
    }

    .overlay-icon {
        width: 50px;
        height: 50px;
    }

    .overlay-icon i {
        font-size: 24px;
    }
}

/* Campaigns Banner - Mobile */
@media (max-width: 767px) {
    .campaign-content {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }

    .campaign-info {
        text-align: left;
    }

    .campaign-info .d-flex {
        flex-wrap: wrap;
    }

    .campaign-tagline {
        padding-left: 28px;
        display: block;
        margin-top: 4px;
    }

    .campaign-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .campaigns-banner {
        padding: 0.75rem 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .campaign-tagline {
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .campaigns-banner .bi-megaphone-fill {
        font-size: 16px !important;
    }

    .campaign-info span {
        font-size: 12px !important;
    }

    .badge {
        font-size: 10px !important;
    }
}

/* Enquiry Section - Mobile */
@media (max-width: 991px) {

    .enquiry-card .col-lg-5,
    .enquiry-card .col-lg-7 {
        padding: 2rem !important;
    }

    .contact-info-box {
        margin-bottom: 2rem !important;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .enquiry-card {
        border-radius: 12px !important;
    }

    .enquiry-card .col-lg-5,
    .enquiry-card .col-lg-7 {
        padding: 1.5rem !important;
    }

    .enquiry-card h2 {
        font-size: 22px !important;
    }

    .enquiry-card h3 {
        font-size: 18px !important;
    }

    .contact-item {
        padding: 12px !important;
    }

    .contact-item>div:first-child {
        width: 40px !important;
        height: 40px !important;
    }

    .contact-item i {
        font-size: 18px !important;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .trust-badges>div {
        padding: 8px !important;
    }

    .trust-badges>div>div:first-child {
        font-size: 20px !important;
    }

    .trust-badges>div>div:last-child {
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {

    .form-control-modern,
    .form-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .enquiry-form-clean .btn-primary {
        padding: 12px !important;
        font-size: 14px !important;
    }
}

/* Social Media Section - Mobile */
@media (max-width: 767px) {
    .social-link {
        padding: 8px 16px;
        font-size: 16px;
        gap: 6px;
    }

    .social-link i {
        font-size: 20px;
    }

    .social-stats {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .social-stats .stat-item {
        padding: 0.5rem 0;
    }

    .social-stats .stat-item:not(:last-child)::after {
        display: none;
    }

    .social-stats .stat-item:not(:last-child) {
        border-bottom: 1px solid #E5E7EB;
    }

    .platform-badge {
        width: 32px;
        height: 32px;
        font-size: 16px;
        top: 8px;
        right: 8px;
    }

    .post-title {
        font-size: 13px !important;
    }

    .post-meta {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .social-posts .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .social-link {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* Site Visit Booking Section — Tablet (desktop overlay card size adjustment) */
@media (max-width: 991px) {
    .site-visit-booking .d-none.d-md-block {
        right: 20px !important;
        max-width: 580px !important;
    }

    .site-visit-booking .card-body h3 {
        font-size: 22px !important;
    }

    .site-visit-booking #bookSiteVisitBtn {
        padding: 10px 24px !important;
        font-size: 14px !important;
    }
}

/* Free Consultation Section - Mobile */
@media (max-width: 991px) {
    .consultation-section {
        position: relative !important;
    }

    .consultation-section #bookConsultationBtn {
        right: 150px !important;
        padding: 15px 35px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 767px) {
    .consultation-section {
        display: flex !important;
        flex-direction: column !important;
    }

    .consultation-section img {
        width: 100% !important;
        height: auto !important;
    }

    .consultation-section #bookConsultationBtn {
        position: absolute !important;
        right: -76px !important;
        top: 65% !important;
        transform: translateY(-50%) !important;
        padding: 10px 20px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        border-width: 2px !important;
        letter-spacing: 0.5px !important;
    }
}

/* Hero Search Bar - Mobile Responsive */
@media (max-width: 767px) {
    .hero-trust-badges {
        gap: 8px;
        margin-bottom: 0.75rem;
        justify-content: center;
        flex-wrap: nowrap !important;
    }

    .trust-badge {
        font-size: 13px;
        padding: 4px 8px;
        gap: 6px;
        white-space: nowrap;
        width: auto !important;
        max-width: fit-content !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
    }

    .trust-badge i {
        font-size: 12px;
    }

    /* HIDE DESKTOP SEARCH ON MOBILE */
    .desktop-search,
    .horizontal-search-form:not(.mobile-search-form) {
        display: none !important;
    }

    /* SHOW MOBILE SEARCH ON MOBILE */
    .mobile-search-form {
        display: flex !important;
        flex-direction: column;
    }
}

/* ============================================
   Virtual Tour Section Styles
   ============================================ */

.virtual-tour-section {
    position: relative;
    overflow: hidden;
}

.virtual-tour-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0097b2;
    margin-bottom: 1rem;
}

.virtual-tour-usps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.virtual-tour-usps li {
    font-size: 16px;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.virtual-tour-usps li i {
    flex-shrink: 0;
}

#bookVirtualTourBtn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

#bookVirtualTourBtn:hover {
    background-color: #007a8f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 151, 178, 0.4);
}

#bookVirtualTourBtn:active {
    transform: translateY(0);
}

.virtual-tour-image img {
    object-fit: contain;
    width: 100%;
    height: 300px;
}

/* Mobile Responsive for Virtual Tour Section */
@media (max-width: 767px) {
    .virtual-tour-section {
        padding: 2.5rem 0 !important;
    }

    /* Show mobile title, hide desktop elements */
    .mobile-virtual-tour-title {
        display: block !important;
    }

    .desktop-title,
    .desktop-description,
    .desktop-usps,
    .desktop-btn {
        display: none !important;
    }

    /* Show mobile button overlay and details */
    .mobile-overlay-btn,
    .mobile-virtual-tour-details {
        display: block !important;
    }

    /* Stack vertically */
    .virtual-tour-section .row {
        flex-direction: column !important;
    }

    .virtual-tour-section .col-lg-6,
    .virtual-tour-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Image container */
    .virtual-tour-image-wrapper {
        margin-bottom: 0 !important;
    }

    .virtual-tour-image {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Mobile overlay button */
    .mobile-overlay-btn {
        border-radius: 8px !important;
        transition: all 0.3s ease;
    }

    .mobile-overlay-btn:hover {
        background-color: #007a8f !important;
        transform: scale(1.05);
    }

    /* Mobile details below image */
    .mobile-virtual-tour-details {
        padding: 0 1rem;
    }

    .mobile-virtual-tour-details p {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .virtual-tour-section {
        padding: 2rem 0 !important;
    }

    .mobile-virtual-tour-title {
        font-size: 20px !important;
        margin-bottom: 1rem !important;
    }

    .mobile-overlay-btn {
        top: 12px !important;
        left: 12px !important;
        padding: 6px 14px !important;
        font-size: 12px !important;
    }

    .mobile-overlay-btn i {
        font-size: 13px !important;
    }

    .mobile-virtual-tour-details p {
        font-size: 13px !important;
    }

    .virtual-tour-image {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-trust-badges {
        gap: 6px;
        margin-bottom: 0.5rem;
        justify-content: center;
        flex-wrap: nowrap !important;
    }

    .trust-badge {
        font-size: 13px;
        padding: 5px 10px;
        gap: 4px;
        width: auto !important;
        max-width: fit-content !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
    }

    .trust-badge i {
        font-size: 10px;
    }

    .mobile-search-form {
        max-width: 100%;
        padding: 10px;
    }

    .mobile-tab {
        padding: 8px 16px;
        font-size: 18px;
    }

    .mobile-search-input {
        padding: 6px 10px;
    }

    .mobile-search-input input {
        font-size: 13px;
    }

    .mobile-search-btn {
        padding: 8px 14px;
        font-size: 16px;
    }
}

/* ===================================
   Awards Section Styles
   =================================== */

/* Desktop Grid */
.awards-desktop {
    display: block;
}

.awards-mobile {
    display: none;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 2rem;
}

.award-card {
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 151, 178, 0.15);
    border-color: #0097b2 !important;
}

.award-hidden {
    display: none;
}

.award-hidden.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

#viewMoreBtn:hover {
    background-color: #0097b2;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.25);
}

/* Mobile Slideshow */
@media (max-width: 767px) {
    .awards-desktop {
        display: none;
    }

    .awards-mobile {
        display: block !important;
    }

    .awards-slideshow {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 0 1rem;
    }

    .award-slide {
        transition: opacity 0.5s ease;
    }

    .slideshow-dots .dot {
        padding: 0;
    }

    .slideshow-dots .dot:hover {
        background: #0097b2;
        transform: scale(1.2);
    }

    .slideshow-dots .dot.active {
        width: 24px;
        border-radius: 6px;
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .awards-section {
        padding: 3rem 0 !important;
    }

    .awards-section h2 {
        font-size: 24px !important;
    }

    .awards-section .badge {
        font-size: 11px !important;
    }

    .award-card .award-content {
        padding: 1rem !important;
    }

    .award-card h5 {
        font-size: 16px !important;
    }
}

/* ============================================
   PROPERTY TYPE FILTER CHIPS - MOBILE FIRST
   ============================================ */

/* Desktop Chips Container */
.property-type-chips {
    display: none;
    /* Hidden on mobile by default */
    justify-content: center;
    width: 100%;
    margin-top: 16px;
}

.chips-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

/* Individual Chip - Desktop */
.property-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #E5E7EB;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.property-chip i {
    font-size: 16px;
}

.property-chip:hover {
    background: #FFFFFF;
    border-color: #0097b2;
    color: #0097b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.15);
}

.property-chip.active {
    background: linear-gradient(135deg, #0097b2 0%, #006d7a 100%);
    border-color: #0097b2;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

/* Mobile Chips - Horizontal Scroll */
.mobile-property-chips {
    display: block;
    /* Visible on mobile */
    margin-top: 12px;
    width: 100%;
    overflow: hidden;
}

.mobile-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 12px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.mobile-chips-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Individual Chip - Mobile */
.mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-chip i {
    font-size: 15px;
}

.mobile-chip:active {
    transform: scale(0.95);
}

.mobile-chip.active {
    background: linear-gradient(135deg, #0097b2 0%, #006d7a 100%);
    border-color: #0097b2;
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(0, 151, 178, 0.3);
}

/* Tablet+ - Show Desktop, Hide Mobile */
@media (min-width: 768px) {
    .property-type-chips {
        display: flex;
    }

    .mobile-property-chips {
        display: none;
    }
}

/* Mobile - Enhanced Visibility */
@media (max-width: 767px) {
    .mobile-chip {
        font-size: 14px;
        padding: 12px 18px;
    }

    .mobile-chip i {
        font-size: 16px;
    }
}

/* Filtered Properties Section - Smooth Entry Animation */
.filtered-properties {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Property Chips - Horizontal Scroll Indicator */
@media (max-width: 767px) {
    .mobile-property-chips {
        position: relative;
    }

    /* Gradient fade on right to show more content */
    .mobile-property-chips::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 100%;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
        pointer-events: none;
        z-index: 1;
    }

    /* Reduce heading size further for very small screens */
    /* Removed - user prefers larger sizes */
}

/* Tablet - smaller heading */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-main-title {
        font-size: 22px !important;
    }
}