
/*** Spinner Start ***/

/*** Spinner ***/
#spinner {
    background: #005724;
    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;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    -webkit-text-fill-color: #000;
}

.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;
    border-radius: 50%;
}

.btn.btn-primary {
    background: #005724 !important;
    color: #FF8C00 !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: #FFA500 !important;
    color: #000000 !important;
}

.btn.btn-dark {
    background: #FFA500 !important;
    color: #005724 !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: #005724 !important;
    color: #f8f9fa !important;
}

.btn.btn-light {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: #faf8f8 !important;
    color: #f8f9fa !important;
}

@media (max-width: 768px) { /* Tablet and smaller */
    .btn-square {
        width: 24px; /* Reduced from 28px */
        height: 24px; /* Reduced from 28px */
    }
    .btn-sm-square {
        width: 26px; /* Reduced from 30px */
        height: 26px; /* Reduced from 30px */
    }
    .btn-md-square {
        width: 34px; /* Reduced from 38px */
        height: 34px; /* Reduced from 38px */
    }
    .btn-lg-square {
        width: 44px; /* Reduced from 48px */
        height: 44px; /* Reduced from 48px */
    }
    .btn-xl-square {
        width: 54px; /* Reduced from 58px */
        height: 54px; /* Reduced from 58px */
    }
}

@media (max-width: 576px) { /* Mobile phones */
    .btn-square {
        width: 20px; /* Reduced from 24px */
        height: 20px; /* Reduced from 24px */
    }
    .btn-sm-square {
        width: 22px; /* Reduced from 26px */
        height: 22px; /* Reduced from 26px */
    }
    .btn-md-square {
        width: 30px; /* Reduced from 34px */
        height: 30px; /* Reduced from 34px */
    }
    .btn-lg-square {
        width: 40px; /* Reduced from 44px */
        height: 40px; /* Reduced from 44px */
    }
    .btn-xl-square {
        width: 50px; /* Reduced from 54px */
        height: 50px; /* Reduced from 54px */
    }
}
/*** Button End ***/


/*** Topbar Start ***/ 
.topbar {
    padding: 2px 10px 2px 20px;
    background-color: #005724 !important; /* Green as the main background */
    color: #000000; /* Black for text or other accents */
}

.topbar .fas, 
.topbar .fab { 
    color: #FFA500 !important; /* Orangish-yellow leaning toward orange */
}

.topbar a {
    color: #776161; /* Ensure links are black (or adjust as needed) */
}

.topbar a:hover .fas, 
.topbar a:hover .fab {
    color: #FF8C00 !important; /* Darker shade on hover for better effect */
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar Styles ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

/* Logo Styling */
.navbar .navbar-brand .logo {
    max-height: 40px; /* Restrict logo size */
    max-width: auto;
    margin-right: 15px; /* Align with navbar spacing */
}

/* Navbar Background and Colors */
.navbar {
    background-color: #FFFFFF !important; /* White background */
    position: fixed; /* Make navbar fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure it's on top of other content */
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for clarity */
    padding: 10px 15px;
}

/* Navbar Links Styling */
.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: #000000 !important; /* Black text for links */
    transition: color 0.3s ease;
    font-size: 1.075rem; /* Double the size of the letters */
    font-weight: bold; /* Optional: Make it bold for better visibility */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #005724 !important; /* Green on hover or active */
}

/* Navbar Item Styles */
.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid #FFA500; /* Yellow for hover effect */
    transition: 0.5s ease;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

/* Dropdown Menu */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    color: #000000 !important; /* Black for dropdown indicator */
}

/* Navbar Toggler Button */
.navbar .navbar-toggler {
    padding: 8px 15px;
    color: #FFFFFF; /* White icon */
    background: #005724; /* Green background for toggle */
}

/* Mobile Customizations - Even Smaller */
@media (max-width: 768px) { /* Phones */
    .navbar {
        padding: 5px; /* Reduced from 10px */
    }

    .navbar .navbar-brand .logo {
        max-height: 25px; /* Reduced from 30px */
    }

    .navbar .navbar-nav .nav-item.nav-link {
        font-size: 0.8rem; /* Reduced from 0.9rem */
    }

    /* Fix the viewport issue on mobile */
    body {
        margin-top: 50px; /* Reduced from 60px */
    }
}

/* Tablet Customizations - Even Smaller */
@media (min-width: 769px) and (max-width: 1024px) { /* Tablets */
    .navbar {
        padding: 10px; /* Reduced from 15px */
    }

    .navbar .navbar-brand .logo {
        max-height: 30px; /* Reduced from 35px */
    }

    .navbar .navbar-nav .nav-item.nav-link {
        font-size: 0.9rem; /* Reduced from 1rem */
    }
}

/*** Navbar Styles End ***/




/*** Carousel Header Start ***/

.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: #005724; /* Green background */
    color: #FFA500; /* Yellow text */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    background: #FFA500 !important; /* Yellow on hover */
    color: #005724 !important; /* Green text on hover */
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(255, 165, 0, 0.2); /* Light yellow border */
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -400px;}
    50%   {right: -200px;}
    75%   {top: -200px;}
    100%  {top: -400px;}
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(0, 87, 36, 0.2); /* Light green background */
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@keyframes RotateMoveRight {
    0%   {left: 0px;}
    50%   {left: 70px;}
    100%  {left: 0px;}
}

.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: #FFA500; /* Yellow */
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

