/*

 Theme Name:   Astra Child

 Theme URI:    http://chemteq.net/astra-child/

 Description:  Child theme for the Astra theme

 Author:       Michael Kirollos

 Author URI:   http://chemteq.net

 Template:     astra

 Version:      1.0.0

*/

.parallax {
    background-image: url('../astra-child/images/chemteq-our\ mission.jpg'); /* Replace with your image path */ 
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 2rem;
    min-height: 20rem;
    vertical-align: middle;
  }

.parallax h3 {
  font-size: 2rem; /* Base font size */
  margin-bottom: 1.5rem; 
  color: #000000; 

}

.parallax p {
  font-size: 1.5rem; /* Base font size */
  font-weight: bold;
  line-height: 1.5;
  margin-top: 2.5rem;
  margin-bottom: 0;
  color: #003f85;
}

.about-banner-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 20px 0px 20px 0px;
  width: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 33%, rgba(255, 255, 255, 0) 77%),
                    url('../astra-child/images/about-background.jpg');
  background-size: cover; 
  background-position: center; 
  height: 350px;
  overflow: hidden;
}

.about-banner-section img {
  align-self: self-start;
  margin: 3rem 2rem 2rem 2rem;
}

.about-mid-section {
  background-color: rgb(255, 255, 255);
  margin: 0px 0px 15px 0px;
  padding: 20px 0px 20px 0px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.about-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 1rem 0rem 1rem 0rem;
  gap: 5rem; /* Gap between the text and image */
  flex-wrap: wrap;
  width: 100%;
}

.about-row h3 {
  color:#003f85;
}

.about-text {
  display: flex;
  flex-direction: column;
  width: 35%;
  color: #003f85; 
}


.about-image {
  position: relative; /* Ensures the icon is positioned relative to its container */
  width: 35%; /* Adjust the width of the icon */
}

.about-bottom-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #003863;
  margin: 0px 0px 15px 0px;
  padding: 20px 30px 20px 30px;
  width: 100%;
  min-height: 31.25rem;
}

.about-bottom-content {
  background-color: #ffffff;
  margin: 2.5rem;
  padding: 1.5rem;
  text-align: center;
}

.about-bottom-content h3 {
  color:#003f85;
}

.about-bottom-content p {
  font-size: 1.5rem; /* Base font size */
  font-weight: bold;
  line-height: 2.5;
  margin-bottom: 0;
  color: #003f85;
}

.about-bottom-content hr {
  border: none;
  height: 0.125rem; 
  background-color: #0077ee; /* Example color */
  margin-top: 0.625rem; /* Adjust spacing as needed */
  margin-bottom: 1.25rem; /* Adjust spacing as needed */
}

@media screen and (max-width: 1027px) {

}

@media (max-width: 768px) {
  .about-row {
      flex-direction: column;
      gap: 0;
  }

  .about-text {
    width: 100%;
  }

  .about-image {
    width: 100%;
  }

  .about-row .about-text {
    order: 1; /* Ensure text is always first */
  }

  .about-row .about-image {
      order: 2; /* Ensure image is always second */
  }

  .about-banner-section {
    justify-content: center;
    max-height: 15rem;
  }

  .about-banner-section img {
    margin: 0;
  }

  .about-bottom-content p {
    font-size: 1rem; /* Base font size */
    font-weight: bold;
    line-height: 2;
    margin-bottom: 0;
    color: #003f85;
  }
}