/* ===================================
    Crafto - Real estate
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

/* variable */
:root {
    --alt-font: 'Urbanist', sans-serif;
    --primary-font: 'Atkinson Hyperlegible', sans-serif;
    --base-color: #047831;
    --dark-gray: #262b35;
}

body {
    font-size: 17px;
    line-height: 32px;
}

/* Fix page titles overlapping fixed header */
.page-title-big-typography {
    padding-top: 140px !important;
}

/* reset */
.placeholder-light-gray::-webkit-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity: 0.6;
}

.placeholder-light-gray::-moz-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity: 0.6;
}

.placeholder-light-gray:-ms-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity: 0.6;
}

/* heading */
h1,
h2,
h3,
h4,
h5,
h6 {
    word-spacing: -2px;
}

h1 {
    line-height: 4.375rem;
}

h2 {
    line-height: 3.438rem;
}

h3 {
    line-height: 2.813rem;
}

h4 {
    line-height: 2.575rem;
}

h5 {
    line-height: 2rem;
}

h6 {
    line-height: 1.75rem;
}

/* header */
header .navbar-brand img {
    max-height: 39px;
}

.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}

header.sticky .navbar-nav .nav-link,
header.sticky .fixed-header .navbar-nav .nav-link,
header.sticky .disable-fixed .navbar-nav .nav-link {
    padding-top: 30px;
    padding-bottom: 30px;
}

header .left-nav .navbar-nav:before {
    background-color: var(--dark-gray);
    opacity: 0.2;
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
    transition: 0s;
}

header.sticky .left-nav .navbar-nav:before {
    transform: translate(-28px, 0px);
    -webkit-transform: translate(-28px, 0px);
}

header .btn.btn-small {
    padding: 10px 20px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 420px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    line-height: 22px;
    font-size: 14px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a img {
    width: 70px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-size: 17px;
    line-height: 30px;
}

/* bg color */
.bg-raven-blue {
    background-color: #6c757d;
}

.bg-orange {
    background-color: #ffa800;
}

.bg-base-color-transparent {
    background-color: rgba(6, 175, 71, .15);
}

.bg-base-color-light {
    background-color: #edf9f2;
}

.border-radius-left-8px {
    border-radius: 8px 0 0 0;
}

.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 0%, transparent 80%);
}

/* text */
.text-orange {
    color: #ffa800;
}

.text-red {
    color: #ec5b54;
}

/* btn */
.btn {
    letter-spacing: normal;
    font-weight: 700;
}

.btn i {
    margin-left: 5px;
}

.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 4px;
}

.btn.btn-hover-animation-switch:hover .btn-text {
    transform: translateX(21px);
}

.btn.btn-transparent-white-light:hover {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 1);
    color: var(--white);
}

.btn.btn-dark-gray:not(.btn.submit):hover,
.btn.btn-dark-gray:not(.btn.submit):active {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}

.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}

.btn.btn-light-base-color {
    background-color: #c7e9d4;
    border-color: #c7e9d4;
    color: var(--dark-gray);
}

.btn.btn-box-shadow.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.btn.btn-link {
    padding: 0 0 2px;
}

.btn.text-uppercase-inherit i {
    top: 1px;
}

/* top right bottom left */
.right-minus-250px {
    right: -250px;
}

.right-minus-170px {
    right: -170px;
}

.right-minus-155px {
    right: -155px;
}

.bottom-minus-85px {
    bottom: -85px;
}

/* page title */
.page-title-extra-small h1 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
}

.page-title-extra-small h2 {
    font-size: 3.438rem;
    line-height: 3.438rem;
}

