/* ============================================
   ABOUT PAGE - COHESIVE, LOW-COUPLING STYLES
   Depends only on shared tokens (colors, font) from styles.css
   ============================================ */

/* Section variants */
.section-muted {
  background-color: #F9F9F9;
}

/* Hero container with subtle, wavy layered gradient */
.hero-about {
  position: relative;
  /* Override global section padding and previous hero spacing */
  padding-right: 0; /* keep content focused */
  min-height: 60vh; /* reduce overall hero height */
  display: flex; /* ensure vertical centering */
  align-items: center;
  background:
    radial-gradient(1200px 500px at 0% 20%, rgba(58, 79, 122, 0.06) 0%, rgba(58, 79, 122, 0) 60%),
    radial-gradient(1000px 500px at 100% 80%, rgba(163, 177, 217, 0.10) 0%, rgba(163, 177, 217, 0) 65%),
    linear-gradient(180deg, rgba(58, 79, 122, 0.04) 0%, rgba(58, 79, 122, 0) 40%);
}

/* Additional soft wave near the bottom edge */
.hero-about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 60% at 50% 120%, rgba(58, 79, 122, 0.06) 0%, rgba(58, 79, 122, 0) 60%);
}


/* Sophisticated accent underline bar */
.hero-about{
    .main-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
        line-height: 1.1;
        margin-bottom: 15px;
        letter-spacing: -0.01em;
        text-shadow: 2px 2px 0px rgba(0,0,0,0.06);
        color: #0E1D36;
    }
    /* Sophisticated accent underline bar */
    .main-title::after {
        content: "";
        display: block;
        width: 64px;
        height: 4px;
        margin-top: 14px;
        margin-left: 45%;
        border-radius: 2px;
        background: linear-gradient(90deg, #3A4F7A 0%, #A9B7D9 100%);
    }
    .subtitle {
        font-size: 1.125rem;
        max-width: 100%;
        line-height: 1.6;
        margin-bottom: 40px;
        color: #555555;
    }
}

@media (max-width: 768px) {
  .hero-about {
    max-height: 75vh;
    background-position: top center;
  }

}

/* Process list container tweaks for About */
.about-process {
  max-width: 700px;
  margin: 0 auto;
}

/* Lists spacing harmony on About page */
.hero-about + section ul {
  margin-top: 12px;
}

/* Optional: tighten list item spacing on Who We Serve */
section ul li.mb-3 {
  margin-bottom: 12px !important;
}

/* ============================================
   PHILOSOPHY SECTION - CARD LAYOUT
   ============================================ */

.section-philosophy {
  background-color: #ffffff;
}

.philosophy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.philosophy-card {
  background-color: #F9F9F9;
  border: 1px solid #E5E5E5;
  padding: 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

.philosophy-card:hover {
  border-color: #3A4F7A;
  box-shadow: 0 4px 12px rgba(58, 79, 122, 0.08);
  transform: translateY(-2px);
}

.philosophy-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.philosophy-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0E1D36;
  margin-bottom: 8px;
}

.philosophy-card p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .philosophy-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   WHO WE SERVE SECTION - SCANNABLE CARDS
   ============================================ */

.section-serve {
  background-color: #ffffff;
}

.serve-intro {
  font-size: 1rem;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.serve-card {
  background-color: #F9F9F9;
  border: 1px solid #E5E5E5;
  padding: 28px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.serve-card:hover {
  border-color: #3A4F7A;
  box-shadow: 0 6px 16px rgba(58, 79, 122, 0.1);
  transform: translateY(-4px);
}

.serve-card .serve-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
}

.serve-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #0E1D36;
  margin-bottom: 6px;
}

.serve-card .serve-type {
  font-size: 13px;
  color: #999999;
  margin-bottom: 12px;
  font-weight: 500;
}

