/* === 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::after {
  content: "";
  position: absolute;
  inset: 0;



  z-index: 1;
}


.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 */
  }
}

/* === Large Screen (1920px and above) === */
@media (min-width: 1400px) {
  /* Main container */
  body, html {
    font-size: 18px; /* base font larger */
  }

  main.what-we-do-container {
    max-width: 1600px; /* wider page container */
    padding: 3rem 2rem;
  }

  /* Hero Section */
  .hero {
    min-height: 750px; /* taller hero */
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero p {
    font-size: 1.8rem;
  }
  .hero .how-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
  }

  /* Overview Section */
  .overview {
    padding: 3rem 2rem;
  }
  .overview h2 {
    font-size: 2.8rem;
  }
  .overview p {
    font-size: 1.4rem;
  }

  /* Process Section */
  .process-wrap {
    gap: 3rem;
    justify-content: center; /* center sidebar + content */
  }
  .progress-sidebar {
    flex: 0 0 250px; /* wider sidebar */
  }
  .process-content {
    flex: 1;
    min-width: 0;
  }
  .step-card {
    gap: 3rem;
    padding: 3rem;
    flex-direction: row;
  }
  .step-image img {
    width: 300px;
    height: 200px;
  }
  .step-content h3 {
    font-size: 2.2rem;
  }
  .step-content p {
    font-size: 1.4rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 4rem 2rem;
  }
  .cta-section h2 {
    font-size: 3rem;
  }
  .cta-section p {
    font-size: 1.5rem;
  }
  .cta-btn {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
  }

  /* Hero & Overview centered */
  .hero-content, .overview, .cta-section {
    max-width: 1200px;
    margin: 0 auto;
  }
}
/* === Hero Full Width + Bigger Fonts for 1400px+ === */
@media (min-width: 1400px) {
  .what-we-do-container .hero {
    position: relative;
    width: 100vw;                       /* full viewport width */
    margin-left: calc(-50vw + 50%);     /* override container centering */
    left: 0;
    right: 0;
    min-height: 800px;                  /* taller hero for large screens */
    overflow: hidden;
  }

  .hero-background img {
    width: 100vw;                        /* full width */
    height: 100%;
    object-fit: cover;                   /* cover entire hero area */
    transition: transform 0.6s ease;
  }

  .hero-content {
    max-width: 1200px;                   /* text width limit */
    margin: 0 auto;                      /* center text */
    padding: 3rem 2rem;                  /* more padding for large screens */
    background: rgba(1, 43, 62, 0.35);  /* semi-transparent overlay */
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(64, 77, 92, 0.3);
  }

  .hero-content h1 {
    font-size: 4rem;                     /* bigger title */
    margin-bottom: 1.5rem;
  }

  .hero-content p {
    font-size: 1.8rem;                   /* bigger description */
    margin-bottom: 2.5rem;
    line-height: 1.6;
  }

  .hero .how-btn {
    padding: 1rem 3rem;                  /* bigger button */
    font-size: 1.2rem;
  }
}
/* === Center CTA Section for 1400px+ Screens === */
@media (min-width: 1400px) {
  .cta-section {
    max-width: 1200px;       /* limit width for readability */
    margin: 0 auto;          /* center horizontally */
    text-align: center;      /* center all text and buttons */
    padding: 4rem 2rem;      /* more space on large screens */
  }

  .cta-section h2 {
    font-size: 3rem;         /* larger title */
    margin-bottom: 2rem;
  }

  .cta-buttons {
    justify-content: center;  /* center buttons horizontally */
    gap: 1.5rem;              /* more spacing between buttons */
  }

  .cta-btn {
    font-size: 1.2rem;       /* bigger buttons */
    padding: 1rem 2.5rem;
  }
}


@media (max-width: 800px) {
  .step-image img {
    max-width: 370px;    /* smaller images */
    height: auto;
  }
}


.hero-content {
  margin-top: 50px; /* adjust value to bring content down */
}
@media (max-width: 800px) {
  .hero-content {
    max-width: 90%;       /* narrower than full width */
    margin: 40px auto 0;  /* bring content down and center */
    padding: 1rem;        /* smaller inner padding */
  }

  .hero h1 {
    font-size: 2rem;    /* smaller heading */
  }

  .hero p {
    font-size: 1.2rem;   /* smaller paragraph */
  }

  .hero .how-btn {
    padding: 0.4rem 1.2rem; /* smaller button */
    font-size: 0.85rem;
  }
}



/* ============================================
   PROCESS PAGE — FULL CSS (SAFE & SCOPED)
   ============================================ */

/* ----------- Hero Section ----------- */

.what-we-do-container .hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.what-we-do-container .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(68%);
}

.what-we-do-container .hero-content {
  position: absolute;
  text-align: center;
  max-width: 720px;
  padding: 0 20px;
}