@keyframes RotateMoveLeft {
    0%   {left: -240px;}
    50%   {left: -300px;}
    100%  {left: -240px;}
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 87, 36, 0.5); /* Semi-transparent green overlay */
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 5px; /* Reduced from 10px */
    }
    .header-carousel-item img {
        height: 600px; /* Reduced from 700px */
        object-fit: cover;
    }

    .owl-prev,
    .owl-next {
        display: none; /* Hide navigation buttons on mobile */
    }

    .owl-prev:hover,
    .owl-next:hover {
        background: #005724 !important; /* No hover change on mobile */
        color: #FFA500 !important; /* No hover change on mobile */
    }

    .header-carousel .header-carousel-item-img-1::before,
    .header-carousel .header-carousel-item-img-2::before,
    .header-carousel .header-carousel-item-img-3::before {
        animation: none; /* Disable yellow circle animation */
    }

    .header-carousel .header-carousel-item-img-1::after,
    .header-carousel .header-carousel-item-img-2::after,
    .header-carousel .header-carousel-item-img-3::after {
        animation: none; /* Disable green stripe animation */
    }

    .header-carousel .header-carousel-item::before {
        animation: none; /* Disable yellow stripe animation */
    }
}

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url(../img/carousel-1.jpg); /* Green overlay */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: #FFA500 !important; /* Yellow links */
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: #005724; /* Green */
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid #FFA500; /* Yellow border */
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -200px;}
    50%   {right: -100px;}
    75%   {top: -100px;}
    100%  {top: -200px;}
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: #005724; /* Green */
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@media (max-width: 767px) {
    .bg-breadcrumb .bg-breadcrumb-single {
        width: 250px; /* Reduce the width */
        height: 600px; /* Reduce the height */
        margin-left: 15px; /* Adjust margin for proper positioning */
        background: rgba(0, 87, 36, 0.5); /* Same green color with transparency */
    }

    .bg-breadcrumb::before {
        width: 200px; /* Reduce the size */
        height: 200px; /* Reduce the size */
        top: -75px; /* Adjust top position */
        right: -75px; /* Adjust right position */
        border-radius: 100px; /* Adjust border-radius proportionally */
        border: 40px solid rgba(255, 165, 0, 0.5); /* Yellow color with transparency */
        background: transparent; /* Ensure background is fully transparent */
    }

    .bg-breadcrumb::after {
        width: 75px; /* Reduce the width */
        height: 600px; /* Reduce the height */
        margin-left: 80px; /* Adjust margin for proper positioning */
        background: rgba(0, 87, 36, 0.5); /* Same green color with transparency */
    }
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.text-primary {
    color: black !important;
}

.bg-light-yellow {
    background-color: #f0e394 !important;
}

.bg-light-green {
    background-color: #739987 !important;
}

/* Initially hide the About section (keeping this as per original request) */
#about.container-fluid.about {
    display: none; /* Hide only the specific "About" section */
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 0; /* Adjust padding as needed for desktop */
}

.about h1 span {
    display: block; /* Ensures each part of the title spans a new line */
}

.about p {
    max-width: 1000px; /* Max width for paragraph on larger screens */
    margin: 0 auto;
    text-align: justify;
}

.row.g-4 {
    gap: 1.5rem; /* Reduced spacing between rows and columns for desktop */
}

.about .row {
    justify-content: center;
    margin: 0 auto; /* Ensures proper centering */
}

.about .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5rem; /* Adjusted spacing for a more compact layout on desktop */
}

.bg-light-green .counter-value,
.bg-light-yellow .counter-value {
    font-size: 2.5rem; /* Default font size for desktop */
    font-weight: bold;
    color: #ffffff;
}

.bg-light-green h4,
.bg-light-yellow h4 {
    color: #f0e394;
    font-weight: 600;
    font-size: 1.5rem; /* Default font size for desktop */
}

.bg-light-green p,
.bg-light-yellow p {
    color: black;
    margin-top: 1rem;
}

/* Mobile Devices Optimization - Considerably Smaller */

