/*About Us*/

.DesignIT-scholar {
  width: 90%;
  margin: auto;
  position: relative;
}
.DesignIT-scholar h2:first-child {
  margin: 5rem 0;
}
.DesignIT-scholar_slider {
  position: relative;
  width: 80%;
  height: 480px;
  margin: auto;
  overflow: hidden;
}
.DesignIT-scholar_slide {
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
  position: absolute;
  width: 100%;
  /* height: 90%; */
  transition: transform 0.5s;
  display: flex;
  align-items: center;
}
.DesignIT-scholar-image {
  position: absolute;
  top: 0;
  z-index: 10;
  /* max-width: 30%; */
}
.DesignIT-scholar-image img {
  background: linear-gradient(to right, white 50%, transparent 50%);
  min-width: 100px;
  max-width: 500px;
  width: 440px;
}
.DesignIT-scholar-testimony {
  background-color: #008db9;
  padding: 100px;
  color: white;
  align-self: flex-start;
  position: absolute;
  top: 0;
  left: 350px;
  max-height: 370px;
  min-width: 700px;
}
.DesignIT-scholar-testimony h1 {
  position: relative;
  left: 5%;
}
.DesignIT-scholar-testimony p {
  /* margin: 2rem; */
  position: relative;
  left: 5%;
}
.DesignIT-scholar-name {
  color: white;
  text-decoration: underline;
  margin: 2.3rem;
  display: inline-block;
}
.DesignIT-visible {
  display: flex !important;
}
/* ======================================= */
.designit_vision_mission {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.designit-vm {
  width: 50%;
  background-color: red;
  height: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
}
.designit-vm img {
  width: 80px;
  height: 80px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.designit-vm:first-of-type {
  background-color: #008db9;
}
.designit-vm:first-of-type img {
  margin-right: auto;
  display: block;
  margin-left: 2rem;
}
.designit-vm:last-of-type {
  background-color: #b92c00;
}
.designit-vm:last-of-type img {
  margin-left: auto;
  display: block;
  margin-right: 2rem;
}
.mv-content {
  background-color: white;
  max-height: 400px;
  min-height: 200px;
  padding: 1rem;
  text-align: center;
  vertical-align: center;
  margin: 2rem auto;
  width: 70%;
  border-radius: 10px;
}
/* ==================================================================== */
/*Deisgn IT Core value*/
.core-values {
  width: 90%;
  margin: 30px auto;
  border-bottom: 1px solid #8D8D8D;
}
.core-values p, .core-values h2 { 
  text-align: center;
}
.core-value-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: #8d8d8d;
  margin: 20px auto;
}
.core-value-container div {
  width: 20%;
  max-width: 250px;
  min-width: 150px;
}
.core-value-container div img {
  width: 100%;
}

/* ==================================================================== */

/*Design IT Team*/
.executive-container {
  width: 90%;
  margin: auto;
}

.executive-container h2 {
  text-align: center;
  margin: 30px auto;
}
.executive-container-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 30px auto;
}
.DesignIT-teammember {
  cursor: pointer;
  width: 20%;
  max-width: 300px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  margin-top: 20px;
}
.DesignIT-teammember img {
  border-radius: 0 0 58% 58%;
  width: 100%;
  height: 300px;
  width: 100%;
  object-fit: cover;
  outline: 10px solid white;
  z-index: 10;
}
.designit-top-line {
  width: 90%;
  height: 10px;
  background-color: #b92c00;
  margin: 5px auto;
  z-index: 100;
  /* margin: auto; */
}

.designit-bottom-line {
  height: 95px;
  width: 100%;
  max-width: 300px;
  min-width: 200px;
  background-color: #b92c00;
  margin: 0 auto;
  border-radius: 300px 300px 0 0;
  text-align: center;
  vertical-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}
