/* ============================================================
   DezireProperties – Main Stylesheet
   Inspired by Homiva Real Estate Template
   ============================================================ */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
    --primary:       #003873;
    --primary-dark:  #001f47;
    --primary-light: #E5EEF7;
    --accent:        #c49d2d;
    --accent-dark:   #9d7a1f;
    --dark:          #000000;
    --dark-2:        #1C2B3A;
    --text:          #3D4B5C;
    --text-muted:    #7A8899;
    --border:        #E4EAF0;
    --bg-light:      #F7F9FC;
    --bg-white:      #FFFFFF;
    --radius:        12px;
    --radius-lg:     20px;
    --shadow-sm:     0 2px 12px rgba(15,24,37,.06);
    --shadow-md:     0 8px 32px rgba(15,24,37,.10);
    --shadow-lg:     0 20px 60px rgba(15,24,37,.14);
    --transition:    all .3s cubic-bezier(.4,0,.2,1);
    --font-body:     'Inter', sans-serif;
    --font-heading:  'Playfair Display', serif;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0,56,115,.04), transparent 30%),
        radial-gradient(circle at bottom right, rgba(196,157,45,.05), transparent 28%),
        var(--bg-white);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

.fw-600 { font-weight: 600; }
.section-gap { padding: 90px 0; }
.section-gap-sm { padding: 60px 0; }

/* ─── SECTION HEADINGS ───────────────────────────────────── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-badge i { font-size: 14px; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    color: var(--dark);
    margin-bottom: 14px;
}
.section-title span { color: var(--primary); }

.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 560px;
}

/* ─── BUTTON STYLES ──────────────────────────────────────── */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,56,115,.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,56,115,.25);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    border: 2px solid var(--accent);
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ─── TOP BAR ────────────────────────────────────────────── */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    font-size: 13px;
    padding: 9px 0;
}
.topbar-left span { display: flex; align-items: center; }
.topbar-left span i { color: var(--accent); }
.topbar-right a {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    transition: var(--transition);
}
.topbar-right a:hover { color: var(--accent); }
.topbar-divider {
    width: 1px; height: 16px;
    background: rgba(255,255,255,.2);
}
.topbar-link { font-size: 13px !important; }

/* ─── MAIN NAVBAR ────────────────────────────────────────── */
.main-navbar {
    background: #fff;
    padding: 0px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1050;
}
.main-navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

/* Brand */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon {
         width: 120px;
    height: 65px;
    object-fit: contain;
    display: block;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.5px;
}
.brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Nav Links */
.main-navbar .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* Dropdown */
.nav-dropdown {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
    margin-top: 10px !important;
    border-top: 3px solid var(--primary);
    animation: dropFade .2s ease;
}
@keyframes dropFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 9px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.nav-dropdown .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.nav-dropdown .dropdown-item i { color: var(--primary); }

/* Nav Icons */
.nav-icon-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--dark);
    font-size: 17px;
    transition: var(--transition);
    position: relative;
}
.nav-icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Mobile toggler */
.navbar-toggler {
    border: none;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
    display: block;
    width: 24px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: floatGlow 10s ease-in-out infinite;
}
.hero-section::before {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(196,157,45,.22) 0%, rgba(196,157,45,0) 68%);
}
.hero-section::after {
    width: 320px;
    height: 320px;
    left: -110px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(0,56,115,.28) 0%, rgba(0,56,115,0) 68%);
    animation-delay: -4s;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 12s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10,16,28,.88) 0%, rgba(10,16,28,.58) 55%, rgba(0,56,115,.36) 100%),
        radial-gradient(circle at 20% 20%, rgba(196,157,45,.12), transparent 35%);
}
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp .8s ease both;
}
.hero-section .hero-content:first-child { animation-delay: .08s; }
.hero-section .hero-content:last-child { animation-delay: .18s; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196,157,45,.15);
    border: 1px solid rgba(196,157,45,.4);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    animation: fadeUp .8s ease .05s both;
}
.hero-badge i { font-size: 14px; }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 68px);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 20px;
    animation: fadeUp .8s ease .12s both;
}
.hero-title span {
    color: var(--accent);
    display: block;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeUp .8s ease .2s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    min-width: 120px;
    animation: fadeUp .8s ease both;
}
.hero-stat:nth-child(1) { animation-delay: .22s; }
.hero-stat:nth-child(2) { animation-delay: .28s; }
.hero-stat:nth-child(3) { animation-delay: .34s; }
.hero-stat:nth-child(4) { animation-delay: .4s; }
.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

