.landing-page-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  min-height: 80vh;
  margin-top: 5rem !important;
  position: relative;
  width: 100%;
  margin: 0 auto;

}

#imageContainer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  border-radius: 25px;
}

#overlay {
  position: absolute;
  top: 20%;
  left: 5%;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  padding: 4rem 1rem;
}

#overlay {
  background: rgba(252, 240, 240, 0.8);
  box-shadow: 20px 20px 40px -6px rgba(213,
      204,
      204,
      0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(5px);

  border-radius: 25px;
}

#overlay h1 {
  color: var(--clr-accent);
  font-size: clamp(40px, 4vw, 50px);
  letter-spacing: 1.3px;
}

#overlay p {
  color: var(--clr-primary);
  font-weight: 600;
  font-size: clamp(25px, 4vw, 30px);
  max-width: fit-content;
  letter-spacing: 1.5px;
  line-height: 1.3;
}





/* Mobile Styles */

@media (max-width: 768px) {
  #imageContainer {
    padding-bottom: 75%;

  }

  #imageContainer img {
    display: none;
  }

  #overlay {
    top: 30%;
    width: 90%;
    height: 60%;
    padding: 5rem 0.50rem;
  }
}

@media (max-width: 1024px) {

  #imageContainer img {
    display: none;
  }
}



/* Big Title */


.big-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--clr-neutral);
  padding: 3rem 1rem;
}

.big-title article {
  flex: 1;
  padding: 1rem;
}


.big-title article:nth-child(2) img {
  border-radius: 25px;
  width: 90%;
  border: 3px solid var(--clr-accent);
}

.big-title article:nth-child(2) {
  display: flex;
  justify-content: center;
}

.big-title article:nth-child(1) section h1 {
  font-size: clamp(25px, 6vw, 60px);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.big-title article:nth-child(1) section h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--clr-accent);
  display: inline-block;
}


.our-story-landing-outer {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem;
  min-height: 80vh;
}

.our-story-landing {
  flex: 1;
}

.our-story-landing section {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.50rem;
}

.our-story-landing-header {
  font-size: clamp(25px, 6vw, 60px);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  max-width: fit-content;
  color: var(--clr-accent);
}

.our-story-landing-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--clr-primary);
  display: inline-block;
}

.our-story-landing-subheader {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 400;
  text-transform: capitalize;
}


.our-story-landing-image {
  background-color: var(--clr-accent);
  width: 90%;
  height: 100%;
  border-radius: 25px;
  flex: 1;
}

.our-story-landing-image img {
  border-radius: 25px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile styles */
@media (max-width: 768px) {
  .our-story-landing-outer {
    flex-direction: column;
  }
}


/* First Page Landing */

.first-landing-outer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1rem;
  min-height: 80vh;
}

.first-landing-outer div {
  flex: 1;
}

.first-landing-outer div:nth-child(2) img {
  border-radius: 25px;
  width: 90%;
  border: 3px solid var(--clr-accent);
}

.first-landing-outer div:nth-child(2) {
  display: flex;
  justify-content: center;
}

.first-landing-outer div:nth-child(1) {
  display: flex;
  justify-content: center;
}


.first-landing {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: fit-content;
}



.first-landing section:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.20rem;
  width: 90%;
}




.read-more-contact-index-button {
  max-width: 170px;
  height: 40px;
  color: var(--clr-neutral);
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  overflow: hidden;
  border-radius: 5px;
  border: none;
  background-color: var(--clr-accent);
  text-decoration: none;
  font-size: clamp(18px, 4vw, 20px);
  font-weight: 300;
}

.read-more-contact-index-button:hover {
  border-radius: 5px;
  padding-right: 24px;
  padding-left: 8px;
  color: var(--clr-neutral);
  background-color: var(--clr-accent);
  font-size: clamp(20px, 4vw, 22px);
  font-weight: 400;
}

.read-more-contact-index-button:hover:after {
  opacity: 1;
  right: 10px;

}

.read-more-contact-index-button:after {
  content: "\00BB";
  position: absolute;
  opacity: 0;
  font-size: clamp(20px, 4vw, 22px);
  line-height: 40px;
  top: 0;
  right: -20px;
  transition: 0.4s;

}

/* Tablet styles */

@media (max-width: 1024px) {
  .first-landing-outer {
    flex-direction: column;
    min-height: auto;
    padding: 2rem 1rem;
  }

  .first-landing-outer div {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .first-landing-outer {
    padding: 1.5rem 1rem;
  }
}



/* Second Page Landing */

.second {
  min-height: 50vh;
  padding: 3rem 1rem;
  border: 1px solid var(--clr-background);
  border-radius: 25px 25px 0px 0;

}

.second div:nth-child(1) {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.second div img {
  max-width: 90%;
  border-radius: 25px;
}

.second-landing-outer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  min-height: 100vh;
  background-color: var(--clr-background);
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 1rem;
}



#second-landing {}

.second-landing {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
}

.second-landing section {
  flex: 1 1 350px;
  background-color: var(--clr-secondary);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-radius: 20px;
  max-width: 400px;
  border: 1px solid var(--clr-neutral);
}


.second-landing section img {
  width: 80px;

}

.second-landing section:nth-child(1) img {
  width: 300px;
  padding: 1rem;

}

.second-landing section p {
  color: var(--clr-primary);
  max-width: 400px;
}

.second-landing section h4 {
  max-width: fit-content;
  position: relative;
}

.services-list-link {
  text-decoration: none;
  color: var(--clr-accent);
}

.second-landing section h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 1px;
  width: 100%;
  height: 2px;
  background-color: var(--clr-neutral);
}

