#about_hero {
  padding: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/about_hero.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#about_hero .card {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--white-color);
}

#about_hero .card h1 {
  font-size: 5rem;
  font-weight: 600;
  text-align: center;
}

#about_hero .card h1 span {
  text-align: center;
  color: var(--primary-color);
  font-size: 5rem;
  font-weight: 600;
}

#about_hero .card p {
  text-align: center;
}

#about_hero .card div {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#about_hero .card div button:nth-child(1) {
  color: var(--white-color);
  background-color: var(--primary-color);
}

#about_hero .card div button:nth-child(1):hover {
  background-color: var(--white-color);
  color: black;
}

#about_hero .card div button:nth-child(2):hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

#about_hero .card div button:nth-child(2) {
  background-color: var(--white-color);
  color: black;
}

.right-side-nav .btn-contact a {
  text-decoration: none;
  color: var(--white-color);
}



.changing-text {
  padding-inline: 7rem;
  padding-block: 3rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 3rem;
}

.changing-text h1 {
  font-size: 5rem;
}

.changing-text p {
  text-align: center;
  font-size: 1.2rem;
  line-height: 2cap;
}

/* ABOUT-US */
.about-us {
  padding: 5rem;
}

.about-wrapper {
  display: flex;
  align-items: center;
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.about-wrapper .about-img {
  width: calc((100% - 3rem) / 2);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.about-img,
.about-content {
  flex: 1;
  /* Equal width */
}

.about-content p {
  color: var(--content-color);
  line-height: 2.5cap;

}

/* OUR MISSION */
.mission {
  padding: 5rem;
}

.mission h2 {
  padding-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2rem;
}

.mission span {
  color: var(--primary-color);
  font-weight: 600;
}

.mission-content {
  text-align: center;
  width: 60%;
  margin: auto;
  position: relative;
  overflow: visible;
}

.mission-content::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -3.2rem;
  width: 3rem;
  height: 3rem;
  background: url('../images/comma-up.png') no-repeat center center;
  background-size: contain;
}

.mission-content::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  right: -2.5rem;
  width: 3rem;
  height: 3rem;
  background: url('../images/comma-down.png') no-repeat center center;
  background-size: contain;
}

.mission-content p {
  line-height: 2cap;

}

/* CORE-VALUES */

.core-values {
  padding: 5rem;
}

.core-values h2 {
  padding-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2rem;
}

.core-values h2 span {
  color: var(--primary-color);
  font-weight: 600;
}

.core-values .core-value-para {
  text-align: center;
  font-size: 1.2rem;
  line-height: 2cap;
  margin-bottom: 3rem;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.value-card-one {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: calc((100% - 4rem) / 3);
}

.value-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-img img {
  width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Makes the image fill the box without distortion */
  display: block;
}

.value-content h3 {
  /* padding-bottom: rem; */
  /* text-align: center; */
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1.5rem;
}

.value-content h3 span {
  color: var(--primary-color);
  font-weight: 600;
}

.value-content p {
  color: var(--content-color);
  font-size: 1rem;
}

.contact-content button {
  padding: 12px 24px;
  font-size: 1rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;

}

.contact-content button a {
  text-decoration: none;
  color: var(--white-color);
}

.contact-content button:hover {
  background: white;
  color: black;
}

.contact-content button:hover a {
  color: black;
}

.founders-wrapper{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#founders_message{
  gap: 5rem;
}

.founders-wrapper .card{
  display: flex;
  gap: 2rem;
   align-items: flex-start;
}

.founders-wrapper .card:nth-child(even){
  flex-direction: row-reverse;
}

.founders-wrapper .card figure{
  width: 40%;
  align-items: stretch;
  overflow: hidden;
}

.founders-wrapper .card figure img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 16 / 9;
}

.founders-wrapper .card .message{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}


.founders-wrapper .card .message h3{
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.founders-wrapper .card .message span{
  text-align: center;
}


.founders-wrapper .card .message div{
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: end;
  /* align-items: stretch; */
}


.founders-wrapper .card .message div b{
  padding-inline-end: 2rem;
}


@media only screen and (max-width : 1300px) {

  .changing-text {
    padding-inline: 5.5rem;
  }

  #about_hero .card h1 {
    font-size: 4rem;
  }

  #about_hero .card h1 span {
    font-size: 4rem;
  }

  .founders-wrapper .card figure img{
  aspect-ratio: 10 / 9;
}

}

@media only screen and (max-width : 1100px) {
  .about-hero-content h1 {
    font-size: 3.8rem;
    font-weight: 600;
  }

  .changing-text {
    padding-inline: 5rem;
  }

  #about_hero .card h1 {
    font-size: 3.8rem;
  }

  #about_hero .card h1 span {
    font-size: 3.8rem;
  }
}