/* custom */
.icon-with-text-style-10:hover .feature-box-icon {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.contact-form-style-03 {
    margin-top: -100px;
}

.process-step-style-05 .progress-step-separator {
    bottom: -10px;
    height: 100%;
    z-index: -1;
}

.social-icon-style-02 .small-icon li {
    margin: 0;
}

input,
select,
textarea,
.form-control {
    font-size: 16px;
}

/* footer */
footer {
    font-size: 16px;
    line-height: 30px;
}

footer ul li {
    margin-bottom: 0;
}

footer .footer-logo img {
    max-height: 39px;
}

.footer-light a:hover {
    color: var(--dark-gray);
}

/* media query responsive */
@media (max-width: 1199px) {
    .newsletter-style-03 .btn {
        padding: 12px 18px 12px 18px;
    }

    .newsletter-style-03 input {
        padding-right: 145px !important;
        padding-left: 20px !important;
    }

    header .left-nav .navbar-nav:before {
        transform: translate(-9px, 0px);
        -webkit-transform: translate(-9px, 0px);
    }

    header .btn.btn-small {
        padding: 9px 15px;
    }
}

@media (max-width: 991px) {
    .contact-form-style-03 {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .newsletter-style-03 input {
        padding-right: 70px !important;
        padding-left: 20px !important;
    }
}

@media (max-width: 576px) {
    .extra-small-screen {
        height: 300px !important;
    }
}
/* === Uniform property cards in homepage carousels === */
.slider-one-slide .swiper-slide > .col {
    height: 100%;
}
.slider-one-slide .swiper-slide > .col > .box-shadow-large {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.slider-one-slide .swiper-slide > .col > .box-shadow-large > .bg-white {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.slider-one-slide .swiper-slide > .col > .box-shadow-large > .bg-white > .content {
    flex: 1;
}
/* Fixed height for building name so cards align */
.slider-one-slide .swiper-slide .content .alt-font.fw-700.fs-22 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Fixed height for location text */
.slider-one-slide .swiper-slide .content > p {
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Hero Search Section === */
.rentu-hero { padding: 140px 0 60px; background: linear-gradient(135deg, #f8fffe 0%, #eef7f4 40%, #f0f4ff 100%); min-height: 480px; display: flex; align-items: center; }
.rentu-hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 80%, rgba(59,178,115,0.06) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(59,130,246,0.05) 0%, transparent 50%); z-index: 0; }
.rentu-hero-badge { color: #3bb273; letter-spacing: 2px; background: rgba(59,178,115,0.1); padding: 6px 20px; border-radius: 50px; }
.rentu-hero-title { font-size: 48px; color: #1a1a2e; line-height: 1.2; }
.rentu-hero-highlight { position: relative; color: #3bb273; }
.rentu-hero-highlight::after { content: \; position: absolute; bottom: 2px; left: 0; right: 0; height: 10px; background: rgba(59,178,115,0.15); z-index: -1; border-radius: 2px; }
.rentu-hero-sub { color: #555; max-width: 520px; margin-left: auto; margin-right: auto; }
.rentu-search-box { background: #fff; border-radius: 60px; padding: 8px 8px 8px 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); border: 2px solid #eee; transition: border-color 0.3s, box-shadow 0.3s; max-width: 580px; margin-left: auto; margin-right: auto; }
.rentu-search-box:focus-within { border-color: #3bb273; box-shadow: 0 8px 32px rgba(59,178,115,0.12), 0 2px 8px rgba(0,0,0,0.04); }
.rentu-search-icon { color: #888; font-size: 18px; margin-right: 12px; flex-shrink: 0; }
.rentu-search-input { border: none; outline: none; flex: 1; font-size: 16px; color: #333; background: transparent; min-width: 0; }
.rentu-search-input::placeholder { color: #aaa; }
.rentu-search-btn { background: #268a4f; color: #fff; border: none; border-radius: 50px; padding: 12px 28px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.1s; white-space: nowrap; }
.rentu-search-btn:hover { background: #1e7a42; transform: scale(1.02); }
.rentu-quick-card { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 140px; height: 105px; background: #fff; border-radius: 14px; color: #333; text-decoration: none; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #eee; transition: all 0.25s; font-size: 15px; }
.rentu-quick-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); border-color: #3bb273; color: #3bb273; }
.rentu-quick-card i { color: #3bb273; }
.rentu-quick-wa:hover { border-color: #25d366; color: #25d366; }
.rentu-quick-wa i { color: #25d366; }
.rentu-popular-locs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.rentu-pop-label { color: #888; }
.rentu-loc-chip { display: inline-block; padding: 8px 20px; background: #fff; border: 1px solid #ddd; border-radius: 50px; color: #555; font-size: 15px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.rentu-loc-chip:hover { background: #3bb273; color: #fff; border-color: #3bb273; }
@media (max-width: 768px) { .rentu-hero { padding: 100px 0 40px; min-height: auto; } .rentu-hero-title { font-size: 32px; } .rentu-quick-card { width: 115px; height: 90px; } .rentu-search-btn { padding: 10px 20px; font-size: 14px; } }


/* === Resource link pills === */
.rentu-resource-strip { padding: 0 15px; }
.rentu-resource-pill { display: inline-flex; align-items: center; padding: 8px 18px; background: #fff; border: 1px solid #e0e0e0; border-radius: 50px; color: #444; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.rentu-resource-pill:hover { background: #3bb273; color: #fff; border-color: #3bb273; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59,178,115,0.2); }
.rentu-resource-pill i { color: #3bb273; transition: color 0.2s; }
.rentu-resource-pill:hover i { color: #fff; }
.rentu-inline-link { color: #3bb273; font-size: 13px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.rentu-inline-link:hover { color: #2d9a60; text-decoration: underline; }
@media (max-width: 768px) { .rentu-resource-pill { font-size: 12px; padding: 6px 14px; } }

/* === Explore More Cards === */
.rentu-explore-section { background: #f8f9fa; }
.rentu-explore-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; background: #fff; border-radius: 12px; border: 1px solid #eee; text-decoration: none; transition: all 0.25s; height: 100%; }
.rentu-explore-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: #3bb273; }
.rentu-explore-icon { font-size: 28px; color: #3bb273; margin-bottom: 12px; }
.rentu-explore-title { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.rentu-explore-desc { font-size: 12px; color: #888; line-height: 1.4; }
.rentu-explore-card:hover .rentu-explore-title { color: #3bb273; }
@media (max-width: 768px) { .rentu-explore-card { padding: 16px 10px; } .rentu-explore-icon { font-size: 22px; } .rentu-explore-title { font-size: 13px; } .rentu-explore-desc { font-size: 11px; } }

/* ── Mobile A11y: Tap targets & font sizes ── */
@media (max-width: 768px) {
    .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
    .form-select-sm {
        min-height: 44px;
        font-size: 14px;
    }
    .seo-pill {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        font-size: 14px;
    }
    .badge {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
}

/* ── A11y: Pagination contrast fix ── */
.page-link {
    color: #495057;
}
.page-item.disabled .page-link {
    color: #595d66;
}

/* Performance: Prevent CLS on property cards */
.swiper-slide .image img { aspect-ratio: 400/280; object-fit: cover; width: 100%; }
.swiper-slide .image { min-height: 280px; background: #f0f2f5; }
/* Performance: Font display swap */
@font-face { font-display: swap !important; }
