.who-we-are-head {
  margin-top: 70px;
  margin-bottom: 40px;
}
.slider-section-who-we {
  margin-bottom: 30px;
}

.top-section {
  margin: 128px 0 70px 0;
  position: relative;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-sharafgroup-right {
  max-width: 605px;
}
.vision,
.mission {
  position: relative;
  display: flex;
  gap: 30px;
}
.vision img,
.mission img {
  width: 90px;
  height: 90px;
}
.vision h2,
.mission h2 {
  margin-bottom: 20px;
}

.vision p,
.mission p {
  font-size: 1rem;
  line-height: 20px;
  text-align: justify;
}
.who-we-union-one-top {
  position: relative;
  z-index: 1;
  margin-bottom: -140px;
  margin-top: -60px;
}
.hero-section {
  background: url("../images/who-we-commited.png");
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.who-we-union-two-bottom {
  position: relative;
  z-index: 1;
  margin-top: -107px;
}
.who-we-union-two-bottom img,
.who-we-union-one-top img {
  width: 100%;
}
.hero-content {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  align-items: center;
  padding: 240px 65px 230px 65px;
}

.hero-text h2 {
  color: white;
  margin-bottom: 30px;
  line-height: 42px;
  max-width: 360px;
}

.hero-description {
  color: white;
}

.hero-description p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 20px;
  text-align: justify;
}
.who-we-guideline {
  text-align: center;
}
.who-we-guideline h2 {
  margin-bottom: 30px;
}
.who-we-guideline {
  max-width: 1052px;
  margin: 0 auto;
}
.sharaf-group-section {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(137, 138, 141, 0.3) 98.65%
  );
  padding-bottom: 200px;
}
.about-sharaf {
  display: flex;
  gap: 150px;
  margin-top: 200px;
  align-items: center;
}
.about-sharaf h2 {
  margin-bottom: 30px;
}
.about-sharaf p {
  text-align: justify;
}
.about-sharaf img {
  margin-top: 0px;
  width: 100%;
}
/* Responsive design */

/* Animation */
.vision,
.mission {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.mission {
  animation-delay: 0.3s;
}

.hero-text {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s ease forwards 0.6s;
  max-width: 340px;
}

.hero-description {
  max-width: 608px;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s ease forwards 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*slider*/
.slideshow-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.slideshow-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-top: 140px;
}

.slideshow-header h2 {
  margin: 0 0 20px 0;
}

.slideshow-header p {
  margin: 0;
}

.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.nav-arrow {
  color: #93d500;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #93d500;
  background: #fff;
}

.nav-arrow:hover {
  transform: scale(1.1);
}

.nav-arrow:disabled {
  border-color: #000;
  color: #000;
  cursor: not-allowed;
  transform: none;
}

.slide-counter {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.slides-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.slides-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slideCert {
  min-width: 25%;
  padding: 10px;
  box-sizing: border-box;
}

.slideCert img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.slideCert img:hover {
  transform: scale(1.05);
}

/* Responsive design */

/*slider start*/
.slider-wrapper {
  position: relative;
  margin-top: 70px;
}
.slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.text-content-left {
  width: 100%;
  height: 618px;
  background: #e7e7e7;
  max-width: 670px;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
}
.text-content {
  width: 100%;
  max-width: 564px;
  padding-left: 80px;
}

.text-content h2 {
  margin-bottom: 20px;
  max-width: 372px;
  line-height: 43px;
}

.text-content p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

.image-content {
  width: 100%;
  height: 618px;
  max-width: 580px;
}

.image-content img {
  width: 100%;
  max-width: 580px;
}
.text-content,
.image-content img {
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

.text-content.fade-out,
.image-content img.fade-out {
  opacity: 0;
}
.dots-wrapper {
  position: absolute;
  bottom: 10%;
  left: 6%;
}

.dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 6px;
  border-radius: 50%;
  border: 1px solid #000;
  cursor: pointer;
}

.dot.active {
  background-color: #93d500;
  border: 1px solid #93d500;
}

/*slider end*/
@media (max-width: 1400px) {
  .who-we-union-one-top {
    margin-bottom: -110px;
  }
}
@media (max-width: 1200px) {
  .dots-wrapper {
    bottom: 10%;
    left: 30%;
  }
  .who-we-union-one-top {
    margin-bottom: -90px;
  }
  .who-we-union-two-bottom {
    margin-top: -80px;
  }
  .text-content-left {
    max-width: 580px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    height: auto;
    padding: 80px 0px;
  }
  .slider-container {
    flex-direction: column;
  }
  .text-content {
    padding-left: 30px;
  }
}
@media (max-width: 1000px) {
  .who-we-union-one-top {
    margin-bottom: -70px;
  }
  .who-we-union-two-bottom {
    margin-top: -60px;
  }
  .hero-content {
    flex-direction: column;
    padding: 180px 65px 180px 65px;
  }
}
@media (max-width: 768px) {
  .text-content {
    padding-left: 30px;
    padding-right: 30px;
  }
  .who-we-union-one-top {
    margin-bottom: -45px;
    margin-top: -43px;
  }
  .who-we-union-two-bottom {
    margin-top: -45px;
  }
  .hero-content {
    flex-direction: column;
    padding: 150px 65px 100px 65px;
  }
  .vision-mission {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vision::before,
  .mission::before {
    left: -40px;
    width: 30px;
    height: 30px;
  }

  .vision h2,
  .mission h2 {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 15px;
    flex-direction: column;
    padding: 200px 20px 180px 20px;
  }

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

  .hero-description p {
    font-size: 1rem;
  }
  .slideCert {
    min-width: 50%;
  }

  .slideshow-header h1 {
    font-size: 1.5em;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .who-we-are-head {
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .top-section {
    margin: 70px 0 70px 0;
  }
}

@media (max-width: 500px) {
  .dots-wrapper {
    bottom: 45%;
    left: 10%;
  }
  .text-content {
    padding-left: 15px;
    min-height: 400px;
  }
  .image-content {
    height: auto;
  }
  .slideCert {
    min-width: 100%;
  }
  .navigation {
    gap: 15px;
  }
  .about-sharaf {
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
  }
  .sharaf-group-section {
    padding-bottom: 94px;
  }
  .hero-content {
    padding: 80px 10px 80px 10px;
  }
  .who-we-union-one-top {
    margin-bottom: -62px;
    margin-top: -43px;
  }
  .who-we-union-two-bottom {
    margin-top: -28px;
  }
  .slideshow-header {
    margin-top: 70px;
    align-items: baseline;
  }

  .text-content h2 {
    line-height: 32px;
  }
  .slideCert img {
    box-shadow: none;
  }
  .vision-mission img {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 400px) {
  .dots-wrapper {
    bottom: 41%;
  }
}
