/* ============================================================
   PAGES.CSS — Shared styles for all inner pages
   (About, Services, Why Us, Results)
============================================================ */

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #1a2f4e 60%, #c0392b 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-content {
  position: relative;
  max-width: 760px;
}
.page-hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.page-hero-content > p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #e74c3c; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---- PAGE SECTIONS ---- */
.page-section {
  padding: 90px 0;
}
.page-section-alt {
  background: #f7f9fc;
}
.page-section-navy {
  background: #0d1b2e;
}

/* ---- NAV ACTIVE STATE ---- */
.nav-link.active {
  color: #e74c3c !important;
  font-weight: 700;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) {
  .about-mission-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-mission-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0d1b2e;
  text-transform: uppercase;
  margin: 0.5rem 0 1.2rem;
}
.about-mission-text p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.about-stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d1b2e;
  line-height: 1;
}
.about-stat-green { color: #27ae60; }
.about-stat-arrow {
  font-size: 1.4rem;
  color: #e74c3c;
  font-weight: 700;
}
.about-stat-label {
  font-size: 0.78rem;
  color: #718096;
  text-align: center;
  line-height: 1.4;
  margin-top: 0.25rem;
}

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0d1b2e, #1a2f4e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: #e74c3c;
}
.value-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1b2e;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.value-card p {
  color: #4a5568;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.team-photo-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f0f4f8;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s;
}
.team-card:hover .team-photo-wrap img {
  transform: scale(1.04);
}
.team-info {
  padding: 1.5rem;
}
.team-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e74c3c;
  margin-bottom: 0.3rem;
}
.team-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d1b2e;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.team-bio {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.7;
}

/* ============================================================
   SERVICES PAGE
============================================================ */
.service-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  transition: box-shadow 0.25s;
}
.service-detail-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
@media (max-width: 600px) {
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-icon { display: none; }
}
.service-detail-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #0d1b2e, #1a2f4e);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e74c3c;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.service-detail-body { flex: 1; }
.service-detail-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e74c3c;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.service-detail-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d1b2e;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.service-detail-body p {
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}
.service-detail-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .service-detail-bullets { grid-template-columns: 1fr; }
}
.sdb-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: #2d3748;
}
.sdb-check {
  color: #27ae60;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* STEPS ROW */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.step-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 0 1rem;
}
.step-num {
  width: 56px;
  height: 56px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step-item h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0d1b2e;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step-item p {
  font-size: 0.87rem;
  color: #4a5568;
  line-height: 1.6;
}
.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: #e74c3c;
  margin-top: 28px;
  opacity: 0.4;
}
@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 30px; flex: 0 0 30px; margin: 0; }
}

/* ============================================================
   WHY US PAGE
============================================================ */
.why-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-detail-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #e74c3c;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.why-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.why-detail-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e74c3c;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.why-detail-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0d1b2e, #1a2f4e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e74c3c;
  margin-bottom: 1rem;
}
.why-detail-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1b2e;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.why-detail-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.75;
}

/* HUMAN DIFFERENCE */
.human-diff-wrap {
  text-align: center;
  padding: 2rem 0;
}
.human-diff-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.human-diff-stat { text-align: center; }
.human-diff-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #e74c3c;
  line-height: 1;
}
.human-diff-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.4rem;
  max-width: 140px;
  line-height: 1.4;
}

/* ============================================================
   RESULTS PAGE
============================================================ */
.results-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.results-metric-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.results-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.results-metric-red {
  border-top: 4px solid #e74c3c;
}
.results-metric-green {
  border-top: 4px solid #27ae60;
}
.results-metric-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d1b2e;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.results-metric-red .results-metric-num { color: #e74c3c; }
.results-metric-green .results-metric-num { color: #27ae60; }
.results-metric-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0d1b2e;
  margin-bottom: 0.75rem;
}
.results-metric-desc {
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.65;
}

/* SURVEY TABLE */
.survey-table-wrap {
  margin-top: 3rem;
  overflow-x: auto;
}
.survey-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  font-size: 0.92rem;
}
.survey-table thead tr {
  background: #0d1b2e;
  color: #fff;
}
.survey-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.survey-table td {
  padding: 0.9rem 1.25rem;
  color: #2d3748;
  border-bottom: 1px solid #edf2f7;
}
.survey-table tbody tr:hover { background: #f7fafc; }
.pct-cell { font-weight: 700; text-align: center; }
.pct-high { color: #27ae60; }
.pct-mid { color: #e67e22; }
.survey-table-total {
  background: #0d1b2e !important;
  color: #fff;
}
.survey-table-total td {
  color: #fff;
  border-bottom: none;
}
.survey-table-total .pct-cell { color: #4ade80; }
.survey-table-note {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 1rem;
  line-height: 1.6;
  font-style: italic;
}
.survey-chart-wrap {
  margin-top: 3rem;
  text-align: center;
}
.survey-chart-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1b2e;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.survey-chart-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
}

/* CASE STUDIES */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.case-study-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.11);
}
.cs-header {
  background: #0d1b2e;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cs-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.cs-result-badge {
  background: #e74c3c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cs-turnover-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f7f9fc;
  border-bottom: 1px solid #e2e8f0;
}
.cs-turnover-item { text-align: center; }
.cs-turnover-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #718096;
  margin-bottom: 0.25rem;
}
.cs-before .cs-turnover-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #e74c3c;
}
.cs-after .cs-turnover-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #27ae60;
}
.cs-arrow {
  font-size: 1.8rem;
  color: #0d1b2e;
  font-weight: 700;
}
.cs-body {
  padding: 1.5rem;
}
.cs-body p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}
.cs-body p:last-child { margin-bottom: 0; }
.cs-savings-bar {
  display: flex;
  background: #0d1b2e;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
  justify-content: space-around;
  flex-wrap: wrap;
}
.cs-saving-item { text-align: center; }
.cs-saving-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #e74c3c;
}
.cs-saving-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
}
.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  color: #e74c3c;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.testimonial-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
}
.testimonial-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}
.testimonial-company {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
============================================================ */
@media (max-width: 480px) {
  .page-hero { padding: 120px 0 60px; }
  .page-section { padding: 60px 0; }
  .about-mission-stats { grid-template-columns: 1fr; }
  .results-metrics-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
}
