.section1 {
  background-image: url(./images/about-sec1-bg.png);
  background-size: cover;
  height: 70vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.about-us {
  font-family: var(--font-family);
  color: var(--secondary-color);
  font-weight: 900;
  font-size: 40px;
}

.section-head-con {
  background: linear-gradient(135deg,
      rgba(14, 13, 35, 0.96),
      rgba(0, 104, 56, 0.7));
  width: 60%;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -100%;
  /* Start hidden to the left */
  animation: slideIn 1.5s forwards ease-out;
  /* Trigger the animation */
}

/* Animation for sliding the container in */
@keyframes slideIn {
  0% {
    left: -100%;
    /* Hidden */
  }

  100% {
    left: 0;
    /* Fully visible */
  }
}

/* Mobile View Styles */
@media only screen and (max-width: 767px) {
  .section1 {
    height: 30vh;
    margin-top: -10%;
  }

  .about-us {
    font-size: 36px;
    /* Scale down font size for better readability on small screens */
  }

  .section-head-con {
    width: 60%;
    /* Increase width to fit mobile screen better */
    height: 30vh;
    /* Adjust height to fit the section */
    left: 0;
    /* Ensure the container is fully visible */
    background: linear-gradient(135deg,
        rgba(14, 13, 35, 0.9),
        /* Slightly more transparent for better readability */
        rgba(0, 104, 56, 0.6));
  }

  .section-head-con h1 {
    font-size: 24px;
    /* Scale down heading size */
  }
}


.service-heading1 {
  font-size: 40px;
  font-weight: 900;
  font-family: var(--font-family);
  text-transform: uppercase;
  color: var(--primary-color);
  text-align: center;
  margin-top: 1%;
  margin-bottom: 1%;
}

/* service about particular section */
.service-section-aling {
  display: flex;
  align-items: center;
}

.service-heading {
  font-size: 30px;
  font-weight: 600;
  font-family: var(--font-family);
  text-transform: uppercase;
  color: var(--primary-color);
  text-align: left;
  margin-bottom: 10px;
}

.cfo-para {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  text-align: justify;
  color: var(--secondary-color);
}

.list-item2 {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 500;
  width: 85%;
  padding-bottom: 20px;
  padding-left: 30px;
  /* Increase padding to make room for the larger image */
  background-image: url(../assets/images/checkmark.png);
  background-size: 20px 20px;
  /* Image size set to 30px by 30px */
  background-repeat: no-repeat;
  background-position: 0 10%;
  /* Align the image to the left and center vertically */
  line-height: 30px;
  /* Match the line-height to the image size to vertically align */
  list-style-type: none;
  /* Remove default list style */
  margin-left: 5px;
}

.service-con-align {
  display: flex;
  align-items: center;
  width: 80%;
  margin: auto;
  padding: 2%;
  border: 2px solid #ffffff;
  margin-bottom: 20px;
  border-radius: 15px;
  transition: border-radius 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-con-align:hover {
  border-radius: 25px;
  /* Increased border-radius on hover */
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.8);
  /* Subtle glowing effect */
  transform: scale(1.02);
  /* Slight scale-up for emphasis */
}

.service-img {
  width: 50%;
  height: 300px;
  border-radius: 10px;
}

.list-img-align {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2%;
}


/* Responsive Styling for Mobile View */
@media (max-width: 768px) {
  /* Adjust the main section heading */
  .service-heading1 {
    font-size: 24px;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  /* Service section container alignment */
  .service-con-align {
    flex-direction: column;
    width: 90%; /* Full width with small margin for padding */
    /* padding: 5%; */
    border-radius: 10px; /* Smaller border radius for mobile */
  }

  .service-heading {
    font-size: 22px;
    text-align: center; /* Center align headings for better readability */
    margin-bottom: 15px;
  }

  .cfo-para {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    color: var(--secondary-color);
    margin-bottom: 20px;
  }

  .list-img-align {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 3%; /* Adjust spacing between list and image */
  }

  .list-item2 {
    font-size: 14px; 
    /* width: 100%; */
    padding-left: 25px;
    line-height: 24px;
    background-size: 16px 16px;
  }

  .service-img {
    width: 100%; /* Full width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
  }
}


@media screen and (min-width:1600px) {
  .service-img {
    width: 50%;
    height:400px;
  }

  .list-img-align {
    justify-content: space-between;
  }
}

/* section4 */
.unique-cards-align {
  display: flex;
  height: 50vh;
  align-items: center;
  justify-content: center;
  background-image: url(./images/Vector\ 1.png);
  background-size: cover;
  padding: 1%;
  background-color: rgba(48, 21, 3, 0.2);
}

.unique-card1 {
  width: 200px;
  height: 250px;
  background-color: var(--primary-color);
  border-radius: 15px;
  margin: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-card2 {
  width: 200px;
  height: 250px;
  background-color: var(--primary-color);
  border-radius: 15px;
  margin: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-card3 {
  width: 200px;
  height: 250px;
  background-color: var(--primary-color);
  border-radius: 15px;
  margin: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-card4 {
  width: 200px;
  height: 250px;
  background-color: var(--primary-color);
  border-radius: 15px;
  margin: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-card5 {
  width: 200px;
  height: 250px;
  background-color: var(--primary-color);
  border-radius: 15px;
  margin: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-card1:hover,
.unique-card2:hover,
.unique-card3:hover,
.unique-card4:hover,
.unique-card5:hover {
  transform: scale(1.05);
  /* Slightly increase the size */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* Add a subtle shadow effect */
}

.unique-card-head {
  font-family: var(--font-family);
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: 600;
  text-align: center;
  width: 50%;
}


/* larger screens */
@media screen and (min-width:1650px) {

  .unique-card1,
  .unique-card2,
  .unique-card3,
  .unique-card4,
  .unique-card5 {
    width: 280px;
    height: 320px;
  }

  .offered-service {
    font-size: 20px;
  }

  .cfo-para {
    font-size: 20px;
  }
}

/* Mobile View */
@media only screen and (max-width: 768px) {
  .cfo-para {
    font-size: 18px;
    /* Adjust font size for mobile */
  }

  .offered-service {
    font-size: 14px;
    /* Reduce font size for mobile */
    width: 90%;
    /* Make buttons wider on mobile */
    padding: 12px;
    /* Adjust padding for mobile */
    margin: 5px 0;
    /* Adjust margin for better spacing */
  }

  .offered-services-align {
    flex-direction: column;
    /* Stack the two columns vertically */
    align-items: center;
    /* Center align items */
    padding: 2%;
    /* Adjust padding for mobile */
  }

  .list-data-align {
    width: 100%;
    /* Full width for mobile */
  }

  .offered-list-services {
    width: 90%;
    /* Make list containers wider on mobile */
    height: auto;
    /* Adjust height to auto for mobile */
    padding: 15px;
    /* Adjust padding for mobile */
    margin-top: 10px;
    /* Add spacing between list containers */
  }

  .list-item3 {
    font-size: 14px;
    /* Reduce font size for mobile */
    margin-left: 20px;
    /* Adjust margin-left for better alignment */
    width: 100%;
    /* Full width for better fit */
  }
}

/* section5 */
.section5 {
  padding: 1%;
  height: auto;
}

.carousel2 {
  padding-top: 2% !important;
}

.out-source-head-50 {
  font-family: var(--font-family);
  font-size: 40px;
  margin: auto;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  padding-bottom: 20px;
  padding-top: 10px;
}

/* Mobile view adjustments */
@media (max-width: 767px) {
  .section4 {
    padding: 2% 4%;
  }

  .out-source-head {
    font-size: 24px;
  }

  .out-source-head-50 {
    font-size: 24px;
  }

  .cfo-para {
    font-size: 14px;
  }

  .unique-cards-align {
    flex-direction: column;
    align-items: center;
  }

  .unique-card1,
  .unique-card2,
  .unique-card3,
  .unique-card4,
  .unique-card5 {
    width: 100%;
    max-width: 100%;
    /* margin-bottom: 15px; */
    margin: 2%;
  }

  .unique-card-head {
    font-size: 14px;
  }
}

/* section6 */
.logo-card {
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  margin: 20px;
  background-color: white;
}

.logo-card .logo {
  width: 250px;
  height: 150px;
}

@media screen and (min-width:1650px) {
  .cfo-para2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    font-size: 14px;
  }

  .logo-card {
    height: 50px;
    border-radius: 5px;
  }
}

/* Partner Section */
.our-partners {
  text-align: center;
  font-size: 40px;
  font-family: var(--font-family);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary-color);
}

@media screen and (min-width:760px) and (max-width:1020px) {
  .our-partners {
    font-size: 25px;
  }
}

.bg-scroll {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  background-color: var(--primary-color);
  padding-top: 2.5%;
  padding-bottom: 2.5%;
}

.frame {
  display: flex;
  align-items: center;
  background-color: white;
  width: calc(150px * 20 + 30px * 19);
  /* Width adjusted to fit all logos */
  animation: scroll 26s linear infinite;
  gap: 30px;
  /* Adjusted for better spacing */
  padding-top: 2%;
  padding-bottom: 2%;
}


.frame .logo {
  width: 50%;
  height: 100px;
  /* Adjusted size to fit five logos in view */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.bg-scroll:hover .frame {
  animation-play-state: paused;
}



/* smaller laptops for partners section */
@media screen and (min-width: 1120px) and (max-width: 1280px) {
  .our-partners {
    font-size: 36px;
    /* Adjust font size for medium screens */
    margin-bottom: 15px;
    /* Adjust bottom margin for better spacing */
  }

  .bg-scroll {
    padding-top: 2.5%;
    padding-bottom: 2.5%;
  }

  .frame {
    width: calc(150px * 15 + 30px * 14);
    /* Adjust width to fit fewer logos */
    gap: 20px;
    /* Reduce gap for medium screens */
  }

  .frame .logo {
    height: 80px;
    /* Adjust logo size for medium screens */
  }
}

/* mobile view */

@media screen and (max-width: 767px) {
  .our-partners {
    font-size: 19px;
    /* Reduce font size for mobile screens */
    margin-bottom: 10px;
    margin-top: 5px;
    /* Adjust bottom margin for better spacing */
  }

  .bg-scroll {
    padding-top: 3%;
    padding-bottom: 3%;
    margin-top: 4%;
  }

  .frame {
    width: auto;
    /* Allow the frame to be flexible in width */
    gap: 10px;
    /* Reduce gap for mobile screens */
    width: calc(150px * 20 + 30px * 19);
    animation: scroll 23s linear infinite;
    /* Speed up animation for mobile */
  }

  .frame .logo {
    height: 80px;
    /* Reduce logo size for mobile screens */
  }
}