.nav {
  position: fixed;
}
/* Header section */
header {
  display: flex;
  align-items: normal;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  background-color: white;
}
.header-sub-section {
  width: 50%;
}
.header-part_2 {
  color: white;
  background-color: #b92c00;
}
.header-part_2 a {
  color: white;
}
.header-image {
  width: 45vw;
  height: 88%;
  margin: 0;
}
.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  margin: 0;
}
.header-text {
  width: 85%;
  margin: auto;
  /* line-height: 4rem; */
}
.DesignIt-tagline {
  margin-top: clamp(2rem, 12vh + 1rem, 10rem);
}
.red {
  color: #b92c00;
}
.DesignIT-vsion {
  width: 65%;
  margin-top: 2rem;
  line-height: 2rem;
}
.btn-contact-us {
  margin-top: 3rem;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  background-color: #008db9;
  color: white;
  outline: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
  transition: all 0.3s ease-in-out;
}
.btn-contact-us:hover,
.btn-contact-us:focus {
  background-color: #006d8c;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
  transform: translateY(-2px); /* Slight upward movement */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.header-image img {
  animation: fadeIn 1s ease-in-out;
}

.social-media_links {
  margin-top: 7rem;
  display: flex;
  align-items: center;
}
.social-media_link {
  margin-right: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-media_link span {
  width: 5px;
  height: 5px;
  background-color: #b92c00;
  display: inline-block;
  margin-right: 3rem;
  border-radius: 50%;
}
.social-media_link a {
  color: #b92c00;
  font-weight: 600;
}

/* Impact made by DesignIT i.e Numbers */
.DesignIT-Numbers {
  display: flex;
  padding: 6rem 3rem;
  background-color: #008db9;
  justify-content: center;
  align-items: center;
}
.DesignIT-Number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
}
.DesignIT-Numbers-text {
  color: white;
}
.DesignIT-Numbers-text h4 {
  font-size: var(--fs-4);
}
.DesignIT-Number img {
  width: 80px;
  height: 80px;
  margin: auto 1rem;
}

/*DesignIT program*/
.DesignIT-program {
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: space-between;
  margin: 5rem auto;
  padding-bottom: 5rem;
  position: relative;
}
.DesignIT-program:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Adjust the length as a percentage of the element's width */
  border-bottom: 2px solid #787878;
}
.DesignIT-program_1 {
  width: 60%;
}
.DesignIT-goal {
  margin-top: 1rem;
}
.DesignIT-program_1-images {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
}
.DesignIT-program_1-images > div {
  width: 45%;
}
.DesignIT-program_image {
  margin: 0;
}
.DesignIT-program_image + div {
  padding: 1rem;
  color: white;
}
.DesignIT-program_image img {
  width: 100%;
}

.DesignIT-TechTour {
  background-color: #008db9;
}
.DesignIT-DASP {
  background-color: #b92c00;
}
/*DesignIT program 2*/
.DesignIT-program_2 {
  width: 30%;
}
.DesignIT-Summit {
  background-color: #b92c00;
}
.DesignIT-program_2 p {
  padding: 1.5rem;
  color: white;
  vertical-align: center;
}
.learn-more {
  text-align: right;
  display: block;
  margin-top: 2rem;
  text-decoration: underline;
}

/*Hear from our scholar -- Our Scholar*/

/* Slider component */
.DesignIT-scholar {
  width: 90%;
  margin: auto;
  position: relative;
}

.DesignIT-hear-from-us {
  text-align: center;
}

.DesignIT-scholar h2:first-child {
  margin: 5rem 0;
}
.DesignIT-scholar_slider {
  position: relative;
  width: 80%;
  height: 450px;
  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;
}

/* Slider btn*/
.DesignIT-scholar_slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;

  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.25rem;
  cursor: pointer;
}
.DesignIT-scholar_slider__btn img {
  width: 10px;
}

.DesignIT-scholar_slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
  background-color: #b92c00;
}
.DesignIT-scholar_slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
  background-color: #008db9;
}
/*Dots dots*/