/* Tablets and smaller laptops */
@media (max-width: 992px) {
    .about {
        padding: 5rem 0.5rem; /* Reduced padding */
    }

    .about h1 {
        font-size: 2.5rem; /* Smaller heading */
    }

    .about p {
        font-size: 0.9rem; /* Smaller paragraph text */
        max-width: 800px; /* Adjust max-width for tablets */
    }

    .row.g-4 {
        gap: 1rem; /* Further reduced gap */
    }

    .bg-light-green .counter-value,
    .bg-light-yellow .counter-value {
        font-size: 2rem; /* Smaller counter value */
    }

    .bg-light-green h4,
    .bg-light-yellow h4 {
        font-size: 1.2rem; /* Smaller sub-heading */
    }

    .bg-light-green p,
    .bg-light-yellow p {
        font-size: 0.8rem; /* Smaller text within counter boxes */
        margin-top: 0.8rem;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .about {
        padding: 3rem 0.5rem; /* Even smaller padding */
    }

    .about h1 {
        font-size: 2rem; /* Even smaller heading */
    }

    .about p {
        font-size: 0.8rem; /* Even smaller paragraph text */
        max-width: 600px; /* Adjust max-width for mobile */
        text-align: left; /* Maybe left align for better readability on small screens */
    }

    .row.g-4 {
        gap: 0.75rem; /* Even smaller gap */
        justify-content: center; /* Center items if they wrap */
    }

    .about .row > div { /* Target direct children of the row for column adjustments */
        flex: 0 0 90%; /* Make columns take up more width, stacking them */
        max-width: 90%;
        margin-bottom: 0.75rem; /* Add vertical spacing when stacked */
    }

    .bg-light-green .counter-value,
    .bg-light-yellow .counter-value {
        font-size: 1.6rem; /* Considerably smaller counter value */
    }

    .bg-light-green h4,
    .bg-light-yellow h4 {
        font-size: 1rem; /* Considerably smaller sub-heading */
    }

    .bg-light-green p,
    .bg-light-yellow p {
        font-size: 0.7rem; /* Considerably smaller text within counter boxes */
        margin-top: 0.6rem;
    }
}

/* Extra Small Mobile (portrait mode) */
@media (max-width: 576px) {
    .about {
        padding: 2rem 0.25rem; /* Minimal padding */
    }

    .about h1 {
        font-size: 1.5rem; /* Very small heading */
    }

    .about p {
        font-size: 0.75rem; /* Very small paragraph text */
        max-width: 100%; /* Full width for text */
    }

    .row.g-4 {
        gap: 0.5rem; /* Minimal gap */
    }

    .about .row > div {
        flex: 0 0 95%; /* Almost full width for single column layout */
        max-width: 95%;
        margin-bottom: 0.5rem;
    }

    .bg-light-green .counter-value,
    .bg-light-yellow .counter-value {
        font-size: 1.2rem; /* Tiny counter value */
    }

    .bg-light-green h4,
    .bg-light-yellow h4 {
        font-size: 0.8rem; /* Tiny sub-heading */
    }

    .bg-light-green p,
    .bg-light-yellow p {
        font-size: 0.65rem; /* Tiny text within counter boxes */
        margin-top: 0.4rem;
    }
}
/*** About End ***/



/*** Services Start ***/
.service .service-item {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 120px;
}

.service .service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background: rgba(248, 250, 146, 0.15);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
    padding: 12px; /* Slightly increased padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; /* Increased height to accommodate more text */
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: rgba(24, 59, 29, 0.2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service .service-item:hover .service-content .service-content-inner {
    color: var(--bs-white) !important;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h6 {
    color: var(--bs-white) !important;
}

.service .service-item:hover .service-content .service-content-inner a.h6:hover {
    color: rgba(0, 255, 98, 0.5) !important;
}

/* Read More Button */
.service-item .service-content-inner .read-more-btn {
    font-size: 0.875rem;
    background-color: #f8f9fa;
    color: #007bff;
    border: 1px solid #000000;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: auto;
}

.service-item .service-content-inner .read-more-btn:hover {
    background-color: #000000;
    color: #fff;
    border-color: #007bff;
    transform: scale(1.05);
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
}

/* Adjust text sizes and spacing */
.service .service-item .service-content-inner a.h6 {
    font-size: 1rem;
    white-space: normal; /* Remove ellipsis, allow full title display */
    margin-bottom: 5px;
}

.service .service-item .service-content-inner p {
    font-size: 0.875rem;
    line-height: 1.3;
    margin-bottom: 5px;
    flex-grow: 1; /* Allow paragraph to expand within available space */
}

/* Responsive Design for Desktop/Laptop - Slightly Smaller */
@media (min-width: 1200px) {
    .col-xl-2 {
        flex: 0 0 19%; /* Slightly reduced from 20% */
        max-width: 19%; /* Slightly reduced from 20% */
        padding: 0 10px; /* Reduced from 15px */
    }
    .row {
        margin-left: -10px; /* Reduced from -15px */
        margin-right: -10px; /* Reduced from -15px */
    }
}

/* Existing Mobile and Tablet Adjustments - Smaller */
@media (max-width: 991px) {
    .service .service-item {
        width: 95%; /* Reduced from 100% to add some margin if needed */
        margin-bottom: 8px; /* Reduced from 10px */
    }
    .col-md-4 {
        flex: 0 0 32%; /* Slightly reduced from 33.333333% for spacing */
        max-width: 32%; /* Slightly reduced from 33.333333% */
    }
}

@media (max-width: 768px) {
    .row {
        flex-wrap: wrap;
    }
    .col-6, .col-sm-6, .col-md-4 {
        flex: 0 0 48%; /* Reduced from 50% to add a small gap */
        max-width: 48%; /* Reduced from 50% */
    }
    .service .service-item {
        width: 85%; /* Reduced from 90% */
        margin: 0 auto 8px auto; /* Reduced margin-bottom from 10px */
    }
    .service .service-item .service-content-inner a.h6 {
        font-size: 0.8rem; /* Reduced from 0.9rem */
    }
    .service .service-item .service-content-inner p {
        font-size: 0.7rem; /* Reduced from 0.8rem */
    }
    .service-item .read-more-btn {
        font-size: 0.7rem; /* Reduced from 0.75rem */
        padding: 3px 8px; /* Reduced from 4px 10px */
    }
}

@media (max-width: 576px) {
    .col-6, .col-sm-6, .col-md-4 {
        flex: 0 0 98%; /* Reduced from 100% to add a tiny gap */
        max-width: 98%; /* Reduced from 100% */
    }
    .service .service-item {
        width: 95%; /* Reduced from 100% */
        margin-bottom: 8px; /* Remains 10px, slightly reduced already */
    }
    .service .service-item .service-content-inner a.h6 {
        font-size: 0.8rem; /* Reduced from 0.85rem */
    }
    .service .service-item .service-content-inner p {
        font-size: 0.7rem; /* Reduced from 0.75rem */
    }
    .service-item .read-more-btn {
        font-size: 0.65rem; /* Reduced from 0.7rem */
        padding: 2px 6px; /* Reduced from 3px 8px */
    }
}

/* Services End */

/* New Rule for Modal Buttons */
.modal-footer .btn-secondary {
    background-color: #6c757d !important; /* Bootstrap secondary */
    color: #fff !important;
    border-radius: 50px;
    padding: 6px 12px;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268 !important; /* Darker secondary */
    color: #fff !important;
}

/*** Overlay and Modal styles ***/
/* Popup Modal styles */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Modal content styles */
.popup-content {
    border-radius: 1rem;
    font-family: 'Georgia', serif;
    color: #333;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    max-width: 100%; /* Changed from 750px */
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Header styles for the popup */
.popup-header {
    background-color: var(--bs-primary);
    color: #fff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.popup-logo {
    width: 120px;
    height: auto;
}

/* Close button styles */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    background: transparent;
    border: none;
    color: #FFA500;
    cursor: pointer;
}

/* Title styles for the popup */
.popup-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #FFA500;
    margin-top: 1rem;
}

/* Subheading in the popup */
.popup-subheading {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styling for the image */
.popup-image {
    text-align: center;
    margin: 10px 0;
}

.popup-image img {
    max-width: 100%;
    max-height: 400px; /* Increased from 300px */
    object-fit: cover;
    border-radius: 8px; /* Consistent border-radius */
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bullet points in the popup */
.popup-bulletpoints {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Georgia', serif;
    color: #444;
}

.popup-bulletpoints li {
    color: #005724;
    margin-bottom: 6px;
}

.popup-bulletpoints li i {
    color: #007bff;
    margin-right: 6px;
}

/* Styling for bolded parts within bullet points */
.popup-bulletpoints li span.bold-text {
    font-weight: bold;
    color: #000;
}

/* Service item bulletpoint separation: | symbol handling */
.popup-bulletpoints li span.separator {
    display: block;
    margin-top: 8px;
    font-style: italic;
    color: #777;
}

/* Style for the "Read More" button on service items */
.read-more-btn {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #eff7ff;
}

/* Footer branding */
.popup-footer {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-family: 'Arial', sans-serif;
    color: #666;
    margin-top: 1rem;
}

.popup-footer .modal-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-footer .modal-branding img {
    height: 24px;
    width: auto;
}

/* Button group styling for 5th service item */
.service-item:nth-child(5) .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.service-item:nth-child(5) .fire-guide-link {
    background-color: #ff7f50; /* Coral orange for contrast */
    color: white;
    padding: 6px 12px; /* Smaller padding */
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.service-item:nth-child(5) .fire-guide-link:hover {
    background-color: #ff6347; /* Tomato red on hover for emphasis */
}

/* Mobile responsiveness - Smaller */
@media (max-width: 768px) {
    .popup-content {
        max-width: 90%; /* Changed from 55% */
        padding: 12px;
    }
    /* ... other styles ... */
}

    .popup-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .popup-title {
        font-size: 14px; /* Reduced from 16px */
    }

    .popup-subheading {
        font-size: 22px; /* Reduced from 26px */
    }

    .popup-image img {
        max-width: 85%; /* Reduced from 90% */
        max-height: 200px; /* Reduced from 250px */
    }

    .popup-bulletpoints {
        font-size: 12px; /* Reduced from 14px */
    }

    .read-more-btn {
        padding: 5px 10px; /* Reduced from 6px 12px */
    }


/* Extra Small Mobile (portrait mode) - Even Smaller */
@media (max-width: 480px) {
    .popup-content {
        max-width: 95%; /* Changed from 60% */
        padding: 10px;
    }

    .popup-title {
        font-size: 12px; /* Reduced from 14px */
    }

    .popup-subheading {
        font-size: 18px; /* Reduced from 22px */
    }

    .popup-bulletpoints {
        font-size: 10px; /* Reduced from 12px */
    }

    .read-more-btn {
        font-size: 10px; /* Reduced from 12px */
        padding: 3px 8px; /* Reduced from 4px 10px */
    }
}
/*** Overlay and Modal styles End ***/

/*** Partners Section ***/

.scroll-wrapper {
    overflow: hidden; /* Prevent logos from showing outside the container */
    width: 100%;
    position: relative;
}

.partners-carousel {
    display: flex;
    gap: 50px; /* Add space between logos */
    animation: scroll-infinite 12s linear infinite; /* Animation made quicker */
}

.partners .partner-item {
    flex-shrink: 0; /* Prevent items from shrinking */
    padding: 1rem;
}

.partners .partner-item img {
    max-width: 100px; /* Adjust size of logos */
    height: auto;
    transition: 0.3s ease-in-out;
}

.partners .partner-item img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    opacity: 0.8;
}

/* Scrolling animation */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0); /* Start at the initial position */
    }
    100% {
        transform: translateX(-100%); /* Move entire container to the left */
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .partners-carousel {
        animation: scroll-infinite 6s linear infinite; /* Faster animation for mobile */
    }

    .partners .partner-item img {
        max-width: 110px; /* Increase image size by 10% for mobile */
    }
}

/* Extra Small Mobile (portrait mode) */
@media (max-width: 480px) {
    .partners-carousel {
        animation: scroll-infinite 5s linear infinite; /* Even quicker animation for smaller devices */
    }

    .partners .partner-item img {
        max-width: 115px; /* Further increase image size for extra small mobile */
    }
}
/*** Partners End ***/


/*** Testimonial Section ***/
.testimonial {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.testimonial .testimonial-carousel .testimonial-item {
    background-color: #fff;
    padding: 1rem; /* Keeping padding compact */
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ensure items take full width */
    max-width: 500px; /* Set a max-width for readability */
    margin: 0 auto; /* Center the item */
}

.testimonial .testimonial-item .d-flex {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    text-align: center;
}

.testimonial .testimonial-item .d-flex .fa-quote-left {
    font-size: 2rem; /* Increase icon size for visibility */
    color: #FFA500; /* Orange color for quote icon */
}

.testimonial .testimonial-item p {
    font-size: 1rem; /* Slightly larger text size for readability */
    line-height: 1.4;
    margin-top: 10px;
}

.testimonial .testimonial-item .my-auto {
    text-align: center;
}

.testimonial .testimonial-item img {
    width: 80px; /* Increase image size for better clarity */
    height: 80px;
    border: 1px solid #005724;
    margin-top: 8px;
}

.testimonial .testimonial-item .my-auto h5 {
    font-size: 1rem; /* Increase name font */
    color: #005724;
    margin-top: 5px;
}

.testimonial .testimonial-item .my-auto p {
    font-size: 0.875rem; /* Slightly smaller title font */
    color: #777;
}

/* Carousel Responsive Adjustments - Considerably Smaller */
@media (max-width: 768px) {
    .testimonial .testimonial-carousel {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: space-around; /* Distribute space between items */
    }

    .testimonial .testimonial-carousel .testimonial-item {
        margin-bottom: 1rem; /* Reduced from 1.5rem */
        width: 40%; /* Reduced from 45% */
    }

    .testimonial .testimonial-item img {
        width: 70px; /* Reduced from 90px */
        height: 70px; /* Reduced from 90px */
    }

    .testimonial .testimonial-item p {
        font-size: 0.8rem; /* Reduced from 1rem */
    }

    .testimonial .testimonial-item .fa-quote-left {
        font-size: 1.8rem; /* Reduced from 2.2rem */
    }
}

/* Extra Small Mobile Adjustments - Even Smaller */
@media (max-width: 480px) {
    .testimonial .testimonial-carousel {
        display: block; /* Stack testimonials vertically */
        margin: 0 5px; /* Reduced from 10px */
    }

    .testimonial .testimonial-carousel .testimonial-item {
        margin-bottom: 0.75rem; /* Reduced from 1rem */
        width: 95%; /* Reduced from 100% to allow for a slight margin */
        padding: 0.75rem; /* Reduced from 1rem */
    }

    .testimonial .testimonial-item img {
        width: 75px; /* Reduced from 100px */
        height: 75px; /* Reduced from 100px */
    }

    .testimonial .testimonial-item p {
        font-size: 0.75rem; /* Reduced from 0.9rem */
    }

    .testimonial .testimonial-item .fa-quote-left {
        font-size: 1.9rem; /* Reduced from 2.4rem */
    }
}
/*** Testimonial Section End ***/



/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 10px; /* Reduced padding for mobile */
    right: 10px; /* Reduced padding for mobile */
}

/* FAQ Heading Styles */
.faq-heading {
    color: #005724; /* Dark Green */
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0px 0px 1px black;
}

/* Main FAQ Title */
.faq-main-title {
    color: #FFA500; /* Yellow */
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0px 0px 1px black;
}

/* Accordion Button Styles */
.faq-btn {
    color: #005724; /* Dark Green */
    border: 1px solid #000000; /* Thin black border */
    background-color: #e0f4e0; /* Light Green */
    box-shadow: 0 0 2px black;
    padding: 5px 10px;
    font-size: 0.8rem;
}

.faq-btn:hover {
    background-color: #d3f1d3; /* Lighter Green */
}

/* FAQ Subheading */
.faq-subheading {
    color: #FFA500; /* Yellow */
    font-weight: bold;
    text-shadow: 0px 0px 1px black;
    font-size: 1.1rem;
}

/* FAQ Text */
.faq-text {
    color: #005724; /* Dark Green */
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 0px 0px 1px black;
}

/* Accordion body background */
.accordion-body {
    background-color: #f4f4f4; /* Light Gray */
}

/* Mobile responsiveness - Considerably Smaller */
@media (max-width: 768px) {
    .faq {
        padding: 1rem 0.5rem; /* Significantly reduced from 2rem 1rem */
    }

    .faq .faq-img .faq-btn {
        bottom: 10px; /* Reduced from 15px */
        right: 10px; /* Reduced from 15px */
    }

    .faq-heading {
        font-size: 1.1rem; /* Reduced from 1.4rem */
    }

    .faq-main-title {
        font-size: 2rem; /* Reduced from 2.5rem */
    }

    .faq-btn {
        padding: 4px 8px; /* Reduced from 6px 12px */
        font-size: 0.8rem; /* Reduced from 1rem */
    }

    .faq-subheading {
        font-size: 0.9rem; /* Reduced from 1.2rem */
    }

    .faq-text {
        font-size: 0.8rem; /* Reduced from 1rem */
        line-height: 1.4; /* Slightly reduced */
    }
}

/* Extra Small Mobile (portrait mode) - Even More Considerably Smaller */
@media (max-width: 480px) {
    .faq {
        padding: 0.8rem 0.25rem; /* Significantly reduced from 2rem 0.5rem */
    }

    .faq .faq-img .faq-btn {
        bottom: 8px; /* Reduced from 20px */
        right: 8px; /* Reduced from 20px */
    }

    .faq-heading {
        font-size: 1rem; /* Reduced from 1.2rem */
    }

    .faq-main-title {
        font-size: 1.6rem; /* Reduced from 2rem */
    }

    .faq-btn {
        padding: 3px 6px; /* Reduced from 8px 16px */
        font-size: 0.7rem; /* Reduced from 1.1rem */
    }

    .faq-subheading {
        font-size: 0.8rem; /* Reduced from 1rem */
    }

    .faq-text {
        font-size: 0.75rem; /* Reduced from 1.1rem */
        line-height: 1.3; /* Reduced from 1.6 */
    }
}
/*** FAQ'S End ***/



/*** CONTACT'S Start ***/

/* Contact Heading Styles */
.contact h4 {
    color: #005724; /* Dark Green */
    font-size: 1.5rem;
    font-weight: bold;
}

/* Main Contact Title */
.contact h1 {
    color: #FFA500; /* Yellow */
    font-size: 2.5rem;
    font-weight: bold;
}

/* Contact Info Section (Address, Phone, Email) */
.contact-item h4 {
    color: #005724; /* Dark Green */
    font-weight: bold;
}

/* Contact Info Paragraphs */
.contact-item p {
    color: #005724; /* Dark Green */
    font-size: 1rem;
}

/* Contact Form Input Labels */
.contact form .form-floating label {
    color: #005724; /* Dark Green */
}

/* Contact Form Input Fields */
.contact form .form-control {
    border: 1px solid #005724; /* Dark Green Border */
}

/* Send Message Button */
.contact form button {
    background-color: #FFA500; /* Yellow */
    color: white;
    border: none;
}

.contact form button:hover {
    background-color: #e68a00; /* Darker Yellow */
}

/* Icon Styles - Make the icons smaller and green */
.contact-item .fa {
    font-size: 1.5rem; /* Slightly smaller icons */
    color: #005724; /* Dark Green */
}

/* Icon Circle Styles */
.contact-item .btn-lg-square {
    background-color: #e0f4e0; /* Light Green background for the icons */
}
.contact-item .btn-lg-square:hover {
    background-color: #d3f1d3; /* Lighter Green on hover */
}

/* Processing Message */
#processingMessage, #processingMessageFire {
    color: #005724; /* Dark Green */
    font-size: 1rem;
    margin-top: 10px;
    text-align: center;
}

/* Loading Animation for Submit Button */
button.loading {
    position: relative;
    opacity: 0.7;
    cursor: not-allowed;
}

button.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: #005724; /* Dark Green spinner */
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .contact h1 {
        font-size: 2rem; /* Smaller title on mobile */
    }
    .contact h4 {
        font-size: 1.2rem; /* Smaller heading on mobile */
    }
    .modal-content {
        width: 95%; /* Wider modal on small screens */
        padding: 15px;
    }
}

