/* === General Page Styles === */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fbfd;
  color: #1a1a1a;
  line-height: 1.6;
}

main.what-we-do-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* === Hero Section === */

/* === Hero Section Refined === */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px; /* slightly taller for more breathing room */
  background: linear-gradient(to bottom, rgba(18, 52, 86, 0.4), rgba(0, 0, 0, 0.3));
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25); /* subtle elevation effect */
}

.hero-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease; /* smooth subtle zoom on hover */
}



.hero-content {
  position: relative;
  z-index: 2;
  color: #f0f8ff;
  max-width: 800px;
  padding: 2rem 1rem;
  background: rgba(1, 43, 62, 0.35); /* semi-transparent overlay behind text */
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(64, 77, 92, 0.3); /* subtle floating effect */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* make text pop */
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #f0f8ff;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero .how-btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  background: linear-gradient(135deg, #60a0ff, #4090ff);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero .how-btn:hover {
  background: linear-gradient(135deg, #4090ff, #60a0ff);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* === Overview Section === */
.overview {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
  text-align: center;
}

.overview h2 {
  font-size: 2rem;
  color: #123456;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.overview p {
  font-size: 1rem;
  color: #1a1a1a;
}

/* === Process Wrap === */
.process-wrap {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Sidebar */
.progress-sidebar {
  flex: 0 0 200px;
  background: #f0f8ff;
  border-radius: 12px;
  padding: 1rem;
  position: sticky;
  top: 2rem;
  height: max-content;
}

.progress-sidebar .step-marker {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #123456;
  font-weight: 600;
  transition: all 0.2s ease;
}

.progress-sidebar .step-marker .num {
  font-size: 1.1rem;
  font-weight: bold;
  margin-right: 0.5rem;
  color: #4090ff;
}

.progress-sidebar .step-marker:hover,
.progress-sidebar .step-marker.active {
  background: #d0e4ff;
  border-radius: 8px;
  color: #123456;
}

/* Process content */
.process-content {
  flex: 1;
  min-width: 0;
  
}
/* Step Cards - Elevated Light Blue Version */
.step-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  background: #e6f3ff; /* light blue background */
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  margin-bottom: 2rem;
  padding: 1.8rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
  border: 1px solid #c1e0ff; /* subtle border for depth */
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.15);
  background: #d0eaff; /* slightly brighter on hover */
}

.step-image img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #b0d6ff; /* subtle image border for separation */
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: #0b2a3f; /* deeper color for better contrast */
  font-weight: 700;
}

.step-content p {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: #123c5a;
  line-height: 1.5;
}



/* === CTA Section === */
.cta-section {
  background: #e6f2ff;
  border-radius: 16px;
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 3rem;
}

.cta-section h2 {
  font-size: 2rem;
  color: #123456;
  margin-bottom: 2rem;
}

.cta-section p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 0.75rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cta-btn.primary {
  background: #4090ff;
  color: #fff;
}

.cta-btn.primary:hover {
  background: #3078d0;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: #4090ff;
  border: 2px solid #4090ff;
}

.cta-btn.secondary:hover {
  background: #4090ff;
  color: #fff;
  transform: translateY(-2px);
}

/* === Responsive === */
@media (max-width: 992px) {
  .process-wrap {
      flex-direction: column;
  }
  .progress-sidebar {
      flex: 1;
      order: 1;
      margin-bottom: 2rem;
  }
  .process-content {
      order: 2;
  }
  .step-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  .step-image img {
      width: 100%;
      height: auto;
  }
}
/* === Tablet (768px - 991px) === */
@media (max-width: 991px) {
  main.what-we-do-container {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .hero .how-btn {
    padding: 0.6rem 2rem;
  }

  .overview h2 {
    font-size: 1.7rem;
  }
  .overview p {
    font-size: 0.95rem;
  }

  .step-card {
    padding: 1.2rem;
  }
  .step-content h3 {
    font-size: 1.4rem;
  }
  .step-content p {
    font-size: 0.95rem;
  }

  .cta-section h2 {
    font-size: 1.7rem;
  }
  .cta-section p {
    font-size: 0.95rem;
  }
  .cta-btn {
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
  }
}

/* === Mobile (up to 767px) === */
@media (max-width: 767px) {
  .hero {
    min-height: 400px;
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .how-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  .overview h2 {
    font-size: 1.5rem;
  }
  .overview p {
    font-size: 0.9rem;
  }

  .process-wrap {
    flex-direction: column;
    gap: 1.2rem;
  }

  .step-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .step-image img {
    width: 100%;
    height: auto;
  }

  .step-content h3 {
    font-size: 1.3rem;
  }
  .step-content p {
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .cta-section p {
    font-size: 0.9rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
/* === Responsive Fix for Sidebar Overlap === */
@media (max-width: 992px) {
  .process-wrap {
    flex-direction: column; /* stack sidebar above content */
  }

  .progress-sidebar {
    width: 100%;           /* full width on mobile */
    margin-bottom: 1.5rem; /* spacing below */
    position: relative;    /* remove sticky so it scrolls naturally */
    top: auto;
  }

  .process-content {
    width: 100%;           /* full width */
    min-width: 0;          /* ensures content doesn’t overflow */
  }

  .step-card {
    flex-direction: column; /* stack image above text */
    align-items: center;
    text-align: center;
  }

  .step-image img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 6rem; /* pull text down on small screens */
  }
}