/* Hero Search Box */
.hero-search-box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: 40px;
    animation: fadeUp .8s ease .16s both;
}
.search-tabs {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}
.search-tab {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.search-tab:hover { color: var(--primary); }
.search-tab.active {
    color: var(--primary);
    background: #fff;
    border-bottom-color: var(--primary);
}
.search-form-area { padding: 28px; }
.search-form-area .form-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.search-form-area .form-control,
.search-form-area .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
    background: var(--bg-light);
}
.search-form-area .form-control:focus,
.search-form-area .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,56,115,.12);
    background: #fff;
}
.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}
.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,56,115,.3);
}

/* ─── PROPERTY TYPES / CATEGORIES ───────────────────────── */
.cat-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: .04; }
.cat-icon-wrap {
    width: 64px; height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}
.cat-card:hover .cat-icon-wrap {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.cat-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.cat-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── PROPERTY CARDS ─────────────────────────────────────── */
.prop-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.prop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.prop-img-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.prop-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.prop-card:hover .prop-img-wrap img { transform: scale(1.08); }

.prop-badges {
    position: absolute;
    top: 14px; left: 14px;
    display: flex; gap: 6px;
}
.badge-status {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-status.rent { background: var(--accent); color: var(--dark); }
.badge-status.sell { background: #E74C3C; }
.badge-featured {
    background: var(--accent);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.prop-actions {
    position: absolute;
    top: 14px; right: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}
.prop-card:hover .prop-actions { opacity: 1; transform: translateX(0); }
.prop-action-btn {
    width: 36px; height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.prop-action-btn:hover { background: var(--primary); color: #fff; }

.prop-body { padding: 20px; }

.prop-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.prop-price small { font-size: 13px; font-weight: 500; color: var(--text-muted); }

.prop-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prop-title a:hover { color: var(--primary); }

.prop-location {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}
.prop-location i { color: var(--primary); }

.prop-divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

.prop-features {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}
.prop-feat {
    display: flex;
    align-items: center;
    gap: 5px;
}
.prop-feat i { color: var(--primary); font-size: 15px; }

.prop-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}
.prop-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}
.agent-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}
.agent-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.agent-role { font-size: 11px; color: var(--text-muted); }

.prop-date { font-size: 12px; color: var(--text-muted); }

/* ─── STATS SECTION ──────────────────────────────────────── */
.stats-section { background: var(--primary); }
.stat-box { padding: 40px 20px; text-align: center; }
.stat-num {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
}
.stat-num sup { font-size: 24px; font-weight: 700; }
.stat-num sub { font-size: 22px; }
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    display: block;
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.hiw-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}
.hiw-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}
.hiw-step-num {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 36px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,56,115,.35);
}
.hiw-icon {
    width: 80px; height: 80px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 36px;
    color: var(--primary);
    transition: var(--transition);
}
.hiw-card:hover .hiw-icon { background: var(--primary); color: #fff; }
.hiw-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.hiw-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── AGENT CARDS ────────────────────────────────────────── */
.agent-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.agent-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.agent-cover {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.agent-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.agent-card:hover .agent-cover img { transform: scale(1.06); }
.agent-info { padding: 20px; }
.agent-info h5 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.agent-info span { font-size: 13px; color: var(--primary); font-weight: 600; }
.agent-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 16px 0;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
}
.agent-stat-val { font-size: 18px; font-weight: 800; color: var(--dark); display: block; line-height: 1; }
.agent-stat-key { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; }
.agent-social { display: flex; justify-content: center; gap: 8px; }
.agent-social a {
    width: 36px; height: 36px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}
.agent-social a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testi-section { background: var(--bg-light); }
.testi-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
}
.testi-stars { color: var(--accent); font-size: 16px; margin-bottom: 16px; }
.testi-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}
.testi-name { font-size: 15px; font-weight: 700; color: var(--dark); }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,56,115,.35) 0%, transparent 70%);
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(196,157,45,.15) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 2; }
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    margin-bottom: 14px;
}
.cta-title span { color: var(--accent); }
.cta-desc { color: rgba(255,255,255,.7); font-size: 16px; margin-bottom: 32px; }