.third-landing {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
}

.third-landing section {
  background-color: var(--clr-secondary);
}

.company-name-link {
  text-decoration: none;
  color: var(--clr-accent);
  font-weight: 500;
  letter-spacing: 1.5px;
  font-size: 22px;
}




/* Our Story page */

.businesshours {
  color: var(--clr-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.Business-hours {
  color: var(--clr-accent);
  font-weight: 500;
}

.our-story-main {
  max-width: 1440px !important;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 3rem 0.50rem;
}

.our-story-main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 600px;
  background-image: url('https://res.cloudinary.com/dhvalxorx/image/upload/v1725610520/AirMarine/Icons/Vector-Africa-Map-PNG-Picture_oa4ull.png');
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: -1;
  transform: rotate(15deg);
}


.our-story-main div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.50rem;
}

.our-story-main div p {}

.our-story-header {
  font-size: clamp(25px, 6vw, 60px);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  max-width: fit-content;
}



.our-story-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 3rem 0.20;
}

.our-story-items-section {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: 3rem 0.30rem;
}

#one {
  display: flex;
  justify-content: center;
}

.our-story-items-section div {
  flex: 1;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}

li::marker {
  color: var(--clr-accent);
  font-size: larger;
}

.our-story-items-section div img {
  border-radius: 25px;
  max-width: 100%;
}

.our-story-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 1px;
  width: 100%;
  height: 2px;
  background-color: var(--clr-accent);
}



.our-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;

}

.our-story p {
  max-width: 70%;
}

@media (max-width: 1024px) {
  .our-story p {
    max-width: 90%;
    /* Adjust for tablets */
  }
}

@media (max-width: 768px) {
  .our-story p {
    max-width: 100%;
    /* Adjust for mobile devices */
  }
}

@media (max-width: 768px) {
  .our-story-main {
    margin-top: 120px;
    box-sizing: border-box;
  }
}


.our-story-page-sub-header {
  color: var(--clr-accent);
  font-size: clamp(20px, 4vw, 22px);
  font-weight: 400;
  text-transform: capitalize;
}

.our-story-main-page-service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  text-align: center;

}

.our-story-main-page-service-list li span {
  display: block;
}

.our-story-main-page-service-list li span {
  display: block;
  font-weight: 500;
  color: var(--clr-accent);
  text-decoration: none;

}

.our-story-main-page-service-list li span a {
  display: block;
  font-weight: 500;
  color: var(--clr-accent);
  text-decoration: none;

}

.our-story-main-page-service-list li {
  flex: 1 1 30%;
  box-sizing: border-box;
  margin: 10px;
  padding: 1rem;
  border: 1px solid var(--clr-accent);
  text-align: center;

}

@media (max-width: 1024px) {
  .our-story-main-page-service-list li {
    flex: 1 1 45%;
    /* Adjust for tablets */
  }
}

@media (max-width: 768px) {
  .our-story-main-page-service-list li {
    flex: 1 1 100%;
    /* Adjust for mobile devices */
  }

  .approach {}
}

@media (max-width: 1024px) {
  .our-story-main::before {
    width: 60%;
    transform: rotate(10deg);
  }
}

@media (max-width: 768px) {
  .our-story-main::before {
    display: none;
  }

  .our-story-main {
    padding: 3rem 0.50rem;
  }


  .our-story-items-section {
    display: flex;
    flex-direction: column-reverse !important;
    height: auto;
    gap: 2rem;


  }
}

.error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  min-height: 80vh;
  padding: 3rem 0.50rem;
}

.error-page-title {
  font-size: clamp(20px, 4vw, 42px);
}


.errorimage {
  max-width: 60%;
  margin: 0 auto;
}

.css-button-arrow--black {
  min-width: 150px;
  height: 50px;
  color: black;
  font-size: 20px;
  padding: 10px 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  overflow: hidden;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  margin: 1rem auto;
  max-width: 150px;

}

.css-button-arrow--black:hover {
  border-radius: 5px;
  padding-right: 8px;
  padding-left: 24px;
  background-color: var(--clr-accent);
  color: whitesmoke;
}

.css-button-arrow--black:hover:after {
  opacity: 1;
  left: 10px;
}

.css-button-arrow--black:after {
  content: "\00AB";
  position: absolute;
  opacity: 0;
  font-size: 20px;
  line-height: 40px;
  top: 0;
  left: -20px;
  transition: 0.4s;
}


@media (max-width: 768px) {
  .errorimage {
    max-width: 100%;
    margin: 0 auto;
  }

  .error-container {
    padding: 1rem;
  }
}
