/* 
========================================================================
   Elite Estates - Premium Custom Luxury Stylesheet (Themeable)
========================================================================
*/

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

/* Default Light Theme Variables */
:root {
    --bg-color: #FFFFFF;
    --light-bg: #F8FAFC;
    --text-color: #1E293B;
    --muted-text: #64748B;
    --title-color: #0F172A;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --modal-bg: #FFFFFF;
    --input-bg: #FFFFFF;
    --input-text: #1E293B;
    
    --primary-color: #0F172A;      /* Dark Navy */
    --secondary-color: #2563EB;    /* Royal Blue */
    --accent-color: #F59E0B;       /* Luxury Gold */
    --white: #FFFFFF;
    --gold-hover: #D97706;
    
    /* Luxury Gradients */
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-gold-overlay: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0) 100%);
    --gradient-dark-overlay: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85));

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-bg-dark: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
    --card-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transition */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-color: #0F172A;
    --light-bg: #1E293B;
    --text-color: #E2E8F0;
    --muted-text: #94A3B8;
    --title-color: #FFFFFF;
    --border-color: #334155;
    --card-bg: #1E293B;
    --modal-bg: #1E293B;
    --input-bg: #1E293B;
    --input-text: #FFFFFF;
    
    --glass-bg: rgba(30, 41, 59, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ========================================================================
   Global & Reset
   ======================================================================== */
body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--title-color);
    font-weight: 700;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent-color);
}

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

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


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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ========================================================================
   Navbar Theme Switcher / Header
   ======================================================================== */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1050;
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--glass-bg-dark) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.navbar-brand .gold-dot {
    color: var(--accent-color);
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--white) !important;
    padding: 8px 16px !important;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--white) !important;
}

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

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

.navbar .nav-link.active {
    color: var(--accent-color) !important;
}

/* Theme Switcher Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white) !important;
}
.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Responsive navbar toggle button styling */
.navbar-toggler {
    border: none;
    padding: 0;
}
.navbar-toggler-icon-custom {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    position: relative;
    transition: var(--transition);
}
.navbar-toggler-icon-custom::before,
.navbar-toggler-icon-custom::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--white);
    left: 0;
    transition: var(--transition);
}
.navbar-toggler-icon-custom::before {
    top: -8px;
}
.navbar-toggler-icon-custom::after {
    top: 8px;
}

/* Offcanvas mobile menu styling */
.offcanvas-custom {
    background: var(--primary-color) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.offcanvas-custom .btn-close {
    filter: invert(1);
}
.offcanvas-custom .nav-link {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px !important;
}
.offcanvas-custom .nav-link.active {
    color: var(--accent-color) !important;
}

/* ========================================================================
   Buttons & Badges
   ======================================================================== */
.btn-gold {
    background: var(--gradient-accent);
    color: var(--white);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 30px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-gold:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-color);
    font-weight: 600;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-sm);
    padding: 10px 28px;
    transition: var(--transition);
}
.btn-outline-gold:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.badge-status {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-type {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================================================
   Luxury Hero Section
   ======================================================================== */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism Property Search Form */
.search-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-top: 20px;
}

.search-form-container label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.search-form-container .form-select,
.search-form-container .form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--input-text);
    font-weight: 500;
}
.search-form-container .form-select:focus,
.search-form-container .form-control:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    border-color: var(--accent-color);
}

.search-form-container .btn {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Subheaders */
.page-header {
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-header .breadcrumb {
    justify-content: center;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.page-header .breadcrumb-item.active {
    color: var(--accent-color);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ========================================================================
   Section Headers
   ======================================================================== */
.section-header {
    margin-bottom: 60px;
}
.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--title-color);
}
.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 15px 0 0;
    border-radius: 2px;
}
.section-header.text-center .section-divider {
    margin: 15px auto 0;
}

/* ========================================================================
   Premium Cards Layout & Hover Animations
   ======================================================================== */
.property-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-color);
}

.property-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.property-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(5px);
}

.property-details-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.property-title a {
    color: var(--title-color);
}
.property-title a:hover {
    color: var(--accent-color);
}

.property-location {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-bottom: 16px;
}

.property-features {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-color);
}

.property-features span {
    font-weight: 500;
}

.property-features i {
    color: var(--accent-color);
    margin-right: 6px;
}