/* ─── BLOG CARDS ─────────────────────────────────────────── */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-img {
    height: 220px;
    overflow: hidden;
}
.blog-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 24px; }
.blog-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}
.blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-title a:hover { color: var(--primary); }
.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.blog-author { display: flex; align-items: center; gap: 7px; }
.blog-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.blog-read-more {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.blog-read-more:hover { gap: 8px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer-newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
}
.newsletter-title { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.newsletter-sub { color: rgba(255,255,255,.75); font-size: 14px; }
.newsletter-input {
    background: rgba(255,255,255,.12) !important;
    border: 1.5px solid rgba(255,255,255,.25) !important;
    color: #fff !important;
    padding: 13px 18px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.55) !important; }
.newsletter-input:focus {
    background: rgba(255,255,255,.18) !important;
    border-color: rgba(255,255,255,.5) !important;
    box-shadow: none !important;
}
.newsletter-form .btn-primary-custom {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    padding: 13px 28px;
}
.newsletter-form .btn-primary-custom:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

.site-footer { background: var(--dark); }

.footer-main { padding: 70px 0 50px; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-brand-icon { width: 180px;
    height: 80px;
     object-fit: contain; display: block; }
.footer-brand-name { font-size: 22px; font-weight: 800; color: #fff; display: block; line-height: 1; }
.footer-brand-sub { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; }

.footer-about { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.8; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
}
.footer-contact-item i { color: var(--primary); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.footer-social { display: flex; gap: 8px; }
.social-btn {
    width: 38px; height: 38px;
    border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 15px;
    transition: var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.footer-links a i { font-size: 11px; color: var(--primary); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-hours {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,.6);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.badge-closed {
    background: rgba(231,76,60,.2);
    color: #e74c3c;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.footer-app-text { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    transition: var(--transition);
}
.app-btn div { display: flex; flex-direction: column; line-height: 1.2; }
.app-btn small { font-size: 10px; color: rgba(255,255,255,.6); }
.app-btn strong { font-size: 13px; }
.app-btn i { font-size: 20px; }
.app-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-bottom {
    background: rgba(0,0,0,.2);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.footer-bottom strong { color: rgba(255,255,255,.8); }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-bottom-links a:hover { color: var(--primary); }
.footer-bottom-links .sep { color: rgba(255,255,255,.2); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatGlow {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(0,-16px,0) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .hero-bg { transform: scale(1.05); }
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 9999;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px) !important; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -50%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,56,115,.3) 0%, transparent 70%);
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.breadcrumb {
    background: none;
    padding: 0;
    position: relative;
    z-index: 2;
}
.breadcrumb-item { font-size: 13px; }
.breadcrumb-item a { color: rgba(255,255,255,.65); }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ─── SIDEBAR FILTER ─────────────────────────────────────── */
.filter-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.filter-header {
    background: var(--primary);
    color: #fff;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-body { padding: 22px; }
.filter-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}
.filter-body .form-control,
.filter-body .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--dark);
}
.filter-body .form-control:focus,
.filter-body .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,56,115,.1);
}
.range-vals { font-size: 13px; color: var(--text-muted); }
input[type="range"] { accent-color: var(--primary); }
.filter-check .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.filter-check .form-check-label { font-size: 14px; color: var(--text); }

/* ─── PAGINATION ─────────────────────────────────────────── */
.page-link {
    color: var(--primary);
    border-radius: 8px !important;
    margin: 0 3px;
    border: 1.5px solid var(--border);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.page-link:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .main-navbar .navbar-collapse {
        background: #fff;
        padding: 16px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        margin-top: 10px;
    }
    .nav-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
    .hero-section {
        min-height: auto;
        padding: 72px 0 48px;
    }

    .hero-title {
        font-size: clamp(34px, 5vw, 52px);
    }
    .hero-desc {
        max-width: 100%;
        margin-bottom: 28px;
    }
    .hero-stats { gap: 20px; }
    .hero-stat {
        min-width: 120px;
        text-align: left;
    }
    .hero-search-box {
        margin-top: 0;
    }
    .search-form-area {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .section-gap { padding: 60px 0; }
    .hero-section { min-height: auto; padding: 54px 0 42px; }
    .hero-content + .hero-content {
        margin-top: 24px;
    }
    .hero-badge {
        font-size: 11px;
        letter-spacing: 1px;
        padding: 6px 12px;
    }
    .hero-title {
        font-size: 30px;
        margin-bottom: 16px;
    }
    .hero-title span {
        display: inline;
    }
    .hero-desc {
        font-size: 15px;
        line-height: 1.7;
    }
    .hero-stats {
        gap: 14px;
        justify-content: space-between;
    }
    .hero-stat {
        flex: 1 1 calc(50% - 14px);
        min-width: calc(50% - 14px);
    }
    .hero-stat-num {
        font-size: 24px;
    }
    .hero-stat-label {
        font-size: 11px;
    }
    .search-form-area {
        padding: 18px;
    }
    .search-btn {
        padding: 11px 20px;
        font-size: 14px;
    }
    .footer-main { padding: 50px 0 30px; }
}

@media (max-width: 575px) {
    .hero-section { padding: 44px 0 36px; }
    .hero-title { font-size: 28px; }
    .hero-desc { margin-bottom: 22px; }
    .hero-stats {
        gap: 12px;
    }
    .hero-stat {
        min-width: calc(50% - 12px);
    }
    .search-tab { padding: 10px 16px; font-size: 13px; }
    .search-form-area {
        padding: 16px;
    }
    .search-form-area .form-control,
    .search-form-area .form-select {
        padding: 10px 12px;
    }
}
