/* ================= ABOUT BANNER ================= */

.about-banner-section {
  width: 100%;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(41, 110, 86, 0.95),
    rgba(22, 60, 48, 0.95)
  );
}

.about-banner-section::before,
.about-banner-section::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  background: url("img/islamic-pattern2.png") center/contain no-repeat;
  opacity: 0.06;
  animation: aboutRotate 60s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.about-banner-section::before {
  top: -200px;
  left: -200px;
}

.about-banner-section::after {
  bottom: -200px;
  right: -200px;
  animation-direction: reverse;
}

@keyframes aboutRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-banner-content {
  position: relative;
  z-index: 5;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.about-banner-title {
  font-size: clamp(32px, 5vw, 58px);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-banner-subtext {
  font-size: clamp(16px, 2vw, 22px);
  opacity: 0.95;
}

/* ================= ABOUT PAGE ================= */

.about-page {
  background-color: #eef5ee;

  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(31, 95, 74, 0.06) 1px,
    transparent 0
  );
  background-size: 28px 28px;

  padding: 60px 20px;
  font-family: "Outfit", sans-serif;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 40px;
}

.about-card,
.vm-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 45px;
  margin-bottom: 45px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.about-card::before,
.vm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #2f7f62, #e2b23c);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.about-card:hover::before,
.vm-card:hover::before {
  opacity: 1;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f5f4a;
  text-align: center;
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
}

.about-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, #d4af37, #b8961e);
  margin: 14px auto 0;
  border-radius: 2px;
}

.about-text {
  font-size: 16.5px;
  line-height: 1.9;
  color: #444;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vm-title {
  font-size: 26px;
  font-weight: 700;
  color: #1f5f4a;
  margin-bottom: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card,
  .vm-card {
    padding: 30px 25px;
  }

  .about-title {
    font-size: 26px;
  }

  .vm-title {
    font-size: 22px;
  }
}

/* ================= FADE IN ANIMATION ================= */

.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= LOCATION SECTION ================= */

.map-section-about {
  margin-top: 0;
  padding: 50px 0;
  background: #ffffff;
  text-align: center;
  border-radius: 20px;

  position: relative;
  overflow: hidden;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.map-section-about::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;

  background: linear-gradient(135deg, #2f7f62, #e2b23c);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 0.35s ease;

  pointer-events: none;
}

.map-section-about:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.map-section-about:hover::before {
  opacity: 1;
}
