/*
 * Web Frontend Theme Override
 * Direction: clean blue property-management interface, no gradients.
 */

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

:root {
    --ff-brand: 'Lato', 'Montserrat', sans-serif;
    --clr-primary: #7a0000 !important;
    --clr-secondary: #111111 !important;
    --clr-dark: #111111 !important;
    --web-primary: #7a0000;
    --web-primary-dark: #7a0000;
    --web-navy: #111111;
    --web-text: #111111;
    --web-muted: #5f5f5f;
    --web-border: #dedede;
    --web-soft: #f7f7f7;
    --web-soft-blue: #f3f3f3;
    --web-white: #ffffff;
    --web-success: #7a0000;
}

html,
body {
    background: var(--web-white);
    color: var(--web-text);
    font-family: var(--ff-brand) !important;
}

h1, h2, h3, h4, h5, h6,
.hero-heading, .highlight-heading, .section-title h2 {
    font-family: var(--ff-brand) !important;
}

a,
.text-primary {
    color: var(--web-primary) !important;
}

a:hover {
    color: var(--web-primary-dark) !important;
}

.btn-primary,
.custom-primary-btn,
[class*="custom-bg-primary"],
.custom-bg-secondary,
.submit-btn {
    background: var(--web-primary) !important;
    border-color: var(--web-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.custom-primary-btn:hover,
.submit-btn:hover {
    background: var(--web-primary-dark) !important;
    border-color: var(--web-primary-dark) !important;
    color: #ffffff !important;
}

.btn-outline-primary,
.custom-btn-outline-primary,
.cancel-btn {
    border-color: var(--web-border) !important;
    color: var(--web-navy) !important;
    background: #ffffff !important;
}

.btn-outline-primary:hover,
.custom-btn-outline-primary:hover,
.cancel-btn:hover {
    border-color: var(--web-primary) !important;
    color: var(--web-primary) !important;
    background: var(--web-soft-blue) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--web-primary) !important;
    box-shadow: 0 0 0 3px rgba(122, 0, 0, 0.16) !important;
}

/* Header */
.navbar,
header,
.header-section,
.site-header,
nav.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid var(--web-border);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.header-section {
    padding: 14px 0 !important;
}

.header-section .header-logo img {
    display: block;
    width: 200px !important;
    height: 70px !important;
    object-fit: contain;
}

.navbar-brand,
.navbar-brand *,
.navbar .nav-link,
.header-section .accordion-button {
    color: var(--web-text) !important;
}

.navbar .nav-link {
    font-weight: 650;
    padding: 10px 14px !important;
}

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

.header-section .get-app-btn,
.header-section .login-btn,
.header-section .login-btn-2 {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--web-primary) !important;
    border-radius: 8px !important;
    background: var(--web-primary) !important;
    color: #ffffff !important;
    font-weight: 750;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(122, 0, 0, 0.16);
}

.header-section .get-app-btn:hover,
.header-section .login-btn:hover,
.header-section .login-btn-2:hover {
    background: var(--web-primary-dark) !important;
    border-color: var(--web-primary-dark) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.header-section .get-app-btn svg path,
.header-section .login-btn svg path,
.header-section .login-btn-2 svg path {
    fill: #ffffff !important;
}

.navbar-toggler {
    border: 1px solid var(--web-border) !important;
    border-radius: 8px;
    color: var(--web-navy);
}

.mobile-menu {
    background: #ffffff !important;
}

.mobile-menu .offcanvas-header,
.home-offcanvas-header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--web-border);
}

.mobile-menu .accordion-item {
    border-color: var(--web-border) !important;
}

.mobile-menu .accordion-button,
.mobile-menu .without-sub-menu {
    color: var(--web-text) !important;
    background: #ffffff !important;
}

.mobile-menu .accordion-button:hover,
.mobile-menu .without-sub-menu:hover {
    color: var(--web-primary) !important;
}

/* Hero */
.home-banner-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0 54px;
    background: var(--web-soft) !important;
    background-image: none !important;
    background-attachment: initial !important;
}

.hero-bg-deco,
.hero-deco-1,
.hero-deco-2,
.hero-deco-3 {
    display: none !important;
}

.home-banner-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 12px;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--web-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.05);
}