@media only screen and (max-width : 1000px) {
  .about-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
  }

  .about-hero {
    padding: 4.5rem;
  }

  .changing-text h1 {
    font-size: 4.5rem;
  }

  .about-hero {
    padding-block: 4.5rem;
    height: 80vh;
  }

  .about-hero-content {
    width: 55%;

  }

  .changing-text {
    padding-inline: 4.5rem;
  }

  .about-us,
  .mission,
  .core-values , 
  #about_hero{
    padding: 4.5rem;
  }

  .about-wrapper {
    display: flex;
    flex-direction: column;
  }

  .about-wrapper .about-img {
    width: 100%;
  }

  .mission-content {
    width: 65%;

  }

  .value-card-one {
    width: calc((100% - 2rem) / 2);
  }

  #about_hero .card {
  width: 100%;
}
  #about_hero .card h1 {
    font-size: 3.5rem;
  }

  #about_hero .card h1 span {
    font-size: 3.5rem;
  }

    .founders-wrapper .card figure img{
  aspect-ratio: 5 / 9;
}

}

@media only screen and (max-width : 900px) {
  .about-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 600;
  }

  .about-hero {
    padding: 4rem;
  }

  .about-hero {
    padding-block: 4rem;
    height: 80vh;
  }

  .about-hero-content {
    width: 58%;

  }

  .changing-text h1 {
    font-size: 3.5rem;
  }

  .changing-text {
    padding-inline: 4rem;
  }

  .about-us,
  .mission,
  .core-values, 
  #about_hero {
    padding: 4rem;
  }

  .mission-content {
    width: 70%;

  }
}

@media only screen and (max-width : 800px) {
  .about-hero-content h1 {
    font-size: 2.7rem;
    font-weight: 600;
  }

  .about-hero-content {
    width: 60%;

  }

  .about-hero {
    padding: 3.5rem;
  }

  .about-hero {
    padding-block: 3.5rem;
    width: 100%;
    height: 73vh;
  }

  .changing-text h1 {
    font-size: 3rem;
  }

  .changing-text {
    padding-inline: 3.5rem;
  }

  .about-us,
  .mission,
  .core-values, 
  #about_hero {
    padding: 3.5rem;
  }

  .mission-content {
    width: 75%;

  }
    #about_hero .card h1 {
    font-size: 3rem;
  }

  #about_hero .card h1 span {
    font-size: 3rem;
  }
}

@media only screen and (max-width : 768px){
  .founders-wrapper .card{
  display: flex;
  gap: 2rem;
   align-items: flex-start;
   flex-wrap: wrap;
}.founders-wrapper .card figure{
  width: 100%;
  align-items: stretch;
  overflow: hidden;
}
    .founders-wrapper .card figure img{
  aspect-ratio: 16 / 9;
}
}

@media only screen and (max-width : 700px) {
  .about-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
  }

  .about-hero-content {
    width: 70%;

  }

  .about-hero {
    padding: 3rem;
  }

  .about-hero {
    padding-block: 3rem;
    height: 65vh;
  }

  .changing-text h1 {
    font-size: 2.5rem;
  }

  .changing-text {
    padding-inline: 3rem;
  }

  .about-us,
  .mission,
  .core-values , 
  #about_hero{
    padding: 3rem;
  }

  .mission-content {
    width: 80%;

  }

    #about_hero .card h1 {
    font-size: 2.5rem;
  }

  #about_hero .card h1 span {
    font-size: 2.5rem;
  }
}


@media only screen and (max-width : 600px) {
  .about-hero-content h1 {
    font-size: 2.2rem;
    font-weight: 600;
  }

  .about-hero-content {
    width: 80%;

  }

  .about-hero {
    padding: 2.5rem;
  }

  .about-hero {
    padding-block: 2.5rem;
    height: 60vh;
  }

  .changing-text h1 {
    font-size: 2rem;
  }

  .changing-text {
    padding-inline: 2.5rem;
  }

  .about-us,
  .mission,
  .core-values , 
  #about_hero{
    padding: 2.5rem;
  }

  .mission-content {
    width: 85%;

  }

  .value-card-one {
    width: 100%;
  }
      #about_hero .card h1 {
    font-size: 2rem;
  }

  #about_hero .card h1 span {
    font-size: 2rem;
  }
}


@media only screen and (max-width : 500px) {
  .about-hero-content h1 {
    font-size: 2rem;
    font-weight: 600;
  }

  .about-hero-content {
    width: 90%;

  }

  .about-hero {
    padding: 2rem;
  }

  .about-hero {
    padding-block: 2rem;
    height: 55vh;
  }

  .changing-text h1 {
    font-size: 2rem;
  }

  .changing-text {
    padding-inline: 2rem;
  }

  .about-us,
  .mission,
  .core-values , 
  #about_hero{
    padding: 2rem;
  }

  .mission-content {
    width: 90%;

  }
}

@media only screen and (max-width : 400px) {
  .about-hero-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
  }

  .about-hero-content {
    width: 100%;
    padding-left: 1rem;

  }

  .about-hero {
    padding: 1.5rem;
  }

  .about-hero {
    padding-block: 1.5rem;
    height: 60vh;
  }

  .changing-text {
    padding-inline: 1.5rem;
  }

  .about-us,
  .mission,
  .core-values, 
  #about_hero {
    padding: 1.5rem;
  }

  .mission-content {
    width: 100%;

  }
}

@media only screen and (max-width : 300px) {

  .about-hero {
    padding: 1.5rem;
    height: 100vh !important;
  }
}