.property-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Category cards */
.category-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}
.category-card:hover {
    background: var(--card-bg);
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-8px);
}
.category-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    transition: var(--transition);
}
.category-card:hover .category-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: rotateY(180deg);
}
.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.category-count {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Why Choose Us Cards */
.why-card {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.why-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-8px);
}
.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Location Cards */
.location-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}
.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold-overlay);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}
.location-card:hover img {
    transform: scale(1.08);
}
.location-card h4 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.location-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Agent cards */
.agent-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}
.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-color);
}
.agent-img-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}
.agent-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.agent-card:hover .agent-img-wrapper img {
    transform: scale(1.05);
}
.agent-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: var(--glass-bg-dark);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
}
.agent-card:hover .agent-overlay {
    bottom: 0;
    opacity: 1;
}
.agent-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    transition: var(--transition);
}
.agent-social-btn:hover {
    background: var(--white);
    color: var(--accent-color);
}
.agent-info {
    padding: 24px;
    text-align: center;
}
.agent-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.agent-role {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.agent-stats {
    font-size: 0.8rem;
    color: var(--muted-text);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

/* ========================================================================
   Statistics Counter Section
   ======================================================================== */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    color: var(--white);
}
.stat-box {
    text-align: center;
    transition: var(--transition);
}
.stat-box:hover {
    transform: scale(1.05);
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}
.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================================================
   Testimonials Carousel
   ======================================================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin: 15px;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-color);
}
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 24px;
    position: relative;
}
.testimonial-quote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.8rem;
    color: rgba(245, 158, 11, 0.15);
    margin-right: 10px;
}
.testimonial-client {
    display: flex;
    align-items: center;
}
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--accent-color);
}
.client-name {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    color: var(--title-color);
}
.client-role {
    color: var(--muted-text);
    font-size: 0.85rem;
    margin: 0;
}
.client-stars {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* ========================================================================
   Trusted Partners Slider
   ======================================================================== */
.partner-logo-container {
    text-align: center;
    padding: 15px;
}
.partner-logo-container h4 {
    color: var(--muted-text) !important;
}

/* ========================================================================
   CTA & Newsletter Section
   ======================================================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
}
.cta-text h2 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 0;
}

.newsletter-section {
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 80px 0;
}
.newsletter-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-box h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.newsletter-box p {
    color: var(--muted-text);
    margin-bottom: 30px;
}
.newsletter-form {
    display: flex;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.newsletter-form input {
    border: none;
    background-color: var(--input-bg);
    color: var(--input-text);
    padding: 16px 20px;
    flex-grow: 1;
    font-size: 1rem;
    outline: none;
}
.newsletter-form .btn {
    border-radius: 0;
    padding: 16px 30px;
}

/* ========================================================================
   Property Details Page
   ======================================================================== */
.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--accent-color);
}
.detail-gallery-main {
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}
.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbs {
    height: 120px;
    box-sizing: border-box;
    padding: 10px 0;
}
.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.detail-sidebar-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}
.agent-card-mini {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.agent-card-mini img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--accent-color);
}
.agent-card-mini h5 {
    margin: 0 0 4px 0;
    font-weight: 700;
    color: var(--title-color);
}
.agent-card-mini p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.85rem;
}

/* Floor Plans tabs */
.floor-tab-btn {
    background: var(--light-bg);
    color: var(--title-color);
    font-weight: 600;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    margin-right: 10px;
    transition: var(--transition);
}
.floor-tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.floor-plan-img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #FFF;
    padding: 20px;
}

/* Mortgage Calculator UI */
.mortgage-calculator-box {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
}
.mortgage-calculator-box .form-control,
.mortgage-calculator-box .form-select {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}
.mortgage-result-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mortgage-result-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 15px 0;
}

/* ========================================================================
   Properties & Filter Sidebar
   ======================================================================== */
.filter-sidebar {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.filter-sidebar .form-control,
.filter-sidebar .form-select {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}
.filter-group {
    margin-bottom: 24px;
}
.filter-group-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--title-color);
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 8px;
}

/* Range Slider Styles */
.price-slider-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--title-color);
    margin-top: 10px;
}

/* ========================================================================
   About Us Timeline
   ======================================================================== */