.hero-badge i {
    color: var(--web-primary);
}

.hero-heading,
.home-banner-section .banner-content h1 {
    max-width: 660px;
    margin-bottom: 20px !important;
    color: var(--web-navy) !important;
    font-size: clamp(36px, 5vw, 60px) !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
    letter-spacing: 0;
}

.hero-heading-highlight,
.home-banner-section .banner-content h1 span {
    display: block;
    color: var(--web-primary) !important;
    background: none !important;
    -webkit-text-stroke: 0 !important;
    text-decoration: none;
}

.hero-desc,
.home-banner-section .banner-content p {
    max-width: 560px;
    margin-bottom: 32px !important;
    color: var(--web-muted) !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    opacity: 1 !important;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-cta-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1px solid var(--web-primary);
    border-radius: 8px;
    background: var(--web-primary) !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 26px rgba(122, 0, 0, 0.18);
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.hero-cta-btn:hover {
    background: var(--web-primary-dark) !important;
    border-color: var(--web-primary-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--web-muted);
    font-size: 14px;
    font-weight: 650;
}

.hero-trust-pill i {
    color: var(--web-success);
}

.hero-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(17, 17, 17, 0.14));
    animation: none !important;
}

.hero-cards-strip {
    padding: 40px 0 64px;
    background: #ffffff;
}

.hero-feature-cards,
.hero-cards-strip .hero-feature-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
}

.hero-feat-card {
    min-height: 160px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.07);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero-feat-card:hover {
    border-color: #aec6df;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.10);
    transform: translateY(-2px);
}

.hero-feat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--web-soft-blue);
    color: var(--web-primary);
    font-size: 18px;
}

.hero-feat-card h6 {
    margin-bottom: 7px !important;
    color: var(--web-navy) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.hero-feat-card p {
    margin: 0 !important;
    color: var(--web-muted) !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    opacity: 1 !important;
}

/* Sections */
.section-title p {
    color: var(--web-muted) !important;
}

.section-title h2,
.highlight-heading {
    color: var(--web-navy) !important;
    letter-spacing: 0;
}

.section-title span,
.section-badge,
.highlight-title,
.highlight-text,
.highlight-badge {
    color: var(--web-primary) !important;
}

.highlights-section {
    padding: 76px 0;
    background: var(--web-soft);
}

.highlight-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 54px;
    align-items: center;
    margin-bottom: 72px;
    padding: 28px;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.07);
}

.highlight-row:last-child {
    margin-bottom: 0;
}

.highlight-row-reverse .highlight-img-col {
    order: 2;
}

.highlight-row-reverse .highlight-text-col {
    order: 1;
}

.highlight-img {
    width: 100%;
    display: block;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    box-shadow: none;
}

.highlight-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: var(--web-soft-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.highlight-heading {
    margin-bottom: 16px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 850;
    line-height: 1.18;
}

.highlight-desc {
    color: var(--web-muted);
    font-size: 16px;
    line-height: 1.75;
}

.customer-section {
    padding: 72px 0;
    background: #ffffff;
}

.customer-card {
    border: 1px solid var(--web-border) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06) !important;
}

.customer-card h5 {
    color: var(--web-navy) !important;
    font-weight: 750;
}

.marquee-img {
    border-radius: 8px;
}

/* Partners Section */
.partners-section {
    padding: 82px 0;
    background: var(--web-soft);
}

.partners-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--web-primary);
    background: rgba(122, 0, 0, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
}

.partners-subtitle {
    color: var(--web-muted);
    max-width: 560px;
    margin: 10px auto 0;
    font-size: 15px;
    line-height: 1.7;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-logo-card {
    background: #ffffff;
    border: 1px solid var(--web-border);
    border-radius: 12px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: 110px;
}

.partner-logo-card:hover {
    box-shadow: 0 8px 24px rgba(122, 0, 0, 0.10);
    border-color: var(--web-primary);
}

.partner-logo-img {
    max-width: 90px;
    max-height: 50px;
    object-fit: contain;
}

.partner-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--web-navy);
    text-align: center;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card:hover,
.service-card:hover,
.property-card:hover,
.plan-card:hover,
.pricing-card:hover {
    border-color: #aec6df !important;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.10) !important;
}

