/* ========= Brand Colors ========= */
:root {
    --bs-primary: rgb(39, 100, 60);   /* Your brand color */
    --bs-secondary: #c0b50b; /* Secondary color */
    --bs-darktone: rgb(192, 181, 11); /* Secondary color */

--bs-secondary-old: rgb(255, 241, 0); /* Secondary color */
    
}

.text-primary {
    color: #27643c !important;
}
.text-secondary {
    color: rgb(192, 181, 11) !important;
}


/* Calculator Disclaimer Box */
.disclaimer-box {
    background-color: var(--bs-light);
    border-left: 5px solid var(--bs-secondary);
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.disclaimer-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #1B2F4A;
}

/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Primary Button – Brand Override */
.btn.btn-primary {
    background-color: #27643c !important;
    border: none;
    color: #ffffff !important;
}

/* Hover State */
.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background-color: rgb(192, 181, 11) !important;
    color: #ffffff !important;
    border-color: rgb(192, 181, 11) !important;
    border-width: 1px;
}

.btn.btn-secondary {
    background-color: #c0b50b !important;
    border: none;
    color: #ffffff !important;
}

/* Hover State */
.btn.btn-secondary:hover,
.btn.btn-secondary:focus {
    background-color: rgb(39, 100, 60) !important;
    color: #ffffff !important;
    border-color: rgb(39, 100, 60) !important;
    border-width: 1px;
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/* Buzz Card Styles */
.buzz-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.buzz-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background-color: #27643c !important;
    color: #ffffff !important;
    border: 1px solid #27643c;
}

.buzz-card:hover .text-primary {
    color: #ffffff !important;
}

.buzz-card:hover h5 {
    color: #ffffff !important;
}

.buzz-card h5 {
    font-size: 1.1rem;
}

/* Quick Action Card Styles */
.quick-action-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.quick-action-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background-color: #c0b50b !important;
    color: #ffffff !important;
    border: 1px solid #c0b50b
}

.quick-action-card:hover .text-primary {
    color: #ffffff !important;
}

.quick-action-card:hover i {
    color: #ffffff !important;
}

.quick-action-card:hover h5 {
    color: #ffffff !important;
}

.quick-action-card:hover .btn {
    background-color: #ffffff !important;
    color: #c0b50b !important;
    border-color: #ffffff;
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** ================================
    Navbar Start
================================ ***/

/* ================================
   Base Nav Link Styling
================================ */

.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark);
    font-size: 19px;
    font-weight: 500;
    outline: none;
    transition: 0.5s;
}


/* ================================
   Sticky Navbar Adjustments
================================ */

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-dark);
}


/* ================================
   Hover & Active States
================================ */

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active {
    color: var(--bs-primary);
}


/* ================================
   Brand Logo
================================ */

.navbar-light .navbar-brand img {
    max-height: 125px;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 125px;
}


/* ================================
   Dropdown Toggle Icon
================================ */

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}


/* ================================
   Dropdown Menu Styling
================================ */

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: 0.5s;
    opacity: 1;
}


/* ================================
   Mobile Navbar (≤ 991px)
================================ */

@media (max-width: 991.98px) {

    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 70px;
    }
}


/* ================================
   Desktop Navbar (≥ 992px)
================================ */

@media (min-width: 992px) {

    /* Dropdown animation */
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: 0.5s;
        opacity: 0;
    }

    /* Navbar positioning */
    .navbar-light {
        position: relative;
        width: 100%;
        background: var(--bs-white);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-white);
    }

    /* ================================
       Active / Hover Underline (ONLY HORIZONTAL)
    ================================ */

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    /* ================================
       Vertical Active Pointer (DISABLED)
       This caused the "inverted T" shape
    ================================ */

    /*
    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 2px;
        height: 12px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        height: 12px;
    }
    */
}

/*** ================================
    Navbar End
================================ ***/

/*** ================================
    Navbar Responsive Overrides
    (SAFE – Tablet Only)
================================ ***/

/* ---------- TABLET (iPad / iPad Pro) ---------- */
@media (min-width: 768px) and (max-width: 1199px) {

    /* Reduce navbar height */
    .navbar-light .navbar-nav .nav-link {
        font-size: 15px;          /* ↓ from 19px */
        padding: 18px 0;          /* ↓ from 35px */
        margin-right: 18px;
    }

    /* Sticky state */
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 14px 0;
        font-size: 15px;
    }

    /* Logo scaling */
    .navbar-light .navbar-brand img {
        max-height: 85px;         /* ↓ from 125px */
    }
}

/*** ================================
    HERO – TABLET TYPOGRAPHY FIX
================================ ***/

@media (min-width: 768px) and (max-width: 1199px) {

    .hero-split h1 {
        font-size: 2.4rem;   /* ↓ from desktop */
        line-height: 1.15;
    }

    .hero-split p {
        font-size: 0.95rem;
    }
}


/*** ================================
    Carousel Hero Header Start
================================ ***/

/* Hero Image Base Styling */
.header-carousel .header-carousel-item img {
    object-fit: cover;
    height: 700px;
}

/* Carousel Item Height */
.header-carousel .header-carousel-item {
    height: 700px;
}


/* ================================
   Owl Carousel Navigation Buttons
================================ */

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}


/* ================================
   Hero Caption Overlay
================================ */

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    inset: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}


/* ================================
   Hero Heading Stability
================================ */

.header-carousel .header-carousel-item .carousel-caption h1.display-4 {
    min-height: 2.5em;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ================================
   Responsive Adjustments
================================ */

@media (max-width: 991.98px) {
    .header-carousel .header-carousel-item .carousel-caption h1.display-4 {
        font-size: 2.5rem;
        min-height: 2.8em;
    }

    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 575.98px) {
    .header-carousel .header-carousel-item .carousel-caption h1.display-4 {
        font-size: 1.4rem;
        min-height: 4.5em;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


/* ================================
   Hero Background Animation (DISABLED)
================================ */

/*
.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%   { height: 100%; }
    25%  { height: 110%; }
    50%  { height: 115%; }
    75%  { height: 110%; }
    100% { height: 100%; }
}
*/

/*** ================================
    Carousel Hero Header End
================================ ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(#27643c, rgba(0, 0, 0, 0.8));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

/*** Original Blog End ***/

/*** Testimonial Carousel Start ***/

/* Remove shadow and make card full padding */
.testimonial-carousel .item > div {
    padding: 40px;           /* equal padding on all sides */
    box-shadow: none;         /* remove shadow */
    background-color: #fff;   /* ensure background stays white */
    border-radius: 10px;      /* keep rounded corners */
}

/* Add extra padding for the carousel container itself */
.testimonial-carousel {
    padding: 60px 0;          /* equal top and bottom padding */
}

/* Center text and animate whole card slightly on hover */
.testimonial-carousel .item {
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-carousel .item:hover {
    transform: translateY(-5px) scale(1.02); /* subtle hover lift */
}

/* Optional: subtle image zoom inside */
.testimonial-carousel .item img {
    display: block;
    margin: 0 auto 15px auto;  /* keep spacing below image */
    transition: transform 0.3s ease;
}

.testimonial-carousel .item:hover img {
    transform: scale(1.05);
}

/* 🔒 HARD DISABLE NAV (even if Owl injects it) */
.testimonial-carousel .owl-nav {
    display: none !important;
}

/* Optional: dots spacing */
.testimonial-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

/* Ensure carousel stage has breathing space */
.testimonial-carousel .owl-stage-outer {
    padding: 40px 0; /* top & bottom padding */
}

/*** Testimonial Carousel End ***/




/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-secondary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-secondary);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-secondary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/
