:root {
    --primary: #FCA726;   /* Updated Orange */
    --secondary: #245EB0; /* Updated Blue */
    --light: #1FBBEC;     /* Updated Cyan */
    --dark: #0E2E50;      /* Kept original Dark Navy for contrast text/bg */
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.text-primary {
    color: var(--primary) !important; /* #FCA726 */
}

/*** 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 {
    color: #FFFFFF;
    background-color: var(--primary)  !important;
    border-color: var(--primary);
    transition: .5s;
}

*** Primary Button ***/
.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary)  !important;
    border-color: var(--primary);
}

.btn-primary:hover {
    color: #FFFFFF;
    background-color: var(--secondary); /* Switches to Blue on hover */
    border-color: var(--secondary);
}
.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;
}

/*** Fact/Counter Section ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    transform: marginTop(-10px); /* Slight lift effect */
}

/* Ensure the icon inside the white circle is your Primary Orange */
.fact-item .text-primary {
    color: var(--primary) !important;
}

/* On hover, invert the colors (Circle becomes Orange, Icon becomes White) */
.fact-item:hover .btn-lg-square {
    background: var(--dark) !important; /* Navy circle on hover */
    color: #ffffff;
}

.fact-item:hover .btn-lg-square i {
    color: #ffffff !important;
}

/*** 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;
}
/*** FAQ Accordion Styling ***/
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-button {
    font-weight: 600;
    color: var(--dark);
    background-color: #FFFFFF;
    box-shadow: none;
    transition: 0.3s;
}

/* When the accordion item is OPEN (Active) */
.accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background-color: var(--secondary); /* Blue Background */
    box-shadow: none;
}

/* Change the default blue icon to white when active */
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Hover state for inactive buttons */
.accordion-button:hover {
    color: var(--primary); /* Orange Text on Hover */
}

.accordion-body {
    color: #666;
    background-color: #f9f9f9;
}

/*** Service Item Styling ***/
.service-item {
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
    border-bottom: 3px solid transparent;
}

/* Hover Effect: Border becomes Orange, Image Zooms */
.service-item:hover {
    border-color: var(--primary); /* Orange border on bottom */
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.service-item img {
    transition: .5s;
    width: 100%;
}

.service-item:hover img {
    transform: scale(1.1);
}

/* Service Overlay (The button that appears on image) */
.service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 94, 176, .6); /* Blue tint with opacity */
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

/* Text Styling */
.service-item h5 {
    color: var(--secondary); /* Blue Text */
    transition: .3s;
}

.service-item:hover h5 {
    color: var(--primary); /* Turns Orange on hover */
}

.service-item small {
    display: block;
    line-height: 1.5;
    color: #666;
}
/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    /* Replaced hardcoded RGB with variable for consistency */
    border: 1px dashed var(--light);
    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 {
    /* Replaced hardcoded RGB with variable */
    border-top: 1px dashed var(--light) !important;
}

.property-item .border-end {
    /* Replaced hardcoded RGB with variable */
    border-right: 1px dashed var(--light) !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 {
    /* Replaced previous green color with a transparent version of your Primary Orange */
    border: 1px dashed rgba(252, 167, 38, .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 Tweaks ***/
.footer .btn.btn-social.btn-sm {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure links in copyright hover to orange */
.footer .copyright a:hover {
    color: var(--primary) !important;
    text-decoration: none;
    border-color: var(--primary) !important;
}

/* Make text slightly smaller for a compact look */
.footer p, .footer span {
    font-size: 14px;
}
.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;
}

/*** Span Text Color ***/
span {
    color: var(--primary); /* Sets text to Orange #FCA726 */
}