.about {
    width: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 10rem 8rem;
    position: relative;
}

.about h2 {
    font-size: 1.6rem;
    font-family: var(--arabic);
    font-weight: 400;
}

.about h3 {
    font-size: var(--fontSize-heading-base);
    font-family: var(--sacramento);
    font-weight: 400;
    margin: 1rem 0;
}

.about .about_couple,
.about .about_couple ul,
.about .about_couple li,
.about .about_couple li figure {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.about .about_couple {
    margin-top: 4rem;
}

.about .about_couple ul {
    gap: 1rem;
}

.about .about_couple li figure img {
    width: 12rem;
    height: 12rem;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.about .about_couple li figure figcaption {
    font-size: var(--fontSize-heading-base);
    margin: 1rem 0;
    font-family: var(--sacramento);
}

.about .about_couple span {
    font-size: 3.4rem;
    font-family: var(--sacramento);
    font-weight: 400;
    margin-top: 1rem;
}

.about i, .hadist i, .time a + p + i, .gallery > i {
    font-size: 3rem;
    color: #908d8d;
    position: absolute;
    z-index: 10;
    animation: upAndDown 3s infinite;
}

.about i:nth-of-type(1) {
    top: 14rem;
    right: 8rem;
}

.about i:nth-of-type(2){
    left: 8rem;
    top: 24rem;
}

.about i:nth-of-type(3) {
    top: 54rem;
    right: 8rem;
}

.about i:nth-of-type(4){
    top: 60rem;
    left: 8rem;
}

.about i:nth-of-type(5){
    right: 8rem;
    bottom: 6rem;
}

.hadist {
    width: 100%;
    padding: 4rem 8rem;
    text-align: center;
    background-color: var(--bg-color);
    position: relative;
}

.hadist h2 {
    font-size: var(--fontSize-heading-base);
    font-family: var(--sacramento);
    font-weight: 400;
    margin-bottom: 2rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
}

.story-intro {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
    color: #333;
}

.story-paragraph {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #444;
    text-align: justify;
}

.story-conclusion {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
    color: #333;
}

.hadist i {
    top: 16rem;
    left: 8rem;
}

.hadist svg {
    position: absolute;
    left: 0;
    right: 0;
    z-index: -10;
}

.hadist svg:nth-of-type(1){
    top: -8rem;
}

.hadist svg:nth-of-type(2){
    bottom: -15rem;
}

/* ✅ Optimized ABOUT + HADIST (Mobile First) */

/* -----------------------------
   BASE (MOBILE-FIRST)
----------------------------- */
.about {
  width: 100%;
  min-height: 100vh;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.about h2 {
  font-size: 1.4rem;
  font-family: var(--arabic);
  font-weight: 400;
}

.about h3 {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
  margin: 1rem 0;
}

/* Couple Section */
.about .about_couple {
  margin-top: 3rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.about .about_couple ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.about .about_couple li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

.about .about_couple li figure img {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.about .about_couple li figure figcaption {
  font-size: var(--fontSize-heading-base);
  margin: 0.8rem 0;
  font-family: var(--sacramento);
}

.about .about_couple span {
  font-size: 2.8rem;
  font-family: var(--sacramento);
  font-weight: 400;
  margin-top: 1rem;
}

/* Floating Icons */
.about i,
.hadist i,
.time a + p + i,
.gallery > i {
  font-size: 2.6rem;
  color: #908d8d;
  position: absolute;
  z-index: 10;
  animation: upAndDown 3s infinite;
}

/* NOTE → Consider moving these to inline style per icon to avoid excessive nth-of-type reliance */
.about i:nth-of-type(1) { top: 14rem; right: 1.5rem; }
.about i:nth-of-type(2) { top: 24rem; left: 1.5rem; }
.about i:nth-of-type(3) { top: 44rem; right: 1.5rem; }
.about i:nth-of-type(4) { top: 50rem; left: 1.5rem; }
.about i:nth-of-type(5) { bottom: 4rem; right: 1.5rem; }

/* -----------------------------
   HADIST SECTION
----------------------------- */
.hadist {
  width: 100%;
  padding: 3rem 1.5rem;
  text-align: center;
  background-color: var(--bg-color);
  position: relative;
}

.hadist h2 {
  font-size: var(--fontSize-heading-base);
  font-family: var(--sacramento);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
}

.story-intro {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-align: center;
  font-style: italic;
  color: #333;
}

.story-paragraph {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: #444;
  text-align: justify;
}

.story-conclusion {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.25rem;
  text-align: center;
  font-style: italic;
  color: #333;
}

/* Floating icons in Hadist */
.hadist i {
  top: 14rem;
  left: 1.5rem;
}

/* SVG backgrounds */
.hadist svg {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -10;
  width: 100%;
}

.hadist svg:nth-of-type(1) { top: -6rem; }
.hadist svg:nth-of-type(2) { bottom: -12rem; }

/* -----------------------------
   TABLET ≥ 768px
----------------------------- */
@media (min-width: 768px) {
  .about {
    padding: 6rem 4rem;
  }

  .about .about_couple ul {
    flex-direction: row;
  }

  .hadist {
    padding: 4rem 3rem;
  }

  .story-intro,
  .story-conclusion {
    font-size: 1.1rem;
  }

  .story-paragraph {
    font-size: 1rem;
  }
}

/* -----------------------------
   DESKTOP ≥ 1024px
----------------------------- */
@media (min-width: 1024px) {
  .about {
    padding: 10rem 6rem;
  }

  .about .about_couple li figure img {
    width: 12rem;
    height: 12rem;
  }

  .about .about_couple span {
    font-size: 3.4rem;
  }

  .hadist {
    padding: 4rem 8rem;
  }

  .story-content {
    line-height: 1.9;
  }


}
