/* About Us page — blueprint-style section + media */

.about-page {
  margin-top: clamp(76px, 12vw, 100px);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  min-height: 60vh;
  position: relative;
  /* Blueprint / drawing sheet: grid + soft drafting tint */
  background-color: #dbe8f1;
  background-image:
    linear-gradient(rgba(30, 77, 107, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 77, 107, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, transparent 42%),
    linear-gradient(315deg, rgba(4, 112, 107, 0.04) 0%, transparent 55%);
  background-size:
    22px 22px,
    22px 22px,
    100% 100%,
    100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0;
  font-family: "Noto Sans", "Noto Sans Arabic", system-ui, sans-serif;
}

.about-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("../images/about-parallax-bg.svg");
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
}

.about-page__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  position: relative;
  z-index: 1;
}

.about-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.about-page__title {
  position: relative;
  font-family: "Outfit", "Noto Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0d3d5c;
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.about-page__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.5rem;
  height: 3px;
  background-color: #d9534f;
  border-radius: 2px;
}

.about-page__body {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  color: #1a2a35;
  text-align: justify;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.about-page__media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(30, 77, 107, 0.12),
    0 20px 50px rgba(13, 61, 92, 0.18);
  background: #f4f8fb;
}

.about-page__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-page__social.social-links {
  margin-bottom: 1.25rem;
}

.about-page__social.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background-color: #04706b;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(4, 112, 107, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-page__social.social-links a:hover {
  transform: translateY(-3px);
  background-color: #0a9a92;
  color: #fff !important;
}

.about-page__cta {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: #0d3d5c;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(13, 61, 92, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-page__cta:hover {
  color: #fff !important;
  background: #0a4d78;
  transform: translateY(-2px);
}

@media screen and (max-width: 900px) {
  .about-page__grid {
    grid-template-columns: 1fr;
  }

  .about-page__media {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-page__body {
    max-width: none;
  }
}

@media screen and (max-width: 768px) {
  .about-page__title {
    font-size: 1.85rem;
  }

  .about-page__body {
    font-size: 0.95rem;
    text-align: left;
  }
}

/* Legacy classes kept for any older includes referencing .aboutus */
.aboutus {
  padding: 80px 0;
  background-color: #dbe8f1;
  font-family: "Noto Sans", system-ui, sans-serif;
}

.abcontainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.arow {
  display: flex;
  flex-wrap: wrap;
}

.flex {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 20px;
}

.aboutus h2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #0d3d5c;
  position: relative;
}

.aboutus h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 4.5rem;
  height: 3px;
  background-color: #d9534f;
}

.aboutus p {
  font-size: 18px;
  line-height: 1.55;
  color: #1a2a35;
  margin-bottom: 20px;
  font-family: "Noto Sans", system-ui, sans-serif;
}

.aboutus img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  padding-top: 9px;
  color: #fff;
  background-color: #04706b;
  box-shadow: 0 2px 8px rgba(4, 112, 107, 0.35);
  transition: all 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.abtn {
  text-decoration: none;
  color: #fff !important;
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  background-color: #0d3d5c;
  box-shadow: 0 4px 14px rgba(13, 61, 92, 0.25);
  transition: all 0.25s ease;
}

.abtn:hover {
  transform: translateY(-2px);
  color: #fff !important;
  background-color: #0a4d78;
}

.face {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  margin-right: 5px;
  margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
  .arow {
    flex-direction: column;
  }

  .flex {
    max-width: 100%;
  }

  .aboutus h2 {
    font-size: 31px;
  }

  .aboutus p {
    font-size: 16px;
  }
}
