/* =========================================
   About Page Styles
   ========================================= */

/* ---------- About Page Base ---------- */
body.page-template-page-about,
.about-page {
  background: #ffffff;
  color: var(--color_2, #031d7c);
}

/* ---------- Hero Section ---------- */
.about-hero {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color_1, #f58023) 0%, var(--color_2, #031d7c) 100%);
  color: white;
}

.hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.about-hero .about-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 4.2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero .hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: 400;
  opacity: 0.9;
}

/* ---------- Section Base Styles ---------- */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

/* ---------- Who We Are ---------- */
.about-who-we-are .section-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}
.locations-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.location-item {
  background: var(--color_4, #1b2a56);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* ---------- Who We Are Grid ---------- */
.who-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy map"
    "illustration map";
  align-items: start;
}
.who-copy { grid-area: copy; }
.who-map { grid-area: map; }
.who-illustration { grid-area: illustration; }
.who-map img,
.who-illustration img { width: 100%; height: auto; border-radius: 8px; }

@media (max-width: 768px) {
  .who-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "map" "illustration";
  }
}

/* ---------- Vision ---------- */
.about-vision .vision-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.about-vision .vision-copy {
  flex: 1 1 320px;
}
.about-vision .vision-copy p {
  line-height: 1.6;
}
.about-vision .vision-media img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

/* ---------- Why Choose ---------- */
.why-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
.why-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.why-item:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.why-heading {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

/* ---------- Approach ---------- */
.approach-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.approach-step {
  flex: 0 1 200px;
  text-align: center;
  position: relative;
}
.approach-step:not(:last-child)::after {
  content: "\2192"; /* rightwards arrow */
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--color_2, #031d7c);
}
@media (max-width: 768px) {
  .approach-step:not(:last-child)::after { display: none; }
}
.approach-step h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
}

/* ---------- Testimonials ---------- */
.about-testimonials .testimonials-carousel {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}
.testimonial-item {
  display: none;
  text-align: center;
}
.testimonial-item.active {
  display: block;
}
.testimonial-item blockquote {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.testimonial-item cite {
  font-style: normal;
  font-weight: 500;
}

/* ---------- Contact CTA ---------- */
.about-contact-cta {
  background: var(--color_1, #f58023);
  color: #fff;
  text-align: center;
}
.about-contact-cta .cta-heading {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.cta-button {
  display: inline-block;
  background: #fff;
  color: var(--color_1, #f58023);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cta-button:hover {
  background: rgba(255,255,255,0.85);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .about-vision .vision-inner {
    flex-direction: column;
  }
} 

/* ---------- Icon Placeholders (Why Choose & Approach) ---------- */
.why-icon, .step-icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Why Choose Icons */
.why-icon.distributed-excellence {
  background-image: url('../images/distributed-excellence.jpg');
}
.why-icon.ai-efficiency {
  background-image: url('../images/ai-efficiency.jpg');
}
.why-icon.track-record {
  background-image: url('../images/proven-track-record.jpg');
}

/* Approach Step Icons */
.step-icon.discovery {
  background-image: url('../images/discovery.jpg');
}
.step-icon.prototyping {
  background-image: url('../images/prototyping.jpg');
}
.step-icon.development {
  background-image: url('../images/development.jpg');
}
.step-icon.improvement {
  background-image: url('../images/improvement.jpg');
} 

/* ---------- Who We Are ---------- */
.about-who-we-are {
  background: #eeeeec;
}

/* ---------- Vision ---------- */
.about-vision {
  background: #fafafa;
}

/* ---------- Why Choose ---------- */
.about-why-choose {
  background: #f8f9fa;
}

/* ---------- Approach ---------- */
.about-approach {
  background: #ffffff;
}

/* ---------- Testimonials ---------- */
.about-testimonials {
  background: #f8f9fa;
} 