.what-we-do-container .hero-content h1 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 700;
}

.what-we-do-container .hero-content p {
  font-size: 1.15rem;
  color: #e7f3ff;
  margin-bottom: 24px;
  line-height: 1.6;
}

.what-we-do-container .how-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #0a4d8c;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.25s ease;
}

.what-we-do-container .how-btn:hover {
  background: #083b6b;
  transform: translateY(-2px);
}


/* ----------- Step Cards ----------- */

.step-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 28px;
  max-width: 900px;
  margin: 30px auto;
  box-shadow: 0 4px 16px rgba(0, 62, 130, 0.08);
  border: 1px solid #e6eef8;
}

.step-badge {
  min-width: 50px;
  height: 50px;
  background: #0a4d8c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.step-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #14365f;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.55;
  color: #375777;
}


/* ----------- CTA Section ----------- */

.process-cta {
  max-width: 800px;
  margin: 80px auto 60px auto;
  padding: 40px;
  background: #f8fbff;
  border: 1px solid #e2ecf9;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 54, 120, 0.06);
}

.process-cta .cta-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #14365f;
  margin-bottom: 25px;
  font-weight: 400;
}

.process-cta .cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #0d4a8a;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
  border: 1px solid #0d4a8a;
}

.process-cta .cta-btn:hover {
  background: #0a3a6d;
  border-color: #0a3a6d;
  transform: translateY(-2px);
}

.process-cta .cta-btn:active {
  transform: translateY(0px);
  background: #09345f;
}


/* ----------- Responsive Design ----------- */

@media (max-width: 700px) {

  .what-we-do-container .hero-content h1 {
      font-size: 2.2rem;
  }

  .step-card {
      flex-direction: column;
      text-align: center;
      padding: 24px;
  }

  .step-badge {
      margin-bottom: 12px;
  }

  .what-we-do-container .hero {
      height: 350px;
  }
}




/* === Hero Section — Premium Elevated Version === */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 3rem;
  background: #0a1c2b;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  width: 100%;

}

/* Background Image */
.hero-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s ease;
  
}

.hero:hover .hero-background img {
  transform: scale(1.03);
}

/* Cinematic overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(1, 10, 20, 0.25),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 1;
}

/* Glass floating text container */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 3.5rem 2.8rem;
  
  backdrop-filter: blur(14px) saturate(150%);
  background: rgba(10, 32, 48, 0.45);
  
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  
  box-shadow: 
    0 8px 35px rgba(0,0,0,0.28),
    inset 0 0 18px rgba(255,255,255,0.06);
}

/* Headline — luxury, bold, clean-tech */
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  
  text-shadow:
    0 3px 12px rgba(0,0,0,0.75),
    0 0 8px rgba(255,255,255,0.15);
}

/* Paragraph — ultra-readable on image */
.hero p {
  font-size: 1.45rem;
  line-height: 1.65;
  margin-bottom: 2.2rem;
  color: #e8f6ff;

  text-shadow:
    0 2px 8px rgba(0,0,0,0.65),
    0 0 4px rgba(0,0,0,0.4);
}

/* Button */
.hero .how-btn {
  display: inline-block;
  padding: 0.85rem 2.8rem;
  border-radius: 40px;

  background: linear-gradient(135deg, #68b0ff, #3d8fff);
  color: #fff;

  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;

  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.hero .how-btn:hover {
  background: linear-gradient(135deg, #3d8fff, #68b0ff);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 38px rgba(0,0,0,0.45);
}

.what-we-do-container .hero {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* BREAK OUT of the container */
  border-radius: 0;              /* optional: makes it flush edge-to-edge */
}
.hero-content {
  padding: 2rem 1rem !important;
  margin-top: 75px;
}


/* MEDIA QUERY FOR LARGE SCREENS 1400PX+ */
@media (min-width: 1400px) {

  /* H1 inside the hero section */
  .what-we-do-container .hero h1 {
    font-size: 48px !important; /* adjust as needed */
  }

  /* Paragraphs inside hero section */
  .what-we-do-container .hero p {
    font-size: 30px !important; /* adjust as needed */
  }

  /* Step cards H3 */
  .what-we-do-container .step-card h3 {
    font-size: 32px !important; /* adjust as needed */
  }

  /* Paragraphs inside step cards */
  .what-we-do-container .step-card p {
    font-size: 28px !important; /* adjust as needed */
  }

  /* Strong text inside paragraphs inside step cards */
  .what-we-do-container .step-card p strong {
    font-size: 18px !important; /* match paragraph size */
  }

  /* CTA section paragraphs */
  .what-we-do-container .process-cta p {
    font-size: 29px !important;
  }

  /* Optional: CTA buttons font size */
  .what-we-do-container .process-cta a.cta-btn {
    font-size: 20px !important;
  }
}