.serve-card .serve-benefit {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .serve-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   CHALLENGES SECTION
   ============================================ */

.serve-challenges {
  background-color: #F9F9F9;
  padding: 40px;
  border-radius: 6px;
  border-top: 4px solid #3A4F7A;
}

.serve-challenges h3 {
  color: #0E1D36;
  margin-bottom: 0.8em;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.challenge-item {
  text-align: center;
}

.challenge-item .challenge-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.challenge-item p {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 0;
}

.challenge-item strong {
  color: #0E1D36;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .serve-challenges {
    padding: 30px 20px;
  }
}

/* ============================================
   PROCESS SECTION - EXPANDED TIMELINE
   ============================================ */

.process-overview {
  text-align: center;
  margin-bottom: 40px;
}

.process-timeline {
  font-size: 1.125rem;
  color: #3A4F7A;
  background-color: #F0F4F9;
  padding: 16px 24px;
  border-radius: 4px;
  display: inline-block;
}

.deliverables-box {
  background-color: #ffffff;
  border: 2px solid #3A4F7A;
  padding: 40px;
  border-radius: 6px;
}

.deliverables-box h3 {
  color: #0E1D36;
  margin-bottom: 1em;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.deliverable-item {
  text-align: center;
  padding: 16px;
}

.deliverable-item .deliverable-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
}

.deliverable-item p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0;
  line-height: 1.5;
}

.deliverable-item strong {
  display: block;
  color: #0E1D36;
  margin-bottom: 4px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deliverables-box {
    padding: 24px;
  }
}

/* ============================================
   TEAM & CREDIBILITY SECTION
   ============================================ */

.section-team {
  background-color: #F9F9F9;
}

.team-intro {
  font-size: 1rem;
  color: #666666;
  max-width: 750px;
  margin: 0 auto !important;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-member {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #E5E5E5;
  transition: all 0.3s ease;
}

.team-member:hover {
  border-color: #3A4F7A;
  box-shadow: 0 4px 12px rgba(58, 79, 122, 0.08);
}

.team-member .member-avatar {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.team-member h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0E1D36;
  margin-bottom: 6px;
}

.team-member .member-title {
  font-size: 14px;
  font-weight: 500;
  color: #999999;
  margin-bottom: 12px;
}

.team-member .member-bio {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-member {
    padding: 24px;
  }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.section-pricing {
  background-color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #F9F9F9;
  border: 2px solid #E5E5E5;
  padding: 32px;
  border-radius: 6px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: #3A4F7A;
  background-color: #F0F4F9;
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(58, 79, 122, 0.12);
}

.pricing-card:hover:not(.featured) {
  border-color: #3A4F7A;
  box-shadow: 0 4px 12px rgba(58, 79, 122, 0.08);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3A4F7A;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card .pricing-title {
  font-size: 20px;
  font-weight: 600;
  color: #0E1D36;
  margin-bottom: 12px;
}

.pricing-card .pricing-range {
  font-size: 24px;
  font-weight: 700;
  color: #3A4F7A;
  margin-bottom: 24px;
}

.pricing-card .pricing-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}

.pricing-card .pricing-features li {
  font-size: 14px;
  color: #555555;
  margin-bottom: 10px;
}

.pricing-card .pricing-note {
  font-size: 13px;
  color: #999999;
  font-style: italic;
  margin-bottom: 0;
}

.pricing-cta {
  font-size: 16px;
  color: #666666;
}

.pricing-link {
  color: #3A4F7A;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pricing-link:hover {
  color: #2a3a52;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pricing-card.featured {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .featured-badge {
    top: -8px;
    padding: 4px 12px;
    font-size: 11px;
  }

  .pricing-card .pricing-range {
    font-size: 20px;
  }
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */

.section-testimonials {
  background-color: #F9F9F9;
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background-color: #ffffff;
  border-left: 4px solid #3A4F7A;
  padding: 40px;
  border-radius: 4px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.testimonial-text {
  font-size: 16px;
  color: #555555;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  text-align: left;
}

.testimonial-author strong {
  display: block;
  color: #0E1D36;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 13px;
  color: #999999;
  margin-bottom: 0;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.testimonial-btn {
  background-color: #3A4F7A;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-btn:hover {
  background-color: #2a3a52;
}

.testimonial-counter {
  font-size: 14px;
  color: #666666;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  .testimonials-carousel {
    max-width: 100%;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .testimonial-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}