* {
  padding: 0;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen;
}

/* start of company overview  */
.about-us-company-box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background-image: url('/uploads/images/about-us-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 40px;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.about-company {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 8px;
}

.about-company-text-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
}

.about-company-text-box h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff4747;
}

.about-company-text-box p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.8;
}

.vision-mission-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-mission {
  display: flex;
  gap: 30px;
  background-color: #ff4747;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.vision-mission-content-box {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.vision-mission-content-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vision-mission-content-box h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.vision-mission-content-box ul {
  list-style: none;
  padding: 0;
}

.vision-mission-content-box ul li {
  font-size: 1rem;
  color: #f1f1f1;
  margin-bottom: 5px;
}

/* start of why choose us */
.why-choose-us {
  display: flex;
  height: auto;
  background-color: #000;
  color: #fff;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  gap: 20px;
}

.why-choose-us-text-container {
  flex: 1;
  padding: 40px;
}

.why-choose-us-text-container h1 {
  font-size: 3rem;
  font-weight: bold;
}

.why-choose-us-text-container h1:first-child {
  color: #ff4747;
}

.why-choose-us-text-container p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #ddd;
  line-height: 1.8;
}

.why-choose-us-placeholder {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.why-choose-us-item {
  flex: 1 1 calc(30% - 20px);
  background-color: #ff4747;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-choose-us-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.why-choose-us-item h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.why-choose-us-item p {
  font-size: 1rem;
}

.why-choose-us-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.why-choose-us-image-container img {
  width: 100%;
  height: auto;
  border-radius: 30px 0 0 30px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 768px) {
  .why-choose-us {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 30px;
  }

  .why-choose-us-text-container {
    padding: 20px;
    text-align: center;
  }

  .why-choose-us-text-container h1 {
    font-size: 2.5rem;
  }

  .why-choose-us-text-container p {
    font-size: 1rem;
  }

  .why-choose-us-placeholder {
    flex-direction: column;
    gap: 15px;
  }

  .why-choose-us-item {
    flex: 1 1 100%;
    padding: 15px;
    font-size: 0.9rem;
  }

  .why-choose-us-image-container img {
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 480px) {
  .why-choose-us-text-container h1 {
    font-size: 2rem;
  }

  .why-choose-us-text-container p {
    font-size: 0.9rem;
  }

  .why-choose-us-item h3 {
    font-size: 1.2rem;
  }

  .why-choose-us-item p {
    font-size: 0.85rem;
  }
}

/* end of why choose us */

/* start of trusted by */
.trusted-by-section {
  text-align: center;
  padding: 50px 20px;
  background-color: black;
}

.trusted-by-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: red;
}

.trusted-by-section p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 30px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.trusted-logos img {
  max-width: 150px;
  /* opacity: 0.7; */
  transition: opacity 0.3s;
  object-fit: contain;
}

.trusted-logos img:hover {
  opacity: 1;
}


/* end of trusted by  */


/* start dream team section  */
/* Main Section Styling */
.dream-team-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  height: 600px;
  color: white;
  overflow: hidden;
  position: relative;
}

/* Central "Dream Team" Title */
.dream-team-head {
  font-size: 36px;
  color: red;
  text-shadow: 0px 0px 10px red;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  animation: pulse 2s infinite;
}

/* Members Container */
.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}

/* Individual Member Styling */
.member {
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  border: 2px solid #ff4d4d;
  border-radius: 20px;
  padding: 15px 30px;
  box-shadow: 0px 10px 20px rgba(255, 77, 77, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
}

.member:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0px 15px 30px rgba(255, 77, 77, 0.6);
}

/* Member Image */
.member-img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
}

.member-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s;
}

.member-img img:hover {
  transform: scale(1.1);
}

/* Member Text Styling */
.member-text {
  display: flex;
  flex-direction: column;
}

.member-text h4 {
  font-size: 18px;
  margin: 0;
  color: white;
}

.member-text p {
  font-size: 14px;
  margin: 5px 0 0;
  color: #b3b3b3;
}

/* Diagonal Layout Effect */
.team1 {
  transform: rotate(-10deg);
  position: absolute;
  top: 20%;
  left: 10%;
}

.team2 {
  transform: rotate(10deg);
  position: absolute;
  bottom: 20%;
  right: 10%;
}

/* Pulsing Animation for Title */
@keyframes pulse {

  0%,
  100% {
    text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red;
  }

  50% {
    text-shadow: 0 0 20px red, 0 0 40px red, 0 0 50px red;
  }
}

/* Responsive Styles for Small Screens */
@media (max-width: 768px) {

  /* Make the header and the whole section more adaptable */
  .dream-team-head {
    font-size: 28px;
    /* Reduce title font size */
  }

  .member {
    flex-direction: column;
    /* Stack the member info vertically */
    width: 90%;
    /* Adjust width for mobile */
    max-width: none;
    /* Remove the max-width restriction */
    padding: 10px 20px;
    /* Adjust padding */
  }

  .member-img {
    margin-bottom: 10px;
    /* Add some space between image and text */
  }

  .team {
    gap: 20px;
    /* Reduce gap between items */
  }

  /* Reduce the size of the text for smaller screens */
  .member-text h4 {
    font-size: 16px;
  }

  .member-text p {
    font-size: 12px;
  }

  .team1,
  .team2 {
    position: static;
    /* Remove absolute positioning on small screens */
    transform: none;
    /* Remove rotation */
  }

  /* Adjust spacing and text for small screens */
  .dream-team-section {
    height: auto;
    /* Allow the section to grow naturally on smaller screens */
    padding-bottom: 20px;
    /* Add bottom padding */
  }
}

@media (max-width: 480px) {

  /* Further adjustments for very small screens */
  .dream-team-head {
    font-size: 24px;
    /* Smaller font size for title */
  }

  .member-text h4 {
    font-size: 14px;
  }

  .member-text p {
    font-size: 11px;
  }

  .call-now {
    font-size: 0.8rem;
  }
}

/* end of dream team  */

/* start of other team  */
.other-team-section {
  background-color: black;
  height: auto;
  padding: 15px;
}

.other-team-section h1 {
  color: red;
  padding: 15px;
  text-align: center;
}

.other-team-parent {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.other-team-item {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 200px;
  border: 1px red solid;
  border-radius: 15px 15px 0px 0px;
}

.other-team-item img {
  height: 200px;
  border-radius: 15px 15px 0px 0px;
}

.other-team-social,
a {
  display: flex;
  column-gap: 10px;
  font-size: 1.2rem;
  justify-content: space-around;
  color: white;
  text-decoration: none;

  a {
    margin-top: 10px;
  }
}

.other-team-content-box {
  background-color: rgba(2, 2, 2, 0.5);
  color: white;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}


.other-team-item:hover .other-team-content-box {
  opacity: 1;
  transform: translateY(0);
}


.other-team-social a {
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.other-team-social a:hover {
  color: red;
  transform: scale(1.1);
}

/* end of other team  */