/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --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;
    padding: 0;
    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: #141212;
    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: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important
}
.icon3 {
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important
}

.icon2 {
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 20px;
    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(20, 21, 21, 0.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;
}
/*Contact us Page*/
/* General Page Styling */



/* Map Styling */
.embed-responsive {
    border-radius: 10px;
    overflow: hidden;
}

/* Footer Styling */

/* Animations */
.wow {
    visibility: hidden;
}

.wow.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/*ADDING MORE CONTENT USING CHAT GPT OUR SECRVICES*/
.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.service-box .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #effdf5;
}

.service-box .card:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}
.animate__animated {
    animation-duration: 1s;
    .team-member {
    text-align: center;
}

.carousel-item {
    padding: 20px;
    font-style: italic;
    font-size: 1.2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}
}
/*ADDING MORE CONTENT USING CHAT GPT OUR SECRVICES END*/

/* Category CSS Start */
/* General styles for the categories */
.category-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 15px;
    background-color: #fff;
    padding: 15px;
    border: 3px solid transparent; /* Initial border for hover effect */
    /* To ensure everything remains visible */
}

/* Hover effects for background */
.category-hover {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    position: relative;
    transition: all 0.4s ease;
}

/* Colorful Background and Border Transition on Hover */
.category-box:hover .category-hover {
    transform: scale(1.05); /* Slight zoom effect */
    background: linear-gradient(135deg, #000000, #6A1B9A); /* Vibrant gradient on hover */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFEB3B; /* Yellow border on hover */
}

/* Text Color Change on Hover with a glow effect */
.category-title {
    font-size: 1.2rem;
    color: #030202; /* Default text color */
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}

/* Change text color to black after hover */
.category-box:hover .category-title {
    color: #000000; /* Change to black */
    letter-spacing: 2px;
    transform: translateY(-5px); /* Slight upward movement */
    
}

/* Icon Hover Scale Effect */
.icon-hover {
    transition: transform 0.3s ease-in-out, opacity 0.4s ease-in-out;
}

.category-box:hover .icon-hover {
    transform: scale(1.2); /* Scale up the icon */
    opacity: 1; /* No fading */
}

/* Bounce Effect */
.category-box:hover .category-title {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Floating Effect */
.category-box {
    transition: transform 0.4s ease-out;
}

.category-box:hover {
    transform: translateY(-10px); /* Floating effect */
}

/* Slide-In for Title and Icon */
.category-box .category-title {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.category-box .icon {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}

/* Add specific background colors per category */
.category-box:nth-child(1) .category-hover {
    background-color: #baeed0;
}

.category-box:nth-child(2) .category-hover {
    background-color: #FFEBEE;
}

.category-box:nth-child(3) .category-hover {
    background-color: #E8F5E9;
}

.category-box:nth-child(4) .category-hover {
    background-color: #FFF3E0;
}

/* Add a colorful hover transition to each category box */
.category-box:nth-child(1):hover .category-hover {
    background: linear-gradient(135deg, #f9efef, #c1eef4); /* Red to Yellow */
}

.category-box:nth-child(2):hover .category-hover {
    background: linear-gradient(135deg, #3F51B5, #00a6ff); /* Blue to Orange */
}

.category-box:nth-child(3):hover .category-hover {
    background: linear-gradient(135deg, #009688, #CDDC39); /* Teal to Lime */
}

.category-box:nth-child(4):hover .category-hover {
    background: linear-gradient(135deg, #8E24AA, #FFEB3B); /* Purple to Yellow */
}

/* Make sure the design is responsive */
@media (max-width: 768px) {
    .category-title {
        font-size: 1rem;
    }
    .category-box {
        margin: 10px;
    }
}
/* Category CSS END*/