/*** CONTACT'S End ***/


/*** Footer Start ***/
.footer {
    background: white; /* Set footer background to white */
    padding: 40px 0; /* Add padding to the top and bottom of the footer */
}

.footer .container {
    display: flex;
    justify-content: space-between; /* Space out the left and right sections */
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.footer .footer-left,
.footer .footer-right {
    flex: 1 1 45%; /* Each section takes up 45% of the width, giving 10% space between */
    margin: 0 20px; /* Horizontal margin between sections */
    min-width: 250px; /* Set a minimum width to prevent shrinking too much */
}

.footer .footer-logo {
    flex: 1 1 10%; /* Logo section takes minimal space (10%) */
    display: flex;
    justify-content: center; /* Center the logo */
    align-items: center; /* Align items vertically */
    min-width: 150px; /* Minimum width for logo */
}

.footer .footer-logo-img {
    max-width: 60%; /* Ensure the logo scales properly */
    height: auto; /* Maintain aspect ratio */
}

/* Styling for Footer Links */
.footer .footer-item a {
    line-height: 35px;
    color: #005724; /* Green text color */
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    color: #005724; /* Green text color */
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: #FFA500; /* Orange color on hover */
}

.footer .footer-item h4 {
    color: #FFA500; /* Orange color for headings */
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: #FFA500 !important; /* Orange hover effect for posts */
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}

/* For smaller screens, stack the columns vertically */
@media (max-width: 992px) {
    .footer {
        padding: 20px 0; /* Reduced padding to fit content */
        min-height: auto; /* Allow height to adjust based on content */
    }

    .footer .container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center the items */
        padding: 0 15px; /* Prevent content from touching edges */
        min-height: 300px; /* Minimum height to ensure all content fits */
    }

    .footer .footer-left,
    .footer .footer-right,
    .footer .footer-logo {
        min-width: 100%; /* Full width for stacking */
        margin: 15px 0; /* Increased margin for spacing */
        padding: 0 10px; /* Internal padding */
        text-align: center; /* Center text for mobile */
    }

    .footer .footer-item a,
    .footer .footer-item p {
        font-size: 0.9rem; /* Slightly smaller font */
        line-height: 1.6; /* Improved line spacing */
    }

    .footer .footer-logo-img {
        max-width: 40%; /* Reduce logo size */
    }
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #ffffff !important; /* White background */
    padding: 10px 0; /* Padding */
    text-align: center; /* Center text */
    color: #005724; /* Green color */
    font-size: 0.875rem; /* Smaller font */
    width: 100%; /* Ensure full width */
    position: relative; /* Ensure it stays below footer */
}