.DesignIT-scholar_dots {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.DesignIT-scholar_dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;

  /* Only necessary when overlying images */
  /* box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.7); */
}

.DesignIT-scholar_dots__dot:last-child {
  margin: 0;
}

.DesignIT-scholar_dots__dot--active {
  /* background-color: #fff; */
  background-color: #b92c00;
  opacity: 1;
}
.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 p {
  /* margin: 2rem; */
  position: relative;
  left: 5%;
}
.DesignIT-scholar-name {
  color: black;
  margin: 2rem;
}
.DesignIT-visible {
  display: flex !important;
}

/*Donate to us section/ Support us*/
.DesignIT-Support_us {
  margin-top: 5rem;
  background-color: #b92c00;
  color: white;
  display: flex;
  align-items: center;
  /* width: 90%; */
  /* margin: auto; */
  justify-content: space-evenly;
  padding: 7rem 4rem;
}

.support-us_text {
  width: 65%;
}

.support-us_text h2 {
  width: 80%;
}

.support-us_link {
  width: 30%;
  text-align: center;
}
.support-us_link a {
  color: #b92c00;
  background-color: white;
  padding: 1rem 4rem;
}

/*DesignIT services*/
.DesignIT-services {
  width: 90%;
  margin: 5rem auto;
}
.DesignIT-servive-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.DesignIT-servive-text p {
  width: 40%;
}
.hire-us_link a {
  color: #b92c00;
}
.DesignIT-service-images {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 5rem 0;
}
.DesignIT-service-image-box {
  width: 20%;
}
.DesignIT-service-image-box-odd {
  background-color: #008db9;
}
.DesignIT-service-image-box-even {
  background-color: #b92c00;
}
.DesignIT-service-image-box p {
  padding: 1rem;
  color: white;
}
.DesignIT-service-image img {
  width: 100%;
}

/* DesignIT blog */
.DesignIT-blog {
  width: 90%;
  margin: 10rem auto;
}
.DesignIT-blogs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6rem 0;
}
.DesignIT-blog-text {
  width: 40%;
}
.DesignIT-blog-text p {
  width: 90%;
}
.DesignIT-blog-text a {
  background-color: #b92c00;
  color: white;
  padding: 1rem 4rem;
  display: block;
  width: fit-content;
  border-radius: 10px;
  margin: 4rem 0;
}
.DesignIT-blog-images {
  display: flex;
  width: 55%;
  justify-content: space-between;
}

.DesignIT-blog-content {
  width: 47%;
  border-radius: 10px;
  box-shadow: 0px 2.5px 2.35px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.DesignIT-techAtour img {
  width: 100%;
}
.blog-information {
  padding: 0.4rem;
}
.blog-information {
  font-size: var(--fs-400);
}
.blog-topic {
  font-size: var(--fs-300);
  padding: 0 1rem;
  background-color: #b92c00;
  width: fit-content;
  border-radius: 7px;
  color: white;
  margin: 0.3rem;
}
.blog-head {
  font-weight: 600;
  margin: 0.3rem;
}
.blog-content {
  font-size: var(--fs--300);
  font-weight: 400;
  margin: 0.3rem;
}
.DesignIT-blog-author {
  display: flex;
  align-items: center;
  margin: 1rem 0.5rem;
}
.DesignIT-blog-author img {
  width: unset;
}
.DesignIT-blog-author_image {
  margin-right: 1rem;
}

.DesignIT-blog-author_image img {
  width: 50px;
  height: 50px;
  border-radius: 50%
}
/* .DesignIT-view { */
  /* width: 50%; */
  /* text-align: right; */
/* } */
/* Non visible element on the desktop site */

.DesignIT-scholar-image img:nth-child(2),
.DesignIT-social__media--mobile-link,
footer .DesignIT-contact_us, .mobile-header,
.supporter {
  display: none;
}

/* Implementing responsiveness */

@media (max-width: 107rem) {
  .social-media_link {
    margin-right: 2.5rem;
  }
}
@media (max-width: 89rem) {
  .social-media_link {
    margin-right: 2rem;
  }

  .DesignIT-scholar_slider__btn {
    height: 30px;
    width: 30px;
    padding: 1rem;
  }
}
@media (max-width: 86rem) {
  .social-media_link {
    margin-right: 1.8rem;
  }

  .DesignIT-scholar-image img {
    width: 400px;
  }
  .DesignIT-scholar-testimony {
    background-color: #008db9;
    /* padding: 100px; */
    color: white;
    align-self: flex-start;
    position: absolute;
    top: 0;
    left: 300px;
    height: 300px;
    min-width: 700px;
  }
  .DesignIT-scholar-testimony p {
    left: 2%;
    top: -50%;
  }
  .DesignIT-scholar-name {
    margin: 1rem 2rem;
  }

  /* 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 {
    left: -8%;
    top: -100%;
  }
  .DesignIT-scholar-name {
    margin: 1rem 2rem;
  }
  /* Slider btn*/
}

@media (max-width: 75rem) {
  .social-media_link {
    margin-right: 1rem;
  }
  .social-media_link span {
    display: none;
  }

  .DesignIT-scholar_slider {
    width: 100%;
  }
  .DesignIT-scholar_slider__btn {
    height: 20px;
    width: 20px;
    padding: 1rem;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.25);
  }
  .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-name {
    margin: 1rem 2rem;
  }
}

