:root {
    --primary-accent: #6A459A;
    /* Brand Purple */
    --secondary-accent: #8CB432;
    /* Brand Lime Green */
    --primary-light: #f3effa;
    --secondary-light: #f4f8e6;
    --success-light: #e6ffed;
    --warning-light: #fff8e6;
    --danger-light: #ffe6e6;
    --info-light: #e6f7ff;
    --dark-bg: #1a1a1a;
    --footer-bg: #0f0a1a;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

/* Typography & Utilites */
.text-primary-accent {
    color: var(--primary-accent) !important;
}

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

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

.bg-secondary-accent {
    background-color: var(--secondary-accent) !important;
}

.fw-500 {
    font-weight: 500;
}

.btn-primary-accent {
    background-color: var(--primary-accent);
    color: white;
    border: none;
    transition: var(--transition);
}

.btn-primary-accent:hover {
    background-color: #583980;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 69, 154, 0.3);
}

.btn-secondary-accent {
    background-color: var(--secondary-accent);
    color: white;
    border: none;
    transition: var(--transition);
}

.btn-secondary-accent:hover {
    background-color: #729628;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(140, 180, 50, 0.3);
}

/* Navbar */
#mainNavbar {
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#mainNavbar .navbar-brand img {
    height: 45px;
    transition: var(--transition);
}

#mainNavbar.scrolled .nav-link {
    color: #333 !important;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    width: 0;
    height: 2px;
    background: var(--secondary-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2.4rem);
}

/* Hero Section Refined */
.hero-section {
    height: 95vh;
    background: url('../img/hero.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 10, 51, 0.85) 0%, rgba(26, 10, 51, 0.2) 100%);
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

/* Premium Search Hub V2 */
.search-container-v2 {
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px !important;
    position: relative;
    z-index: 10;
}

.search-tabs-wrapper {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-tabs-wrapper .nav-pills {
    gap: 10px;
}

.search-tabs-wrapper .nav-link {
    color: #666;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    transition: var(--transition);
}

.search-tabs-wrapper .nav-link.active {
    background: var(--primary-accent);
    color: white !important;
    box-shadow: 0 8px 20px rgba(106, 69, 154, 0.2);
}

.search-tabs-wrapper .nav-link:hover:not(.active) {
    background: var(--primary-light);
    color: var(--primary-accent);
}

.search-form-v2 .row>div {
    transition: all 0.3s ease-in-out;
}

.search-form-v2 .field-inner {
    transition: var(--transition);
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-form-v2 .field-inner:hover {
    background: rgba(106, 69, 154, 0.05);
}

.search-form-v2 .field-inner:focus-within {
    background: rgba(106, 69, 154, 0.08);
}

.search-form-v2 .field-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-accent);
    text-transform: uppercase;
    margin-bottom: 0px;
    display: block;
    letter-spacing: 1px;
    opacity: 0.8;
}

.search-form-v2 .form-control,
.search-form-v2 .form-select {
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: none !important;
}

.search-form-v2 .form-control::placeholder {
    color: #a0a0a0;
    font-weight: 500;
}

.border-end-lg {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .border-end-lg {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .search-container-v2 {
        border-radius: 20px !important;
        margin-top: 30px;
    }

    .search-tabs-wrapper .nav-link {
        padding: 8px 15px !important;
        font-size: 0.75rem;
    }
}

.main-search-btn {
    height: 70px;
    font-size: 1.25rem;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary-accent), #8e44ad) !important;
    border: none;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border-radius: 50px;
}

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

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

.main-search-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(106, 69, 154, 0.4) !important;
}

/* Category Cards Refined */
.category-card {
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-accent) !important;
    box-shadow: 0 15px 35px rgba(106, 69, 154, 0.1) !important;
}

/* Property Cards Refined */
.property-card {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

.property-img-container {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.card-content-area {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-limit {
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.5rem;
}

.badge-new {
    background-color: var(--secondary-accent) !important;
}

.badge-verified {
    background-color: var(--primary-accent) !important;
}

/* Premium Footer Theme */
.premium-footer {
    background-color: var(--footer-bg);
    color: #e0e0e0;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    border-top: 4px solid var(--secondary-accent);
}

.premium-footer h6 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0px;
}

.footer-link {
    color: #b0afb3;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--secondary-accent);
    transform: translateX(5px);
}

.newsletter-box .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px 0 0 50px;
    padding: 12px 25px;
}

.newsletter-box .btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--secondary-accent);
    border: none;
    color: white;
    padding: 12px 25px;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social-icon:hover {
    background: var(--primary-accent);
    color: white;
    transform: translateY(-5px);
}

.trust-badges {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 25px 0;
}

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) rotate(15deg);
    color: white;
}


/* Project Cards Premium */
.project-card-premium {
    height: 400px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-overlay {
    background: linear-gradient(to top, rgba(15, 10, 26, 0.95) 0%, rgba(15, 10, 26, 0.4) 50%, transparent 100%);
    transition: var(--transition);
}

.project-card-premium:hover .project-overlay {
    background: linear-gradient(to top, rgba(106, 69, 154, 0.9) 0%, rgba(106, 69, 154, 0.5) 60%, rgba(15, 10, 26, 0.2) 100%);
}

.project-card-premium img {
    transition: transform 0.8s ease;
}

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

.project-overlay .content {
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card-premium:hover .project-overlay .content {
    transform: translateY(0);
}

.object-fit-cover {
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .project-card-premium {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 120px 0 60px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .search-container {
        margin-top: 20px;
    }

    .premium-footer {
        padding-top: 50px;
    }

    .project-card-premium {
        height: 250px;
    }

    .project-overlay h3 {
        font-size: 1.25rem;
    }
}

/* Property Details Page Specific */
.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: #ccc;
}

.gallery-main img,
.gallery-sub img {
    transition: transform 0.8s ease;
}

.gallery-main:hover img,
.gallery-sub:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    backdrop-filter: blur(4px);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-overlay:hover {
    background-color: rgba(106, 69, 154, 0.7) !important;
}

.price-badge {
    text-shadow: 0 4px 10px rgba(106, 69, 154, 0.1);
}

.form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.25rem rgba(106, 69, 154, 0.1);
}

.btn-primary-accent {
    background-color: var(--primary-accent);
    color: white;
    border: none;
    transition: var(--transition);
}

.btn-primary-accent:hover {
    background-color: #55367a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 69, 154, 0.3);
}

.bg-success-light {
    background-color: #f0fdf4;
}

/* Property Page Filters */
.filter-sidebar {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.form-check-input:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.btn-check:checked+.btn-outline-primary-accent {
    background-color: var(--primary-accent);
    color: white;
}

.btn-outline-primary-accent {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

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

/* Custom Range Slider */
.range-slider-value {
    font-weight: 600;
    color: var(--primary-accent);
    font-size: 0.9rem;
}

/* Property List Header */
.list-header {
    background: white;
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Pagination */
.pagination .page-link {
    border: none;
    margin: 0 5px;
    border-radius: 10px !important;
    color: #555;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(106, 69, 154, 0.3);
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-accent);
}

/* Responsive Sticky Sidebar */
@media (min-width: 992px) {
    .sticky-filter {
        position: sticky;
        top: 100px;
        z-index: 100;
    }
}

/* Swiper Custom Nav */
.swiper-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-accent);
}

.swiper-nav-btn:hover {
    background: var(--primary-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(106, 69, 154, 0.2);
}

.swiper-pagination-bullet-active {
    background: var(--primary-accent) !important;
}