@media (max-width: 992px) {
    .copyright {
        padding: 15px 0; /* Increased padding for visibility */
        margin-top: 10px; /* Space from footer */
        overflow: visible; /* Prevent clipping */
    }
}
/*** copyright end ***/


:root {
    --bs-primary: #005724; /* Green */
    --bs-warning: #FFA500; /* Orange */
    --bs-light: #f8f9fa; /* Light background */
    --bs-dark: #212529; /* Dark text */
    --bs-secondary: #6c757d; /* Secondary color for placeholders */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--bs-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--bs-dark);
}

a {
    text-decoration: none;
}

/* Reusing and extending existing styles */
.text-primary {
    color: var(--bs-primary) !important;
}

.text-warning {
    color: var(--bs-warning) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-light {
    background-color: var(--bs-light) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
}

.btn-primary:hover {
    background-color: var(--bs-warning) !important;
    color: var(--bs-dark) !important;
    border-color: var(--bs-warning) !important;
}

.btn-warning {
    background-color: var(--bs-warning) !important; /* #FFA500 */
    color: var(--bs-dark) !important;
    border-color: var(--bs-warning) !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn-warning:hover {
    background-color: var(--bs-primary) !important; /* #005724 */
    color: #fff !important;
    border-color: var(--bs-primary) !important;
}


/* About Section */
.about-img {
    position: relative;
}

.about-award {
    position: absolute;
    bottom: 10%;
    left: -10%;
    transform: rotate(-8deg);
    background-color: var(--bs-primary); /* Adjusted to primary as per desired style */
    border-radius: .25rem;
    padding: 1rem 1.5rem;
}

.about-award .fa-award {
    color: #fff;
}

.about-award h4 {
    color: #fff;
    margin-bottom: 0;
    margin-left: 1rem;
}

/* Service Item */
.service-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-left: 0.5rem; /* 🔸 Slight right offset */
}

.service-item .service-img {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.service-item .service-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.service-item .service-icon {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    margin-top: 1rem;
    color: var(--bs-dark);
    font-size: 1rem; /* 🔹 Smaller heading */
}

.service-item p {
    color: var(--bs-dark);
    flex-grow: 1;
    font-size: 0.85rem; /* 🔹 Smaller paragraph */
}

.service-item .image-placeholder {
    background-color: var(--bs-secondary);
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem; /* 🔹 Smaller text in placeholder */
}

.service-item .image-placeholder img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}
/* Service Section */

/* Carousel Styles */
.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
}

