:root {
    --pageBackgroundColor: #F1FFD9;
    --whiteColor: #FFFFFF;
    --DarkgreenColor: #052A0B;
    --greenColor: #0B843A;
    --lightgreenColor: #20af35;
    --textColor: #052A0B;
}

/* page transition */
.fade-up.no-animation,
.slide-in-right.no-animation {
    transition: none !important;
    opacity: 1;
    transform: none;
}

/* fade in bottom to up */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* fade in right to left */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


* {
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
}


body {
    background-color: var(--pageBackgroundColor);
    max-width: 100vw;

}

/* nav bar */


.navbar {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px 30px;
    border-radius: 40px;
    width: 60%;

    margin: auto;
    position: sticky;
    top: 0;
    z-index: 100;

}

.navlogo img {
    scale: 200%;
    margin: 10px;
}

.logo img {
    width: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--greenColor);
}

.contact-btn {
    background: linear-gradient(to right, var(--greenColor), var(--lightgreenColor));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(to right, var(--greenColor), var(--lightgreenColor));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background: black;
    transition: 0.3s ease;
}

@media (max-width: 1240px) {
    .navbar {
        width: 60%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }


}

@media (max-width: 700px) {
    .navbar {
        width: 80%;

    }
}

/* nav bar  */


/* home page */
.homePage {
    /* border: 2px solid black; */

    /* height: 80vh;
    width: 100%;

    background-image: url('/public/bgImage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */


    height: 80vh;
    width: 100%;
    background-image: url('/public/homePagenew1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;


}

@media (max-width: 2000px) {
    .homePage {
        height: 77vh;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 1200px) {
    .homePage {
        height: 60vh;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 1000px) {
    .homePage {
        height: 80vh;
        width: 100%;
        background-image: url('/public/newHomepageMobile1.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .logo img {
        width: 60px;
    }

    .hamburger div {
        width: 20px;
        height: 2px;
        background: black;
        transition: 0.3s ease;
    }
}

/* about us page */
.aboutUs {
    height: auto;
    width: 100%;
    background-image: url('/public/aboutPageBg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 1366px) {
    .aboutUs {
        height: auto;
    }

    .leftSide {
        height: auto;

    }

    .rightSide {
        height: auto;
    }
}

.aboutInnerbox {
    /* border: 2px solid black; */
    height: auto;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.leftSide {
    /* border: 2px solid black; */
    width: 53%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 40px;
    margin-top: 0px;
    margin-left: 100px;
    gap: 50px;
    font-size: larger;
}

.leftSide p {
    line-height: 30px;
}

.description {
    color: #052A0B;
}

.emphasis {
    color: #0B843A;
    font-weight: 700;
}

.highlight {
    transition: transform 0.3s ease;

}

.highlight :hover {
    cursor: pointer;
    transform: scale(1.05);

}

.rightSide {
    /* border: 2px solid black; */
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

@media (max-width: 1366px) {
    .rightSide {
        height: auto;
    }
}

.posterBox {
    /* border: 2px solid black; */
    width: 70%;
    height: 70%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.posterBox:hover {
    transform: scale(1.05);
}

.posterBox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Responsive styles */
@media (max-width: 900px) {
    .aboutInnerbox {
        flex-direction: column;
        height: auto;
    }

    .leftSide,
    .rightSide {
        width: 90%;
        margin: 20px;
        height: auto;
    }

    .leftSide {
        margin-left: 20px;
        margin-right: 20px;
    }

    .posterBox {
        width: 90%;
        height: auto;
    }

    .posterBox img {
        height: auto;
        max-height: 400px;
    }
}

/* certifications */
.certification-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    /* background-color: #f5ffdb; */
    /* Light green background */
}

.line {
    flex: 1;
    height: 2px;
    background-color: #619b6b;
    /* Green line color */
    margin: 0 10px;
}

.certification-text {
    font-size: 18px;
    font-weight: bold;
    /* color: #2d5238; */
    color: white;
    /* Dark green text */
    text-align: center;
    white-space: nowrap;
    /* Prevent text from breaking */
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .certification-container {
        flex-direction: row;
    }

    .line {
        width: 30%;
    }

    .certification-text {
        font-size: 16px;
    }
}

/* Shared wrapper */
.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0; /* Reduced top and bottom padding */
  background-image: url("/public/ourClients2xbg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* Optional: uncomment for fixed background */
  /* background-attachment: fixed; */
}

/* Scroll container */
.scroll-container {
  overflow: hidden;
  width: 100%;
}

/* Scroll content for left and right scroll */
.scroll-content {
  display: flex;
  width: fit-content;
}

.scroll-left {
  animation: scroll-left 30s linear infinite;
}

.scroll-right {
  animation: scroll-right 30s linear infinite;
}

/* Keyframes */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Logo styling with minimal spacing */
.logoabout {
  flex: 0 0 auto;
  margin: 10px; /* Reduced margin to remove excess top-bottom space */
  width: 250px;
  height: 140px;
  overflow: hidden;
  background-color: white; /* Optional: makes logos clearer */
  border-radius: 8px;
  padding: 10px;
}

.logoabout img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Responsive sizing */
@media (max-width: 1366px) {
  .logoabout {
    width: 120px;
    height: 120px;
    margin: 8px;
  }
}

@media (max-width: 768px) {
  .logoabout {
    width: 80px;
    height: 80px;
    margin: 6px;
  }
}


/* why chose us */

.whyUsbg {
    background-image: url('/public/whyChoseusBgimg.png');
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1366px) {
    .whyUsbg {
        height: auto;
    }
}

.topTexts {
    /* border: 2px solid black; */
    width: 70%;

    margin-top: 20px;
}

.topTexts p {
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: x-large;

    margin: 10px 0px;
}

/* .scrollCardsWhyus{
    border: 2px solid black;
    width: 98%;
    height: 390px;
    margin: 40px 0px;
   
}



.hover:hover{
    cursor: pointer;
}
.buttonswhyUS{
    border:  2px solid black;
    width: 20%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* .swiper-button-prev, .swiper-button-next {
    display: none !important;
} */

/* Ensure custom buttons are visible */
.leftBtnWhyUS,
.rightBtnWhyUS {
    display: flex !important;
    /* Force visibility */
    align-items: center;
    justify-content: center;
    width: 50px;
    /* Adjust size */
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    /* Temporary background for visibility */
    color: white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    /* Make sure they are above other elements */
    position: absolute;
}

/* Position the left and right buttons correctly */
.leftBtnWhyUS {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.rightBtnWhyUS {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.scrollCardsWhyus {
    /* border: 2px solid black; */
    width: 98%;
    height: 390px;
    margin: 40px 0px;
    overflow: hidden;
}

.scrollCardsWhyus .swiper-slide {
    width: 80%;
    /* Adjust size so other slides are slightly visible */
    max-width: 800px;
    /* Prevent slides from getting too big */
    transition: transform 0.3s ease-in-out;
}

.hover:hover {
    cursor: pointer;
}

.buttonswhyUS {
    /* border: 2px solid black; */
    width: 30%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: relative;
}

.pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: flex;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
}

.custom-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgray;
    border-radius: 50%;
    cursor: pointer;
}

.custom-btn img {
    width: 100%;
    height: auto;
}

/* Default styles for PC remain unchanged */

/* Optimize for mobile */
@media screen and (max-width: 768px) {

    /* Hide navigation buttons */
    .leftBtnWhyUS,
    .rightBtnWhyUS {
        display: none !important;
    }

    /* Reduce section height */
    .whyUsbg {
        height: auto;
        /* Make it dynamic */
        padding: 20px 0;
        /* Reduce padding for better fit */
    }
      .topTexts {
        margin-top: 10px; /* Reduce from 20px */
        margin: 0;
    }
    /* Reduce text size */
    .topTexts p {
        font-size: 14px;
        /* Smaller text */
        padding: 0;
        margin: 5px 0;
        /* Reduce padding */
    }

    /* Make cards larger */
    .scrollCardsWhyus {
        height: 300px;
        /* Reduce height */
        margin: 0;
    }

    .scrollCardsWhyus .swiper-slide {
        width: 90%;
        /* Increase width for better visibility */
        max-width: 100%;
    }

    /* Keep pagination visible */
  .swiper-pagination {
        position: relative;
        bottom: 0;
        margin-top: 10px;
        justify-content: center;
    }

    /* Only hide navigation buttons, NOT pagination */
    .buttonswhyUS {
        height: auto; /* Remove fixed height */
        width: 100%;
        padding: 0;
        margin-top: 10px;
    }
}


/* Problem solution section */

.ProblemSolutions {
    background-image: url("/public/problems and solutions bg.svg");
    background-repeat: no-repeat;
    /* Prevent repeating */
    background-size: cover;
    /* Scale image to cover the div */
    background-position: center;
    /* Center the background */
    width: 100%;
    height: 250vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    align-items: center;


    gap: 10px;
}

@media (max-width: 1366px) {
    .ProblemSolutions {
        height: auto;
    }
}

.heartShape {
    /* border: 2px solid; */
    width: 160px;
    height: 147px;

    margin-top: 100px;
    overflow: hidden;
}

.heartShape img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;

}

@media (max-width: 768px) {
    .heartShape {
        margin-top: 50px;
        width: 60px;
        height: 47px;
    }
}

.headerText {
    /* border: 2px solid; */
    width: 35vw;
    height: auto;
    overflow: hidden;
}

.headerText img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.cardsProblemSolution {
    /* border: 2px solid black; */
    width: 75%;
    height: auto;
    overflow: auto;
    scrollbar-width: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px;
}

.cardsMainP {
    /* border: 2px solid black; */
    width: 95%;
    height: 352px;
    display: flex;
    justify-content: center;


}

.problem {
    /* border:  2px solid black; */
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.problem:hover {
    transform: scale(1.05);

}

.solution:hover {
    transform: scale(1.05);
}

.problem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.solution {
    /* border: 2px solid black; */
    width: 50%;
    height: 100%;
    overflow: hidden;

    background-image: url("/public/solutionBg2x.png");
    background-repeat: no-repeat;
    transition: transform 0.3s ease;

    /* background-size: cover; */

    background-position: center;

}

.solution img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .cardsMainP {
        height: 152px;

    }

    .ProblemSolutions {
        height: 90vh;
    }
    .cardsProblemSolution{
        width:91% ;
    }
}



/* our clients section */

.ourClients {
    width: 100%;
    background-image: url("/public/ourClients2xbg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 0;
}

.cliatsHeader {
    color: white;
    font-size: xx-large;
    font-family: system-ui, sans-serif;
    margin-bottom: 20px;
}

.cliantScrollContainer {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scrollingTrack {
    display: flex;
    width: fit-content;
    animation: scrollLeft 25s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cliantCardBox {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.clientsCards {
    flex: 0 0 auto;
    width: 229px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clientsCards img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .cliatsHeader {
        font-size: large;
    }

    .cliantScrollContainer{
        min-height: 100px;
    }

    .clientsCards {
        width: 150px;
        height: 90px;
    }
}

/* products */
.productsMainbox {
    width: 100%;
    height: 80vh;
    /* border: 2px solid black; */
    margin: 10px 0px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.toptexts {

    width: 250px;
    height: auto;
    /* border: 2px solid black; */
    margin: 20px;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 900px) {
    .toptexts {
        scale: 50%;
    }

    .productsMainbox {
        height: auto;
    }
}

.toptexts img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.texts {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 10px;
    text-align: center;
    font-size: larger;
}

.productsBox {
    /* border: 2px solid black; */
    width: 95%;
    height: auto;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.productsCard {
    width: 450px;
    height: 348px;
    /* border: 2px solid black; */
    overflow: hidden;
}

@media (max-width: 900px) {
    .productsCard {
        height: auto;
    }

    .texts {
        font-size: small;
        margin: 10px 40px;
    }

    .productsBox {
        margin: 20px 40px;
    }

    .viewAllProductBTN {
        width: 150px;
    }
}

.productsCard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.viewAllProductBTN {
    margin: 20px;
}

.viewAllProductBTN img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.viewAllProductBTN:hover {
    cursor: pointer;
}
@media (max-width: 768px) {
    .productsBox {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* spacing between stacked items */
    }

    .productsCard {
        width: 90%; /* Make it full width with margin */
        max-width: 300px;
        height: auto;
    }

    .productsCard img {
        width: 100%;
        height: auto;
    }

    .toptexts {
        scale: .6; /* Reset any previous scaling */
        width: 80%;
    }

    .texts {
        font-size: 1rem;
        padding: 0 20px;
    }

    .viewAllProductBTN {
        width: 80%;
        max-width: 200px;
    }

    .viewAllProductBTN img {
        width: 100%;
        height: auto;
    }
    .productsBox {
    flex-wrap: wrap;
}
}


/* footer */
.footerbgBox {
    width: 100%;
    height: 80vh;

    display: flex;
    align-items: center;
    justify-content: center;


    background-image: url("/public/footerBg.svg");
    background-repeat: no-repeat;

    background-size: cover;

    background-position: center;
    overflow: hidden;
}

.contents {
    /* border: 2px solid black; */
    width: 99%;
    height: 95%;

    display: flex;
    align-items: end;
    justify-content: center;

}

.footerLogo {
    overflow: hidden;
    height: auto;
    margin-bottom: 40px;
}

.footerLogo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.footeraddress {
    overflow: hidden;
    height: auto;
}

.footercontacts {
    overflow: hidden;
    height: auto;
}

.containImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 900px) {
    .footerLogo {
        margin-bottom: 5px;
    }

    .footerbgBox {
        height: 30vh;
    }
}

.footer {
    background-color: #0b7333;
    /* green color */
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 600px) {
    .footer {
        font-size: 12px;
        padding: 8px 10px;
    }
}




/* numbers section animation */
/* .impact-section {
    background-color: var(--pageBackgroundColor);
    text-align: center;
    padding: 40px 20px;
    height: 50vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    font-family: Arial, Helvetica, sans-serif;
} */
/* Overall Impact Section */
.impact-section {
    background-color: var(--pageBackgroundColor);
    text-align: center;
    padding: 60px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Section Heading */
.impact-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Year Styling */
.impact-section .year {
    color: #2a1d1d;
}

/* Card Container */
.impact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Individual Card */
.impact-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}


.impact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2a1d1d;
}

.impact-card .count {
    font-size: 2rem;
    font-weight: bold;
    color: #4caf50;
    margin: 5px 0;
}

.impact-card p:last-child {
    color: #333;
    margin-top: 5px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .impact-section h2 {
        font-size: 1.8rem;
    }

    .impact-card {
        padding: 30px 20px;
        max-width: 100%;
    }

    .impact-card .count {
        font-size: 1.6rem;
    }

    .impact-card h3 {
        font-size: 1.2rem;
    }
}