.plan-card.featured,
.plan-card.active,
.pricing-card.popular {
    border-color: var(--web-primary) !important;
    background: #ffffff !important;
}

.plan-card.featured .plan-price,
.pricing-card.popular .price {
    color: var(--web-primary) !important;
}

/* FAQ */
.faq-section-modern {
    padding: 82px 0;
    background: var(--web-soft);
}

.faq-modern-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr);
    gap: 28px;
    align-items: start;
}

.faq-contact-card-modern {
    position: sticky;
    top: 100px;
    padding: 32px;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--web-text);
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.07);
}

.faq-contact-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none;
}

.faq-contact-card-modern h4 {
    margin-bottom: 12px;
    color: var(--web-navy) !important;
    font-size: 22px;
    font-weight: 850;
}

.faq-contact-card-modern p {
    margin-bottom: 26px;
    color: var(--web-muted) !important;
    font-size: 15px;
    line-height: 1.65;
    opacity: 1 !important;
}

.faq-cta-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid var(--web-primary);
    border-radius: 8px;
    background: var(--web-primary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.faq-cta-btn:hover {
    background: var(--web-primary-dark);
    border-color: var(--web-primary-dark);
    color: #ffffff !important;
}

.faq-accordion-wrap .custom-accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--web-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.05);
}

.faq-accordion-wrap .custom-accordion-item.active {
    border-color: var(--web-primary);
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.08);
}

.faq-accordion-wrap .custom-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    color: var(--web-navy);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.faq-accordion-wrap .custom-accordion-item.active .custom-accordion-header {
    color: var(--web-primary);
}

.faq-accordion-wrap .custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--web-muted);
    font-size: 14px;
    line-height: 1.8;
    transition: max-height 0.35s ease;
}

.faq-accordion-wrap .custom-accordion-item.active .custom-accordion-content {
    padding-bottom: 20px;
}

/* Footer */
footer,
.footer-section,
.site-footer {
    background: #7a0000 !important;
    color: #c9d8e8 !important;
}

footer h5,
footer h6,
.footer-title,
.site-footer h5,
.site-footer h6 {
    color: #ffffff !important;
    font-weight: 800;
}

footer p,
.footer-details,
.site-footer p {
    color: #c9d8e8 !important;
}

footer a,
.site-footer a {
    color: #dce8f5 !important;
    text-decoration: none !important;
}

footer a:hover,
.site-footer a:hover {
    color: #ffffff !important;
}

