/********** Template CSS **********/

:root {
    --primary: #5B8C51;
    --secondary: #EDDD5E;
    --light: #F7F7F7;
    --dark: #404A3D;
}

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

    /* display: none; /* Hide initially */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; */
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/

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

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


/*** Button ***/

.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 32px;
    height: 32px;
}

.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;
}


/*** Navbar ***/

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    /* padding: 25px 0; */
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    margin-bottom: 100px;
}

.display-2 {
    margin-top: 0px !important;
    margin-bottom: 18rem !important;
}

.display-3 {
    font-size: calc(0.525rem + 3.3vw);
    font-weight: 700;
    line-height: 1.2;
    z-index: 999!important;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .display-2 {
        font-size: 1.5rem !important;
        margin-bottom: 12rem !important
    }
    .fs-5 {
        font-size: 0.90rem !important
    }
    p {
        margin-top: 41px;
        margin-bottom: 1rem
    }
}

.carousel-item video {
    height: auto;
    max-height: 100%;
}

@media (max-width: 768px) {
    .carousel-item video {
        height: 450px;
        /* Set your desired height for mobile here */
        object-fit: cover;
        /* Ensures video scales properly */
    }
}


/*** page banner effect ***/

.page-gallery {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
}

.page-gallery::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.377);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Add transparency */
    z-index: 0;
}

.breadcrumb-item a {
    color: white;
    /* Make breadcrumb links white */
}

.breadcrumb-item.active {
    color: white;
    /* Make active breadcrumb text white */
}

.page-gallery .breadcrumb-item,
.page-gallery .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
    z-index: 999;
}

.page-about {
    background: url(../img/about_banner.JPG) center center no-repeat;
    background-size: cover;
    position: relative;
}

.page-about::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.377);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
}

.breadcrumb-item a {
    color: white;
    /* Make breadcrumb links white */
}

.breadcrumb-item.active {
    color: white;
    /* Make active breadcrumb text white */
}

.page-about .breadcrumb-item,
.page-about .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
    z-index: 999;
}

.page-video {
    /* position: relative; */
    width: 100%;
    height: 50vh;
    /* Full viewport height */
    overflow: hidden;
}

.page-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video covers the entire container */
    transform: translate(-50%, -50%);
    /* z-index: 0; */
    /* Push the video behind other content */
}

.page-video {
    background-size: cover;
    position: relative;
}

.page-video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.493);
    /* Add transparency */
    z-index: 1;
}

.video-overlay {
    position: absolute;
    /* background-color: rgba(31, 39, 43, 0.75); */
    top: 80px;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
}

.breadcrumb-item a {
    color: white;
    /* Make breadcrumb links white */
}

.breadcrumb-item.active {
    color: white;
    /* Make active breadcrumb text white */
}

.page-video .breadcrumb-item,
.page-video .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
    z-index: 999;
}
.page-header-career {
    background: url(../img/careers/career.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    }
.page-header {
    background: url(../img/banner-comon.JPG) center center no-repeat;
    background-size: cover;
    position: relative;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.377);
    /* Add transparency */
    /* z-index: 0; */
}

.page-header .container {
    position: relative;
    z-index: 2;
    /* Ensure text stays above the overlay */
}

.page-header {
    color: white;
    /* Ensure all text is white */
}

.page-header .breadcrumb-item a {
    color: white;
    /* Make breadcrumb links white */
}

.page-header .breadcrumb-item.active {
    color: white;
    /* Make active breadcrumb text white */
}

.page-header .breadcrumb-item::before {
    color: white;
    /* Make the breadcrumb separators (/) white */
}

.page-header h1,
.page-header nav {
    color: white;
    /* Ensure headings and navigation are white */
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #fffff;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: #fffff;
    z-index: 999;
}


/*** product ***/


/*** banner index start ***/

h1 {
    font-size: 5.25vmin;
    text-align: center;
    color: rgb(46, 44, 44);
}

.banner-text {
    font-size: 20px;
    line-height: 1.4;
    /* color: #0e390e; */
    margin-bottom: 1.5rem;
}

.wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 85vmin;
    height: 22em;
    border: 1px solid;
    border-radius: 10;
    border-image: rgb(77, 76, 76);
    margin: 2rem auto;
    transition: .3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.overlay {
    position: relative;
    display: flex;
    width: 140%;
    height: 100%;
    padding: 1rem 0.25rem;
    background: #5b8c51;
    transition: .4s ease-in-out;
    z-index: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 5vmin;
    height: 100%;
    padding: .5rem 0 0 0;
    /* Removed left padding */
    /* border: 5px solid; */
    /* border-image: linear-gradient( to bottom, #AEA724 5%, forestgreen 35% 65%, #AEA724 95%) 0 0 0 100%; */
    transition: .3s ease-in-out .2s;
    z-index: 1;
}

.banner {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.image-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vmin;
    height: 100%;
    background-size: cover;
    transition: .3s ease-in-out;
    border-radius: 10px;
}

.image-content {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.text {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vmin;
    height: 100%;
    padding: 3vmin 4vmin;
    background: #fff;
    box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / .4);
    overflow-y: scroll;
}

.wrap:hover .overlay {
    transform: translateX(-50vmin);
}

.wrap:hover .image-content {
    width: 60vmin;
}