.timeline-wrapper {
    position: relative;
    padding: 30px 0;
}
.timeline-wrapper::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 767px) {
    .timeline-wrapper::before {
        left: 20px;
    }
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
}
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 5px;
    z-index: 2;
    border: 4px solid var(--bg-color);
    transition: background-color 0.3s ease;
}
@media (max-width: 767px) {
    .timeline-dot {
        left: 20px;
    }
}
.timeline-content {
    width: 45%;
    padding: 24px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}
.timeline-item:nth-child(even) .timeline-content {
    float: right;
}
.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right;
}
@media (max-width: 767px) {
    .timeline-content {
        width: calc(100% - 50px) !important;
        float: right !important;
        text-align: left !important;
    }
}
.timeline-year {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 6px;
}

/* ========================================================================
   Blog & Post Cards
   ======================================================================== */
.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-color);
}
.blog-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.08);
}
.blog-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}
.blog-body {
    padding: 24px;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-bottom: 10px;
}
.blog-meta span {
    margin-right: 15px;
}
.blog-meta i {
    color: var(--accent-color);
    margin-right: 5px;
}
.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.blog-title a {
    color: var(--title-color);
}
.blog-title a:hover {
    color: var(--accent-color);
}

/* ========================================================================
   Blog Article Details Modal & Premium Switcher UI
   ======================================================================== */
.modal-content {
    background-color: var(--modal-bg) !important;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.modal-body {
    background-color: var(--modal-bg) !important;
}

/* ========================================================================
   Premium Footer
   ======================================================================== */
.footer-top {
    background: #090D16;
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    display: inline-block;
}
.footer-logo .gold-dot {
    color: var(--accent-color);
}
.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 6px;
}
.footer-contact-info li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
}
.footer-contact-info i {
    color: var(--accent-color);
    margin-right: 12px;
    margin-top: 5px;
}
.social-icons-box {
    display: flex;
    margin-top: 24px;
}
.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}
.social-icon-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #060910;
    color: rgba(255, 255, 255, 0.5);
    padding: 24px 0;
    font-size: 0.9rem;
}

/* ========================================================================
   Floating Widgets & Utilities
   ======================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: var(--transition);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Accordion Custom styling */
.accordion-custom .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--card-bg);
}
.accordion-custom .accordion-button {
    font-weight: 600;
    color: var(--title-color);
    background: var(--card-bg);
    padding: 20px;
    border: none;
}
.accordion-custom .accordion-button:not(.collapsed) {
    background: var(--light-bg);
    color: var(--accent-color);
    box-shadow: none;
}
.accordion-custom .accordion-body {
    background-color: var(--card-bg);
    color: var(--text-color);
}
[data-theme="dark"] .accordion-custom .accordion-button::after {
    filter: invert(1) brightness(0.9);
}

.zoom-effect {
    overflow: hidden;
}
.zoom-effect img {
    transition: var(--transition);
}
.zoom-effect:hover img {
    transform: scale(1.1);
}

.card-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    color: var(--white);
}

.map-placeholder {
    height: 400px;
    border-radius: var(--radius-md);
    background: #e5e3df;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================================================
   Custom Premium Dropdowns (form-select) & Pagination Styles
   ======================================================================== */
.form-select {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--input-text);
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.form-select:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    outline: none;
}

/* Custom Pagination styles */
.pagination {
    gap: 8px;
}

.pagination .page-item .page-link {
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--title-color);
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px !important;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.pagination .page-item .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
}

.pagination .page-item.disabled .page-link {
    background-color: var(--light-bg);
    border-color: var(--border-color);
    color: var(--muted-text);
    opacity: 0.6;
    box-shadow: none;
}

/* ========================================================================
   Mobile Responsiveness & Fluid Typography Adjustments
   ======================================================================== */
@media (max-width: 991px) {
    .navbar {
        background: var(--glass-bg-dark) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        display: block !important;
        height: auto !important;
        min-height: 100vh !important;
        padding: 130px 0 60px !important;
    }

    .hero-title {
        font-size: 2.0rem !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 24px !important;
    }

    .search-form-container {
        padding: 20px !important;
        margin-top: 10px !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .stat-number {
        font-size: 2.2rem !important;
    }

    .stat-label {
        font-size: 0.85rem !important;
    }

    .page-header {
        padding: 120px 0 60px !important;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }

    .cta-text h2 {
        font-size: 1.8rem !important;
    }
    
    .detail-gallery-main {
        height: 300px !important;
    }
    
    .gallery-thumbs {
        height: 80px !important;
    }
}
