/* ==========================================================================
   RR Construction — Main Stylesheet
   Design language adapted from the supplied Villa Agency HTML/CSS reference.
   ========================================================================== */

/* :root {
    --primary: #0071f8;         
    --primary-dark: #0058c4;
    --accent: #f35525;          
    --accent-dark: #d9431a;
    --dark: #1e1e1e;
    --text-grey: #4a4a4a;
    --light-bg: #f7f8fa;
    --border-light: #ececec;
    --white: #ffffff;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --shadow-soft: 0 10px 30px rgba(30, 30, 30, 0.08);
    --shadow-hover: 0 20px 40px rgba(30, 30, 30, 0.14);
    --transition: all .3s ease;
} */

:root {
    --primary: #8B2E34;          /* Muted Brick Red (from logo) */
    --primary-dark: #6F2328;

    --accent: #3A4149;           /* Slate Gray */
    --accent-dark: #2B3137;

    --dark: #1F2328;             /* Rich Charcoal */
    --text-grey: #5F6772;

    --light-bg: #F6F7F9;         /* Soft Gray */
    --border-light: #E6E8EB;
    --white: #FFFFFF;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-pill: 50px;

    --shadow-soft: 0 10px 30px rgba(31,35,40,.07);
    --shadow-hover: 0 20px 40px rgba(31,35,40,.12);

    --transition: all .3s ease;
}


/* ---------------------------------------------
   Reset / Base
---------------------------------------------- */
* { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-grey);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: #c4c7cc transparent;
    margin: 0;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #c4c7cc transparent;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
    background: #c4c7cc;
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
    background: #a7acb3;
}

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

p { font-size: 15px; line-height: 28px; color: var(--text-grey); margin: 0 0 15px; }

a { text-decoration: none !important; transition: var(--transition); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; margin: 0; padding: 0; }

main { overflow-x: hidden; }

