/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #222;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    background: rgba(7, 21, 37, 0.96);
    backdrop-filter: blur(12px);
    padding: 14px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important;
}

.navbar-brand i {
    color: #ffc107;
    margin-right: 7px;
}

.navbar-brand span {
    color: #ffc107;
}

.nav-link {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    margin: 0 5px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ffc107 !important;
}

.login-btn,
.register-btn {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 7px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 760px;
    padding: 150px 0 90px;

    display: flex;
    align-items: center;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(5, 20, 40, 0.82),
            rgba(5, 20, 40, 0.78)
        ),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-badge {
    display: inline-block;
    padding: 7px 15px;
    margin-bottom: 18px;

    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 30px;

    background: rgba(255, 193, 7, 0.12);

    color: #ffc107;
    font-size: 11px;
    font-weight: 500;
}

.hero-title {
    max-width: 700px;

    margin-bottom: 20px;

    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.12;
}

.hero-title span {
    color: #ffc107;
}

.hero-text {
    max-width: 650px;

    margin-bottom: 28px;

    color: #d8dee7;

    font-size: 14px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-buttons .btn {
    font-size: 13px;
    border-radius: 8px;
}


/* =========================================================
   HERO STATISTICS
========================================================= */

.hero-info-card {
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(14px);
}

.hero-stat {
    padding: 20px 10px;

    text-align: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.08);
}

.hero-stat i {
    margin-bottom: 8px;

    color: #ffc107;
    font-size: 23px;
}

.hero-stat h3 {
    margin: 0;

    font-size: 23px;
    font-weight: 700;
}

.hero-stat p {
    margin: 3px 0 0;

    color: #cbd5e1;
    font-size: 10px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    margin-top: 55px;
    padding: 25px;

    border-radius: 15px;

    background: #ffffff;

    color: #222;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.search-box label {
    display: block;

    margin-bottom: 6px;

    color: #333;

    font-size: 11px;
    font-weight: 600;
}

.search-box label i {
    margin-right: 3px;
    color: #0d6efd;
}

.search-box .form-control,
.search-box .form-select {
    height: 45px;

    border-color: #e2e8f0;

    font-size: 12px;
}

