/* Banner */
.services-banner {
  background-image: url('../../images/about/about-banner.png');
  background-size: contain;
  background-position: center;  /* Try top instead of center */
  background-repeat: no-repeat;
  height: 500px; /* fixed height helps control aspect ratio */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.services-banner .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-text-box h1,
.hero-text-box p {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.85);
}

.hero-text-box h1 {
  font-size: 2.4rem; /* match contact-hero for consistency */
  color: #fff; /* enforce white text explicitly */
  border-bottom: 2px solid #d4af37; /* gold underline */
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.hero-text-box p {
  font-size: 1.1rem; /* refined size */
  color: #fff; /* softer white */
  max-width: 700px;
  margin: 0 auto;
}

/* WHO WE ARE section — black background, gold accent */
.about-section.who-we-are {
  background-color: #000;
  padding: 80px 20px;
  text-align: center;
}

/* Heading + underline */
.about-section.who-we-are h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 40px;
}

.about-section.who-we-are h2 span {
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
  display: inline-block;
}

/* Top-level paragraph only */
.about-section.who-we-are > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

/* Bio card layout */
.profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
}

/* Bio cards */
.profile-box {
  flex: 1 1 300px;
  max-width: 500px;
  background-color: #fff;
  border-left: 4px solid #d4af37;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

/* Hover effect on cards */
.profile-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  border-left-color: #ffcc00;
}

/* Bio headings */
.profile-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #222;
  text-align: left;
}

/* Ensure bio text stays black */
.profile-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  text-align: left;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .profiles {
    flex-direction: column;
    align-items: center;
  }

  .profile-box {
    max-width: 100%;
  }
}

/* OUR DIVISIONS section */
.about-section.our-divisions {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.about-section.our-divisions h2 {
  font-size: 2.4rem;
  color: #000;
  margin-bottom: 40px;
}

.about-section.our-divisions h2 span {
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
  display: inline-block;
}

/* OUR VALUES section – black background with light boxes */
.about-section.our-values {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.about-section.our-values h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 40px;
}

.about-section.our-values h2 span {
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
  display: inline-block;
}

/* Value grid layout */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.values-grid div {
  background: #fff;
  color: #000;
  border-left: 4px solid #d4af37;
  padding: 30px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
  border-left-color: #ffcc00;
}

.values-grid h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #000;
}

.values-grid p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* OUR PROCESS – white background with gold accent */
.about-section.our-process {
  background-color: #fff;
  color: #000;
  padding: 80px 20px;
  text-align: center;
}

.about-section.our-process h2 {
  font-size: 2.4rem;
  color: #000;
  margin-bottom: 40px;
}

.about-section.our-process h2 span {
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
  display: inline-block;
}

/* Process List Grid */
.process-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.process-list li {
  position: relative;
  background: #f9f9f9;
  padding: 2rem 2rem 2rem 4rem;
  border-left: 4px solid #d4af37;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #000;
  font-size: 1rem;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.process-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
  border-left-color: #ffcc00;
}

.process-list li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  font-size: 2rem;
  font-weight: bold;
  color: #d4af37;
}

.process-list strong {
  display: block;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

/* Responsive layout fallback */
@media (max-width: 768px) {
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* WHY CHOOSE US (About Page) — Black Background Themed Section */
.why-us {
  background-color: #000;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.why-us h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 40px;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 10px;
}

/* Features Grid */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
}

/* Individual Feature Cards */
.feature-box {
  background-color: #fff;
  color: #000;
  padding: 1.5rem;
  border-left: 4px solid #d4af37;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
  border-left-color: #ffcc00;
}

.feature-box strong {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
  color: #222;
}

.feature-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
}

/* Mobile/tablet fallback */
@media (max-width: 992px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-row {
    grid-template-columns: 1fr;
  }
}

/* Inline Accreditation Logos */
.badge-row.inline-badges {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 15px;
}

.badge-row.inline-badges img {
  height: 50px;
  width: auto;
  background: #000;
  padding: 6px;
  border-radius: 4px;
}

/* CTA Section */
.cta-section {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.cta-section .button {
  background-color: #fff;
  color: #000;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.cta-section .button:hover {
  background-color: #d4af37;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .process-list {
    grid-template-columns: 1fr;
  }

  .profiles {
    flex-direction: column;
  }
}
