/* === GENERAL PAGE SETUP === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  color: #023047;
  background: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}





/* === PROCESS SECTION === */
/* PROCESS SECTION */
.process {
  padding: 6rem 2rem 4rem 2rem; /* top, right, bottom, left */
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.process h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #0077b6;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.2em;
  text-shadow: 0 0 5px #0897ba;
  margin-top: 2rem;
}

.process .section-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #045061;
  max-width: 800px;
  margin: 0 auto; /* center paragraph */
  margin: 0 auto 3rem auto; /* added bottom margin for gap */
  font-weight: 400;
margin-top: 2rem;
 
}

.process .section-intro strong {
  font-family: 'Orbitron', sans-serif;

  color: #14537a;
}

/* === STEP GRID === */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
  text-align: center;
}

.step {
  background: linear-gradient(145deg, #e6f8fc, #d7f1f7);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 120, 180, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 120, 180, 0.2);
}

.step img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.step img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.step h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #002244;
  margin-bottom: 0.5rem;
}

.step p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #045061;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  #header h1 {
    font-size: 2rem;
  }
  .intro p, .process .section-intro {
    font-size: 0.95rem;
  }
  .step img {
    max-height: 140px;
  }
}

@media (max-width: 480px) {
  .step-grid {
    gap: 1.5rem;
  }
}


/* ===== INTEGRATION TABLE ===== */

.integration h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-color, #026699);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  text-transform: uppercase;


}

.integration-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.integration-table th,
.integration-table td {
  border: 1px solid #cbd5e1;
  padding: 0.8rem;
  text-align: left;
}

.integration-table th {
  background: linear-gradient(145deg, #0c6b81, #1f98b3);
  color: #fff;
}

.integration-table tbody tr:nth-child(even) {
  background-color: #f1f5f9;
}

/* ===== APPLICATIONS GRID ===== */

.applications h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-color, #026699);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  text-transform: uppercase;
}
.metrics h2 {
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--accent-color, #026699);
  margin-bottom: 1rem;
  text-align: center;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
  margin-top: 1rem;
}

.app-card {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(14,165,233,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.2);
}
/* ===========================
   METRICS SECTION — LIGHT + MODERN (TIGHTER VERSION)
   =========================== */
   .metrics {
    background: #f6f9fc;
    padding: 3rem 1.5rem 0.5rem; /* reduced bottom space */
    text-align: center;
    color: #1e2b3a;
  }
  
  .metrics h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color, #026699);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
    text-transform: uppercase;
  }
  
  .metrics p {
    max-width: 650px;
    margin: 0 auto 2rem; /* slightly smaller margin */
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  /* Metric grid */
  .metric-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* slightly smaller boxes */
    gap: 1.2rem; /* reduced spacing */
    padding: 0;
    list-style: none;
  }
  
/* INDIVIDUAL BOXES — smaller & tighter */
.metric-list li {
  background: white;
  padding: 1rem 1.2rem;          /* smaller box */
  border-radius: 14px;
  width: 200px;                  /* reduced width */
  min-height: 110px;             /* reduced height */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  color: #4a5b6d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;      /* tighten spacing for the label text */

}

  
  .metric-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }
  
/* BIG NUMBER — tighter line spacing */
.metric-list li strong {
  font-size: 1.6rem;
  color: #1d4f91;
  margin-bottom: 0rem;         /* reduces gap */
  line-height: 1.1;              /* tighter */
}
  
  /* Capitalized labels */
  .metric-list br + * {
    text-transform: capitalize;
  }
  
  
  /* ===========================
     CTA SECTION — CLEAN LIGHT THEME
     =========================== */
  .cta {
    background: #ffffff;
    padding: 2rem 1.5rem 5rem;
    text-align: center;
    color: #1e2b3a;
    border-top: 1px solid #e2e7ef;
  }
  
  .cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a2a40;
  }
  
  .cta p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #3a4b60;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  
  /* Primary CTA Button */
  .btn-primary {
    background: #2a69b8;
    border: 2px solid #2a69b8;
    padding: 0.85em 2.2em;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
    background: #1f4f8a;
    border-color: #1f4f8a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(42,105,184,0.25);
  }
  
  /* Outline Button */
  .btn-outline {
    background: transparent;
    border: 2px solid #2a69b8;
    padding: 0.85em 2.2em;
    border-radius: 25px;
    color: #2a69b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
  }
  
  .btn-outline:hover {
    background: #2a69b8;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(42,105,184,0.25);
  }
  