@media (max-width: 62rem) {
  /* DesignIT numbers */
  .DesignIT-Number {
    flex-direction: column;
    text-align: center;
    margin: 1rem 0rem;
    width: 20%;
    align-items: center;
  }

  .DesignIT-Numbers {
    justify-content: space-between;
    padding: 3rem 1.5rem;
  }

  .social-media_link {
    margin-right: 0.5rem;
  }

  .DesignIT-scholar {
    width: 95%;
  }
  .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-name {
    margin: 1rem 2rem;
  }
  .DesignIT-scholar-testimony p {
    left: -8%;
    top: -100%;
  }
}


@media (max-width: 58rem) {
  /*Header*/
  .empty,
  .social-media,
  .btn-contact-us, .header-sub-section{
    display: none;
  }

  header {
    height: 88dvh;
    background-color: #008db9;
    background: url(../images/DesignIT-mobile-header.svg);
    background-repeat: no-repeat;
    background-position: right 43% top 80%;
    background-size: cover;
    background-clip: border-box;
    background-blend-mode: multiply;
    /* opacity: 80%; */
    color: white;
  }

  .mobile-header {
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  .mobile-header h2{
    text-align: center;
    margin: 1rem;
    width: 80%;
    font-size: var("--fs-h2");
    margin: 1rem auto;
  }
  .mobile-header div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-header img {
      filter: saturate(0) brightness(0) invert(1); 
  }

  .btn-mobile-header {
    margin: 1rem 0.5rem;
    font-size: 1.2rem;
    padding: 1rem 0;
    width: 150px;
    text-align: center;
    color: white;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
    transition: all 0.3s ease-in-out;
  }

  .btn-mobile-header-1 {
    background-color: #b92c00;
  }

  .btn-mobile-header-1 button {
    background-color: #b92c00;
  }

  .btn-mobile-header-2 {
    outline: 1px solid white;
  }
  .btn-mobile-header button {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    color: white;
    outline: none;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
  }
  .mobile-header .designit-social__media--mobile-links {
    display: flex;   
    margin: 1rem auto;
  }

  .mobile-header .designit-social__media--mobile-links li {
    margin: 0 0.4rem;
  }

  .header-sub-section {
    width: 80%;
    margin: auto;
  }
  .header-part_1 {
    position: relative;
    bottom: 200px;
    left: -40px;
  }
  .header-part_2 {
    background-color: unset;
  }
  .header-image {
    width: 80%;
    float: right;
  }
  .header-image img {
    border-radius: 185px 185px 0 0;
  }
  .DesignIT-vsion {
    width: unset;
  }
  .DesignIT-social__media--mobile-link {
    width: 80%;
    margin: auto;
    display: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    bottom: 165px;
  }
  .DesignIT-social__media--mobile-links {
    display: flex;
    align-items: center;
    vertical-align: center;
  }
  .DesignIT-social__media--mobile-links li {
    margin: 0 0.5rem;
  }
.DesignIT-social__media--mobile-links a {
  display: block;
  width: 25px;
  height: 25px;
}
  .mobile-contact_us {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background-color: #008db9;
    color: white;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 15px;
  }
  .DesignIT-Number img {
    width: 60px;
    height: 60px;
    margin: auto 0rem;
  }

  .DesignIT-Numbers-text {
    margin: 1rem;
  }
  .DesignIT-Numbers-text h4 {
    margin: 0;
    font-size: 1.4rem;
  }

  /* DesignIT Program */

  .DesignIT-program {
    flex-direction: column;
    padding-bottom: 4rem;
    width: 100%;
    margin: 30px 0;
  }
  .DesignIT-program_1 {
    width: 70%;
    margin: auto;
  }
  .DesignIT-program_1 h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .DesignIT-goal {
    text-align: center;
    margin: auto;
  }
  /* .DesignIT-program_1-images {
    flex-direction: column;
  } */
  .DesignIT-program_1-images > div {
    width: 100%;
    /* margin: 3rem; */
  }
  .DesignIT-TechTour {
    margin: 3rem 0;
  }
  .DesignIT-program_2 {
    width: 70%;
  }
  .learn-more {
    margin-top: 5rem;
  }

  /* 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: 1rem;
  }
  .DesignIT-scholar-name {
    margin: 1rem 0 0 0;
    text-align: right;
  }

  .DesignIT-scholar_slider__btn {
    display: none;
  }
  /*Donate to us section/ Support us mobile*/

  .DesignIT-Support_us {
    flex-direction: column;
    margin-top: 0;
    padding: 7rem 0;
  }
  .support-us_text {
    width: 90%;
    margin-bottom: 2rem;
  }
  .support-us_text p:nth-child(2) {
    margin: 2rem auto;
    text-align: center;
  }
  
  .support-us_text h2 {
    text-align: center;
    width: 100%;
  }

  .support-us_link {
    margin: auto;
    width: unset;
  }

  /*DesignIT services mobile*/

  .DesignIT-services {
    margin: 30px auto;
    width: 100%;
  }
  .DesignIT-service {
    width: 100%;
  }
  .DesignIT-service-images {
    margin: auto;
    display: flex;
    justify-content: center;
  }
  .DesignIT-service h2 {
    text-align: center;
  }
  .DesignIT-servive-text p {
    width: unset;
    text-align: center;
    margin: 2rem;
  }
  .DesignIT-servive-text {
    width: 90%;
    margin: auto;
    flex-direction: column;
  }
  .DesignIT-service-image-box {
    width: 70%;
    margin: 3rem;
  }
  /* DesignIT Blog */
  .DesignIT-blog h2:first-child {
    text-align: center;
  }
  .DesignIT-blog {
    margin: 30px auto;
    width: 100%;
  }
  .DesignIT-blogs {
    flex-direction: column;
    margin: 30px 0;
  }

  .DesignIT-blog-text {
    width: 90%;
  }
  .DesignIT-blog-images {
    /* flex-direction: column; */
    width: 90%;
  }
  .DesignIT-blog-content {
    /* width: 75%;
    margin: 2rem auto; */
    border-radius: 15px;
  }

  .DesignIT-blog-text p {
    width: 100%;
    text-align: center;
    margin: auto;
  }
  .DesignIT-blog-text a {
    text-align: center;
    margin: 3rem auto;
  }
  .supporter {
    display: block;
  }
}

@media (max-width: 43rem) {
  /* DesignIT Numbers */
  .DesignIT-Numbers {
    flex-direction: column;
  }

  .DesignIT-blog-images {
    flex-direction: column;
  }
  .DesignIT-blog-content {
    width: 80%;
    margin: 30px auto;
  }
}

@media (max-width: 32rem) {
  .DesignIT-social__media--mobile-link {
    width: 100%;
    padding: 0 1rem;
  }
  .mobile-contact_us {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
  }
  /* Program */
  .DesignIT-program_1,
  .DesignIT-program_2,
  .DesignIT-service-image-box {
    width: 80%;
  }
}
