body {
    font-family: 'Poppins', sans-serif;

}

.navbar-brand {
    letter-spacing: 2px;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    background-image: url('images/building2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 80vh;
    padding: 60px 0;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 40px;
    position: relative;
    /* required for client-rating positioning */
}

.client-rating {
    border-radius: 20px;
    background: white;
    color: black;
    width: 100%;
    max-width: 350px;
    padding: 12px 20px;
    position: absolute;
    bottom: 20px;
    right: 0.1px;
    transform: translateX(20px);
    transform: translateY(30px);
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-rating img {
    margin-left: -15px;
    border: 2px solid white;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .hero-section {
        border-radius: 20px;
        padding: 40px 20px;
        text-align: center;
    }

    .client-rating {
        position: static !important;
        transform: none !important;
        margin: 30px auto 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .client-rating .d-flex {
        justify-content: center;
        gap: 10px;
        margin-bottom: 8px;
    }
}



/* ABOUT SECTION START */

.about-section h4 {
    font-size: 1.75rem;
}

.about-btn {
    color: black;
    background-color: #f5f7fa;
    border-color: black;
    font-size: 15px;
}

.about-btn:hover {
    color: white;
    background-color: black;
}


/* ABOUT SECTION END */

/* logos */

.logos {
    overflow: hidden;
    background-color: white;
    padding: 40px 0;
    white-space: nowrap;
    opacity: 0.7;
}

.logo-slide {
    display: inline-block;
    animation-name: slide;
    animation-duration: 19s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.logo-slide img {
    height: 30px;
    margin: 0 35px;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* logos */


/* EXPLORE SECTION START */

.explore-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    display: block;

    /* ✅ Only bottom corners rounded */
    border-radius: 1rem;
}


/* Optional - reset card spacing if needed */
.card-body h5,
.card-body p,
.card-body small {
    margin: 0;
}

.property-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.property-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* EXPLORE SECTION END */




/* DISCOVER SECTION START */

.object-cover {
    object-fit: cover;
}

.rounded-4 img {
    transition: transform 0.3s ease;
}

.rounded-4:hover img {
    transform: scale(1.02);
}

.view-btn {
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    text-align: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
}


.rounded-4:hover .view-btn {
    opacity: 1;
}

.view-btn:hover {
    background-color: rgba(0, 0, 0, 0.877);
    color: white;
}

@media (max-width: 768px) {
    .d-flex.flex-wrap.gap-3.mt-3 {
        flex-direction: column;
    }

    .view-btn {
        width: 60px;
        height: 60px;
        font-size: 0.65rem;
    }
}

/* DISCOVER SECTION END */



/* ESTATE SECTION START */


.estate-bg-wrapper {
    height: 400px;
}

.estate-bg {
    background-image: url('images/fea-card1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Floating card styles */
.floating-estate-card {
    position: absolute;
    top: 2rem;
    right: 2rem;
    max-width: 400px;
    width: 100%;
}

/* Responsive: Move card below image */
@media (max-width: 768px) {
    .estate-bg-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .estate-bg {
        height: 250px;
        border-radius: 20px;
    }

    .floating-estate-card {
        position: static !important;
        margin-top: 1rem;
        margin-right: 0;
        align-self: center;
        max-width: 100% !important;
    }
}

/* ESTATE SECTION END */


/* FAQS SECTION START */

.accordion-button::after {
    display: none !important;
    /* hide Bootstrap arrow */
}

.accordion-button .custom-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.accordion-button:not(.collapsed) .custom-icon {
    transform: translateY(-50%) rotate(45deg);
    /* turns plus into 'X' */
}

.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
    color: black;
}

/* FAQS SECTION END */


/* TESTIMONIALS START */
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.testimonial-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    padding: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px !important;
}

/* TESTIMONIALS END */


/* SIDER START */

.read-btn {
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
}

.swiper-slide:hover .read-btn {
    opacity: 1;
}

.read-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
}

.blog-slider-wrapper {
    position: relative;
    padding-bottom: 80px;
    /* to leave room for arrows */
}

.blog-arrows {
    bottom: 0;
    top: 50%;

    z-index: 10;
}

.blog-prev,
.blog-next {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    padding: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* SLIDER END*/


footer {
    background-color: black;
}

.input-group input:focus {
    outline: none;
    box-shadow: none;
    background-color: black;
}

.input-group input {
    background-color: black;
}

.list-unstyled a {
    color: grey;
}

footer h5 {
    letter-spacing: 2px;
}

.fa-arrow-right {
    transform: rotate(-45deg);
    font-size: small;
    transition: all 0.5s ease;
}

.btn:hover i {
    transform: rotate(0deg);
}