:root {
    --primary-color: #fbbf24;
    --primary-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --secondary-gradient: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    --success-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --warning-gradient: linear-gradient(135deg, #504a03 0%, #fdba74 100%);
    --secondary-color: #6b7280;
    --success-color: #fbbf24;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;
    --text-dark: #ffffff;
    --text-light: #d1d5db;
    --bg-light: #1f2937;
    --bg-gradient: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    --shadow-sm: 0 1px 2px 0 rgb(251 191 36 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(251 191 36 / 0.15), 0 2px 4px -2px rgb(251 191 36 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(251 191 36 / 0.2), 0 4px 6px -4px rgb(251 191 36 / 0.15);
    --shadow-xl: 0 20px 25px -5px rgb(251 191 36 / 0.3), 0 8px 10px -6px rgb(251 191 36 / 0.2);
    --shadow-2xl: 0 25px 50px -12px rgb(251 191 36 / 0.4);
    --glass-bg: rgba(31, 41, 55, 0.8);
    --glass-border: rgba(251, 191, 36, 0.3);
}

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

/* Glass Navbar */
.navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--glass-bg) !important;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(31, 41, 55, 0.95) !important;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1rem !important;
    border-radius: 12px;
    margin: 0 0.2rem;
}

.nav-link:hover {
    color: white !important;
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-link::after {
    display: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #111827 0%, #1f2937 60%, #fbbf24 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="white" stop-opacity=".2"/><stop offset="1" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="200" fill="url(%23a)"/><circle cx="800" cy="800" r="300" fill="url(%23a)"/><circle cx="500" cy="500" r="150" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism Search Form */
.search-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-2xl);
    margin-top: 3rem;
}

.form-control,
.form-select {
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--success-gradient);
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    background: var(--primary-gradient);
}

/* Modern Portfolio Cards */
.portfolio-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
    height: 100%;
    background: var(--bg-light);
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.portfolio-card:hover::before {
    opacity: 0.05;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.portfolio-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.portfolio-card:hover .card-img-top {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.portfolio-card .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 250px);
    position: relative;
    z-index: 2;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-location {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.portfolio-price {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.portfolio-details {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.portfolio-details span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.portfolio-details span:hover {
    background: rgba(100, 116, 139, 0.15);
    transform: translateY(-1px);
}

.portfolio-badges {
    margin-top: auto;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    align-items: center;
}

.badge-sale {
    background: var(--primary-gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    border: none;
}

.badge-rent {
    background: var(--warning-gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    border: none;
}

.badge-active {
    background: var(--success-gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    border: none;
}

/* Detail Button Enhancement */
.btn-outline-primary {
    border: 2px solid;
    border-image: var(--primary-gradient) 1;
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-heading p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Statistics Section */
.stats-section {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(20px);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: var(--shadow-2xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 0;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Loading Animation */
.portfolio-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner-border {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .search-form {
        padding: 1.5rem;
    }

    .portfolio-card .card-img-top {
        height: 180px;
    }

    .portfolio-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float .btn {
        width: 50px;
        height: 50px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* Detail Page Info Grid */
.detail-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.property-chip {
    background: var(--primary-gradient);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.property-chip i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--success-gradient);
    color: white;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.15rem 0.3rem 0.15rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
}

.feature-badge i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.feature-badge:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Detail Page */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

button.navbar-toggler {
    background: #fff;
}

.nav-link {
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1rem !important;
    border-radius: 12px;
    margin: 0 0.2rem;
    color: #fff;
}
.info-card {
    color: #fff;
}