/* ===== TOP BAR ===== */
html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

.top-header {
    background: #1f4b7a;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}
.top-header i {
    margin-right: 6px;
}

.top-right a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}
.top-right a:hover {
    color: #ffb400;
}

/* ===== MAIN HEADER ===== */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: "Exo 2", sans-serif;
}

.navbar {
    padding: 18px 0;
    -webkit-box-shadow: 0 -1px 10px 0px #d0d0d0;
    box-shadow: 0 1px 10px 0px #d0d0d0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 26px;
    color: #f7a21b !important;
}

/* MENU */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #2b2b2b;
    margin: 0 12px;
    transition: 0.3s;
    font-size: 18px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f39c12;
}

/* ADD PROPERTY BUTTON */
.add-property {
    margin-left: auto;
}

.btn-add {
    background: #f39c12;
    color: #fff;
    padding: 14px 26px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-add:hover {
    background: #e67e22;
    color: #fff;
}

/* ===== STICKY HEADER ===== */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    .add-property {
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }
    .btn-add {
        width: 100%;
    }
}

/* TOPBAR */

.topbar {
    background: #1f4b7a;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.topbar a {
    color: #fff;
    text-decoration: none;
}

/* HERO */
.hero-section {
    background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=1974") center/cover no-repeat;
    height: 100vh;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
}

/* Property card */
.property-card {
    background: rgba(16, 63, 108, 0.95) !important;
    color: #fff;
    padding: 25px;
    position: relative;
    max-width: 400px;
    margin-left: 60px;
}

.property-card h1 {
    font-size: 25px;
    font-weight: 500;
    margin-top: 15px;
    font-family: "Exo 2", sans-serif;
}

.location {
        margin-bottom: 20px;
    font-size: 14px;
    font-weight: 300;
}

.property-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 25px 0;
    font-weight: 400;
}

.property-info i {
    margin-right: 8px;
}

.luxury-card{
    position:relative;
    border-radius:22px;
    overflow:hidden;
    cursor:pointer;
}

.luxury-card img{
    width:100%;
    height:480px;
    object-fit:cover;
    transition:0.5s;
}

/* dark overlay */
.card-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.1));
    top:0;
    left:0;
}

/* location badge */
.location-badge{
    position:absolute;
    top:18px;
    left:18px;
    background:rgba(255,255,255,0.2);
    backdrop-filter:blur(6px);
    color:#fff;
    padding:6px 14px;
    border-radius:20px;
    font-size:14px;
    border: 1px solid;
}

/* arrow button */
.arrow-btn{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

/* bottom content */
.card-content{
    position:absolute;
    bottom:20px;
    left:22px;
    color:#fff;
}

.card-content .number{
    font-size:18px;
    margin-bottom: 5px;
    opacity:.8;
}

.card-content h4{
    font-size:26px;
    font-weight:600;
}

/* hover effect */
.luxury-card:hover img{
    transform:scale(1.08);
}

/* rent tag */
.rent-tag {
    background: #2bb3e6;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: -17px;
    background: #1cbaff;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    padding: 5px 15px 2px;
    font-weight: 600;
    vertical-align: middle;
    line-height: 21px;
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
}

/* price */
.price {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
}
.price:after{
	content: '';
    width: 0px;
    height: 0px;
    border-top: 31px solid rgba(17, 74, 130, 0.95);
    border-right: 392px solid transparent;
    position: absolute;
    bottom: -31px;
    left: 0;
}


/* slanted bottom */
.bottom-shape {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #f5a623, #ffcc33);
    transform: skewX(-30deg);
}

/* responsive */
@media (max-width: 991px) {
    .property-card {
        margin: 30px;
    }
    .hero-section {
        height: auto;
        padding: 120px 0;
    }
}

.property-box {
    background: #1f4b7a;
    color: #fff;
    width: 300px;
    padding: 25px;
    margin-top: 120px;
}
.property-box h3 {
    color: #fff;
    margin-top: 10px;
}

/* FIND PROPERTY */
.find-property {
    background: #f4f6f9;
    padding: 60px 0;
}
.section-title span {
    color: #ff9900;
    font-weight: 700;
}
.search-box {
    background: #fff;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* BEST SERVICE */
.best-service {
    background: #1f4b7a;
    padding: 25px 0;
    margin-top: 40px;
}
.phone {
    font-size: 18px;
}

/* LATEST PROPERTY */
.section-space {
    padding: 70px 0;
}
.property-card:before{
	content: '';
    background: #f9a11b;
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: -18px;
    left: 0;
    display: block;
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
    z-index: 1;
}
.property-card {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.property-card:hover {
    transform: translateY(-8px);
}
.property-img {
    position: relative;
    overflow: hidden;
}
.property-img img {
    width: 100%;
    transition: 0.4s;
}
.property-card:hover img {
    transform: scale(1.08);
}
.label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1f4b7a;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
}
.rent {
    background: #ff9900;
}
.price {
    color: #fff;
    font-weight: 700;
}
.icons i {
    margin-left: 10px;
    color: #888;
    cursor: pointer;
}
.arrow-btn {
    border: none;
    background: #1f4b7a;
    color: #fff;
    width: 35px;
    height: 35px;
    margin-left: 5px;
}
/* SERVICES */
.service-box {
    background: #fff;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
}
.service-box:hover {
    transform: translateY(-10px);
}
.service-box img {
    width: 50px;
    margin-bottom: 15px;
}

/* VILLA BANNER */
.villa-banner {
    background: #1f4b7a;
    color: #fff;
    padding: 70px 0;
}
.banner-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* AGENTS */
.agent-card img {
    width: 100%;
    border-radius: 8px;
}
.agent-card {
    transition: 0.3s;
}
.agent-card:hover {
    transform: translateY(-8px);
}

/* TESTIMONIAL */
.testimonial {
    background: #0d2d4d;
    padding: 80px 0;
    color: #fff;
}
.testi-text {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
}
/* BLOG */
.blog-card {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.blog-card:hover {
    transform: translateY(-8px);
}
.read-btn {
    color: #1f4b7a;
    font-weight: 600;
    text-decoration: none;
}

/* PARTNERS */
.partners {
    padding: 40px 0;
    background: #f4f6f9;
}
.partners img {
    opacity: 0.7;
    transition: 0.3s;
}
.partners img:hover {
    opacity: 1;
}

/* SUBSCRIBE */
.subscribe {
    background: #1f4b7a;
    padding: 50px 0;
}

/* FOOTER */
footer {
    background: #111;
    color: #bbb;
    padding: 60px 0 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
}
.footer-links a:hover {
    color: #fff;
}
.social i {
    font-size: 20px;
    margin-right: 12px;
    cursor: pointer;
}
.copy {
    color: #777;
    margin-top: 20px;
}