.social-link a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.custom-clr-white {
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Modals and utility surfaces */
.modal-content,
.verify-content {
    border: 1px solid var(--web-border);
    border-radius: 8px !important;
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
}

.modal-header {
    border-bottom-color: var(--web-border);
}

.modal-title,
.verification-title {
    color: var(--web-navy) !important;
    font-weight: 850;
}

.custom-top-label {
    color: var(--web-text) !important;
    font-weight: 750;
}

.pin-input {
    border-color: var(--web-border) !important;
    border-radius: 8px !important;
}

.pin-input:focus {
    border-color: var(--web-primary) !important;
}

.page-item.active .page-link {
    background: var(--web-primary) !important;
    border-color: var(--web-primary) !important;
}

.bg-success,
.text-bg-success,
.badge.bg-success,
.badge.text-bg-success {
    background-color: var(--web-primary) !important;
    color: #ffffff !important;
}

.text-success,
.text-green,
.custom-clr-success {
    color: var(--web-primary) !important;
}

.page-link {
    color: var(--web-primary) !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #eef3f8;
}

::-webkit-scrollbar-thumb {
    background: #9ab6d4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--web-primary);
}

@media (max-width: 991.98px) {
    .home-banner-section {
        padding: 52px 0 36px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-main-img {
        max-width: 430px;
    }

    .hero-feature-cards,
    .hero-cards-strip .hero-feature-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight-row,
    .faq-modern-grid {
        grid-template-columns: 1fr;
    }

    .highlight-row {
        gap: 28px;
        margin-bottom: 42px;
        padding: 20px;
    }

    .highlight-row-reverse .highlight-img-col,
    .highlight-row-reverse .highlight-text-col {
        order: initial;
    }

    .faq-contact-card-modern {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .header-section {
        padding: 12px 0 !important;
    }

    .hero-heading,
    .home-banner-section .banner-content h1 {
        font-size: 34px !important;
    }

    .hero-cta-btn,
    .hero-trust-pill {
        width: 100%;
    }

    .hero-feature-cards,
    .hero-cards-strip .hero-feature-cards {
        grid-template-columns: 1fr;
    }

    .hero-feat-card {
        min-height: auto;
    }

    .highlights-section,
    .customer-section,
    .faq-section-modern,
    .partners-section {
        padding: 54px 0;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-logo-card {
        padding: 16px 10px;
        min-height: 90px;
    }
}

/* UI Consistency — brand color overrides */
.text-orange {
    color: var(--web-primary) !important;
}

.banner-bg {
    background: var(--web-soft) !important;
}

.banner-bg p {
    color: var(--web-text) !important;
}

/* Mobile Responsiveness — general fixes */
@media (max-width: 767.98px) {
    .section-title h2 {
        font-size: 24px !important;
    }

    .hero-heading {
        font-size: 30px !important;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-cta-btn,
    .hero-trust-pill {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .highlight-row {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .highlight-img-col {
        order: -1;
    }

    .faq-modern-grid {
        grid-template-columns: 1fr !important;
    }

    .faq-contact-card-modern {
        margin-bottom: 24px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .header-section .header-logo img {
        width: 150px !important;
        height: 50px !important;
    }

    .footer-logo img {
        height: 50px !important;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 26px !important;
    }

    .partner-logo-card {
        padding: 12px 8px;
        min-height: 80px;
    }

    .partner-logo-img {
        max-width: 70px;
        max-height: 40px;
    }
}

/* ===========================
   Featured Properties Section
   =========================== */
.featured-properties-section {
    padding: 88px 0;
    background: var(--web-white);
}

.prop-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--web-primary);
    background: rgba(122, 0, 0, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
}

.prop-subtitle {
    color: var(--web-muted);
    font-size: 15px;
    max-width: 560px;
    margin: 10px auto 0;
}

.prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prop-card {
    background: #fff;
    border: 1px solid var(--web-border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s;
    display: flex;
    flex-direction: column;
}

.prop-card:hover {
    box-shadow: 0 10px 32px rgba(122, 0, 0, 0.12);
    transform: translateY(-3px);
}

.prop-card-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--web-soft);
}

.prop-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

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

.prop-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
}

.badge-rent  { background: var(--web-primary); }
.badge-sale  { background: var(--web-navy); }

.prop-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.90);
    color: var(--web-text);
    border: 1px solid var(--web-border);
}

.prop-card-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prop-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--web-text);
    margin: 0 0 6px;
    line-height: 1.4;
}

.prop-card-addr {
    font-size: 13px;
    color: var(--web-muted);
    margin: 0 0 14px;
}

.prop-card-addr i {
    color: var(--web-primary);
    margin-right: 4px;
}

.prop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 10px;
}

.prop-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--web-primary);
    white-space: nowrap;
}

.prop-card-price small {
    font-size: 12px;
    font-weight: 500;
    color: var(--web-muted);
}

.prop-card-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--web-primary) !important;
    border: 1.5px solid var(--web-primary);
    border-radius: 6px;
    padding: 6px 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}

.prop-card-btn:hover {
    background: var(--web-primary);
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .prop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 575.98px) {
    .prop-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prop-card-img-wrap {
        height: 180px;
    }
}

/* ===========================
   Property Details Page
   =========================== */
.prop-details-section {
    padding: 48px 0 80px;
    background: var(--web-soft);
    min-height: 70vh;
}

.prop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--web-muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.prop-breadcrumb a {
    color: var(--web-primary) !important;
    text-decoration: none;
    font-weight: 500;
}

.prop-breadcrumb a:hover { text-decoration: underline; }
.prop-breadcrumb span { color: var(--web-muted); }

.prop-details-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

/* Gallery */
.prop-gallery { margin-bottom: 28px; }

.prop-gallery-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
    height: 380px;
}

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

.prop-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.prop-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.18s;
    flex-shrink: 0;
}

.prop-thumb.active,
.prop-thumb:hover {
    border-color: var(--web-primary);
}

/* Section blocks */
.prop-section-block {
    background: #fff;
    border: 1px solid var(--web-border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}

.prop-section-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--web-text);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--web-border);
}

