/********** Insanity CSS v2.19 **********/
:root {
    --primary: #1192cf;
    --secondary: #FE8800;
    --light: #F5F5F5;
    --dark: #14141F;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Blog article page — layered gradient + frosted content sheet ***/
body.page-article {
    min-height: 100vh;
    background-color: #e4edf6;
    background-image:
        radial-gradient(ellipse 110% 70% at 50% -15%, rgba(17, 146, 207, 0.28), transparent 58%),
        radial-gradient(ellipse 65% 50% at 105% 15%, rgba(254, 136, 0, 0.14), transparent 52%),
        radial-gradient(ellipse 60% 55% at -5% 80%, rgba(17, 146, 207, 0.16), transparent 48%),
        radial-gradient(circle at 1px 1px, rgba(17, 146, 207, 0.06) 1px, transparent 0),
        linear-gradient(168deg, #f6fafd 0%, #e9f2fa 45%, #dfe9f5 100%);
    background-size: auto, auto, auto, 28px 28px, auto;
}

@media (min-width: 769px) {
    body.page-article {
        background-attachment: fixed;
    }
}

body.page-article .article-page-main {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

body.page-article .article-page-inner {
    max-width: 760px;
}

body.page-article .article-sheet {
    position: relative;
    background: linear-gradient(152deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: clamp(1.5rem, 4.5vw, 2.85rem);
    box-shadow:
        0 2px 8px rgba(20, 20, 31, 0.04),
        0 20px 50px rgba(17, 146, 207, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

body.page-article .article-sheet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary) 45%, var(--primary));
    opacity: 0.95;
}

body.page-article .article-body {
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 42rem;
}

body.page-article .article-body p:last-child {
    margin-bottom: 0;
}

body.page-article .article-featured-figure {
    margin-left: 0;
    margin-right: 0;
}

body.page-article .article-featured-img {
    display: block;
    max-height: min(420px, 55vh);
    object-fit: cover;
    object-position: center;
}

/*** Property listings page (properties.php) — mesh background + glass cards ***/
body.page-properties .properties-hero-enhanced::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 55% at 85% 15%, rgba(255, 255, 255, 0.18), transparent 50%),
        radial-gradient(ellipse 70% 50% at 5% 85%, rgba(255, 255, 255, 0.1), transparent 45%),
        radial-gradient(ellipse 50% 35% at 50% 0%, rgba(254, 136, 0, 0.08), transparent 40%);
}

body.page-properties .properties-page-bg {
    position: relative;
    overflow-x: clip;
    background-color: #e4edf6;
    background-image:
        radial-gradient(ellipse 110% 65% at 50% 0%, rgba(17, 146, 207, 0.22), transparent 58%),
        radial-gradient(ellipse 70% 50% at 100% 25%, rgba(254, 136, 0, 0.12), transparent 52%),
        radial-gradient(ellipse 60% 50% at -5% 75%, rgba(17, 146, 207, 0.15), transparent 48%),
        radial-gradient(circle at 1px 1px, rgba(17, 146, 207, 0.055) 1px, transparent 0),
        linear-gradient(175deg, #f5f9fc 0%, #e8f0f8 40%, #dce8f4 100%);
    background-size: auto, auto, auto, 28px 28px, auto;
}

@media (min-width: 769px) {
    body.page-properties .properties-page-bg {
        background-attachment: fixed;
    }
}

body.page-properties .stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow:
        0 4px 16px rgba(20, 20, 31, 0.05),
        0 16px 40px rgba(17, 146, 207, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

body.page-properties .stat-card:hover {
    box-shadow:
        0 8px 24px rgba(20, 20, 31, 0.08),
        0 24px 48px rgba(17, 146, 207, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

body.page-properties .stat-icon {
    background: linear-gradient(145deg, var(--primary) 0%, #0d7eb8 100%);
}

body.page-properties .stat-number {
    color: var(--primary);
}

body.page-properties .filter-section {
    background: linear-gradient(152deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow:
        0 4px 20px rgba(17, 146, 207, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
}

body.page-properties .filter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary) 45%, var(--primary));
    opacity: 0.95;
}

body.page-properties .property-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 4px 16px rgba(20, 20, 31, 0.06),
        0 12px 36px rgba(17, 146, 207, 0.1);
}

body.page-properties .property-card:hover {
    box-shadow:
        0 12px 32px rgba(20, 20, 31, 0.1),
        0 20px 48px rgba(17, 146, 207, 0.14);
}

body.page-properties .properties-listings-section .pagination .page-link {
    border-radius: 10px;
    margin: 0 0.15rem;
}

body.page-properties .properties-listings-section .pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    /* Property detail & blog article: dark nav text on white/light pages (no hero behind bar) */
    body.page-property-detail .navbar-light .navbar-nav .nav-link,
    body.page-article .navbar-light .navbar-nav .nav-link {
        color: var(--dark) !important;
    }

    body.page-property-detail .navbar-light .navbar-nav .nav-link:hover,
    body.page-property-detail .navbar-light .navbar-nav .nav-link.active,
    body.page-article .navbar-light .navbar-nav .nav-link:hover,
    body.page-article .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    body.page-property-detail .breadcrumb-item + .breadcrumb-item::before,
    body.page-article .breadcrumb-item + .breadcrumb-item::before {
        color: #6c757d;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Package ***/
.package-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.package-item img {
    transition: .5s;
}

.package-item:hover img {
    transform: scale(1.1);
}


/*** Contact ***/
.contact {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/contact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 20px;
    border-bottom: 1px solid var(--primary);
}

.team-item .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Footer Improvements ***/
.footer a.text-light:hover {
    color: var(--primary) !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
    background: rgba(0, 0, 0, 0.2);
}

.footer .copyright a {
    color: var(--primary);
    transition: color 0.3s;
}

.footer .copyright a:hover {
    color: #ffffff;
}

/*** Benefits Section ***/
.bg-light.rounded {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(17, 146, 207, 0.1);
}

.bg-light.rounded:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.bg-light.rounded h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.bg-light.rounded p {
    color: #555;
    font-size: 16px;
}

/*** About Section Improvements ***/
.situation-item {
    transition: all 0.3s ease;
    cursor: default;
}

.situation-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(17, 146, 207, 0.2) !important;
    background: #f8f9ff !important;
}

.situation-item i {
    font-size: 18px;
}

/*** Service Cards Section ***/
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(17, 146, 207, 0.2) !important;
}

.service-card:hover .service-icon-wrapper > div {
    transform: scale(1.1);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 146, 207, 0.05) 0%, rgba(17, 146, 207, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

.service-icon-wrapper > div {
    transition: transform 0.3s ease;
}

/*** Hero Section Improvements ***/
.hero-header {
    position: relative;
}

.hero-header .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

.hero-header .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: white !important;
}

/*** Trust Indicators ***/
.trust-indicator {
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.trust-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.trust-icon-wrapper i {
    font-size: 2rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.trust-indicator:hover .trust-icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.trust-indicator h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
    font-weight: 700;
}

.trust-indicator p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-header .badge {
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Hero Benefit Badges ***/
.benefit-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.benefit-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-badge i {
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .benefit-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        align-items: center;
    }
}

/*** Contact Form Improvements ***/
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(17, 146, 207, 0.15);
    outline: none;
}

.form-control-lg {
    padding: 14px 18px;
    font-size: 1.05rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 146, 207, 0.5) !important;
}

.process-steps .bg-primary {
    transition: all 0.3s ease;
}

.process-steps .d-flex:hover .bg-primary {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(17, 146, 207, 0.4);
}

.contact .rounded-4 {
    border-radius: 1.5rem !important;
}

/* Site-wide readability (index, properties, property detail, etc.) */
body {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.2em;
    color: #333;
}

.text-white p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1em;
}

h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 0.8em;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 0.8em;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 0.7em;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 0.6em;
}