.search-btn {
    height: 45px;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section-padding {
    padding: 85px 0;
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading span,
.section-small-title {
    color: #0d6efd;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 8px 0 10px;

    color: #172033;

    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
}

.section-heading p {
    margin: 0;

    color: #777;

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORY
========================================================= */

.category-card {
    height: 100%;

    padding: 30px 20px;

    text-align: center;

    border: 1px solid #edf0f4;
    border-radius: 15px;

    background: #ffffff;

    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-7px);

    border-color: #d8e5ff;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf4ff;

    color: #0d6efd;

    font-size: 23px;
}

.category-card h4 {
    margin-bottom: 8px;

    font-size: 17px;
    font-weight: 600;
}

.category-card p {
    min-height: 38px;

    color: #777;

    font-size: 11px;
    line-height: 1.7;
}

.category-card a {
    color: #0d6efd;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   PROPERTY SECTION
========================================================= */

.properties-section {
    background: #f7f9fc;
}


/* =========================================================
   PROPERTY CARD
========================================================= */

.property-card {
    height: 100%;

    overflow: hidden;

    border-radius: 15px;

    background: #ffffff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}

.property-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.11);
}

.property-image {
    height: 220px;

    position: relative;

    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.4s;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.status {
    position: absolute;
    top: 14px;
    right: 14px;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.available {
    background: #d1fae5;
    color: #047857;
}

.status.occupied {
    background: #fee2e2;
    color: #b91c1c;
}

.status.maintenance {
    background: #fef3c7;
    color: #b45309;
}

.property-body {
    padding: 21px;
}

.property-type {
    color: #0d6efd;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.property-body h4 {
    margin: 6px 0;

    font-size: 17px;
    font-weight: 600;
}

.property-body p {
    margin-bottom: 10px;

    color: #777;

    font-size: 11px;
}

.property-body p i {
    color: #0d6efd;
}

.property-price {
    margin: 14px 0;

    color: #172033;

    font-size: 20px;
    font-weight: 700;
}

.property-price small {
    color: #888;

    font-size: 10px;
    font-weight: 400;
}

.facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    margin-bottom: 18px;
}

.facilities span {
    padding: 5px 8px;

    border-radius: 5px;

    background: #f4f6f8;

    color: #666;

    font-size: 8px;
}

.property-body .btn {
    font-size: 11px;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-card {
    height: 100%;

    padding: 30px 20px;

    text-align: center;

    border: 1px solid #edf0f4;
    border-radius: 15px;

    background: #ffffff;

    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-card > i {
    margin-bottom: 18px;

    color: #0d6efd;

    font-size: 28px;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 600;
}

.feature-card p {
    margin: 0;

    color: #777;

    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   PAYMENT
========================================================= */

.payment-section {
    padding: 85px 0;

    background: #0b1f3a;

    color: #ffffff;
}

.payment-section h2 {
    margin: 10px 0 15px;

    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
}

.payment-section p {
    color: #cbd5e1;

    font-size: 12px;
    line-height: 1.8;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 24px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.09);

    font-size: 10px;
}

.payment-method i {
    color: #ffc107;
}

.payment-process {
    padding: 22px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.07);
}

.process-item {
    display: flex;
    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.process-item:last-child {
    border-bottom: none;
}

.process-item > span {
    min-width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffc107;

    color: #111;

    font-size: 10px;
    font-weight: 700;
}

.process-item h5 {
    margin: 0 0 3px;

    font-size: 13px;
}

.process-item p {
    margin: 0;

    font-size: 10px;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.step-card {
    height: 100%;

    position: relative;

    padding: 30px 20px;

    border: 1px solid #edf0f4;
    border-radius: 15px;

    background: #ffffff;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 15px;

    color: #e8edf5;

    font-size: 30px;
    font-weight: 800;
}

.step-card > i {
    margin: 18px 0 15px;

    color: #0d6efd;

    font-size: 28px;
}

.step-card h4 {
    font-size: 16px;
    font-weight: 600;
}

.step-card p {
    margin: 0;

    color: #777;

    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   PORTAL
========================================================= */

.portal-section {
    padding: 85px 0;

    background: #f7f9fc;
}

.portal-card {
    height: 100%;

    padding: 38px;

    border-radius: 18px;

    color: #ffffff;
}

.tenant-card {
    background: linear-gradient(135deg, #0d6efd, #0645a5);
}

.owner-card {
    background: linear-gradient(135deg, #162c4a, #071525);
}

.portal-card > span {
    color: #ffc107;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.portal-card h2 {
    margin: 10px 0 12px;

    font-size: 27px;
    font-weight: 700;
}

.portal-card p {
    color: #d9e2ef;

    font-size: 11px;
    line-height: 1.8;
}

.portal-list {
    margin: 22px 0;
}

.portal-list div {
    margin-bottom: 9px;

    color: #ffffff;

    font-size: 11px;
}

.portal-list i {
    margin-right: 8px;

    color: #ffc107;
}


/* =========================================================
   MAP
========================================================= */

.map-container {
    height: 390px;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            rgba(220, 230, 240, 0.88),
            rgba(220, 230, 240, 0.88)
        ),
        url("https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;
}

.map-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.map-placeholder > i {
    margin-bottom: 14px;

    color: #0d6efd;

    font-size: 42px;
}

.map-placeholder h4 {
    font-size: 19px;
    font-weight: 600;
}

.map-placeholder p {
    max-width: 450px;

    color: #666;

    font-size: 11px;
}


/* =========================================================
   RESERVATION
========================================================= */

.reservation-section {
    padding: 80px 20px;

    color: #ffffff;

    text-align: center;

    background:
        linear-gradient(
            rgba(13, 110, 253, 0.92),
            rgba(6, 69, 165, 0.95)
        );
}

.reservation-icon {
    margin-bottom: 15px;

    color: #ffc107;

    font-size: 38px;
}

.reservation-section h2 {
    margin-bottom: 12px;

    font-size: clamp(28px, 4vw, 42px);
}

.reservation-section p {
    margin-bottom: 25px;

    color: #dbeafe;

    font-size: 12px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {
    height: 100%;

    padding: 28px;

    text-align: center;

    border: 1px solid #edf0f4;
    border-radius: 15px;

    background: #ffffff;
}

.contact-card i {
    margin-bottom: 14px;

    color: #0d6efd;

    font-size: 27px;
}

.contact-card h5 {
    font-size: 15px;
    font-weight: 600;
}

.contact-card p {
    margin: 0;

    color: #777;

    font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    margin: 0;

    padding: 55px 0 18px;

    background: #071525;

    color: #ffffff;
}

.footer-logo {
    color: #ffffff;

    font-size: 22px;
    font-weight: 700;
}

.footer-logo i {
    color: #ffc107;
}

.footer-logo span {
    color: #ffc107;
}

.footer p {
    color: #9caabe;

    font-size: 10px;
    line-height: 1.8;
}

.footer h5 {
    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 600;
}

.footer a:not(.footer-logo) {
    display: block;

    margin-bottom: 7px;

    color: #9caabe;

    font-size: 10px;

    transition: 0.3s;
}

.footer a:not(.footer-logo):hover {
    color: #ffc107;
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

    margin-bottom: 15px;
}

.footer-payments span {
    padding: 5px 8px;

    border: 1px solid #334155;
    border-radius: 5px;

    font-size: 8px;
}

.social-links {
    display: flex;
    gap: 7px;
}

.social-links a {
    width: 30px;
    height: 30px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #172a42;
}

.footer hr {
    margin: 28px 0 15px;

    border-color: #24364d;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;

    font-size: 9px;
}


/* =========================================================
   LIVE CHAT
========================================================= */

.live-chat-btn {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 54px;
    height: 54px;

    z-index: 999;

    border: none;
    border-radius: 50%;

    background: #0d6efd;

    color: #ffffff;

    font-size: 19px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition: 0.3s;
}

.live-chat-btn:hover {
    transform: translateY(-4px);

    background: #ffc107;

    color: #111;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .navbar-nav {
        padding-top: 15px;
    }

    .nav-link {
        padding: 8px 0 !important;
    }

    .hero-section {
        min-height: auto;

        padding-top: 125px;
        padding-bottom: 75px;
    }

    .hero-info-card {
        margin-top: 10px;
    }

    .search-box {
        margin-top: 35px;
    }

    .portal-card {
        padding: 30px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 576px) {

    .section-padding {
        padding: 65px 0;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-text {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-info-card {
        padding: 12px;
    }

    .hero-stat {
        padding: 15px 8px;
    }

    .hero-stat h3 {
        font-size: 20px;
    }

    .search-box {
        padding: 18px;
        border-radius: 12px;
    }

    .property-image {
        height: 200px;
    }

    .portal-card {
        padding: 25px;
    }

    .portal-card h2 {
        font-size: 23px;
    }

    .map-container {
        height: 290px;
    }

    .live-chat-btn {
        width: 48px;
        height: 48px;

        right: 15px;
        bottom: 15px;

        font-size: 17px;
    }

}


/* =========================================================
   FINAL OVERFLOW / BOTTOM SPACE FIX
========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section,
footer {
    margin-bottom: 0 !important;
}

body::after {
    content: none !important;
}