/* Hero Section */
#hero {
  width: 100%;
  height: 90vh;
  position: relative;
}

/* Hero Section with Image Element */
.hero-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  border-bottom: 4px solid #4aa2ff;
}

#hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.5s ease-in-out; /* Smooth fade effect */
  z-index: -1;

  -webkit-user-select: none; /* For Safari and Chrome */
  -moz-user-select: none; /* For Firefox */
  -ms-user-select: none; /* For older versions of IE */
  user-select: none; /* Standard property */
  pointer-events: none; /* Prevent click selection as well */
}

/* Positioning Hero Text to the Left */
.hero-text {
  position: absolute;
  max-width: 65vw;
  height: fit-content;
  text-align: left;
  padding: 1rem;
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Semi-transparent background for readability */
  border-radius: 8px;
  left: 2vw;
  bottom: 25%;
  color: white;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  background-color: white;
  color: #1c667f;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: #007bff;
  color: white;
}

/* Positioning Buttons to the Left */
.hero-buttons {
  position: absolute;
  top: 50%; /* Pushes the element's top edge to the middle of the container */
  transform: translateY(
    -50%
  ); /* Pulls the element's center to align with the middle */
  right: 10px;
  display: flex;
  gap: 1rem;
}

.hero-buttons button {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-buttons button:hover {
  background-color: white;
  color: #007bff;
}

@media screen and (max-width: 680px) {
  .hero-buttons {
    width: 100%;
    justify-content: space-between;
    top: auto;
    bottom: 10px; /* 20px from the bottom */
    transform: none;
    right: auto;
  }

  .hero-buttons button {
    padding: 0.5rem 1rem;
    margin: 0px 2vw;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #hero {
    background-size: cover; /* Adjusts to cover smaller screens */
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 500px) {
  #hero {
    background-size: cover; /* Adjusts to cover smaller screens */
    align-items: center;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
    width: 60vw;
  }
}

/* Responsive Design */
@media (max-width: 350px) {
  #hero {
    background-size: cover; /* Adjusts to cover smaller screens */
    align-items: center;
  }

  .hero-text p {
    font-size: 1rem;
    width: 60vw;
  }
}

.container {
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  word-spacing: 0.16em;
  letter-spacing: 0.02em;
  font-size: clamp(16px, 1.5vw, 20px);
  background-color: #f8f8f8;
  padding: 0px 1rem;
  position: relative;
  margin-top: 20px;
}

.items {
  position: relative;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px; /* Optional: Rounded corners for aesthetics */
}

.title {
  color: #0e4668;
  font-size: 2rem;
  padding-bottom: 5px;
  text-align: left;
}

.hint-text {
  width: 50%;
}

.title-icon {
  display: flex;
  align-items: center; /* Align icon and text vertically */
  gap: 20px; /* Space between icon and title */
  margin-bottom: 20px; /* Add spacing between the title and content */
}

.icon {
  width: 50px;
  height: 50px;
}

.text-img {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 20px; /* Add space between text and media */
}

.hint-img {
  width: 100%;
  max-width: 400px; /* Constrain image size for responsiveness */
  height: auto; /* Maintain aspect ratio */
  border-radius: 5px; /* Optional: Slight rounding for aesthetics */
}

.img-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#elev-video {
  width: 60%;
  max-width: 600px; /* Constrain max width for responsiveness */
  height: auto; /* Maintain aspect ratio */
  border: 5px #0e4668 solid;
  border-radius: 10px;
  box-shadow: 4px 4px 15px rgba(14, 70, 104, 0.3); /* Soft shadow matching the border color */
}

#replay-button {
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  /* For tablets and smaller devices */
  .hint-text {
    width: 100%;
  }

  .text-img {
    flex-direction: column; /* Stack text and media */
    align-items: center;
  }

  .hint-img {
    max-width: 300px; /* Adjust image size */
  }

  #elev-video {
    max-width: 300px; /* Adjust video size */
  }

  .title {
    font-size: 1.6rem; /* Slightly smaller title font */
  }
}

@media (max-width: 480px) {
  /* For mobile devices */
  .container {
    padding: 10px;
  }

  .text-img {
    gap: 10px; /* Reduce spacing */
  }

  .icon {
    width: 40px; /* Smaller icon */
    height: 40px;
  }

  .title {
    font-size: 1.4rem; /* Further reduce title size */
  }

  .hint-img {
    max-width: 100%; /* Allow image to scale */
  }

  #elev-video {
    max-width: 100%; /* Allow video to scale */
  }
}