.carousel-track > div {
    flex: 0 0 auto;
    width: 16.6667%; /* Adjusted to fit 6 items */
    max-width: 300px;
    margin-right: 24px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .carousel-track > div {
        width: 25%;
        max-width: 200px;
    }
}

@media (max-width: 767px) {
    .carousel-track > div {
        width: 75%;
        max-width: 75%;
    }
}

/* Custom styles for Slick Carousel arrows and dots */
.slick-prev:before, .slick-next:before {
    color: #FFA500 !important;
    font-size: 30px !important;
}

.slick-dots li button:before {
    color: #FFA500 !important;
}
.slick-dots li.slick-active button:before {
    color: #FFA500 !important;
}

/* Ensure service items inside slick track have spacing */
.slick-slide > div {
    margin: 0 10px;
}

/* Padding on carousel container */
.service-carousel {
    padding: 0 40px;
}

/* ✅ FIXED: Ensure rows wrap properly */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    width: 100%;
    max-width: 1600px; /* Increased to ensure all 6 items fit */
    margin: 0 auto;
    justify-content: center; /* Center the items */
}

.service-row {
    width: 100%; /* Ensure the row takes full available width */
}

/* Adjust column spacing if needed */
.col-4 {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.6667%; /* Exactly 1/6th for 6 items */
        max-width: 16.6667%;
    }
    .service-item {
        min-height: 300px; /* Consistent height for all cards */
    }
}

