/* CONTAINER */
.container {
  max-width: 1100px;
  width: 100%;
  color: #ffffff;
  margin: 0 auto;
  padding: 1rem 0px;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 0;
}

.hero-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 350px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero-text h1 span {
  color: #e8aa56;
}

.hero-text p {
  margin: 10px 0;
  font-size: 1rem;
}

.signature {
  font-weight: bold;
}

.socials a {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* SERVICES */
.services h5,
.team h5 {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

.services h2,
.team h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.services p {
  max-width: 600px;
  margin-bottom: 40px;
}

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

.box {
  color: #ffffff;
  flex: 1 1 220px;
  text-decoration: none; /* Removes underline from the link */
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(28, 28, 28, 0.385);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease-in-out;
}

.box img {
  width: 140px;
  margin-bottom: 10px;
}

.box h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Hover effect for the box to improve interactivity */
.box:hover {
  transform: translateY(-5px);
}

/* Make sure the anchor tag is full-width inside the box */
.box a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none; /* Remove underline */
  color: inherit; /* Inherit the color from the box */
}

/* TEAM */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  display: flex;
  overflow-x: hidden; /* hides horizontal scrollbar */
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}

.member {
  min-width: 250px;
  flex-shrink: 0;
  text-align: center;
}

.member img {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.linkedinlogo {
  width: 40px;
  height: 40px; /* Ensure the height is also constrained */
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Carousel buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}

/* Add hover effect for carousel buttons */
.carousel-btn:hover {
  background-color: #e8aa56;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    max-width: 80%;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
  }

  .linkedinlogo {
    width: 18px; /* Slightly smaller for mobile */
    height: 18px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .box {
    flex: 1 1 100%;
  }

  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }

  .linkedinlogo {
    width: 30px; /* Smaller size for mobile */
    height: 30px;
  }
}

/* MISSION SECTION */
.aboutinfo_mission {
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 8rem;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.aboutinfo_mission_text {
  flex: 1;
  min-width: 280px;
}

.aboutinfo_mission_text h2 {
  color: #e8aa56;
}

.aboutinfo_mission_image {
  flex: 1;
  min-width: 280px;
}

.aboutinfo_mission_image img {
  width: 500px;
  height: 300px;
  object-fit: cover; /* Ensures the image fills the space without distortion */
  display: block;
  margin: 0 auto;
}

/* VISION SECTION */
.aboutinfo_vision {
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 8rem;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.aboutinfo_vision_image {
  flex: 1;
  min-width: 280px;
}

.aboutinfo_vision_text {
  flex: 1;
  min-width: 280px;
}

.aboutinfo_vision_text h2 {
  color: #e8aa56;
}

.aboutinfo_vision_image img {
  width: 500px;
  height: 300px;
  object-fit: cover; /* Ensures the image fills the space without distortion */
  display: block;
  margin: 0 auto;
}

/* HEADINGS AND TEXT */
.aboutinfo_mission_text h2,
.aboutinfo_vision_text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.aboutinfo_mission_text p,
.aboutinfo_vision_text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* TABLETS */
@media (max-width: 1024px) {
  .aboutinfo_mission,
  .aboutinfo_vision {
    flex-direction: column;
    width: 90%;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }

  .aboutinfo_mission_image,
  .aboutinfo_vision_image {
    order: -1; /* Bring images on top */
    text-align: center;
  }

  .aboutinfo_mission_text,
  .aboutinfo_vision_text {
    text-align: center;
    width: 100%;
  }

  .aboutinfo_mission_image img,
  .aboutinfo_vision_image img {
    max-width: 400px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .aboutinfo_mission,
  .aboutinfo_vision {
    padding: 2rem 1rem;
    gap: 1.25rem;
  }

  .aboutinfo_mission_text h2,
  .aboutinfo_vision_text h2 {
    font-size: 1.6rem;
  }

  .aboutinfo_mission_text p,
  .aboutinfo_vision_text p {
    font-size: 0.95rem;
  }

  .aboutinfo_mission_image img,
  .aboutinfo_vision_image img {
    max-width: 100%;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .aboutinfo_mission,
  .aboutinfo_vision {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .aboutinfo_mission_text h2,
  .aboutinfo_vision_text h2 {
    font-size: 1.4rem;
  }

  .aboutinfo_mission_text p,
  .aboutinfo_vision_text p {
    font-size: 0.9rem;
  }

  .aboutinfo_mission_image img,
  .aboutinfo_vision_image img {
    max-width: 100%;
    height: auto;
  }
}
