/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --secondary: #f7f2e1; 
    --light: #ffffff; 
    --dark: #0E2E50;
}

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


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

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


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

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

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

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

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

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

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

.footer .copyright a {
    color: var(--light);
}

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

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* General section styling */
.elementor-section {
    padding: 10px 0;
    background-color: #f8f8f8;
    text-align: center;
}

/* Heading styles */
.elementor-heading-title {
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
}

.elementor-heading-title.elementor-size-default {
    color: #333;
}

h3.elementor-heading-title {
    font-size: 2.5rem;
    font-weight: bold;
}

p.elementor-heading-title {
    font-size: 1rem;
    color: #666;
}

/* Image box container */
.elementor-image-box-wrapper {
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    max-width: 200px; /* Adjusted box size */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementor-image-box-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.elementor-image-box-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Title and link styling */
.elementor-image-box-title {
    margin-top: 8px;
    font-size: 1rem;
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elementor-image-box-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.elementor-image-box-title a:hover {
    color: #007bff;
}


/* Grid layout for services */
.elementor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around; /* Align items horizontally to the left */
    gap: 100px; /* Sets the gap dynamically between items */
    padding: 0 10px;
}

.elementor-column {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 1024px) {
    .elementor-container {
        gap: 20px; /* Reduces gap for smaller screens */
        justify-content: flex-start; /* Keeps items aligned to the left horizontally */
    }

    .elementor-image-box-wrapper {
        max-width: 180px; /* Slightly reduced size for icons */
    }
}

@media (max-width: 768px) {
    .elementor-container {
        flex-direction: row; /* Ensures items are aligned horizontally */
        align-items: flex-start; /* Keeps left alignment */
        flex-wrap: nowrap; /* Prevents vertical stacking */
        overflow-x: auto; /* Adds horizontal scrolling for smaller screens if needed */
        gap: 15px;
    }

    .elementor-image-box-wrapper {
        max-width: 150px; /* Adjust size further for smaller screens */
    }
}

/* Fix "Our Services" heading alignment */
.elementor-heading-title {
    color: #007BFF !important ;
    text-align: center !important; /* Ensures heading stays aligned to the left */
    margin-left: 0; /* Removes any unintended margin */
    margin-bottom: 20px; /* Adds spacing between heading and content */
    width: 100%; /* Makes the heading span the full width */
}



/* WhatsApp Button Styling */
.whatsapp-btn {
    display: flex; /* Flexbox for centering content */
    justify-content: center; /* Horizontally center icon */
    align-items: center; /* Vertically center icon */
    background-color: #ffffff; /* Default white background */
    border: 2px solid #198754; /* Green border */
    color: #198754; /* Green icon color */
    width: 60px; /* Button width */
    height: 60px; /* Button height */
    border-radius: 50%; /* Circular button */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    font-size: 24px; /* Size of the WhatsApp icon */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.whatsapp-btn:hover {
    background-color: #198754; /* Green background on hover */
    color: #ffffff; /* White icon on hover */
    transform: scale(1.1); /* Slight scaling effect */
}

.whatsapp-btn i {
    margin: 0; /* Remove any extra spacing around the icon */
}


.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: #9aa04d8f;
    transform: skew(20deg);
    z-index: 1;
}





/* General Section Styles */
.slider-section {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.slider-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

/* Swiper Styling */
.swiper-container {
    width: 90%;
    margin: 0 auto;
    position: relative; /* Ensures proper positioning for navigation buttons */
    padding-bottom: 50px; /* Space below for pagination bullets */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; /* Adjust as needed */
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Pagination Bullets Styling */
.swiper-pagination {
    position: absolute;
    bottom: -20px; /* Moves pagination below the Swiper container */
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    transition: background 0.3s ease;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background: #007BFF; /* Active bullet color */
}

/* Navigation Button Styling */
.swiper-button-next,
.swiper-button-prev {
    width: 10px; /* Smaller arrow button width */
    height: 10px; /* Smaller arrow button height */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%; /* Round buttons */
    color: white; /* Arrow color */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 6px; /* Smaller arrow icons */
}



/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #000000;
}

/* Pagination Dots */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    transition: background 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #007BFF;
}


/* WhatsApp Button Styling */
.whatsapp-btn {
    display: flex; /* Flexbox for aligning content */
    justify-content: center; /* Center align icon and text horizontally */
    align-items: center; /* Center align icon and text vertically */
    background-color: #ffffff; /* Default white background */
    border: 2px solid #198754; /* Green border */
    color: #198754; /* Green text and icon color */
    padding: 10px 20px; /* Add padding for text and icon */
    border-radius: 50px; /* Rounded edges for button */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    font-size: 18px; /* Font size for text */
    text-decoration: none; /* Remove underline */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.whatsapp-btn:hover {
    background-color: #198754; /* Green background on hover */
    color: #ffffff; /* White text and icon on hover */
    transform: scale(1.05); /* Slight scaling effect */
}

.whatsapp-btn i {
    font-size: 24px; /* WhatsApp icon size */
}



/* Universal reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure no overflow */
html, body {
    width: 100%;
    overflow-x: hidden;
}

/* Remove section spacing */
section {
    margin: 0;
    padding: 0;
}

/* Control container spacing */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Ensure carousel or sliders don't overflow */
.carousel, .carousel-item {
    max-width: 100%;
    overflow: hidden;
}

/* Header and footer adjustments */
header, footer {
    margin: 0;
    padding: 0;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .container {
        gap: 0;
    }
}


/* Navbar container */
.nav-bar {
    background: #ffffff; /* White background retained */
    position: sticky; /* Navbar sticks to the top */
    top: 0; /* Ensures it starts at the top */
    z-index: 1050; /* Higher z-index to stay above content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for depth */
    border-bottom: 1px solid #eaeaea; /* Clean bottom border */
}

/* Logo styling */
.logo-img {
    max-width: 300px; /* Logo size adjusted */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper alignment */
    margin: 0 0 0 -50px; /* Push the logo to the left */
}

/* Navbar links */
.navbar-nav .nav-link {
    color: #333; /* Dark text for good contrast on white */
    font-size: 16px; /* Font size for readability */
    padding: 10px 15px; /* Spacing for clickable area */
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff; /* Highlight on hover */
}

/* Active link */
.navbar-nav .nav-link.active {
    font-weight: 600;
    color: #007bff; /* Highlight color for active link */
}

/* Navbar toggler (for mobile) */
.navbar-toggler {
    border: none; /* Clean toggler button */
    background: transparent; /* Transparent for better look */
}

/* WhatsApp Button */
.whatsapp-btn {
    color: #fff;
    background-color: #25d366;
    border-radius: 50%;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-btn:hover {
    color: #fff;
    background-color: #20c157;
}

/* Sticky behavior adjustment for small screens */
@media (max-width: 992px) {
    .nav-bar {
        position: relative; /* Prevents sticky issues on small devices */
    }
}