.designit-bottom-line p{
  font-size: 14px;
}
.team-blue {
  background-color: #008db9;
}
/* Google content */
.google-container {
  background: linear-gradient(90deg, #008db9, white);
  height: 320px;
  width: 100%;
  margin-top: 50px;
  padding-left: 0;
  display: flex;
  padding-left: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.google-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  flex-direction: column;
}
.google-h2 {
  color: white;
}
.google-paragraphs {
  display: flex;
  align-items: center;
  justify-content: center;
}
.google-paragraph-2 {
  width: 450px;
}
.google-paragraph-1 {
  width: 90px;
}
/* Swiper */
.sw {
  /* max-width: 50%; */
  /* width: 200px; */
  /* width: fit-content; */
  width: 300px;
}
.swiper-wrapper {
  width: 300px!important;
}
img.swiper-slide {
  width: 100px !important;
  height: 70px !important;
}
/* More info about each of the team member */
.member_more-info {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 100dvw;
  z-index: 10000000000;
  height: 100dvh;
}



.profile-content_img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-content_img .DesignIT-teammember {
  width: unset;
}

.profile-card {
  background-color: white;
  width: 80%;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

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

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  color: #555;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0077b5; /* Change color on hover (LinkedIn blue as an example) */
}

.close-icon {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Responsive Design */
@media screen and (min-width: 600px) {
  .profile-card {
      flex-direction: row;
      align-items: flex-start;
      padding: 20px;
  }
  .profile-image {
      flex: 0 0 40%;
      text-align: center;
  }

  .profile-content {
      flex: 1;
      text-align: left;
      margin-left: 20px;
  }
}

@media screen and (min-width: 700px) {
  /* .social-icons {
      justify-content: left;
  } */
  .profile-content_img {
      flex-direction: row;
  }
}

@media only screen and (min-width: 300px) and (max-width: 350px) {

  .google-container {
    height: 250px;
    padding-left: 40px;
    background: linear-gradient(180deg, #008db9, white);
  }
  .google-content {
    width: 300px;
    display: block;
  }
  .google-h2 {
    color: white;
  }
  .google-paragraphs {
    gap: 35px;
    margin-top: 35px;
  }
  .google-paragraph-1 {
    width: 49px;
  }
  .google-paragraph-2 {
    width: 88px;
  }
}

@media only screen and (min-width: 360px) and (max-width: 400px) {
  .google-container {
    height: 250px;
    display: flex;
    align-items: center;
    padding-left: 40px;
    background: linear-gradient(180deg, #008db9, white);
  }
  .google-content {
    width: 300px;
    display: block;
  }
  .google-h2 {
    color: white;
  }
  .google-paragraphs {
    gap: 38px;
    margin-top: 35px;
  }
  .google-paragraph-1 {
    width: 58px;
  }
  .google-paragraph-2 {
    width: 105px;
  }
}
@media only screen and (min-width: 401px) and (max-width: 760px) {
  .google-container {
    height: 250px;
    display: flex;
    align-items: center;
    padding-left: 40px;
    background: linear-gradient(180deg, #008db9, white);
  }
  .google-content {
    width: 300px;
    display: block;
  }
  .google-h2 {
    color: white;
  }
  .google-paragraphs {
    gap: 54px;
    margin-top: 35px;
  }
  .google-paragraph-1 {
    width: 58px;
  }
  .google-paragraph-2 {
    width: 105px;
  }
}
@media only screen and (min-width: 765px) and (max-width: 1100px) {
  .google-h2 {
    .google-container {
      margin-top: 70px;
      padding-left: 50px;
    }
    .google-content {
      display: block;
      padding-left: 30px;
    }
    .google-paragraphs {
      display: flex;
      gap: 130px;
      width: 00px;
      margin-top: 32px;
    }

    .google-paragraph-2 {
      height: 50px;
    }
    .google-paragraph-1 {
      width: 90px;
      height: 40px;
    }
  }
  @media only screen and (min-width: 1000px) and (max-width: 3400px) {
    .google-paragraphs {
      justify-content: center;
      align-items: center;
    }
  }
}

.DesignIT-scholar-image img:nth-child(2) {
  display: none;
}
/* Implementing responsiveness */

@media (max-width: 86rem) {
  .DesignIT-scholar-image img {
    width: 400px;
  }
  .DesignIT-scholar-testimony {
    background-color: #008db9;
    /* padding: 100px; */
    color: white;
    align-self: flex-start;
    position: absolute;
    top: 0;
    height: 300px;
    min-width: 700px;
  }
  .DesignIT-scholar-testimony p,
  .DesignIT-scholar-testimony h1 {
    left: 2%;
    top: -50%;
  }
  .DesignIT-scholar-name {
    position: relative;
    left: 2%;
    top: -50%;
  }

  /* Slider btn*/
}
@media (max-width: 83rem) {
  .DesignIT-scholar-image img {
    /* min-width: 100px;
  max-width: 500px; */
    width: 350px;
  }
  .DesignIT-scholar-testimony {
    /* padding: 100px; */
    top: 0;
    left: 300px;
    height: 270px;
    min-width: 700px;
  }
  .DesignIT-scholar-testimony p,
  .DesignIT-scholar-testimony h1,
  .DesignIT-scholar-name {
    left: -8%;
    top: -100%;
  }

  /* Slider btn*/
}

@media (max-width: 75rem) {
  .DesignIT-scholar_slider {
    width: 100%;
  }

  .DesignIT-scholar-image img {
    /* min-width: 100px;
  max-width: 500px; */
    width: 350px;
  }
  .DesignIT-scholar-testimony {
    /* padding: 100px; */
    top: 0;
    left: 300px;
    height: 270px;
    min-width: 700px;
  }
}

@media (max-width: 62rem) {
  .DesignIT-scholar-image img {
    /* min-width: 100px;
  max-width: 500px; */
    width: 330px;
  }
  .DesignIT-scholar-testimony {
    /* padding: 100px; */
    top: 0;
    left: 300px;
    height: 250px;
    min-width: 700px;
  }

  .DesignIT-scholar-testimony p,
  .DesignIT-scholar-testimony h1,
  .DesignIT-scholar-name {
    left: -8%;
    top: -180%;
  }
  .DesignIT-scholar-testimony p {
    font-size: 14px;
  }

  /* Slider */
  .google-content {
    flex-direction: column;
  }
  .sw {
    /* width: 100%; */
    /* max-width: 100%; */
  }
  .swiper-slide {
    height: 50px !important;
    margin: 0 !important;
    width: fit-content !important;
  }
}

@media (max-width: 58rem) {
  .executive-container-content {
    justify-content: center;
  }
  .DesignIT-teammember {
    width: 40%;
    margin: 10px;
  }
  /*Header*/
  .empty,
  .social-media,
  .btn-contact-us {
    display: none;
  }
  /* DesignIT Scholar */
  .DesignIT-scholar h2:first-child {
    margin: 0 0 5rem 0;
  }
  .DesignIT-scholar_slider {
    height: 800px;
  }
  .DesignIT-scholar_slide {
    flex-direction: column;
  }

  .DesignIT-scholar_slide div {
    position: unset;
    margin: auto;
  }
  .DesignIT-scholar-image {
    width: clamp(300px, 60vw + 1rem, 400px);
    background: linear-gradient(to top, #008db9 50%, transparent 50%);
  }
  .DesignIT-scholar-image img {
    width: 100%;
  }
  .DesignIT-scholar-image img:first-child {
    display: none;
  }
  .DesignIT-scholar-image img:nth-child(2) {
    display: unset;
    width: 100%;
  }
  .DesignIT-scholar-testimony {
    width: clamp(300px, 60vw + 1rem, 400px);
    position: static;
    max-height: unset;
    min-width: unset;
    height: fit-content;
    padding: 2rem;
    align-self: unset;
  }
  .DesignIT-scholar-testimony p {
    position: unset;
    font-size: 1rem;
  }

  .DesignIT-scholar-testimony h1{
    text-align: unset;
    padding-left: 1.7rem;
  }

  .supporter {
    display: block;
  }

  /* MISSION_VISION*/
  .designit_vision_mission {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .designit-vm {
    width: 100%;
    background-color: red;
    height: 500px;
    margin: auto;
  }
  .mv-content {
    width: 80%;
  }
  .designit-vm:first-of-type img,
  .designit-vm:last-of-type img {
    margin-left: auto;
    margin-right: auto;
  }

  /*Teams*/
  .profile-card {
    max-height: 80vh;
  }

  /**/ 
  .member_more-info .DesignIT-teammember{
    display: none;
  }
}
@media (max-width: 34rem) {
  .DesignIT-teammember {
    width: 100%;
    margin: 20px;
  }
  .DesignIT-scholar-testimony h1{
    padding-left: 1.3rem;
  }
}