::selection { background: var(--primary); color: #fff; }

.container,
.container-fluid {
    width: min(100% - 32px, 1200px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* .row {
    margin-left: -12px;
    margin-right: -12px;
} */
.row > [class*="col-"] { padding-left: 12px; padding-right: 12px; }

main > .container,
main > .container-fluid {
    margin-left: auto;
    margin-right: auto;
}

.section { margin-top: 90px; }

.section-heading { margin-bottom: 40px; }

.section-heading h6 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    font-weight: 700;
    line-height: 1.3;
}

.section-heading p { margin-top: 14px; max-width: 680px; font-size: 15px; }

.text-center.section-heading p,
.section-heading.text-center p { margin-left: auto; margin-right: auto; }

.mb-30 { margin-bottom: 30px; }

/* ---------------------------------------------
   Buttons
---------------------------------------------- */
.main-button a{
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    height: 46px;
    line-height: 46px;
}
.main-button {
    display: inline-block;
    background-color: var(--dark);
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    height: 46px;
    line-height: 46px;
    padding: 0 32px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}


.main-button:hover {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(163, 59, 43, 0.18);
}

.main-button.text-center-button { text-align: center; margin-top: 10px; }

.orange-button {
    display: inline-block;
    background-color: var(--accent);
    color: #fff !important;
    border: none;
    font-size: 14px;
    font-weight: 600;
    height: 50px;
    line-height: 50px;
    padding: 0 34px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.orange-button:hover { background-color: var(--accent-dark); transform: translateY(-2px); }

.icon-button a, a.icon-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--dark);
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    height: 50px;
    padding: 0 26px 0 0;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.icon-button a i, a.icon-button i {
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
}

.icon-button a:hover, a.icon-button:hover { background-color: var(--accent-dark); }

/* ---------------------------------------------
   Preloader
---------------------------------------------- */
.js-preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .4s ease, visibility .4s ease;
}

.js-preloader.loaded { opacity: 0; visibility: hidden; }

.preloader-inner { display: flex; gap: 8px; }

.preloader-inner .dot,
.preloader-inner .dots span {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    animation: bounce 1s infinite ease-in-out;
}

.preloader-inner .dots { display: flex; gap: 8px; }
.preloader-inner .dots span:nth-child(2) { animation-delay: .15s; background: var(--accent); }
.preloader-inner .dots span:nth-child(3) { animation-delay: .3s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: .5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ---------------------------------------------
   Sub Header (top info bar)
---------------------------------------------- */
.sub-header {
    background-color: var(--dark);
    padding: 10px 0;
}

.sub-header .info li,
.sub-header .social-links li {
    display: inline-block;
    color: #cfcfcf;
    font-size: 13px;
    margin-right: 22px;
}

.sub-header .info li i { color: var(--primary); margin-right: 6px; }

.sub-header .social-links { text-align: right; }

.sub-header .social-links li { margin-right: 0; margin-left: 18px; }

.sub-header .social-links li a { color: #cfcfcf; font-size: 13px; }
.sub-header .social-links li a:hover { color: var(--white); }
.sub-header .social-links li:not(:first-child) a { display: inline-flex; align-items: center; justify-content: center; }

/* ---------------------------------------------
   Header / Navigation
---------------------------------------------- */
.header-area {
    background: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.header-area .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-area .logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    letter-spacing: .5px;
}

.header-area .logo h1 span { color: var(--primary); }

.header-area .nav {
    display: flex;
    align-items: center;
}

.header-area .nav li { margin-left: 30px; }

.header-area .nav li a {
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.header-area .nav li a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.header-area .nav li a:hover::after,
.header-area .nav li a.active::after { width: 100%; }

.header-area .nav li a:hover,
.header-area .nav li a.active { color: var(--primary); }

.header-area .nav li.nav-cta a {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.header-area .nav li.nav-cta a::after { display: none; }
.header-area .nav li.nav-cta a:hover { background: var(--accent-dark); color: #fff !important; }
.header-area .nav li.nav-cta a i { margin-right: 6px; }

/* Hamburger */
.menu-trigger {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.menu-trigger span,
.menu-trigger span::before,
.menu-trigger span::after {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-trigger span { top: 10px; }
.menu-trigger span::before { content: ""; top: -8px; }
.menu-trigger span::after { content: ""; top: 8px; }

.menu-trigger.active span { background: transparent; }
.menu-trigger.active span::before { transform: rotate(45deg); top: 0; }
.menu-trigger.active span::after { transform: rotate(-45deg); top: 0; }

/* ---------------------------------------------
   Mobile Sidebar (slide from LEFT)
---------------------------------------------- */
.mobile-sidebar-overlay {
    position: fixed; inset: 0;
    background: rgba(20, 20, 20, .55);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.mobile-sidebar-overlay.active { opacity: 1; visibility: visible; }

.mobile-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 10px 0 40px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active { transform: translateX(0); }

.mobile-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-sidebar-head .logo h1 { font-size: 20px; }

.mobile-sidebar-close {
    background: var(--light-bg);
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--dark);
    cursor: pointer;
}

.mobile-sidebar-close:hover { background: var(--accent); color: #fff; }

.mobile-sidebar-nav { padding: 10px 0; flex: 1; }

.mobile-sidebar-nav li a {
    display: block;
    padding: 15px 24px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.mobile-sidebar-nav li a.active,
.mobile-sidebar-nav li a:hover { color: var(--primary); background: var(--light-bg); }

.mobile-sidebar-contact {
    padding: 20px 24px 30px;
    border-top: 1px solid var(--border-light);
}

.mobile-sidebar-contact p { font-size: 14px; margin-bottom: 10px; }
.mobile-sidebar-contact p i { color: var(--primary); margin-right: 8px; width: 16px; }
.mobile-sidebar-contact .orange-button { display: block; text-align: center; margin-top: 12px; }

body.sidebar-open { overflow: hidden; }

/* ---------------------------------------------
   Hero / Main Banner
---------------------------------------------- */
.main-banner { position: relative; }

.main-banner .carousel-inner {
    overflow: hidden;
}

.main-banner .carousel-item {
    height: 88vh;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
    position: relative;
}

.main-banner .carousel-item.active,
.main-banner .carousel-item.carousel-item-next,
.main-banner .carousel-item.carousel-item-prev {
    display: flex;
}

.main-banner .item-1 { background-image: linear-gradient(120deg, rgba(11,20,35,.72), rgba(0,113,248,.35)), url('/images/banner1.png'); }
.main-banner .item-2 { background-image: linear-gradient(120deg, rgba(11,20,35,.72), rgba(243,85,37,.30)), url('https://picsum.photos/seed/rr-hero-2/1600/900'); }
.main-banner .item-3 { background-image: linear-gradient(120deg, rgba(11,20,35,.75), rgba(0,113,248,.30)), url('https://picsum.photos/seed/rr-hero-3/1600/900'); }

.main-banner .header-text {
    max-width: 640px;
    padding: 0 8%;
    color: #fff;
}

.main-banner .header-text .category {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.15);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.main-banner .header-text .category em { font-style: normal; color: var(--white); }

.main-banner .header-text h2 {
    color: #fff;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.main-banner .carousel-control-prev,
.main-banner .carousel-control-next {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    border: none;
    transition: var(--transition);
}

.main-banner .carousel-control-prev { left: 30px; }
.main-banner .carousel-control-next { right: 30px; }
.main-banner .carousel-control-prev:hover,
.main-banner .carousel-control-next:hover { background: var(--accent); }

.main-banner .carousel-indicators { bottom: 30px; }
.main-banner .carousel-indicators button {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    margin: 0 5px;
    opacity: 1;
}
.main-banner .carousel-indicators button.active { background: var(--accent); width: 26px; border-radius: 6px; }

/* ---------------------------------------------
   Featured / About
---------------------------------------------- */
.left-image { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.left-image img { border-radius: var(--radius-md); display: block; }
.left-image a {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 0 12px rgba(255,255,255,.25);
}

.about-image img { border-radius: var(--radius-md); }

/* Accordion */
.accordion-item { border: none; border-bottom: 1px solid var(--border-light); background: transparent; }
.accordion-button {
    font-weight: 600;
    color: var(--dark);
    padding: 18px 0;
    background: transparent;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--primary); background: transparent; }
.accordion-button::after { filter: none; }
.accordion-body { padding: 0 0 18px; font-size: 14px; line-height: 26px; color: var(--text-grey); }

.info-table ul li {
    text-align: center;
    padding: 22px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    transition: var(--transition);
}

.info-table ul li:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); border-color: transparent; }

.info-table ul li i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.info-table ul li h4 { font-size: 15px; font-weight: 600; line-height: 1.5; }
.info-table ul li h4 span { display: block; font-size: 12px; font-weight: 400; color: var(--text-grey); margin-top: 3px; }

/* ---------------------------------------------
   Video Section
---------------------------------------------- */
.video-frame { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.video-frame img { display: block; border-radius: var(--radius-md); }

.video-frame a,
.video-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 86px; height: 86px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 0 16px rgba(255,255,255,.2);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243,85,37,.4), 0 0 0 16px rgba(255,255,255,.2); }
    70% { box-shadow: 0 0 0 20px rgba(243,85,37,0), 0 0 0 16px rgba(255,255,255,.2); }
    100% { box-shadow: 0 0 0 0 rgba(243,85,37,0), 0 0 0 16px rgba(255,255,255,.2); }
}

/* Video modal (used by app.js) */
.video-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.85);
    display: none; align-items: center; justify-content: center;
    z-index: 2000; padding: 20px;
}
.video-modal.active { display: flex; }
.video-modal .video-modal-inner { width: 100%; max-width: 900px; aspect-ratio: 16/9; position: relative; }
.video-modal iframe { width: 100%; height: 100%; border-radius: var(--radius-md); }
.video-modal-close {
    position: absolute; top: -46px; right: 0;
    background: transparent; border: none; color: #fff; font-size: 28px; cursor: pointer;
}

/* ---------------------------------------------
   Fun Facts / Counters
---------------------------------------------- */
.fun-facts { margin-top: 110px; }
.fun-facts .wrapper {
    background: linear-gradient(120deg, var(--dark), #0b3d63);
    border-radius: var(--radius-md);
    padding: 55px 20px;
}
.counter { text-align: center; }
.counter h2 {
    color: #fff;
    font-size: 46px;
    font-weight: 800;
}
.counter h2::after { content: "+"; color: var(--accent); }
.counter .count-text { color: #cfd8e3; font-size: 14px; margin-top: 6px; line-height: 22px; }

/* ---------------------------------------------
   Best Deal / Category Tabs
---------------------------------------------- */
.best-deal .nav-tabs { border: none; margin-bottom: 40px; gap: 12px; flex-wrap: wrap; }
.best-deal .nav-tabs .nav-link {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--dark);
    font-weight: 500;
    padding: 10px 26px;
    transition: var(--transition);
}
.best-deal .nav-tabs .nav-link.active,
.best-deal .nav-tabs .nav-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tabs-content img { border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.tabs-content .info-table ul li { text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; color: var(--dark); }
.tabs-content .info-table ul li span { color: var(--primary); font-weight: 600; }
.tabs-content h4 { margin-bottom: 12px; font-size: 20px; }
.tabs-content p { font-size: 14px; }

/* ---------------------------------------------
   Property Card / Grid
---------------------------------------------- */
.property-item {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.property-thumb { position: relative; overflow: hidden; }
.property-thumb img { height: 230px; width: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.property-item:hover .property-thumb img { transform: scale(1.08); }

.property-tag {
    position: absolute; top: 16px; left: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.property-status {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,.92);
    color: var(--dark);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.property-status.status-ready-to-move { color: #17843b; }
.property-status.status-under-construction { color: var(--accent); }

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

.property-price { color: var(--primary); font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.property-name a { color: var(--dark); font-size: 18px; font-weight: 700; line-height: 1.4; }
.property-name a:hover { color: var(--primary); }

.property-location { font-size: 13px; margin: 8px 0; color: var(--text-grey); }
.property-location i { color: var(--accent); margin-right: 5px; }

.property-desc { font-size: 13px; line-height: 22px; margin-bottom: 14px; }

.property-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; padding-top: 14px; border-top: 1px dashed var(--border-light); }
.property-meta li { font-size: 12px; font-weight: 600; color: var(--dark); }
.property-meta li i { color: var(--primary); margin-right: 5px; }

.property-item .main-button { margin-top: auto; }
.property-item .main-button a { display: block; text-align: center; }

/* ---------------------------------------------
   Page Heading (interior pages)
---------------------------------------------- */
.page-heading {
    background: linear-gradient(120deg, rgba(11,20,35,.85), rgba(0,113,248,.55)), url('/images/page_banner.png');
    background-size: cover;
    background-position: center;
    padding: 90px 0 60px;
    text-align: center;
}

.page-heading .breadcrumb {
    background: transparent;
    padding: 0;
    color: #dbe6f5;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 12px;
}

.page-heading .breadcrumb a { color: #fff; font-weight: 600; }

.page-heading h3 { color: #fff; font-size: 40px; }

/* ---------------------------------------------
   Projects Filter
---------------------------------------------- */
.properties-filter { text-align: center; margin-bottom: 45px; }
.properties-filter li { display: inline-block; margin: 0 6px 10px; }
.properties-filter li a {
    display: inline-block;
    padding: 9px 22px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}
.properties-filter li a.is_active,
.properties-filter li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.property-grid-item.hide-item { display: none; }

/* ---------------------------------------------
   Single Property / Gallery
---------------------------------------------- */
.single-property { }

.property-gallery { margin-bottom: 36px; }

.gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #000;
    aspect-ratio: 16/10;
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-main-video { position: absolute; inset: 0; }
.gallery-main-video iframe { width: 100%; height: 100%; border: none; }
.gallery-main-video.d-none { display: none; }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.gallery-thumb {
    position: relative;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    aspect-ratio: 1/1;
    background: #000;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .75; transition: var(--transition); }

.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb.active img,
.gallery-thumb:hover img { opacity: 1; }

.gallery-thumb-video .play-icon {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
    background: rgba(0,0,0,.35);
}

.main-content { margin-top: 8px; }
.main-content .category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}
.main-content h4 { font-size: 28px; margin-bottom: 10px; }
.property-price-lg { color: var(--accent); font-size: 24px; font-weight: 700; margin-bottom: 18px; }

.amenities-block { margin-top: 36px; }
.amenities-block h4 { margin-bottom: 20px; font-size: 20px; }
.amenities-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.amenities-list li { font-size: 14px; color: var(--dark); font-weight: 500; }
.amenities-list li i { color: var(--primary); margin-right: 8px; }

.property-info-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    position: sticky;
    top: 110px;
}
.property-info-card h4 { font-size: 18px; margin-bottom: 20px; }

.property-spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}
.property-spec-list li span { color: var(--text-grey); }
.property-spec-list li strong { color: var(--dark); font-weight: 600; text-align: right; }

.property-info-card .contact-btn { display: block; text-align: center; margin-top: 24px; }
.property-info-card .contact-call-btn { display: flex; justify-content: center; margin-top: 14px; }

/* ---------------------------------------------
   Services Page
---------------------------------------------- */
.service-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 34px 26px;
    height: 100%;
    text-align: left;
    transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: transparent; }

.service-icon {
    width: 58px; height: 58px;
    border-radius: var(--radius-sm);
    background: rgba(0,113,248,.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h4 { font-size: 18px; margin-bottom: 12px; }
.service-card p { font-size: 14px; margin-bottom: 0; }

/* Process steps */
.process-step { text-align: left; padding: 10px 0; }
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 18px;
    font-size: 16px;
}
.process-step h4 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 13px; }

/* ---------------------------------------------
   Contact Page
---------------------------------------------- */
.contact-info-list .item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}
.contact-info-list .item i {
    width: 46px; height: 46px;
    background: var(--light-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-list .item h6 { font-size: 14px; margin-bottom: 6px; }
.contact-info-list .item span,
.contact-info-list .item span a { font-size: 13px; color: var(--text-grey); line-height: 22px; }
.contact-info-list .item span a { color: var(--text-grey); }
.contact-info-list .item span a:hover { color: var(--primary); }

.contact-form-wrap {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 36px;
}

fieldset { border: none; margin-bottom: 20px; padding: 0; }

fieldset label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }

fieldset input,
fieldset textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 13px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--dark);
    transition: var(--transition);
}

fieldset textarea { height: 130px; resize: vertical; }

fieldset input:focus,
fieldset textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,113,248,.12);
}

#map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); margin-top: 46px; }
#map iframe { display: block; }

/* ---------------------------------------------
   Footer
---------------------------------------------- */
.site-footer { margin-top: 120px; background: var(--dark); color: #cfcfcf; }

.footer-top { padding: 80px 0 50px; }

.footer-widget .logo h1 { font-size: 24px; color: #fff; margin-bottom: 18px; display: inline-block; }
.footer-widget .logo h1 span { color: var(--primary); }

.footer-widget p { color: #a9a9a9; font-size: 14px; line-height: 25px; }

.footer-widget h4 { color: #fff; font-size: 17px; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-widget h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary); }

.footer-links li { margin-bottom: 12px; }
.footer-links li a { color: #a9a9a9; font-size: 14px; }
.footer-links li a i { color: var(--primary); margin-right: 8px; font-size: 11px; }
.footer-links li a:hover { color: #fff; padding-left: 4px; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 20px; font-size: 13px; line-height: 22px; }
.footer-contact li i { color: var(--primary); margin-top: 4px; }
.footer-contact li span { color: #a9a9a9; }
.footer-contact li a { color: #a9a9a9; }
.footer-contact li a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social li a {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 14px;
}
.footer-social li a:hover { background: var(--primary); border-color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
}
.footer-bottom p { color: #8f8f8f; font-size: 13px; margin: 0; }

/* ---------------------------------------------
   Back to top
---------------------------------------------- */
#back-to-top {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 900;
    cursor: pointer;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--accent); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399px) {
    .main-banner .header-text { max-width: 580px; }
    .main-banner .header-text h2 { font-size: clamp(2.3rem, 3.2vw, 3.2rem); }
}

@media (max-width: 1199px) {
    .main-banner .header-text h2 { font-size: 42px; }
    .section-heading h2 { font-size: 32px; }
    .property-info-card { top: 90px; }
}

@media (max-width: 991px) {
    .header-area .nav { display: none; }
    .menu-trigger { display: block; }
    .sub-header .info li:last-child { display: none; }

    .main-banner .carousel-item { height: 72vh; min-height: 480px; }
    .main-banner .header-text { padding: 0 6%; }
    .main-banner .header-text h2 { font-size: 34px; }

    .section { margin-top: 70px; }
    .fun-facts { margin-top: 80px; }
    .site-footer { margin-top: 70px; }

    .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
    .property-info-card { position: static; margin-top: 30px; }
    .contact-form-wrap { padding: 28px; }
}

@media (max-width: 767px) {
    .sub-header { padding: 8px 0; }
    .sub-header .info,
    .sub-header .social-links { display: flex; flex-wrap: wrap; gap: 8px; }
    .sub-header .info li,
    .sub-header .social-links li { margin-right: 0; margin-left: 0; }
    .sub-header .social-links li a span { display: none; }

    .header-area { padding: 14px 0; }
    .header-area .logo h1 { font-size: 22px; }

    .page-heading { padding: 70px 0 40px; }
    .page-heading h3 { font-size: 30px; }

    .main-banner .carousel-item { height: 68vh; min-height: 420px; }
    .main-banner .header-text { padding: 0 5%; max-width: 100%; }
    .main-banner .header-text h2 { font-size: 28px; line-height: 1.25; }
    .main-banner .carousel-control-prev,
    .main-banner .carousel-control-next { display: none; }
    .main-banner .carousel-indicators { bottom: 20px; }

    .section-heading { margin-bottom: 30px; }
    .section-heading h2 { font-size: 26px; }

    .info-table ul li { padding: 18px 10px; }
    .counter h2 { font-size: 32px; }
    .counter .count-text { font-size: 13px; }

    .amenities-list { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
    .contact-form-wrap { padding: 24px; }
    .footer-top { padding: 55px 0 30px; }
    .footer-bottom { padding: 18px 0; }
}

@media (max-width: 575px) {
    .container,
    .container-fluid { width: min(100% - 20px, 1200px); }

    .section { margin-top: 60px; }
    .section-heading h6 { font-size: 12px; }
    .section-heading h2 { font-size: 24px; }
    .section-heading p { font-size: 14px; line-height: 24px; }

    .main-button,
    .orange-button,
    .icon-button a,
    a.icon-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .main-banner .carousel-item { height: 62vh; min-height: 380px; }
    .main-banner .header-text .category { font-size: 12px; padding: 6px 14px; }
    .main-banner .header-text h2 { font-size: 24px; margin-bottom: 20px; }

    .property-body { padding: 20px; }
    .property-name a { font-size: 16px; }
    .property-meta { gap: 10px; }
    .property-meta li { width: 100%; }

    .service-card { padding: 24px 20px; }
    .contact-info-list .item { flex-direction: column; gap: 10px; }
    .contact-info-list .item i { width: 42px; height: 42px; }

    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .footer-widget { margin-bottom: 28px; }
    .footer-social { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .sub-header .info li { font-size: 10px; margin-right: 8px; }
    .sub-header .info li i { margin-right: 4px; }
    .sub-header .social-links li a span { display: none; }

    .header-area .logo h1 { font-size: 18px; }
    .mobile-sidebar { width: 88%; max-width: 320px; }

    .page-heading { padding: 58px 0 32px; }
    .page-heading h3 { font-size: 24px; }

    .main-banner .header-text { padding: 0 4%; }
    .main-banner .carousel-item { height: 58vh; min-height: 340px; }
    .main-banner .header-text h2 { font-size: 22px; }

    .section-heading h2 { font-size: 22px; }
    .counter h2 { font-size: 28px; }
    .fun-facts .wrapper { padding: 40px 16px; }

    .property-thumb img { height: 200px; }
    .contact-form-wrap { padding: 18px; }
    .footer-top { padding: 46px 0 20px; }
}


/* Mobile phone button */
.mobile-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
}

.mobile-phone:hover {
    color: var(--accent);
}

/* Optional: center desktop items vertically */
.info,
.social-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    margin-left: 12px;
}

.logo-title{
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .4px;
    text-transform: uppercase;
}

.logo-tagline{
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 500;
    color: var(--white);  /* Slate Gray */
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-top: 3px;
}


.properties-filter-wrapper{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
}


.properties-filter-wrapper{
    display:flex;
    align-items:center;
    gap:10px;
    margin:30px 0;
}

.propertiesFilterSwiper{
    flex:1;
    overflow:hidden;
}

.propertiesFilterSwiper .swiper-slide{
    width:auto;
}

.filter-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    padding:10px 18px;
    border-radius:40px;
    background:#fff;
    border:1px solid #e6e6e6;
    color:var(--dark);
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.filter-btn:hover{
    background:#f5f5f5;
}

.filter-btn.is_active{
    background:var(--dark);
    color:#fff;
    border-color:var(--dark);
}

.filter-nav{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--dark);
    transition:.3s;
    flex-shrink:0;
}

.filter-nav:hover{
    background:var(--dark);
    color:#fff;
}

.filter-nav i{
    font-size:13px;
}

@media(max-width:768px){

    .properties-filter-wrapper{
        gap:6px;
        margin:25px 0;
    }

    .filter-nav{
        width:34px;
        height:34px;
    }

    .filter-nav i{
        font-size:11px;
    }

    .filter-btn{
        padding:8px 14px;
        font-size:13px;
    }

}

.properties-page.section{
    margin-top: 0;
}

/* Desktop - Keep existing layout */
@media (min-width: 768px) {
    .info-table ul {
        display: block;
    }
}

/* Mobile - 2x2 Grid */
@media (max-width: 767.98px) {

    .info-table ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .info-table ul li {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
        border-radius: 12px;
        height: 100%;
    }

    .info-table ul li i {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .info-table ul li h4 {
        margin: 0;
        font-size: 18px;
        line-height: 1.4;
    }

    .info-table ul li h4 span {
        display: block;
        font-size: 13px;
        margin-top: 5px;
    }
}

#back-to-top,
#whatsapp-btn,
#call-btn {
    position: fixed;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 999;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    transition: all .3s ease;
}

#back-to-top {
    bottom: 150px;
    background: var(--primary);
}

#call-btn {
    bottom: 85px;
    background: rgba(13, 110, 253, 0.18);
    border: 2px solid rgba(13, 110, 253, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0d6efd;
}

#whatsapp-btn {
    bottom: 20px;
    background: rgba(37, 211, 102, 0.18);
    border: 2px solid rgba(37, 211, 102, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #25D366;
}

#back-to-top:hover,
#call-btn:hover,
#whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

@media (max-width: 768px) {
    #back-to-top,
    #call-btn,
    #whatsapp-btn {
        width: 46px;
        height: 46px;
        right: 15px;
        font-size: 18px;
    }

    #back-to-top {
        bottom: 135px;
    }

    #call-btn {
        bottom: 75px;
    }

    #whatsapp-btn {
        bottom: 15px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .nav-wrapper .nav-tabs {
        width: 100%;
        display: flex;
    }

    .nav-wrapper .nav-item {
        flex: 1;
    }

    .nav-wrapper .nav-link {
        width: 100%;
        text-align: center;
        font-size: 12px;
        padding: 8px 4px;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .nav-wrapper .nav-tabs {
        width: auto;
        display: inline-flex;
    }

    .nav-wrapper .nav-item {
        flex: 0 0 auto;
    }

    .nav-wrapper .nav-link {
        width: auto;
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* =========================================================
   BLOG LISTING
========================================================= */

.blog-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.blog-list-heading {
    margin-bottom: 40px;
}

.blog-list-heading p {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    margin-top: 15px;
    max-width: 650px;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   BLOG IMAGE
========================================================= */

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f4f4f4;
    border-bottom: 1px solid #e5e5e5;
}

.blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    display: block;

    /*
     * Every image gets fitted into the same
     * landscape box.
     */
    object-fit: cover;
    object-position: center;

    transition: transform 0.35s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.04);
}


/* =========================================================
   BLOG CONTENT
========================================================= */

.blog-content {
    padding: 24px 24px 26px;
}

.blog-meta {
    margin-bottom: 12px;
}

.blog-meta span {
    color: #888;
    font-size: 13px;
}

.blog-meta i {
    color: #0071f8;
    margin-right: 6px;
}

.blog-content h4 {
    margin-bottom: 13px;
    line-height: 1.4;
}

.blog-content h4 a {
    color: #1f1f1f;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-content h4 a:hover {
    color: #0071f8;
}

.blog-content p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* =========================================================
   READ MORE
========================================================= */

.blog-content .main-button a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-content .main-button i {
    font-size: 11px;
}


/* =========================================================
   BLOG SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
}

.sidebar-title h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #222;
}

.sidebar-title h4::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    background: #0071f8;
    margin-top: 10px;
}

.blog-sidebar-box p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}


/* =========================================================
   SIDEBAR SEARCH
========================================================= */

.blog-search {
    display: flex;
    width: 100%;
}

.blog-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 1px solid #e2e2e2;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}

.blog-search input:focus {
    border-color: #0071f8;
}

.blog-search button {
    width: 50px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #0071f8;
    color: #fff;
    cursor: pointer;
}

.blog-search button:hover {
    opacity: 0.9;
}


/* =========================================================
   SIDEBAR LINKS
========================================================= */

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    border-bottom: 1px solid #eeeeee;
}

.sidebar-links li:last-child {
    border-bottom: 0;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-links a:hover {
    color: #0071f8;
    padding-left: 5px;
}

.sidebar-links i {
    font-size: 12px;
}


/* =========================================================
   SIDEBAR CONTACT
========================================================= */

.blog-sidebar-contact {
    background: #f7f9fc;
    border: 1px solid #e5eaf0;
    border-radius: 8px;
    padding: 28px 25px;
}

.blog-sidebar-contact > span {
    display: block;
    color: #0071f8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-sidebar-contact h4 {
    color: #222;
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 20px;
}


/* =========================================================
   RR CONSTRUCTION — BLOG
   Blog Listing + Blog Detail
========================================================= */


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    background: #fff;
}


/* =========================================================
   BLOG LIST HEADING
========================================================= */

.blog-list-heading {
    margin-bottom: 28px;
}

.blog-list-heading h6 {
    margin-bottom: 10px;
}

.blog-list-heading h2 {
    margin-bottom: 12px;
}

.blog-list-heading p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 0;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}


/* =========================================================
   BLOG CARD IMAGE
========================================================= */

.blog-image {
    width: 100%;
    height: 175px;
    overflow: hidden;
    background: #f4f4f4;
    border-bottom: 1px solid #e8e8e8;
}

.blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.03);
}


/* =========================================================
   BLOG CARD CONTENT
========================================================= */

.blog-content {
    padding: 18px;
}


/* =========================================================
   BLOG DATE
========================================================= */

.blog-meta {
    margin-bottom: 8px;
}

.blog-meta span {
    color: #888;
    font-size: 12px;
}

.blog-meta i {
    color: #0071f8;
    margin-right: 5px;
}


/* =========================================================
   BLOG CARD TITLE
========================================================= */

.blog-content h4 {
    margin-bottom: 9px;
    line-height: 1.35;
}

.blog-content h4 a {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-content h4 a:hover {
    color: #0071f8;
}


/* =========================================================
   BLOG CARD DESCRIPTION
========================================================= */

.blog-content p {
    color: #777;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}


/* =========================================================
   BLOG READ MORE
========================================================= */

.blog-content .main-button a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-content .main-button i {
    font-size: 10px;
}


/* =========================================================
   BLOG SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;
    top: 100px;
}


/* =========================================================
   SIDEBAR BOX
========================================================= */

.blog-sidebar-box {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   SIDEBAR TITLE
========================================================= */

.sidebar-title {
    padding-bottom: 12px;
    margin-bottom: 17px;
    border-bottom: 1px solid #eeeeee;
}

.sidebar-title h4 {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.sidebar-title h4::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: #0071f8;
    margin-top: 9px;
}


/* =========================================================
   SIDEBAR TEXT
========================================================= */

.blog-sidebar-box p {
    color: #777;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 0;
}


/* =========================================================
   SIDEBAR SEARCH
========================================================= */

.blog-search {
    display: flex;
    width: 100%;
}

.blog-search input {
    width: 100%;
    min-width: 0;
    height: 45px;
    padding: 0 13px;
    border: 1px solid #e1e1e1;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 13px;
    color: #555;
}

.blog-search input:focus {
    border-color: #0071f8;
}

.blog-search button {
    flex: 0 0 45px;
    height: 45px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #0071f8;
    color: #fff;
    cursor: pointer;
}

.blog-search button:hover {
    opacity: 0.9;
}


/* =========================================================
   SIDEBAR LINKS
========================================================= */

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    border-bottom: 1px solid #eeeeee;
}

.sidebar-links li:last-child {
    border-bottom: 0;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-links a:hover {
    color: #0071f8;
}

.sidebar-links i {
    font-size: 11px;
}


/* =========================================================
   SIDEBAR CONTACT
========================================================= */

.blog-sidebar-contact {
    background: #f7f9fc;
    border: 1px solid #e3e9f0;
    border-radius: 8px;
    padding: 24px 22px;
}

.blog-sidebar-contact > span {
    display: block;
    color: #0071f8;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-sidebar-contact h4 {
    color: #222;
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 18px;
}


/* =========================================================
   EMPTY BLOG STATE
========================================================= */

.empty-blog-state {
    text-align: center;
    padding: 60px 20px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
}

.empty-blog-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f6fd;
    color: #0071f8;
    font-size: 22px;
}

.empty-blog-state h4 {
    color: #222;
    margin-bottom: 8px;
}

.empty-blog-state p {
    color: #777;
    font-size: 14px;
    margin-bottom: 0;
}


/* =========================================================
   BLOG DETAIL SECTION
========================================================= */

.blog-detail-section {
    background: #fff;
}


/* =========================================================
   BLOG DETAIL CARD
========================================================= */

.blog-detail-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   BLOG DETAIL FEATURED IMAGE
========================================================= */

.blog-detail-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #f4f4f4;
    border-bottom: 1px solid #e7e7e7;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   BLOG DETAIL CONTENT
========================================================= */

.blog-detail-content {
    padding: 35px 40px 45px;
}


/* =========================================================
   BLOG DETAIL DATE
========================================================= */

.blog-detail-meta {
    margin-bottom: 12px;
}

.blog-detail-meta span {
    color: #888;
    font-size: 13px;
}

.blog-detail-meta i {
    color: #0071f8;
    margin-right: 5px;
}


/* =========================================================
   BLOG DETAIL TITLE
========================================================= */

.blog-detail-title {
    color: #222;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 22px;
}


/* =========================================================
   BLOG DETAIL DIVIDER
========================================================= */

.blog-detail-divider {
    width: 100%;
    height: 1px;
    background: #eeeeee;
}


/* =========================================================
   BLOG BODY
========================================================= */

.blog-body {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   BLOG BODY PARAGRAPHS
========================================================= */

.blog-body p {
    color: #555;
    margin-bottom: 1.25rem;
}


/* =========================================================
   BLOG BODY H2
========================================================= */

.blog-body h2 {
    color: #222;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}


/* =========================================================
   BLOG BODY H3
========================================================= */

.blog-body h3 {
    color: #222;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}


/* =========================================================
   BLOG BODY H4
========================================================= */

.blog-body h4 {
    color: #222;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}


/* =========================================================
   BLOG BODY IMAGES
========================================================= */

.blog-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.75rem auto;
    border-radius: 6px;
}


/* =========================================================
   BLOG BODY LINKS
========================================================= */

.blog-body a {
    color: #0071f8;
    text-decoration: none;
}

.blog-body a:hover {
    text-decoration: underline;
}


/* =========================================================
   BLOG BODY LISTS
========================================================= */

.blog-body ul,
.blog-body ol {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-body li {
    margin-bottom: .5rem;
}


/* =========================================================
   BLOG BODY BLOCKQUOTE
========================================================= */

.blog-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #0071f8;
    background: #f7f9fc;
    color: #666;
}


/* =========================================================
   BLOG BODY TABLE
========================================================= */

.blog-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-body th,
.blog-body td {
    border: 1px solid #e5e5e5;
    padding: .75rem;
}

.blog-body th {
    background: #f7f7f7;
    color: #222;
}


/* =========================================================
   BLOG DETAIL SIDEBAR
========================================================= */

.blog-detail-section .blog-sidebar {
    position: sticky;
    top: 100px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {

    .blog-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .blog-image {
        height: 210px;
    }

    .blog-detail-image {
        height: 350px;
    }

    .blog-detail-content {
        padding: 30px;
    }

    .blog-detail-title {
        font-size: 30px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .blog-image {
        height: 210px;
    }

    .blog-content {
        padding: 18px;
    }

    .blog-content h4 a {
        font-size: 18px;
    }

    .blog-detail-image {
        height: 230px;
    }

    .blog-detail-content {
        padding: 25px 20px 30px;
    }

    .blog-detail-title {
        font-size: 25px;
    }

    .blog-body {
        font-size: 15px;
        line-height: 1.8;
    }

    .blog-body h2 {
        font-size: 23px;
    }

    .blog-body h3 {
        font-size: 20px;
    }

}

.powered-by {
    gap: 6px;
    margin: 0;
    color: inherit;
}

.powered-by .techfeenix {
    color: #e41e2b;
    font-weight: 600;
}

.powered-by img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
}

.no-properties-message {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.no-properties-message h4 {
    margin-bottom: 10px;
    font-size: 24px;
}

.no-properties-message p {
    margin: 0;
    color: #777;
}

.property-info-sticky {
    width: 100%;
    position: relative; /* card stays a normal child — position is never toggled by JS */
}

.property-info-card {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    will-change: transform;
    /* remove any position: sticky / top from here */
}

@media (max-width: 991px) {
    .property-info-card {
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .footer-bottom .col-md-7,
    .footer-bottom .col-md-5 {
        text-align: center !important;
    }

    .footer-bottom .powered-by {
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }
}

.sidebar-latest-blogs {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-blog-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-blog-image {
    width: 75px;
    height: 65px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 5px;
}

.sidebar-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-blog-content {
    flex: 1;
}

.sidebar-blog-content h5 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.4;
}

.sidebar-blog-content h5 a {
    color: #222;
    text-decoration: none;
    transition: 0.2s ease;
}

.sidebar-blog-content h5 a:hover {
    color: #0071f8;
}

.sidebar-blog-content span {
    font-size: 12px;
    color: #888;
}