* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}
:root {
  --color: rgb(255 224 232);
  --white: #fff;
}

/* Prevent any horizontal scrolling */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Hide horizontal scrollbar everywhere */
::-webkit-scrollbar {
  height: 0px;
  background: transparent;
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  padding: 10px 2%;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
nav img {
  width: 120px;
  height: auto;
}
.nav-links {
  text-align: right;
  color: black;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: black;
  text-decoration: none;
  font-size: 18px;
}
.nav-links ul li:hover::after {
  content: '';
  width: 100%;
  height: 2px;
  background: black;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.header {
  min-height: 90vh;
  width: 100%;
  background-image: url('image/front2.0.webp');
  background-position: center;
  background-size: cover;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
.text-box {
  width: 94%;
  color: var(--white);
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
}
.text-box a {
  text-decoration: none;
}
.text-box h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}
.text-box > h2 {
  font-size: 28px;
}
.hero-btn {
  display: inline-block;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 18px 42px;
  font-size: 17px;
  background: transparent;
  position: relative;
  cursor: pointer;
  margin-top: 70px;
}
.hero-btn:hover {
  border: 1px solid var(--color);
  background: #a7a5a6;
  transition: 1s;
  color: black;
}
.nav .fa {
  display: none;
}
@media (max-width: 700px) {
  .nav .fa {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: black;
  }
  .nav-links {
    position: fixed;
    background: white;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  .nav-links ul {
    padding: 30px;
  }
  .nav-links ul li {
    display: block;
  }
}
.section {
  display: flex;
  min-height: 70vh;
  padding: 40px 60px;
  gap: 40px;
}
.section:nth-child(odd) {
  background-color: #fbf4f4;
}
.section:nth-child(even) {
  background-color: #f0f0f0;
}
.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-content h2 {
  font-size: 2.3em;
  margin-bottom: 20px;
  font-weight: 400;
  color: #222;
}
.text-content p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}
.image-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-content img {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
  }
  .text-content h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
  }
  .text-content p {
    font-size: 0.95em;
    line-height: 1.5;
  }
  .image-content img {
    max-width: 80%;
    border-radius: 8px;
  }
}
.locations{
  width: 100%;
  background:linear-gradient(#f4f2f2 , #f0d7d7);
  margin: auto;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 20px;
}
.locations>h2{
  font-size: 2.5rem;
  font-weight: 400;
}
.locations>p{
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}
.locations>.row{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.locations-col{
  flex-basis: 32%;
  border-radius: 10px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}
.locations-col img{
  width: 100%;
}
@media (max-width: 768px) {
  .locations>h2{
  font-size: 32px;
  font-weight: 400;
}}
.layer{
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}
.layer:hover{
  background: #f0d7d7;
}
.layer h3{
  width:100%;
  font-weight: 500;
  color: #fff;
  font-size: 20px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50px);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layer:hover h3{
  bottom: 49%;
  opacity: 1;
}
.services-section {
  padding: 80px 10%;
  background: #fff;
}
.services-header {
  text-align: center;
  margin-bottom: 50px;
}
.services-header h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 10px;
}
.services-header p {
  font-size: 16px;
  color: #777;
}
.service-cards-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.service-card {
  position: relative;
  flex: 1;
  min-width: 280px;
  height: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
  border-radius: 0;
  background: #fdf9fc;
}
.service-card-bg {
  background-size: cover;
  background-position: center;
  color: #fff;
}
.service-card-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.service-card-bg .service-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.service-card-normal {
  background: #f0d7d7;
}
.service-card-normal .icon-circle {
  background-color: #fff !important;
  color: black !important;
}
.icon-circle {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: black;
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}
.service-card ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
}
.service-card ul li {
  margin-bottom: 8px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .services-header h2 {
  font-size: 32px;
  color: #111;
  margin-bottom: 10px;
}}
.jobs {
  width: 100%;
  padding: 70px 20px;
  text-align: center;
  position: relative;
  background-color: #f5f5f5;
}
.jobs > h2 {
  font-size: 2.3rem;
  font-weight: 400;
  margin-bottom: 50px;
  color: #333;
  text-transform: uppercase;
}
#hand {
  position: absolute;
  width: 82%;
  z-index: 1;
  bottom: -43px;
  margin-left: -82%;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.left-half {
  background-color: rgba(254, 241, 244, 0.947);
  width: 100%;
  max-width: 1200px;
  padding: 40px;
  color: rgb(0, 0, 0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.content-box p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 200px;
  padding: 20px;
  text-align: center;
  width: 100%;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.feature img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.feature p {
  font-size: 16px;
  color: #333;
}
@media (max-width: 800px) {
  .jobs > h2 {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .left-half {
    width: 100%;
    padding: 20px;
  }
  .content-box p {
    font-size: 13px;
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .feature {
    height: 150px;
    padding: 10px;
  }
  .feature img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  .feature p {
    font-size: 13px;
  }
}
.services {
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.services>h1 {
  font-size: 2.5rem;
}
.services-col {
  max-width: 33%;
  text-align: left;
  background-color: rgb(224, 255, 247);
  border-radius: 10px;
}
.services-col img {
  width: 100%;
  height: 31%;
  border-radius: 10px;
}
.services-col pre {
  padding: 0;
}
.services-col h3 {
  margin: 10px 0;
  font-size: x-large;
}
.services-col>li {
  margin: 10px;
  margin-bottom: 1px;
}
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 50px;
}
.about {
  padding: 80px 10%;
  background: #f9f9f9;
}
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  padding-right: 40px;
}
.about-text h4 {
  color: #8c6161;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #111;
}
.about-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}
.about-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  width: 30%; 
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.icon-circle {
  width: 60px;
  height: 60px;
  background-color: #f0d7d7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 15px;
}
.about-card h5 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}
.about-card p {
  font-size: 14px;
  color: #777;
}
.about-images {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.about-images img {
  width: 80%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

@media (max-width: 1200px) {
  .about-card {
    width: 45%;
  }
  .about-images img {
    width: 70%;
  }
}

@media (max-width: 900px) {
  .about-card {
    width: 100%;
  }
  .about-images img {
    width: 60%;
  }
  .about-container {
    flex-direction: column; 
    align-items: center;
  }
  .about-text {
    padding-right: 0;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .about {
    padding: 40px 5%; 
  }
  .about-text h2 {
    font-size: 28px;
  }
  .about-text p {
    font-size: 14px;
  }
  .about-card {
    width: 100%;
    margin-bottom: 20px;
  }
  .about-images img {
    width: 80%;
  }
}

/* ====== Testimonials Section ====== */
.testimonials {
  background-color: #fff;
  padding: 60px 20px;
}

.testimonials > h2 {
  text-align: center;
  font-size: 2.3rem;
  color: #000;
  margin-bottom: 40px;
  font-weight: 400;
}

/* ====== Container ====== */
.testimonial-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonial-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  padding: 0 10px;
  animation: scrollTestimonials 5s linear infinite; 
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

.testimonial-container::-webkit-scrollbar {
  display: none;
}

/* ====== Testimonial Card ====== */
.testimonial {
  flex: 0 0 300px;
  max-width: 300px;
  min-width: 260px;
  white-space: normal;
  word-wrap: break-word;
  overflow: hidden;
  background-color: #fdf9fc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  scroll-snap-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.testimonial img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid #e3d1dc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover img {
  border-color: #f0a3c0;
  box-shadow: 0 0 10px rgba(240,163,192,0.6);
}

.testimonial p {
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #444;
}

.underline {
  width: 40px;
  height: 3px;
  background-color: #f0d7d7;
  margin: 10px auto 20px;
}

.testimonial h4 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.testimonial span {
  display: block;
  font-size: 13px;
  color: #777;
}

/* ====== Mobile View ====== */
@media (max-width: 768px) {
  .testimonial-container {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    gap: 20px;
  }

  .testimonial-container::-webkit-scrollbar {
    display: none;
  }
  .testimonial-container {
    scrollbar-width: none;
  }

  .testimonial {
    flex: 0 0 80%;
    max-width: 80%;
    min-width: 260px;
    margin: 0;
    padding: 16px;
    scroll-snap-align: center;
  }

  .testimonial img {
    width: 70px;
    height: 70px;
  }

  .testimonial p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .testimonial h4 {
    font-size: 15px;
  }

  .testimonial span {
    font-size: 12px;
  }

  .testimonials > h2 {
    font-size: 30px;
    margin-bottom: 30px;
  }
}

/* ====== Desktop View ====== */
@media (min-width: 769px) {
  .testimonial-wrapper {
    overflow: hidden;
    width: 100%;
  }

  .testimonial-container {
    width: calc((300px + 40px) * 24);
    animation: scrollTestimonials 30s linear infinite;
  }
}

/* ====== Infinite Scroll Animation ====== */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * ((300px + 40px) * 24 - 100vw)));
  }
}

.our_impact {
  background-color: #f8f8f8;
  padding: 50px 20px;
  text-align: center;
}
.our_impact h2 {
  font-size: 2.3rem;
  margin-bottom: 40px;
}
.division {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.numbers {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
}
.numbers h3 {
  font-size: 64px;
  color: #2a5d72;
  margin-bottom: 10px;
}
.numbers h4 {
  font-size: 22px;
  margin-bottom: 10px;
}
.numbers p {
  font-size: 14px;
}
@media (max-width: 768px) {
  .division {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }
  .numbers {
    flex: 1 1 30%;
    min-width: auto;
    max-width: none;
    padding: 0 5px;
  }
  .numbers h3 {
    font-size: 36px;
  }
  .numbers h4 {
    font-size: 16px;
  }
  .numbers p {
    font-size: 11px;
  }
  .our_impact h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }
}
.cta {
  margin: 50px auto;
  width: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(image/connect.webp);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.cta h1 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 300;
  font-size: 40px;
}
@media(max-width: 700px) {
  .cta h1 {
    font-size: 24px;
  }
}