/* ===== RESPONSIVE SPACING ===== */
@media (max-width: 768px) {
  section {
    padding: 1.5rem 0;
  }

  .metric-list li {
    flex: 1 1 100%;
  }
}

/* === PAGE HEADER === */
#header {
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  background: linear-gradient(135deg, #0d3b5f, #14537a);
  color: #e0f7ff;
  border-radius: 12px;
  max-width: 900px;
  margin: 3rem auto 2rem auto;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 6px 20px rgba(0, 60, 100, 0.2);
}

#header h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}



/* ================================
   FULL MOBILE / TABLET COMPACT STYLES
================================ */
@media (max-width: 1024px) {
  /* Step grid */
  .step-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {

  /* General section spacing */
  section {
    padding: 1.5rem 1rem; /* minimal vertical spacing */
    margin-top: 0;
  }

  /* Body text */
  body {
    line-height: 1.5;
  }

  /* Header */
  #header {
    padding: 2rem 1rem 1.5rem;
    margin: 2rem auto 1.5rem auto;
  }

  #header h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  /* Process Section */
  .process {
    padding: 2rem 1rem 1.5rem 1rem;
  }

  .process h2 {
    font-size: 1.8rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .process .section-intro {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Step grid */
  .step img {
    max-height: 140px;
  }

  .step h3 {
    font-size: 1rem;
  }

  .step p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* Applications grid */
  .app-grid {
    gap: 1rem;
  }

  .app-card img {
    height: 140px;
  }

  .app-card p {
    font-size: 0.95rem;
  }

  /* Integration table */
  .integration h2 {
    font-size: 1.6rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .integration-table th,
  .integration-table td {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  /* Metrics */
  .metrics {
    padding: 2rem 1rem 0.5rem;
  }

  .metrics h2 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .metrics p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .metric-list {
    gap: 1rem;
  }

  .metric-list li {
    flex: 1 1 100%;
    padding: 0.8rem 1rem;
    min-height: 90px;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .metric-list li strong {
    font-size: 1.4rem;
  }

  /* CTA section */
  .cta {
    padding: 1.5rem 1rem 3rem;
  }

  .cta h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

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

  .cta-buttons {
    gap: 0.8rem;
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.7em 1.8em;
    font-size: 0.9rem;
  }

  /* Hero section (if present) */
  .hero {
    height: 50vh;
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  /* Further compact for small phones */
  .step-grid, .app-grid {
    gap: 1rem;
  }

  .step img, .app-card img {
    height: 120px;
  }

  .metric-list li {
    padding: 0.6rem 0.8rem;
    min-height: 80px;
    font-size: 0.85rem;
  }

  .metric-list li strong {
    font-size: 1.3rem;
  }

  .process h2,
  .integration h2,
  .applications h2,
  .metrics h2,
  .cta h2 {
    font-size: 1.5rem;
  }

  section p,
  .process .section-intro,
  .step p,
  .cta p {
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.6em 1.5em;
    font-size: 0.85rem;
  }
}
/* ===========================
   METRICS MEDIA QUERY FIX
=========================== */
@media (max-width: 768px) {
  .metric-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* shrinkable boxes */
    gap: 1rem;
    justify-items: center; /* center items in grid */
  }

  .metric-list li {
    width: 100%;      /* full width of column */
    max-width: 180px; /* optional: prevent too wide boxes */
    min-height: 90px; /* keep enough height */
  }
}

@media (max-width: 480px) {
  .metric-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
  }

  .metric-list li {
    max-width: 140px;
    padding: 0.6rem 0.8rem;
  }
}
@media (max-width: 480px) {
  .process {
    padding-top: 10rem; /* pull text down on small screens */
  }
}