.prop-desc-text {
    font-size: 14px;
    color: var(--web-muted);
    line-height: 1.7;
    margin: 0;
}

/* Details table */
.prop-details-table { display: flex; flex-direction: column; gap: 10px; }

.prop-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--web-border);
    gap: 12px;
}

.prop-detail-row:last-child { border-bottom: none; }

.prop-detail-label {
    font-size: 13px;
    color: var(--web-muted);
    font-weight: 500;
    min-width: 140px;
    flex-shrink: 0;
}

.prop-detail-value {
    font-size: 13px;
    color: var(--web-text);
    font-weight: 600;
    text-align: right;
}

/* Sidebar sticky card */
.prop-details-sidebar { position: sticky; top: 90px; }

.prop-sidebar-card {
    background: #fff;
    border: 1px solid var(--web-border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(17, 17, 17, 0.07);
}

.prop-sidebar-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--web-primary);
    background: rgba(122, 0, 0, 0.08);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.prop-sidebar-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--web-text);
    margin: 0 0 10px;
    line-height: 1.4;
}

.prop-sidebar-addr {
    font-size: 13px;
    color: var(--web-muted);
    margin: 0 0 16px;
}

.prop-sidebar-addr i { color: var(--web-primary); margin-right: 5px; }

.prop-sidebar-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--web-primary);
    margin-bottom: 14px;
    line-height: 1;
}

.prop-sidebar-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--web-muted);
}

.prop-sidebar-landlord {
    font-size: 13px;
    color: var(--web-muted);
    margin-bottom: 20px;
    padding: 10px 14px;
    background: var(--web-soft);
    border-radius: 8px;
}

.prop-sidebar-landlord i { margin-right: 5px; }

.prop-sidebar-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.prop-apply-btn {
    display: block;
    text-align: center;
    padding: 13px;
    background: var(--web-primary);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.18s;
}

.prop-apply-btn:hover { background: var(--web-primary-dark); }

.prop-map-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1.5px solid var(--web-primary);
    color: var(--web-primary) !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.prop-map-btn:hover {
    background: var(--web-primary);
    color: #fff !important;
}

.prop-login-note {
    font-size: 12px;
    color: var(--web-muted);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.prop-login-note a { color: var(--web-primary) !important; }

/* Responsive */
@media (max-width: 991.98px) {
    .prop-details-grid {
        grid-template-columns: 1fr;
    }

    .prop-details-sidebar { position: static; }

    .prop-gallery-main { height: 280px; }
}

@media (max-width: 575.98px) {
    .prop-gallery-main { height: 220px; }

    .prop-sidebar-price { font-size: 22px; }

    .prop-detail-label { min-width: 110px; }
}

/* Cross-platform UI and icon stability */
.header-section .header-logo img {
    width: 220px !important;
    height: 76px !important;
}

.footer-logo {
    width: 220px !important;
    max-width: 100% !important;
    height: 76px !important;
    object-fit: contain !important;
}

.prop-share-btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--web-primary);
    border-radius: 8px;
    background: #ffffff;
    color: var(--web-primary);
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.prop-share-btn:hover,
.prop-share-btn:focus {
    background: var(--web-primary);
    color: #ffffff;
}

.header-section i,
.hero-cta-btn i,
.prop-card i,
.prop-details-section i,
.footer-section i {
    width: 1.15em;
    min-width: 1.15em;
    line-height: 1;
    text-align: center;
    flex: 0 0 auto;
    transform: none !important;
}

.header-section svg,
.hero-cta-btn svg,
.prop-card svg,
.prop-details-section svg,
.footer-section svg {
    flex: 0 0 auto;
    transform: none !important;
}

.prop-card-img,
.prop-gallery-img,
.partner-logo-img,
.marquee-img,
.hero-main-img,
.about-img {
    max-width: 100%;
    object-position: center;
}

@media (max-width: 767.98px) {
    .header-section .header-logo img {
        width: 170px !important;
        height: 60px !important;
    }

    .footer-logo {
        width: 190px !important;
        height: 66px !important;
    }

    .prop-details-section,
    .featured-properties-section,
    .about-section {
        overflow-x: clip;
    }
}