@media (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .service-item .service-img img {
        height: 120px;
    }
}

@media (max-width: 575px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .service-item {
        padding: 0.75rem;
    }
    .service-item .service-img img {
        height: 100px;
    }
}

/* Case Study Item */
.case-study-item {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem;
    font-size: 0.9rem;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 0.925rem;
    line-height: 1.5;
}

.case-study-item h4 {
    color: var(--bs-dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.case-study-item p {
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.case-study-item p i {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.case-study-item .image-placeholder {
    background-color: var(--bs-secondary);
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: auto;
    font-size: 0.85rem;
}

/* Ensure images are responsive and maintain aspect ratio */
.case-study-item .image-placeholder img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

/* Ensure the row takes full width and items don't wrap unnecessarily */
.row.g-4 {
    display: flex;
    flex-wrap: nowrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Adjust column padding to match Bootstrap's gutter */
.col-4 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
    .row.g-4 {
        flex-wrap: wrap;
    }
    .col-4 {
        flex: 0 0 75%;
        max-width: 750%;
    }
}


/* Blog Item (Resources & Insights) */
.blog-item {
    opacity: 1; /* Fallback for non-animated state */
    transform: translateY(0) scale(1); /* Fallback */
    transition: transform 0.5s ease, opacity 0.5s ease;
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

.blog-item.wow.fadeIn {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.blog-item.wow.animated.fadeIn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.blog-item i {
    color: var(--bs-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.blog-item h5 {
    color: var(--bs-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.blog-item p {
    color: var(--bs-dark);
    flex-grow: 1;
    margin-bottom: 1rem;
}

.blog-item .btn {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effects */
.blog-item:hover {
    transform: translateY(-5px);
}

.blog-item:hover i {
    transform: scale(1.1);
}

.blog-item:hover h5 {
    color: var(--bs-primary);
}

.blog-item:hover .btn {
    transform: scale(1.05);
}

/* Header animation for Knowledge Hub */
.knowledge-hub .text-center {
    opacity: 1; /* Fallback */
    transform: translateY(0); /* Fallback */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.knowledge-hub .text-center.wow.fadeIn {
    opacity: 0;
    transform: translateY(30px);
}

.knowledge-hub .text-center.wow.animated.fadeIn {
    opacity: 1;
    transform: translateY(0);
}

/* Knowledge Hub Section */
.knowledge-hub {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 3rem 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fix: Remove weird flex conflict and center the button correctly */
.knowledge-hub-row .col-12 a.btn {
    min-width: 250px;
    font-size: 1rem;
}

/* Align blog grid spacing */
.knowledge-hub-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -12px; /* Adjusted from -15px */
    margin-right: -12px;
}

.knowledge-hub-row > .col-lg-4 {
    padding-left: 12px;
    padding-right: 12px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .knowledge-hub-row > div {
        flex: 0 0 50%; /* Changed from 25% to align with col-md-6 */
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .knowledge-hub-row > div {
        flex: 0 0 100%; /* Changed from 75% to stack vertically */
        max-width: 100%;
    }

    .knowledge-hub-row .col-12 a.btn {
        width: 100%;
        max-width: 200px; /* Adjusted from 225px */
    }
}


/*** Overlay and Modal styles ***/
/* Popup Modal styles */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Modal content styles */
.popup-content {
    border-radius: 1rem;
    font-family: 'Georgia', serif;
    color: #333;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    max-width: 750px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Header styles for the popup */
.popup-header {
    background-color: var(--bs-primary);
    color: #fff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.popup-logo {
    width: 120px;
    height: auto;
}

/* Close button styles */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    background: transparent;
    border: none;
    color: #FFA500;
    cursor: pointer;
}

/* Title styles for the popup */
.popup-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #FFA500;
    margin-top: 1rem;
}

/* Subheading in the popup */
.popup-subheading {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}

/* Styling for the image */
.popup-image {
    text-align: center;
    margin: 10px 0;
}

.popup-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Line 1809–1812 */
@media (max-width: 768px) {
    .popup-image img {
        max-width: 100%;
        max-height: 250px; /* Increased from 200px */
    }
}

/* Line 1829–1830 */
@media (max-width: 480px) {
    .popup-image img {
        max-width: 100%;
        max-height: 200px; /* Adjusted from 200px for balance */
    }
}

/* Bullet points in the popup */
.popup-bulletpoints {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Georgia', serif;
    color: #444;
}

.popup-bulletpoints li {
    color: #005724;
    margin-bottom: 6px;
}

.popup-bulletpoints li i {
    color: #007bff;
    margin-right: 6px;
}

/* Styling for bolded parts within bullet points */
.popup-bulletpoints li span.bold-text {
    font-weight: bold;
    color: #000;
}

/* Service item bulletpoint separation: | symbol handling */
.popup-bulletpoints li span.separator {
    display: block;
    margin-top: 8px;
    font-style: italic;
    color: #777;
}

/* Style for the "Read More" button on service items */
.read-more-btn {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #eff7ff;
}

/* Footer branding */
.popup-footer {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-family: 'Arial', sans-serif;
    color: #666;
    margin-top: 1rem;
}

.popup-footer .modal-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-footer .modal-branding img {
    height: 24px;
    width: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .popup-content {
        max-width: 55%;
        padding: 12px;
    }

    .popup-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .popup-title {
        font-size: 16px;
    }

    .popup-subheading {
        font-size: 26px;
    }

    .popup-image img {
        max-width: 55%;
        max-height: 200px;
    }

    .popup-bulletpoints {
        font-size: 14px;
    }

    .read-more-btn {
        padding: 6px 12px;
    }
}

/* Extra Small Mobile (portrait mode) */
@media (max-width: 480px) {
    .popup-content {
        max-width: 60%;
        padding: 10px;
    }

    .popup-title {
        font-size: 14px;
    }

    .popup-subheading {
        font-size: 22px;
    }

    .popup-bulletpoints {
        font-size: 12px;
    }

    .read-more-btn {
        font-size: 12px;
        padding: 4px 10px;
    }
}
/*** Overlay and Modal styles End ***/


/* Why Choose Us List */
ul.list-unstyled li {
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

ul.list-unstyled li i {
    color: var(--bs-primary);
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Blockquote */
blockquote {
    border-left: 5px solid var(--bs-primary);
    padding-left: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

blockquote p {
    color: var(--bs-dark);
    font-style: italic;
    margin-bottom: 0;
}

blockquote footer {
    color: var(--bs-secondary);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about .row,
    .why-choose-us .row {
        flex-direction: column-reverse; /* Stack image below text on smaller screens */
    }

    .about .col-lg-6,
    .why-choose-us .col-lg-6 {
        margin-top: 2rem;
    }

    .about-award {
        position: static; /* Remove absolute positioning on mobile */
        transform: none;
        margin-top: 2rem;
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    .display-6 {
        font-size: 1.8rem;
    }

    .service-item,
    .case-study-item,
    .blog-item {
        padding: 1rem;
    }

    .service-item .service-img img,
    .case-study-item .image-placeholder img,
    .col-12 .image-placeholder img {
        height: 150px; /* Adjust image height for smaller screens */
    }
}

/* Additional Styles for the new sections based on existing patterns */
.container-fluid.bg-breadcrumb {
    padding-top: 150px; /* Adjust for fixed navbar */
    padding-bottom: 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/carousel-1.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.container-fluid.bg-breadcrumb .bg-breadcrumb-single {
    content: "";
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-primary); /* Green */
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

.container-fluid.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid var(--bs-warning); /* Yellow border */
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

/* Animations for bg-breadcrumb shapes (reusing existing keyframes) */
@keyframes RotateMoveCircle {
    0% {top: -200px;}
    50%   {right: -200px;}
    75%   {top: -200px;}
    100%  {top: -400px;}
}

@keyframes RotateMoveLeft {
    0%   {left: -240px;}
    50%   {left: -300px;}
    100%  {left: -240px;}
}

/* Custom smaller size for all screen sizes by default */
.fa-award.fa-xs {
    font-size: 3em; /* Starts slightly smaller than regular fa-xs */
}

/* Mobile optimization: make it WAY smaller */
@media (max-width: 768px) { /* Adjust this breakpoint as needed for your project */
    .fa-award.fa-xs {
        font-size: 1em; /* Even smaller for mobile devices */
    }
}

/* Optional: Even smaller for extra-small mobile devices */
@media (max-width: 480px) {
    .fa-award.fa-xs {
        font-size: 1em; /* Extremely small for very narrow screens */
    }
}