/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: 0.5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: 0.5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #014bae;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: #014bae;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 101px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: #014bae;
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: 0.5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}

/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}

/*** Project ***/
.project-item img {
    transition: 0.5s;
}

.project-item:hover img {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, 0.1) 50%, var(--bs-dark));
    z-index: 1;
}

/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: 0.5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: 0.5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: #014bae !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: 0.5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}

.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: #014bae;
    color: var(--bs-white);
    transition: 0.5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: 0.5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: #014bae;
    color: var(--bs-white);
}

/*** Our Team ***/
.team-item img {
    transition: 0.5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, 0.1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: #014bae;
}

/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: #014bae;
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: #014bae;
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid #014bae;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: #014bae;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}

/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + 0.75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    transition: 0.3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/* new */
.property-section {
    padding: 44px 0;
}

.property-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.property-card:hover img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-overlay a {
    background: #0d6efd;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.big-img {
    height: 100%;
    min-height: 520px;
}

.small-img {
    height: 250px;
}
/* why choose us */
.why-choose-section {
    /* padding:30px 0; */
    background: #fff;
}

.choose-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #233640;
    border-radius: 20px;
    padding: 60px 25px 35px;
    text-align: center;
    height: 100%;
    overflow: hidden;
    transition: 0.3s;
}

/* Corner Curve */
.choose-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    background: #233640;
    border-bottom-right-radius: 70px;
}

/* Icon Circle */
.icon-box {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.icon-box i {
    font-size: 28px;
    color: #233640;
}

.choose-card h5 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.choose-card .choose-paragraph {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Hover */
.choose-card:hover {
    transform: translateY(-6px);
}

/* cta */
.property-cta {
    position: relative;
    background: url("https://images.unsplash.com/photo-1582407947304-fd86f028f716")
        center/cover no-repeat;
    padding: 64px 0;
    overflow: hidden;
}

/* Blue Overlay */
.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 65, 95, 0.85);
}

/* Content Above Overlay */
.property-cta .container {
    position: relative;
    z-index: 2;
}

.property-cta h2 {
    font-size: 32px;
}

.property-cta p {
    font-size: 18px;
    opacity: 0.9;
}

/* Center Button */
.btn-cta {
    background: #f26522;
    color: #fff;
    padding: 12px 35px;
    font-size: 16px;
    border-radius: 4px;
    border: none;
}

.btn-cta:hover {
    background: #d95418;
    color: #fff;
}

/* Right Vertical Button */
.side-cta {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right top;
    background: #f26522;
    color: #fff;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0 0 6px 6px;
    z-index: 3;
}

.side-cta:hover {
    background: #d95418;
    color: #fff;
}

/* property catagory */
.property-category {
    /* padding:50px 0; */
    background: #fff;
}

/* Heading underline */
.section-title {
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #e53935;
    position: absolute;
    left: 0;
    bottom: -8px;
    border-radius: 3px;
}

/* Cards */
.category-card {
    position: relative;
    height: 172px;
    border-radius: 14px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-overlay h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 0;
}

.card-overlay h6 {
    font-size: 16px;
    margin-bottom: 8px;
}

.card-overlay span {
    font-size: 14px;
    opacity: 0.9;
}

/* Promo Card */
.promo-card {
    background: linear-gradient(135deg, #f2c6a5, #e4a77c);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-content {
    padding: 20px;
}

.promo-content h6 {
    font-weight: 500;
}

.hashtag {
    color: #d32f2f;
    font-weight: 700;
}

.promo-content p {
    font-size: 14px;
    margin: 10px 0;
}

.promo-btn {
    background: #e53935;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.promo-btn:hover {
    background: #c62828;
    color: #fff;
}

/* Smooth Transition */
.category-card,
.category-card img,
.card-overlay,
.card-overlay h2,
.card-overlay h6,
.card-overlay span,
.promo-btn {
    transition: all 0.4s ease;
}

/* Image Zoom on Hover */
.category-card:hover img {
    transform: scale(1.1);
}

/* Darker Overlay on Hover */
.category-card:hover .card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.3)
    );
}

/* Text Slide Up Effect */
.card-overlay h2 {
    transform: translateY(15px);
}

.card-overlay h6,
.card-overlay span {
    transform: translateY(20px);
    opacity: 0.9;
}

.category-card:hover .card-overlay h2,
.category-card:hover .card-overlay h6,
.category-card:hover .card-overlay span {
    transform: translateY(0);
}

/* Explore Arrow Move */
.card-overlay span {
    display: inline-block;
}

.category-card:hover .card-overlay span {
    transform: translateX(6px);
}

/* Card Lift Effect */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Promo Card Hover */
.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Promo Button Hover */
.promo-btn:hover {
    transform: scale(1.05);
}

.p_desc {
    font-family: auto;
    font-size: 20px;
}

.building-section {
    /* padding:10px 0; */
    background: #f8fbfa;
}

/* Left Content */
.small-title {
    color: #b5d400;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
}

.main-title {
    font-size: 40px;
    font-weight: 800;
    color: #7a3e00;
    margin-top: 15px;
    line-height: 1.2;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
}

.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b5d400;
    font-weight: bold;
}

/* Image Section */
.building-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Center Icon */
.icon-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #b5d400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 0.4s;
}

.icon-btn:hover {
    background: #9fb800;
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 991px) {
    .building-section {
        padding: 50px 0;
    }
    .main-title {
        font-size: 32px;
    }
}

.line-clamp-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
