/* CSS VARIABLES - Design Tokens */
:root {
    --f-pink: #e63b7a;
    --f-gold: #c5a367;
    --f-dark: #0f0f1a;
    --f-blue: #0d6efd;
    --f-green: #20c997;
    --f-purple: #6f42c1;
}

/* GLOBAL TYPOGRAPHY */
body {
    font-family: 'Inter', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #1a1a2e;
}

.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Character Animation Classes */
.char-animation {
    display: inline-block;
    opacity: 0;
    transform: translateX(-25px);
    filter: blur(5px);
    font-weight: inherit;
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.char-animation.animate {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

 .fade-in-el {
    opacity: 0;
    transform: translateX(-50px) scale(0.98);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-el.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* YELLOW STATS SECTION */
.fade-in-el.d-flex.align-items-center.justify-content-center {
    padding: 10px 16px;
    background: rgba(255, 193, 7, 0.15);
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    margin: 12px auto;
    max-width: fit-content;
}

@media (max-width: 768px) {
    .fade-in-el.d-flex.align-items-center.justify-content-center {
        padding: 8px 12px;
        border-left: 3px solid #ffc107;
    }
}

@media (max-width: 576px) {
    .fade-in-el.d-flex.align-items-center.justify-content-center {
        padding: 8px 10px;
        border-left: 2px solid #ffc107;
        gap: 6px;
    }
}


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

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

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

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

        @keyframes float {

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

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

        @keyframes shimmer {
            0% {
                background-position: -1000px 0;
            }

            100% {
                background-position: 1000px 0;
            }
        }

        @keyframes scaleIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes pulse-border {
            0% {
                box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
            }
        }

        /* GLOBAL STYLES */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .gradient-text {
            background: linear-gradient(90deg, #0d6efd, #20c997, #6f42c1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }



        .hero-video-bg {
            animation: fadeInVideo 2s ease-out forwards;
        }

        @keyframes fadeInVideo {
            from { opacity: 0; filter: scale(1.05); }
            to { opacity: 1; filter: scale(1); }
        }

        .hero-title {
            font-family: 'Outfit', sans-serif;
            font-size: 4.5rem;
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -2px;
            background: linear-gradient(135deg, #ffffff 30%, #a5c7ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            margin-bottom: 2.5rem;
            line-height: 1.6;
            animation: fadeInUp 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        /* SEARCH CARD REDESIGN */
        .search-card {
            background: rgba(255, 255, 255, 0.08);
            /* Transparent glass */
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border-radius: 28px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 2.5rem;
            width: 100%;
            box-shadow:
                0 25px 50px -12px rgba(0, 0, 0, 0.5),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
            animation: scaleIn 1s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        /* PREMIUM TABS */
        .search-tabs-container {
            display: inline-flex;
            background: rgba(0, 0, 0, 0.2);
            padding: 6px;
            border-radius: 100px;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .search-tabs .nav-link {
            color: rgba(255, 255, 255, 0.7) !important;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 10px 24px;
            border-radius: 100px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: none !important;
            position: relative;
            z-index: 1;
        }

        .search-tabs .nav-link:hover {
            color: #fff !important;
            background: rgba(255, 255, 255, 0.05);
        }

        .search-tabs .nav-link.active {
            color: #fff !important;
            background: #0d6efd !important;
            box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
            transform: scale(1.05);
        }

        /* PREMIUM INPUTS */
        .search-input-group {
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            transition: all 0.3s ease;
        }

        .search-input-group:focus-within {
            background: rgba(255, 255, 255, 0.1);
            border-color: #0d6efd;
            box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
            transform: translateY(-2px);
        }

        .search-input-group label {
            position: absolute;
            top: 10px;
            left: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 1px;
            pointer-events: none;
        }

        .search-input-group .form-control,
        .search-input-group .form-select {
            background: transparent !important;
            border: none !important;
            color: #fff !important;
            height: 64px;
            padding: 24px 20px 8px 20px;
            font-weight: 600;
            font-size: 1rem;
            box-shadow: none !important;
        }

        .search-input-group .form-select option {
            background: #1a1a1a;
            color: #fff;
        }

        .search-input-group .form-control::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        /* BUTTON REDESIGN */
        .premium-search-btn {
            height: 64px;
            background: linear-gradient(135deg, #0d6efd 0%, #004dc0 100%);
            border: none;
            border-radius: 16px;
            color: #fff;
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
        }

        .premium-search-btn:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 40px rgba(13, 110, 253, 0.4);
            background: linear-gradient(135deg, #1a7bff 0%, #0d6efd 100%);
        }

        .premium-search-btn i {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .premium-search-btn:hover i {
            transform: rotate(15deg) scale(1.2);
        }

        /* TRUST BADGES */
        .trust-badge-container {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-top: 3rem;
            animation: fadeInUp 1.6s ease-out;
        }

        @media (max-width: 576px) {
            .trust-badge-container {
                flex-direction: column;
                gap: 10px;
                margin-top: 1.5rem;
            }

            .trust-badge {
                width: 100%;
                justify-content: center;
            }
        }

        .trust-badge {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            padding: 8px 16px;
            border-radius: 100px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .trust-badge i {
            font-size: 1.1rem;
        }

        .trust-badge span {
            color: #fff;
            font-size: 0.85rem;
            font-weight: 600;
        }

        /* TABS */
        .search-tabs {
            position: relative;
        }

        .search-tabs .nav-link {
            color: #666;
            font-weight: 600;
            padding: 10px 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .search-tabs .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #0d6efd, #20c997);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .search-tabs .nav-link:hover {
            color: #0d6efd;
            transform: translateY(-2px);
        }

        .search-tabs .nav-link:hover::before {
            width: 60%;
        }

        .search-tabs .nav-link.active {
            color: #0d6efd;
            transform: translateY(0);
        }

        .search-tabs .nav-link.active::before {
            width: 100%;
            animation: pulse-border 2s infinite;
        }

        /* SEARCH INPUT */
        .search-input {
            height: 56px;
            border-radius: 12px;
            border: 2px solid #e1e5eb;
            padding-left: 20px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.9);
        }

        .search-input:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
            transform: translateY(-2px);
        }

        .search-btn {
            height: 56px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .search-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .search-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
        }

        .search-btn:hover::before {
            left: 100%;
        }

        /* PROPERTY CARDS */
        .property-card {
            border-radius: 18px;
            overflow: hidden;
            background: white;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(0, 0, 0, 0.08);
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .property-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .property-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .property-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .property-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .property-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            border-color: rgba(13, 110, 253, 0.2);
        }

        .property-card-img {
            height: 200px;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

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

        .property-price-badge {
            background: linear-gradient(135deg, #ff6b6b, #ff8e53);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            animation: float 3s ease-in-out infinite;
        }

        /* LOCALITY CARDS */
        .locality-card {
            border: 1px solid rgba(230, 233, 239, 0.8);
            border-radius: 18px;
            padding: 24px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .locality-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #0d6efd, transparent);
            transition: left 0.5s ease;
        }

        .locality-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: #0d6efd;
        }

        .locality-card:hover::before {
            left: 100%;
        }

        .locality-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .locality-card:hover .locality-icon {
            transform: rotate(15deg) scale(1.1);
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
        }

        .rating-badge {
            font-size: 13px;
            background: linear-gradient(135deg, #34d399, #10b981);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
        }

        /* ARROW BUTTONS */
        .arrow-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 2px solid #e1e5eb;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #0d6efd;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .arrow-btn:hover {
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
            color: white;
            border-color: transparent;
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
        }

        /* PROPERTY TYPE SECTION */
        .property-type-wrapper {
            position: relative;
            padding: 0 60px;
        }

        .property-scroll {
            display: flex;
            gap: 25px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 20px 10px;
            scrollbar-width: none;
        }

        .property-scroll::-webkit-scrollbar {
            display: none;
        }

        .property-scroll-card {
            min-width: 320px;
            border-radius: 24px;
            overflow: hidden;
            background: white;
            position: relative;
            transition: all 0.4s ease;
        }

        .property-scroll-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }

        .scroll-gradient-1 {
            background: linear-gradient(135deg, #eef6ff, #d6e4ff);
        }

        .scroll-gradient-2 {
            background: linear-gradient(135deg, #ddf5e7, #c6efd8);
        }

        .scroll-gradient-3 {
            background: linear-gradient(135deg, #fff3e0, #ffe0b2);
        }

        .scroll-gradient-4 {
            background: linear-gradient(135deg, #f3e5f5, #e1bee7);
        }

        .arrow-circle {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            border: none;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #0d6efd;
            transition: all 0.3s ease;
        }

        .arrow-circle:hover {
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
            color: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 12px 40px rgba(13, 110, 253, 0.4);
        }

        .arrow-left {
            left: 0;
        }

        .arrow-right {
            right: 0;
        }

        /* INSIGHT CARDS */
        .insight-card {
            border-radius: 20px;
            overflow: hidden;
            background: white;
            border: 1px solid rgba(230, 233, 239, 0.8);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            animation: fadeInUp 0.6s ease-out;
            animation-fill-mode: both;
        }

        .insight-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .insight-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .insight-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .insight-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .insight-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
            border-color: #0d6efd;
        }

        .insight-map {
            background: linear-gradient(135deg, #fdeed7, #f9d6a7);
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .map-pin {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: float 4s ease-in-out infinite;
        }

        /* LAUNCH SECTION */
        .launch-box {
            background: linear-gradient(135deg, #eef7fc, #d9ecfa);
            border-radius: 24px;
            padding: 40px;
            position: relative;
            overflow: hidden;
            animation: slideInLeft 0.8s ease-out;
        }

        .launch-box::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: rotate(45deg);
            animation: shimmer 15s infinite linear;
        }

        .launch-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 24px;
            max-width: 400px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: scaleIn 0.8s ease-out;
        }

        .badge-new {
            background: linear-gradient(135deg, #ffb74d, #ff9800);
            color: white;
            font-size: 13px;
            padding: 6px 16px;
            border-radius: 20px;
            font-weight: 600;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
            animation: pulse-border 2s infinite;
        }

        /* LUXURY DEMAND SECTION REDESIGN */
        .demand-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(15px);
            border-radius: 30px;
            padding: 35px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            position: relative;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
        }

        .demand-card:hover {
            transform: translateY(-15px);
            background: #ffffff;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
            border-color: #0d6efd;
        }

        .demand-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #0d6efd;
            margin-bottom: 25px;
            transition: all 0.3s ease;
        }

        .demand-card:hover .demand-icon {
            background: #0d6efd;
            color: #ffffff;
            transform: rotate(10deg);
        }

        .demand-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .demand-item .location {
            font-weight: 500;
            color: #1e293b;
            font-size: 15px;
        }

        .demand-item .percentage {
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            color: #0d6efd;
        }

        .demand-progress {
            height: 6px;
            background: #f1f5f9;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .demand-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #0d6efd, #3b82f6);
            border-radius: 10px;
            position: relative;
        }

        .demand-progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: progress-shimmer 2s infinite;
        }

        @keyframes progress-shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        .view-localities-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #1e293b;
            font-weight: 700;
            font-size: 14px;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .view-localities-btn:hover {
            color: #0d6efd;
            gap: 15px;
        }

        .trending-batch {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* PREMIUM BUILDER SECTION REDESIGN */
        .builder-card {
            min-width: 380px;
            background: #ffffff;
            border-radius: 30px;
            padding: 30px;
            display: flex;
            align-items: center;
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
        }

        .builder-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, #0d6efd, #6f42c1);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .builder-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
            border-color: rgba(13, 110, 253, 0.2);
        }

        .builder-card:hover::before {
            opacity: 1;
        }

        .builder-logo {
            width: 100px;
            height: 100px;
            border-radius: 24px;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 25px;
            border: 1px solid #e2e8f0;
            transition: all 0.5s ease;
        }

        .builder-card:hover .builder-logo {
            transform: scale(1.1) rotate(5deg);
            background: #ffffff;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
        }

        .builder-name {
            font-family: 'Outfit', sans-serif;
            font-size: 20px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 5px;
        }

        .builder-sub {
            font-size: 13px;
            color: #64748b;
        }

        /* PREMIUM BHK SECTION REDESIGN */
        .soft-section {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 40px;
            padding: 60px;
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
        }

        .bhk-card {
            min-width: 260px;
            background: #ffffff;
            border-radius: 25px;
            padding: 35px;
            text-align: center;
            border: 1px solid rgba(0, 0, 0, 0.03);
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
        }

        .bhk-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 30px 60px rgba(13, 110, 253, 0.1);
            border-color: #0d6efd;
        }

        .bhk-icon-wrap {
            width: 70px;
            height: 70px;
            background: rgba(13, 110, 253, 0.05);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 28px;
            color: #0d6efd;
            transition: all 0.3s ease;
        }

        .bhk-card:hover .bhk-icon-wrap {
            background: #0d6efd;
            color: #ffffff;
            transform: scale(1.1) rotate(-10deg);
        }

        .bhk-title {
            font-family: 'Outfit', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .bhk-sub {
            color: #64748b;
        }

        .bhk-btn {
            background: #f1f5f9;
            color: #1e293b;
            border: none;
            padding: 10px 20px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 13px;
            transition: all 0.3s ease;
            width: 100%;
        }

        .bhk-card:hover .bhk-btn {
            background: #0d6efd;
            color: #ffffff;
        }

        /* PREMIUM ADVERTISER SECTION REDESIGN */
        .advertiser-container {
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
            border-radius: 40px;
            padding: 60px;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .advertiser-container::after {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            filter: blur(80px);
        }

        .advertiser-info h4 {
            font-family: 'Outfit', sans-serif;
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 15px;
        }

        .advertiser-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 30px;
            padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 100%;
            max-width: 500px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .advertiser-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-10px);
            border-color: #ffffff;
        }

        .brand-logo-letter {
            font-family: 'Outfit', sans-serif;
            font-weight: 900;
            font-size: 36px;
        }

        .builder-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: 2px solid #e1e5eb;
            background: white;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #0d6efd;
            transition: all 0.3s ease;
        }

        .builder-arrow:hover {
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
            color: white;
            border-color: transparent;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 12px 40px rgba(13, 110, 253, 0.4);
        }

        .builder-arrow.left {
            left: 0;
        }

        .builder-arrow.right {
            right: 0;
        }

        .bhk-wrapper {
            position: relative;
            padding: 0 60px;
        }

        .bhk-scroll {
            display: flex;
            gap: 25px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 20px 0;
            scrollbar-width: none;
        }

        .bhk-scroll::-webkit-scrollbar {
            display: none;
        }

        .advertiser-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #0d6efd, #20c997, #6f42c1);
            animation: shimmer 3s infinite linear;
        }

        .advertiser-icon {
            width: 48px;
            transition: all 0.3s ease;
        }

        .advertiser-card:hover .advertiser-icon {
            transform: scale(1.2) rotate(-10deg);
        }

        /* ARTICLE CARDS */
        /* PREMIUM ARTICLE SECTION */
        .article-card {
            background: #ffffff;
            border-radius: 35px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        }

        .article-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
            border-color: rgba(13, 110, 253, 0.2);
        }

        .article-img-wrap {
            position: relative;
            height: 280px;
            overflow: hidden;
        }

        .article-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

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

        .article-category {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 800;
            color: #0d6efd;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .article-badge-new {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #10b981;
            color: #ffffff;
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 800;
            animation: pulse-green 2s infinite;
        }

        @keyframes pulse-green {
            0% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
            }
        }

        .article-content {
            padding: 35px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 13px;
            color: #64748b;
            margin-bottom: 20px;
        }

        .article-meta i {
            color: #0d6efd;
        }

        .article-card-title {
            font-family: 'Outfit', sans-serif;
            font-size: 24px;
            font-weight: 800;
            color: #1e293b;
            margin-bottom: 15px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.3s ease;
        }

        .article-card:hover .article-card-title {
            color: #0d6efd;
        }

        .article-card-text {
            color: #64748b;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 25px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .read-more-link {
            margin-top: auto;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 14px;
            color: #1e293b;
            text-decoration: none !important;
            transition: all 0.3s ease;
        }

        .read-more-link i {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .read-more-link:hover {
            color: #0d6efd;
            gap: 15px;
        }

        .read-more-link:hover i {
            transform: translateX(5px);
        }

        .blog-filter-tabs {
            display: flex;
            gap: 15px;
            margin-bottom: 50px;
            overflow-x: auto;
            padding-bottom: 10px;
            scrollbar-width: none;
        }

        .blog-filter-tabs::-webkit-scrollbar {
            display: none;
        }

        .blog-tab {
            padding: 12px 30px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 50px;
            font-weight: 700;
            font-size: 14px;
            color: #64748b;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .blog-tab.active {
            background: #0d6efd;
            color: #ffffff;
            border-color: #0d6efd;
            box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
        }

        .blog-tab:hover:not(.active) {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: #1e293b;
        }

        .article-tab {
            font-weight: 700;
            color: #0d6efd;
            border-bottom: 4px solid;
            border-image: linear-gradient(90deg, #0d6efd, #20c997) 1;
            display: inline-block;
            padding-bottom: 8px;
            position: relative;
            animation: pulse-border 2s infinite;
        }

        /* CITY SECTION */
        .city-card {
            display: flex;
            align-items: center;
            width: 23%;
            padding: 20px;
            background: white;
            border-radius: 20px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
        }

        .city-card:hover {
            transform: translateY(-15px) scale(1.05);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }

        .city-card img {
            width: 80px;
            height: 80px;
            border-radius: 16px;
            object-fit: cover;
            margin-right: 20px;
            transition: all 0.3s ease;
        }

        .city-card:hover img {
            transform: rotate(5deg) scale(1.1);
            border-radius: 25px;
        }

        .city-arrow {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: 2px solid #e1e5eb;
            background: white;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #0d6efd;
            transition: all 0.3s ease;
        }

        .city-arrow:hover {
            background: linear-gradient(135deg, #0d6efd, #6f42c1);
            color: white;
            border-color: transparent;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 12px 40px rgba(13, 110, 253, 0.4);
        }

        /* SECTION HEADERS */
        .section-header {
            position: relative;
            padding-bottom: 20px;
            margin-bottom: 40px;
        }

        .section-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #0d6efd, #20c997);
            border-radius: 2px;
        }

        /* FLOATING ELEMENTS */
        .floating-element {
            animation: float 6s ease-in-out infinite;
        }

        /* LOADING ANIMATION */
        .loading-shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 1000px 100%;
            animation: shimmer 2s infinite linear;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
                line-height: 1.2;
                letter-spacing: -1px;
            }

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

            .search-tabs-container {
                width: 100%;
                overflow-x: auto;
                white-space: nowrap;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
                padding: 4px;
            }

            .search-tabs {
                flex-wrap: nowrap;
                width: max-content;
            }

            .search-card {
                padding: 1.5rem;
                border-radius: 20px;
            }

            .hero-section {
                padding-bottom: 4rem;
            }

            .popular-search {
                margin-top: 2rem !important;
                margin-bottom: 0;
                padding: 0 1rem;
                line-height: 1.5;
            }

            .property-type-wrapper,
            .builder-wrapper,
            .bhk-wrapper {
                padding: 0 20px;
            }

            .arrow-circle,
            .builder-arrow,
            .city-arrow {
                width: 44px;
                height: 44px;
                font-size: 18px;
            }

            .city-card {
                width: 100%;
            }

            .soft-section {
                padding: 30px;
            }
        }

        #suggestionsBox .list-group-item {
            cursor: pointer;
            font-size: 14px;
        }

        #suggestionsBox .list-group-item:hover {
            background-color: #f5f5f5;
        }

        #citySuggestions .list-group-item {
            cursor: pointer;
            font-size: 14px;
        }

        #citySuggestions .list-group-item:hover {
            background-color: #f4f6f9;
        }

        .hover-bg-primary:hover {
            background-color: #0d6efd !important;
            opacity: 1 !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
        }
    

        .hero-section {
            position: relative;
            height: 60vh;          /* increased height */
            min-height: 60vh;
            max-height: 60vh;
            box-sizing: border-box;
            overflow: hidden;
            display: flex;
            align-items: center;
            padding: 0;
            background-color: #000;
        }

        /* 🎥 Video */
        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: 1;
        }

        /* Dark overlay */
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0, 0, 0, 0.75),
                    rgba(0, 0, 0, 0.55));
            z-index: 2;
        }

        /* Content above video */
        .hero-content {
            position: relative;
            z-index: 3;
            color: white;
            margin-top: 20px;
        }

        .glass-dropdown .list-group-item {
            background: #1a1a1a;
            color: #fff;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 15px 20px;
            transition: all 0.3s ease;
            text-align: left;
        }

        .glass-dropdown .list-group-item:last-child {
            border-bottom: none;
        }

        .glass-dropdown .list-group-item:hover {
            background: #0d6efd;
            color: #fff;
            padding-left: 25px;
        }
    

        @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

        .asset-gallery-section {
            background-color: #fdfdfe;
        }

        .gallery-bg-glow {
            position: absolute;
            top: 20%;
            left: 50%;
            width: 1200px;
            height: 1200px;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            z-index: 0;
            pointer-events: none;
        }

        .section-divider-glow {
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
        }

        /* ASSET DECK CARD ARCHITECTURE */
        .asset-deck-card {
            background: white;
            border-radius: 28px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.04);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .asset-deck-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 40px 80px rgba(102, 126, 234, 0.12);
            border-color: rgba(102, 126, 234, 0.2);
        }

        /* VISUAL TERMINAL */
        .asset-visual-terminal {
            position: relative;
            height: 280px;
            overflow: hidden;
            background: #f1f3f9;
        }

        .asset-frame {
            transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .asset-deck-card:hover .asset-frame {
            transform: scale(1.1) rotate(1deg);
        }

        /* CAROUSEL OVERLAYS */
        .image-gradient-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
            z-index: 2;
            pointer-events: none;
        }

        .carousel-nav-overlay {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            pointer-events: none;
        }

        .asset-deck-card:hover .carousel-nav-overlay {
            opacity: 1;
            transform: translateY(0);
        }

        .carousel-indicator-pill {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(12px);
            padding: 6px 16px;
            border-radius: 30px;
            color: white;
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            letter-spacing: 1px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            pointer-events: auto;
        }

        .carousel-indicator-pill .curr-idx {
            font-weight: 700;
            color: #fff;
        }

        .carousel-indicator-pill .total-count {
            opacity: 0.6;
        }

        .asset-carousel .carousel-control-prev,
        .asset-carousel .carousel-control-next {
            position: static;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            opacity: 1;
            font-size: 10px;
            pointer-events: auto;
        }

        /* WISHLIST BUTTON */
        .asset-wish-node {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 15;
            color: white;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .asset-wish-node:hover {
            background: #fff;
            color: #ff4757;
            transform: scale(1.1) rotate(8deg);
            box-shadow: 0 10px 25px rgba(255, 71, 87, 0.2);
        }

        .asset-wish-node.active {
            background: #ff4757;
            color: white;
            border-color: #ff4757;
        }

        /* PILLS */
        .asset-identity-tags {
            position: absolute;
            top: 20px;
            left: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            z-index: 5;
        }

        .asset-pill {
            padding: 5px 14px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            display: flex;
            align-items: center;
        }

        .pill-rent {
            background: #667eea;
            color: #fff;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .pill-sell {
            background: #764ba2;
            color: #fff;
            box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
        }

        .pill-new {
            background: #20c997;
            color: #fff;
            box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
        }

        .pill-glass {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        /* DATA HUB */
        .asset-data-hub {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .asset-title-node {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 19px;
            color: #1a202c;
            line-height: 1.3;
            margin: 0;
        }

        .asset-valuation {
            font-family: 'JetBrains Mono', monospace;
            color: #667eea;
            font-weight: 700;
        }

        .asset-valuation .currency {
            font-size: 14px;
            margin-right: 2px;
        }

        .asset-valuation .value {
            font-size: 20px;
        }

        .asset-valuation .quote {
            font-size: 12px;
            color: #718096;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .asset-location-node {
            font-size: 13px;
            color: #718096;
            display: flex;
            align-items: center;
        }

        /* SPECS MATRIX */
        .asset-specs-matrix {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 24px;
        }

        .spec-cell {
            background: #f8fafc;
            padding: 10px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid rgba(226, 232, 240, 0.6);
            transition: all 0.3s ease;
        }

        .asset-deck-card:hover .spec-cell {
            background: rgba(102, 126, 234, 0.04);
            border-color: rgba(102, 126, 234, 0.1);
        }

        .spec-label {
            font-size: 9px;
            color: #a0aec0;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
        }

        .spec-value {
            font-size: 13px;
            font-weight: 700;
            color: #2d3748;
        }

        .spec-value .unit {
            font-size: 8px;
            opacity: 0.5;
        }

        /* ACTION ARRAY */
        .asset-action-array {
            display: flex;
            gap: 10px;
            margin-top: auto;
        }

        .btn-asset {
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            text-decoration: none;
            border: none;
        }

        .btn-asset-primary {
            flex: 1.8;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
        }

        .btn-asset-primary:hover {
            background: linear-gradient(135deg, #764ba2, #667eea);
            transform: scale(1.02);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
            color: white;
        }

        .btn-asset-glass {
            flex: 1;
            background: #f1f5f9;
            color: #4a5568;
        }

        .btn-asset-glass:hover {
            background: #e2e8f0;
            transform: scale(1.02);
        }

        .btn-asset .btn-icon {
            transition: transform 0.3s ease;
        }

        .btn-asset:hover .btn-icon {
            transform: translateX(4px);
        }

        /* COMMAND DECK BUTTON (SHOW ALL) */
        .btn-command-deck {
            position: relative;
            display: inline-flex;
            align-items: center;
            padding: 18px 45px;
            background: #1a202c;
            color: white;
            border-radius: 40px;
            text-decoration: none;
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            letter-spacing: 1px;
            overflow: hidden;
            transition: all 0.4s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .btn-command-deck:hover {
            background: #000;
            color: #fff;
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .btn-scanner {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
            animation: scan 3s infinite;
        }

        @keyframes scan {
            0% {
                left: -100%;
            }

            50% {
                left: 100%;
            }

            100% {
                left: 100%;
            }
        }

        /* RESPONSIVE MASKING */
        @media (max-width: 991px) {
            .asset-deck-card {
                margin-bottom: 20px;
            }

            .mobile-slider-row {
                /* Fully responsive grid (no horizontal slider on mobile/tablet) */
                flex-wrap: wrap;
                overflow-x: visible;
                padding-bottom: 0;
                -webkit-overflow-scrolling: auto;
                scrollbar-width: auto; /* Firefox */
                scroll-snap-type: none;
            }

            .mobile-slider-row::-webkit-scrollbar {
                display: initial; /* Chrome/Safari */
            }

            .mobile-slider-col {
                flex: 0 0 auto;
                max-width: none;
                scroll-snap-align: none;
            }

            .spec-value {
                font-size: 11px;
            }
        }

        @media (max-width: 576px) {
            .btn-command-deck {
                width: 100%;
                justify-content: center;
                padding: 16px 20px;
            }
        }


        .property-title {
            font-size: 18px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 10px;
            line-height: 1.4;
            min-height: 50px;
        }

        .property-location {
            color: #7f8c8d;
            font-size: 14px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .property-location i {
            color: #e74c3c;
        }

        .property-features {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 13px;
            color: #7f8c8d;
            background: #f8f9fa;
            padding: 5px 10px;
            border-radius: 10px;
        }

        .feature-item i {
            color: #3498db;
            font-size: 12px;
        }

        .property-category {
            margin-bottom: 20px;
        }

        .category-tag {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            color: #1976d2;
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .property-actions {
            display: flex;
            gap: 10px;
        }

        .property-actions .btn {
            flex: 1;
            border-radius: 10px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .property-actions .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .empty-state {
            padding: 60px 20px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .modern-property-card {
                margin-bottom: 20px;
            }

            .property-image-wrapper {
                height: 200px;
            }

            .property-content {
                padding: 20px;
            }

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

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

            .property-features {
                gap: 10px;
            }

            .feature-item {
                font-size: 12px;
                padding: 4px 8px;
            }

            .property-actions {
                flex-direction: column;
            }

            .property-actions .btn {
                width: 100%;
            }
        }

        @media (max-width: 576px) {
            .property-image-wrapper {
                height: 180px;
            }

            .property-content {
                padding: 15px;
            }

            .property-price {
                font-size: 18px;
            }

            .property-title {
                font-size: 15px;
                min-height: 40px;
            }
        }
    

        /* ── RECOMMENDED PROJECTS ── */
        .rp-section {
            background: #f9f6f2;
            padding: 80px 0;
        }

        .rp-tag {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #c5a367;
            font-size: 0.70rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 12px;
        }

        .rp-tag::before,
        .rp-tag::after {
            content: '';
            width: 28px;
            height: 1px;
            background: #c5a367;
        }

        .rp-heading {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(1.8rem, 3vw, 2.8rem);
            font-weight: 700;
            color: #1a1a1a;
            line-height: 1.15;
            letter-spacing: -1px;
            margin-bottom: 0;
        }

        .rp-heading em {
            font-style: italic;
            color: #c5a367;
        }

        .rp-view-btn {
            display: inline-block;
            border: 1.5px solid #c5a367;
            color: #c5a367;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            padding: 10px 26px;
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .rp-view-btn:hover {
            background: #c5a367;
            color: #fff;
        }

        /* Card */
        .rp-card {
            border-radius: 22px;
            overflow: hidden;
            background: #fff;
            border: 1px solid #ece8e0;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
            transition: all 0.42s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
        }

        .rp-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
            border-color: #c5a367;
        }

        .rp-card-img-wrap {
            overflow: hidden;
            height: 230px;
        }

        .rp-card-img {
            width: 100%;
            height: 230px;
            object-fit: cover;
            transition: transform 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .rp-card:hover .rp-card-img {
            transform: scale(1.08);
        }

        .rp-card-body {
            padding: 26px;
        }

        /* Status pills */
        .rp-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 14px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .rp-pill::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .rp-pill-ready {
            background: #e8f8f0;
            color: #1a7a4a;
        }

        .rp-pill-ready::before {
            background: #1a7a4a;
        }

        .rp-pill-under {
            background: #fff7e6;
            color: #b06000;
        }

        .rp-pill-under::before {
            background: #b06000;
        }

        .rp-pill-new {
            background: #eef2ff;
            color: #3d52d5;
        }

        .rp-pill-new::before {
            background: #3d52d5;
        }

        .rp-card-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #1a1a1a;
            margin: 16px 0 6px;
        }

        .rp-card-sub {
            font-size: 0.82rem;
            color: #888;
            margin-bottom: 18px;
        }

        .rp-card-foot {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 14px;
            border-top: 1px solid #f0ece4;
        }

        .rp-card-year {
            font-size: 0.78rem;
            color: #aaa;
            font-weight: 500;
        }

        .rp-card-link {
            font-size: 0.78rem;
            font-weight: 700;
            color: #c5a367;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.3s ease;
        }

        .rp-card-link:hover {
            gap: 10px;
            color: #0d0d0d;
        }
    

        /* ── PROPERTY TYPES ── */
        .pt-section {
            background: #f9f6f2;
            padding: 80px 0;
        }

        .pt-scroll {
            display: flex;
            gap: 22px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 8px 2px 20px;
            scrollbar-width: none;
        }

        .pt-scroll::-webkit-scrollbar {
            display: none;
        }

        .pt-card {
            min-width: 300px;
            border-radius: 22px;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10);
            transition: all 0.42s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .pt-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
        }

        .pt-card img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            display: block;
            transition: transform 0.65s ease;
        }

        .pt-card:hover img {
            transform: scale(1.07);
        }

        .pt-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
            transition: background 0.4s ease;
        }

        .pt-card:hover .pt-overlay {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
        }

        .pt-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 24px;
        }

        .pt-count {
            font-size: 0.72rem;
            font-weight: 700;
            color: #c5a367;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 6px;
        }

        .pt-name {
            font-family: 'Outfit', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
            line-height: 1.3;
        }

        .pt-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #c5a367;
            color: #000;
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            padding: 9px 22px;
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s ease;
            transform: translateY(6px);
            opacity: 0;
            border: none;
            cursor: pointer;
        }

        .pt-card:hover .pt-btn {
            transform: translateY(0);
            opacity: 1;
        }

        .pt-btn:hover {
            background: #fff;
            color: #000;
        }

        /* ── INSIGHTS ── */
        .ins-section {
            background: #f4f1ec;
            padding: 80px 0;
        }

        .ins-card-new {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid #ece8e0;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
            transition: all 0.38s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
        }

        .ins-card-new:hover {
            transform: translateY(-10px);
            box-shadow: 0 22px 50px rgba(0, 0, 0, 0.1);
            border-color: #c5a367;
        }

        .ins-card-new img {
            width: 100%;
            height: 175px;
            object-fit: cover;
            display: block;
            transition: transform 0.55s ease;
        }

        .ins-card-new:hover img {
            transform: scale(1.05);
        }

        .ins-top-tile {
            height: 175px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .ins-tile-map {
            background: linear-gradient(135deg, #fdf4e3, #f5e0ba);
        }

        .ins-tile-star {
            background: linear-gradient(135deg, #fffbe6, #fff3cd);
        }

        .ins-circle {
            width: 68px;
            height: 68px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
            font-size: 1.5rem;
        }

        .ins-tile-badge {
            position: absolute;
            bottom: 0;
            left: 0;
            background: #c5a367;
            color: #000;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            padding: 5px 14px;
            border-radius: 0 8px 0 0;
        }

        .ins-body-new {
            padding: 22px;
        }

        .ins-body-new .ins-title {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            color: #1a1a1a;
            margin-bottom: 5px;
        }

        .ins-body-new .ins-sub {
            font-size: 0.78rem;
            color: #999;
            margin-bottom: 14px;
        }

        .ins-body-new .ins-link {
            font-size: 0.78rem;
            font-weight: 700;
            color: #c5a367;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.25s ease, color 0.25s ease;
        }

        .ins-body-new .ins-link:hover {
            gap: 10px;
            color: #0d0d0d;
        }
    

        .insights-section {
            padding: 100px 0;
            background-color: transparent;
            color: #1a1a1a;
            overflow: hidden;
        }

        .insights-header {
            margin-bottom: 60px;
        }

        .insights-tag {
            color: #c5a367;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            display: block;
            margin-bottom: 15px;
        }

        .insights-title {
            font-family: 'Outfit', sans-serif;
            font-size: 48px;
            font-weight: 700;
            margin: 0;
        }

        .insights-title em {
            font-style: italic;
            color: #c5a367;
        }

        /* Insights Grid */
        .insights-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .insight-card {
            position: relative;
            height: 480px;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .insight-card:hover {
            transform: translateY(-8px);
        }

        /* Media Wrapper */
        .insight-media {
            position: absolute;
            inset: 0;
            z-index: 1;
        }

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

        .insight-video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

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

        .insight-card:hover .insight-video {
            opacity: 1;
        }

        /* Overlay */
        .insight-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 2;
            padding: 35px 25px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            transition: background 0.4s ease;
        }

        .insight-card:hover .insight-overlay {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
        }

        /* Content */
        .insight-category {
            color: #c5a367;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
            transform: translateY(10px);
            transition: transform 0.4s ease;
        }

        .insight-name {
            font-family: 'Outfit', sans-serif;
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.2;
        }

        .insight-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            margin: 0;
            height: 0;
            opacity: 0;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .insight-card:hover .insight-category {
            transform: translateY(0);
        }

        .insight-card:hover .insight-desc {
            height: auto;
            opacity: 1;
            margin-top: 10px;
        }

        /* CTA Link - Pure CSS Arrow Animation */
        .insight-cta {
            margin-top: 25px;
            color: #c5a367;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.4s ease 0.1s;
        }

        .insight-card:hover .insight-cta {
            opacity: 1;
            transform: translateX(0);
        }

        .insight-cta i {
            transition: transform 0.3s ease;
        }

        .insight-cta:hover i {
            transform: translateX(5px);
        }

        /* Badges */
        .insight-badge {
            position: absolute;
            top: 25px;
            left: 25px;
            z-index: 3;
            background: rgba(197, 163, 103, 0.9);
            color: #000;
            padding: 5px 15px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 1200px) {
            .insights-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .insights-grid {
                grid-template-columns: 1fr;
            }

            .insight-card {
                height: 400px;
            }

            .insights-title {
                font-size: 36px;
            }
        }
    

        .builder-wrapper-custom {
            position: relative;
        }

        .builder-scroll-custom {
            display: flex;
            gap: 25px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 10px 0 40px;
            scrollbar-width: none;
        }

        .builder-scroll-custom::-webkit-scrollbar {
            display: none;
        }

        .bhk-scroll-custom {
            display: flex;
            gap: 25px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 10px 0 30px;
            scrollbar-width: none;
        }

        .bhk-scroll-custom::-webkit-scrollbar {
            display: none;
        }

        .builder-arrow-custom {
            width: 50px;
            height: 50px;
            border-radius: 15px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            color: #1e293b;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .builder-arrow-custom:hover {
            background: #0d6efd;
            color: #ffffff;
            border-color: #0d6efd;
            transform: scale(1.1);
        }

        .font-outfit {
            font-family: 'Outfit', sans-serif;
        }
    

        .city-wrapper {
            position: relative;
        }

        /* Scroll container */
        .city-scroll-area {
            max-height: 320px;
            /* shows approx 3 rows */
            overflow-y: auto;
            overflow-x: hidden;
            padding-right: 10px;
            scroll-behavior: smooth;
        }

        /* Scrollbar style */
        .city-scroll-area::-webkit-scrollbar {
            width: 6px;
        }

        .city-scroll-area::-webkit-scrollbar-thumb {
            background: #ff007f;
            border-radius: 10px;
        }

        /* City card */
        .city-card {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: 0.3s;
        }

        .city-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }

        /* City text */
        .city-name {
            font-weight: 600;
            font-size: 16px;
            color: #1e293b;
        }

        .city-count {
            font-size: 13px;
            color: #777;
        }

        /* Section header */
        .section-header h3 {
            font-size: 28px;
        }
    

        /* Main scrollable container */
        .country-scroll-container {
            max-height: 320px;
            overflow-y: auto;
            padding: 15px;
            border-radius: 12px;
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08),
                0 4px 12px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(0, 0, 0, 0.06);
            position: relative;
        }

        /* Fading edges for scroll container */
        .country-scroll-container::before,
        .country-scroll-container::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 20px;
            pointer-events: none;
            z-index: 2;
        }

        .country-scroll-container::before {
            top: 0;
            background: linear-gradient(to bottom, white, transparent);
            border-radius: 12px 12px 0 0;
        }

        .country-scroll-container::after {
            bottom: 0;
            background: linear-gradient(to top, white, transparent);
            border-radius: 0 0 12px 12px;
        }

        /* Custom scrollbar styling */
        .country-scroll-container::-webkit-scrollbar {
            width: 10px;
        }

        .country-scroll-container::-webkit-scrollbar-track {
            background: rgba(241, 241, 241, 0.8);
            border-radius: 10px;
            margin: 5px 0;
        }

        .country-scroll-container::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #3498db, #2980b9);
            border-radius: 10px;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .country-scroll-container::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #2980b9, #1c669c);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
        }

        /* Country box styling */
        .country-box {
            display: block;
            padding: 18px 15px;
            background: linear-gradient(135deg, #ffffff, #fdfdfd);
            border: 1px solid #e8e8e8;
            border-radius: 10px;
            text-decoration: none;
            color: #2c3e50;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        /* Hover effect for country box */
        .country-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
            transition: left 0.7s ease;
        }

        .country-box:hover::before {
            left: 100%;
        }

        .country-box:hover {
            background: linear-gradient(135deg, #f8fafc, #ffffff);
            border-color: #3498db;
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15),
                0 5px 15px rgba(52, 152, 219, 0.1),
                0 0 0 1px rgba(52, 152, 219, 0.1);
        }

        /* Flag styling */
        .country-flag {
            width: 44px;
            height: 33px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 4px;
            padding: 2px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1),
                0 1px 3px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .country-box:hover .country-flag {
            transform: scale(1.1) rotate(2deg);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15),
                0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .flag-emoji {
            font-size: 26px;
            display: block;
            line-height: 1;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .country-box:hover .flag-emoji {
            transform: scale(1.1);
        }

        /* Country name styling */
        .country-name {
            font-weight: 600;
            font-size: 16px;
            letter-spacing: -0.01em;
            color: #2c3e50;
            position: relative;
            padding-left: 5px;
            transition: all 0.3s ease;
        }

        .country-box:hover .country-name {
            color: #2980b9;
            padding-left: 8px;
        }

        /* Row adjustments for better spacing - SCOPED to country section only */
        .country-scroll-container .row {
            margin: -5px;
        }

        .country-scroll-container .row > .col-md-3 {
            padding: 5px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .country-scroll-container {
                max-height: 420px;
                padding: 12px;
                margin: 0 -5px;
            }

            .country-box {
                padding: 16px 12px;
            }

            .country-flag {
                width: 40px;
                height: 30px;
            }

            .flag-emoji {
                font-size: 22px;
            }

            .country-name {
                font-size: 15px;
            }
        }

        @media (max-width: 576px) {
            .country-scroll-container {
                max-height: 500px;
                border-radius: 10px;
            }

            .country-box {
                padding: 14px 10px;
                border-radius: 8px;
            }
        }

        /* Animation for container */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        .country-scroll-container {
            animation: fadeInUp 0.6s ease-out;
        }

        /* Grid animation */
        .col-md-3 {
            animation: fadeIn 0.8s ease-out forwards;
            opacity: 0;
            animation-delay: calc(var(--i, 0) * 0.05s);
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

    /* RESPONSIVE HERO SECTION - ENHANCED */
    .hero-section {
        min-height: 45vh;
        padding-top: 50px;
        padding-bottom: 40px;
    }

    @media (max-width: 768px) {
        .hero-section {
            min-height: 50vh;
            padding-top: 40px;
            padding-bottom: 30px;
        }
    }

    @media (max-width: 576px) {
        .hero-section {
            min-height: 55vh;
            padding-top: 30px;
            padding-bottom: 25px;
        }
    }

    /* RESPONSIVE BUTTON STYLING */
    .btn-outline-light {
        background: transparent;
        border: 1.5px solid rgba(255, 255, 255, 0.6);
        color: #fff;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
    }

    .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
    }

    .btn-outline-light:active {
        transform: translateY(0);
    }

    .btn-light {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 0;
    }

    .btn-light:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    /* SEARCH FORM RESPONSIVE */
    #homeSearchForm {
        transition: all 0.3s ease;
    }

    #homeSearchForm .btn-warning {
        background: linear-gradient(135deg, #ffc107, #ffb300);
        border: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 40px;
        border-radius: 0;
    }

    #homeSearchForm .btn-warning:hover {
        background: linear-gradient(135deg, #ffb300, #ff9800);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
    }

    #homeSearchForm .btn-warning:active {
        transform: translateY(0);
    }

    /* CITY DROPDOWN RESPONSIVE */
    #cityDropdownBtn {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
        font-weight: 600;
        color: #333;
        border-radius: 0;
    }

    #cityDropdownBtn:hover {
        border-color: #d0d0d0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    #cityDropdownBtn:focus {
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
        border-color: #0d6efd;
    }

    /* SEARCH INPUT RESPONSIVE */
    #cityInput {
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    #cityInput::placeholder {
        color: rgba(0, 0, 0, 0.4);
        font-weight: 400;
    }

    #cityInput:focus {
        color: #1a1a2e;
    }

    /* DROPDOWN MENU IMPROVEMENTS */
    .dropdown-menu {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 0;
        padding: 8px 0;
    }

    .dropdown-item {
        padding: 10px 16px;
        color: #333;
        font-weight: 500;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    .dropdown-item:hover {
        background: #f5f5f5;
        border-left-color: #ff2d20;
        padding-left: 20px;
    }

    .dropdown-item i {
        color: #ff2d20;
    }

    /* TREND BUTTONS RESPONSIVE */
    .btn-light.btn-sm {
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(255, 255, 255, 0.95);
        border: none;
        font-weight: 600;
        padding: 6px 16px;
        border-radius: 0;
    }

    .btn-light.btn-sm:hover {
        background: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .btn-light.btn-sm i {
        color: #ffc107;
        animation: pulse 1.5s ease-in-out infinite;
    }

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

    /* TABLET BREAKPOINT */
    @media (max-width: 768px) {
        #cityDropdownBtn {
            min-width: 100%;
        }

        .btn-light, .btn-outline-light, .btn-warning {
            font-size: 0.85rem;
        }

        #homeSearchForm .row {
            row-gap: 12px;
        }

        .btn-light.btn-sm {
            font-size: 0.75rem;
            padding: 5px 12px;
        }
    }

    /* MOBILE BREAKPOINT */
    @media (max-width: 576px) {
        #homeSearchForm {
            padding: 12px;
        }

        #cityDropdownBtn {
            min-width: 100%;
            font-size: 0.85rem;
            padding: 8px 12px;
            height: 40px;
        }

        #cityInput {
            font-size: 0.85rem;
            padding: 8px 10px;
        }

        .btn-warning {
            font-size: 0.85rem;
            padding: 10px 12px;
            min-height: 40px;
        }

        .btn-light.btn-sm {
            font-size: 0.7rem;
            padding: 4px 10px;
            margin-bottom: 4px;
        }

        .btn-outline-light {
            padding: 8px 12px;
            font-size: 0.8rem;
        }

        #hero-content-wrapper {
            max-width: 100%;
        }

        .dropdown-item {
            padding: 8px 12px;
            font-size: 0.85rem;
        }

        /* Stack buttons vertically on very small screens */
        .d-flex.overflow-x-auto {
            flex-wrap: wrap;
            justify-content: center;
        }
    }

    /* EXTRA SMALL DEVICES */
    @media (max-width: 380px) {
        .hero-section {
            min-height: 60vh;
            padding-top: 25px;
            padding-bottom: 20px;
        }

        #cityDropdownBtn span {
            font-size: 0.75rem;
        }

        .btn-light, .btn-outline-light {
            padding: 6px 10px;
            font-size: 0.75rem;
        }

        .text-white.fw-bold.small {
            font-size: 0.75rem;
        }
    }

    /* SMOOTH SCROLLING FOR DROPDOWN */
    .dropdown-menu {
        scroll-behavior: smooth;
    }

    /* VOICE BUTTON INTERACTION */
    .btn-outline-secondary {
        background: transparent;
        border: 1px solid #dee2e6;
        color: #6c757d;
        transition: all 0.2s ease;
    }

    .btn-outline-secondary:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
    }

    .btn-outline-secondary:active {
        background: #ffc107;
        border-color: #ffb300;
        color: #333;
    }

    /* FORM FOCUS STATES */
    .position-relative.w-100.bg-white {
        border: 1px solid #e0e0e0;
        transition: all 0.3s ease;
        border-radius: 0;
    }

    .position-relative.w-100.bg-white:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    }

    /* ANIMATIONS FOR SEARCH CARD */
    .bg-white.bg-opacity-8 {
        animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
    }

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

    /* RESPONSIVE TEXT TRUNCATION */
    @media (max-width: 576px) {
        #selectedCityLabel {
            max-width: 80px;
            display: inline-block;
        }
    }
    