h6 {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

.contact p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.contact h1,
.contact h6 {
    color: #ffffff;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    p {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Index: featured property cards */
.property-card-index {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    border-radius: 12px;
}

.property-card-index:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.property-card-index .property-image-wrap {
    position: relative;
    overflow: hidden;
}

.property-image-index {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-index:hover .property-image-index {
    transform: scale(1.06);
}

.property-badge-index {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    text-align: right;
}

/* --- Index (home) page: section rhythm & cards --- */
main#main-content > section.index-why-section {
    background: #fff;
}

main#main-content .index-service-card {
    border-radius: 16px;
    border-top: 4px solid var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

main#main-content .index-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1) !important;
}

main#main-content .index-service-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.35;
    min-height: 4.5rem;
}

@media (max-width: 991.98px) {
    main#main-content .index-service-card-title {
        min-height: auto;
    }
}

.featured-index-section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.property-card-index.d-flex.flex-column .card-body {
    flex: 1 1 auto;
}

.property-card-index .index-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.8125rem;
    color: #6c757d;
}

.property-card-index .index-card-specs span {
    white-space: nowrap;
}

.property-card-index .index-card-specs i {
    color: var(--primary);
    margin-right: 0.25rem;
}

main#main-content .index-section-intro {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

main#main-content .index-section-intro--wide {
    max-width: 48rem;
}

/* Index blog section */
.index-blog-section {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.index-blog-card {
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.index-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
}

.index-blog-card-img-link {
    overflow: hidden;
}

.index-blog-card-img {
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

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