.inclusion {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
#beton-video {
  max-width: 400px;
  height: auto;
  border: 6px solid #0e4668;
  border-radius: 15px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768) {
  .vid-caption {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .vid-caption {
    width: 100%;
  }
}

.vid-caption {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.caption {
  font-size: small;
  font-style: italic;
}

@media (max-width: 768px) {
  .inclusion {
    display: flex;
    flex-direction: column;
  }
}

/*Card design of the inclusion section*/

.card {
  color: rgb(240, 240, 240);
  font-family: Montserrat, sans-serif;
  max-width: 200px;
  border: 3px solid #000000;
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  height: auto; /* Adjust height based on content */
  max-height: 240px; /* Limit the height */
}

.head {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 900;
  width: 100%;
  padding: 5px 12px;
  color: #000000;
  border-bottom: 3px solid #000000;
  box-sizing: border-box;
  text-align: center;
}

.content {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
  overflow-y: auto; /* Allow scrolling if content is too large */
}

.card:hover {
  translate: -6px;
}

.card .content,
.card .head {
  max-height: 100%; /* Avoid any overflow */
  overflow: hidden; /* Clip any overflowing content */
}

/* end card design*/

.cards-set1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-evenly;
}

.head1 {
  background-color: lightblue;
}
.card1 {
  background-color: #1c667f;
}

.head2 {
  background-color: lightgreen;
}
.card2 {
  background-color: green;
}

.head3 {
  background-color: lightcoral;
}
.card3 {
  background-color: rgb(147, 46, 9);
}

.head4 {
  background-color: lightgoldenrodyellow;
}
.card4 {
  background-color: rgb(115, 82, 0);
}

@media (max-width: 768px) {
  .cards-set1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
.incl-student {
  width: 30%;
  border-radius: 30px;
  background: #1c667f;
  box-shadow: 15px 15px 30px #bebebe, -15px -15px 30px #ffffff;
}

@media screen and (max-width: 768px) {
  .incl-student {
    width: 70%;
  }
}

@media screen and (max-width: 550px) {
  .incl-student {
    width: 100%;
  }
}

.incl-student > .cont {
  margin-bottom: 2rem;
  padding: 1rem;
}

.cards-set2 {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
  flex-direction: row;
}
.baba {
  color: black;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: yellowgreen;
  height: 70px;
  color: black;
  border-radius: 5px;
}

.sorry {
  padding: 10px;
}

.cont {
  text-align: center;
  background-color: #1c667f;
  color: white;
}

.incl-sec2 {
  margin-top: 70px;
  display: flex;
  flex-direction: row;
}

.students {
  object-fit: cover;
  margin-left: auto;
}

.sec2-text {
  width: 60%;
}

.tb {
  border: whitesmoke 3px solid;
  border-radius: 15px;
  color: white;
}
.tb-title {
  margin: 20px;
  color: white;
}

.tb-cont {
  text-align: center;
  margin-bottom: 10px;
}

hr {
  width: 100%; /* Set the length of the <hr> */
  border: 0; /* Remove default border */
  border-top: 2px solid white; /* Set the color and thickness of the top border */
  margin: 20px 0; /* Optional: Adds space above and below the <hr> */
}

@media (max-width: 768px) {
  .cards-set2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width:768px){
  .incl-sec2{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sec2-text{
    width: 100%;
  }
}

.boxes {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.tb1 {
  background-color: #266576;
}
.tb2 {
  background-color: #313175;
}
.tb3 {
  background-color: #37794ec4;
}
.tb4 {
  background-color: #6b5050;
}
.tb5 {
  background-color: #835224;
}

.end-title {
  color: #0e4668;
  font-size: 2rem;
  padding-bottom: 5px;
  text-align: left;
}

.end-icon {
  width: 70px;
  height: 70px;
  margin-top: 20px;
  margin-right: 20px;
}

.speech-bubble {
  position: relative;
  background: #37696e;
  border-radius: 0.4em;
  width: 500px;
  height: fit-content;
  font: Century Gothic, Verdana, sans-serif;
  text-align: center;
  color: #f8f8f8;
  padding: 30px;
}

.speech-bubble:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #37696e;
  border-bottom: 0;
  border-left: 0;
  margin-left: -10px;
  margin-bottom: -20px;
}

.flex-thought {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 100px;
}
.people {
  width: 400px;
  height: 300px;
}
@media (max-width: 450px) {
  .people {
    width: 100%;
    height: auto;
  }
}

a {
  color: #1c667f;
}
@media (max-width: 678px) {
  .speech-bubble {
    width: 300px;
  }
}


