/* =========================================
   ABOUT PAGE – BASE & TYPOGRAPHY
   (Navbar + Footer come from home.css)
   ========================================= */

body.about-page {
  background: #ffffff;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* Generic inner width container for About sections */
body.about-page .top2,
body.about-page .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}




/* =========================================
   MAIN ABOUT SECTION (MISSION / VISION / STORY)
   ========================================= */

.about-main {
  padding: 60px 0 50px;
}

.about-main .top2 {
  /* already constrained by base .top2 rule */
}

/* “About Us” main heading – match DM Serif style from home */
.about-main .main_heading h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2rem, 2.6vw, 2.3rem);
  text-align: center;
  margin-bottom: 30px;
  color: #111827;
  letter-spacing: -0.03em;
}

/* Row: text on left, mission/vision images on right */
.about-main .about-intro-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* main narrative text */
.about-main .messge {
  flex: 1 1 55%;
}

.about-main .messge h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  margin-bottom: 14px;
  color: #111827;
  letter-spacing: -0.03em;
}

.about-main .messge p {
  font-size: 1rem;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 10px;
  text-align: justify;
}

/* bold labels like OUR MISSION / OUR VISION */
.about-main .messge p strong {
  font-weight: 600;
  color: #111827;
}

/* right column with mission / vision images as small stacked cards */
.about-main .about-side-media {
  flex: 1 1 32%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-main .about-side-media img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* thin divider under first section */
.about-main .bord4 {
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
}

/* responsive stack */
@media (max-width: 900px) {
  .about-main {
    padding: 40px 0 40px;
  }

  .about-main .about-intro-row {
    flex-direction: column;
    gap: 28px;
  }

  .about-main .about-side-media img {
    max-height: none;
  }
}

/* =========================================
   WHY CHOOSE CRC – LIGHT CARD GRID
   ========================================= */

.why-choose-crc {
  padding: 60px 16px 80px;
  background: #f9fafb;
}

.why-choose-crc .container {
  /* constrained by base .container rule */
}

/* section heading */
.why-choose-crc h2 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(2rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 8px;
  color: #111827;
  letter-spacing: -0.03em;
}

/* intro paragraph under heading */
.why-choose-crc > .container > p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: #6b7280;
  margin-bottom: 32px;
}

/* grid of feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* each card */
.feature-item {
  background: #f3f4f6;
  border-radius: 24px;
  padding: 22px 22px 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* icon in small dark circle */
.feature-item i {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}

/* title + text */
.feature-item h3 {
  font-size: 1.06rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4b5563;
}

/* responsive */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   LEADERSHIP SECTION – WIDE CARD
   ========================================= */

.leadership-section {
  padding: 10px 0 80px;
  background: #ffffff;
}

.leadership-section .top2 {
  /* constrained by base .top2 rule */
}

/* card wrapper */
.leadership-section .ab_shawdo {
  background: #f9fafb;
  border-radius: 28px;
  padding: 28px 26px 30px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

/* heading */
.leadership-section .messge h1 {
  font-family: "DM Serif Text", system-ui, serif;
  font-size: clamp(1.8rem, 2.4vw, 2.1rem);
  margin-bottom: 14px;
  color: #111827;
  letter-spacing: -0.03em;
}
.leadership-section h3 {
  font-style: italic;
  font-size: 1.05rem;
  color: #6b7280;
  margin-top: -6px;
  margin-bottom: 14px;
}


/* text in leadership card */
.leadership-section .messge p {
  font-size: 1rem;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 10px;
  text-align: justify;
}

.leadership-section .messge p strong {
  font-weight: 600;
  color: #111827;
}

/* small spacing before footer */
.leadership-section + .col_sm1.bg_clr3 {
  margin-top: 10px;
}

/* mobile tweaks */
@media (max-width: 768px) {
  .leadership-section .ab_shawdo {
    padding: 22px 18px 24px;
  }

  .leadership-section .messge p {
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {

  /* Make parent relative */
  .about-main .about-intro-row {
    position: relative;
  }

  /* Image container goes behind text */
  .about-main .about-side-media {
    position: absolute;
    inset: 0;
    top: 120px;               /* 🔽 pulls image DOWN */
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Background-style images */
  .about-main .about-side-media img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    filter: blur(0.3px);
    border-radius: 0;
    box-shadow: none;
  }

  .about-main .about-side-media img:first-child {
    margin-bottom: 40px;
  }

  /* Text must stay above images */
  .about-main .messge {
    position: relative;
    z-index: 2;
  }

  /* Optional white soft layer for readability */
  .about-main .about-intro-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.603);
    z-index: 1;
  }
}