.wrap:hover .overlay-content {
    border: none;
    transition-delay: .2s;
    transform: translateX(50vmin);
}


/* Animations and timing delays */

.animate {
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(.26, .53, .74, 1.48);
    animation-fill-mode: backwards;
}

@media (max-width: 768px) {
    .wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .image-content {
        height: 250px;
    }
    .banner-text {
        font-size: 15px;
    }
}


/* Pop In */

.pop {
    animation-name: pop;
}

@keyframes pop {
    0% {
        opacity: 0;
        transform: scale(0.5, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1, 1);
    }
}


/* Slide In */

.slide {
    animation-name: slide;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translate(4em, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}


/* Slide Left */

.slide-left {
    animation-name: slide-left;
}

@keyframes slide-left {
    0% {
        opacity: 0;
        transform: translate(-40px, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.slide-up {
    animation-name: slide-up;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(3em);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

.delay-5 {
    animation-delay: 1.5s;
}

.delay-6 {
    animation-delay: 1.8s;
}

.delay-7 {
    animation-delay: 2.1s;
}

.delay-8 {
    animation-delay: 2.4s;
}

.wrap {
    width: 90%;
}


/* Ensures .text is on the right side */

.text {
    flex: 1;
    width: 54%;
    padding: 20px;
    /* Adds spacing */
    background: #fff;
    /* Ensures contrast */
    box-shadow: inset 1px 1px 15px 0 rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.wrap {
    flex: 1 1 calc(50% - 10px);
    /* Two cards side by side on larger screens */
    max-width: 48%;
    /* Ensures proper spacing */
}


/* For mobile screens: Stack cards one below the other */

@media (max-width: 768px) {
    .wrap {
        flex: 1 1 100%;
        /* Each card takes full width */
        max-width: 100%;
    }
    .text {
        padding-left: 15px;
        /* Adds more left padding for text */
    }
    .wrap:hover .overlay {
        font-size: 11px;
    }
}


/*** banner index End ***/


/* Define the dark green color */

.text-darkgreen {
    color: #006400;
    /* Dark Green color */
}


/* Optional: Adjust spacing between the heading and button */

h2 {
    margin-top: 20px;
    /* Adjust this value to get the perfect alignment */
}

.product-items {
    /* background: url(../img/banner.jpeg) no-repeat center center; */
    /* Replace with your image path */
    background-size: cover;
    position: relative;
}

.product-items::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.363);
    /* Add transparency */
    z-index: 999;
}

.product-items .container {
    position: relative;
    z-index: 2;
    /* Ensure text stays above the overlay */
}

.product-items {
    color: white;
    /* Ensure all text is white */
}

.product-items .breadcrumb-item a {
    color: white;
    /* Make breadcrumb links white */
}

.product-items .breadcrumb-item.active {
    color: white;
    /* Make active breadcrumb text white */
}

.product-items .breadcrumb-item::before {
    color: white;
    /* Make the breadcrumb separators (/) white */
}

.product-items h1,
.product-items nav {
    color: white;
    /* Ensure headings and navigation are white */
}

.img-overlay {
    position: absolute;
    /* background-color: rgba(31, 39, 43, 0.75); */
    top: 160px;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
}

.breadcrumb-item a {
    color: white;
    /* Make breadcrumb links white */
}

.breadcrumb-item.active {
    color: white;
    /* Make active breadcrumb text white */
}

.product-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scrollbar-width: none;
    flex-wrap: wrap;
    justify-content: stretch;

    /* Hide scrollbar */
}


/* .product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
} */

.product-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome */
}

.product {
    width: 90%;
    flex: 0 0 auto;
    /* max-width: 212px; */
    /* Increased width */
    text-align: center;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
    /* Slightly larger for better display */
    text-align: center;
}

.product img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
}

.product h3 {
    margin: 10px 0 0;
}

@media (min-width: 768px) {
    .product {
        width: 48%;
        /* Full width on mobile */
        max-width: 400px !important;
        /* Limit width for larger screens */
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .product {
        width: 23%;
       max-width: 225px !important;
        text-align: center;
    }
}


/*** product ***/


/*** Section Title ***/

.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/

.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-upcoming {
    position: relative;
    width: 80%;
    height: 80%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*** Service ***/

.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: #FFFFFF; */
    /* background: #ef7f1b; */
    background:#9abfc6;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}


/*** Product ***/

.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}

.product-item .product-text .product-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.product-item .product-text .btn {
    color: var(--secondary);
    background: #e1f781 !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.product-item .product-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}


/*** Gallery ***/

.gallery-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    transition: opacity 0.3s ease;
}

.gallery-card:hover img {
    opacity: 0.9;
}

.rounded {
    border-radius: 10px;
}

.shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mt-4 {
    margin-top: 1rem;
}

.container-xxl {
    max-width: 1340;
}


/*** Gallery end ***/


/***video Gallery ***/

.gallery-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    transition: opacity 0.3s ease;
}

.gallery-card:hover img {
    opacity: 0.9;
}

.rounded {
    border-radius: 10px;
}

.shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mt-4 {
    margin-top: 1rem;
}

.container-xxl {
    max-width: 1340;
}


/*** video Gallery end ***/


/*** Team ***/

.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}


/*** Testimonial ***/

.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
}

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


/*** Footer ***/

.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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 {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

box-shadow: none;

}

}