
 
    /* ══════════════════════════════════
     HERO WRAPPER
  ══════════════════════════════════ */
  .hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "top-left   top-right"
    "mid-left   mid-right"
    "bot-left   bot-right";
  padding: 120px 56px 64px;
  overflow: hidden;
  background-image: url("../images/serviceBg.webp");
  background-size: cover;
  background-position: center;
}
  /* ── Four-corner hero elements ── */
  .hero-top-left,
  .hero-top-right,
  .hero-bottom-left,
  .hero-bottom-right {
    position: relative;
    z-index: 20;
  }



  .hero-bottom-right{ grid-area: bot-right; align-self: end; justify-self: end; }

  .hero-top-right { display: none; }
  .hero-bottom-left {  grid-area: mid-left;  align-self: end; display: flex; flex-direction: column; gap: 20px; }






    /* dark overlay */
   .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to right,
      rgba(0, 10, 30, 0.78) 0%,
      rgba(0, 10, 30, 0.22) 55%,
      rgba(0, 0, 0, 0.08) 100%
    );
  z-index: 0;
}
    /* bottom fade into page */
    .hero::after{ display: none; }
  
   .center {
    position: relative;
    z-index: 20;
    text-align: center;
    max-width: 560px;
    padding: 0 28px;
  }



  .headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 3.2vw, 4rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.5s forwards;
  }
  .headline em {
    font-style: italic;
    color: #fff;
  }

  /* ─── sub (top-right) ─── */
  .sub {
    font-size: clamp(1.25rem, 1.3vw, 1.75rem);

    color: var(--gold);
    /* font-weight: 700; */
    line-height: 1.65;
    margin: 0;
    font-weight: 600;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.65s forwards;
  }


  .divider {
    width: 48px;
    height: 1px;
    background: rgba(0,200,160,0.4);
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.78s forwards;
  }

 
  .btns {
    display: flex;
    gap: 14px;
    /* justify-content: center; */
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 1.1s forwards;
  }

 .btn-primary {
    padding: 13px 32px;
    background: rgba(0,200,160,0.1);
    border: 1px solid rgba(0,200,160,0.55);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2.5px;
    /* text-transform: uppercase; */
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
  }
  .btn-primary:hover {
    background: rgba(0,200,160,0.22);
    border-color: var(--teal);
  }

  .btn-secondary {
    padding: 13px 32px;
    background: rgba(3, 136, 156, 0.679);
    border: 1px solid rgba(0,200,160,0.55);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2.5px;
    /* text-transform: uppercase; */
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s;
  }
  .btn-secondary:hover {
    border-color: rgba(160,200,240,0.6);
    color: var(--text);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ══════════════════════════════════
     SHIP SILHOUETTES
  ══════════════════════════════════ */
  .ships-layer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 110px;
    z-index: 7;
    pointer-events: none;
  }

  /* ══════════════════════════════════
     FLOATING PARTICLES
  ══════════════════════════════════ */
  .particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 7;
  }
  .p1 { width:3px; height:3px; background:rgba(77,201,160,0.55); top:38%; left:11%;  animation: float1 13s ease-in-out infinite; }
  .p2 { width:2px; height:2px; background:rgba(100,170,210,0.5);  top:24%; left:79%; animation: float2 17s ease-in-out infinite; }
  .p3 { width:4px; height:4px; background:rgba(77,201,160,0.28);  top:61%; right:14%; animation: float3 21s ease-in-out infinite; }
  .p4 { width:2px; height:2px; background:rgba(150,200,220,0.38); top:14%; left:41%; animation: float1 15s ease-in-out 3s infinite; }
  .p5 { width:3px; height:3px; background:rgba(77,201,160,0.2);   top:72%; left:55%; animation: float2 19s ease-in-out 6s infinite; }

  @keyframes float1 {
    0%,100% { transform: translate(0, 0); opacity: 0.6; }
    33%      { transform: translate(9px, -13px); opacity: 1; }
    66%      { transform: translate(-6px, -9px); opacity: 0.7; }
  }
  @keyframes float2 {
    0%,100% { transform: translate(0, 0); opacity: 0.5; }
    50%      { transform: translate(-11px, -16px); opacity: 0.9; }
  }
  @keyframes float3 {
    0%,100% { transform: translate(0, 0); opacity: 0.3; }
    40%      { transform: translate(13px, -11px); opacity: 0.7; }
  }



       
 
  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }

  /* ── NAV / HERO base responsive ── */
  @media (max-width: 900px) {
      /* ── HERO mobile ── */
      .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
          "top-left"
          "mid-left"
          "bot-right";
        padding: 100px 28px 60px;
        gap: 24px;
        min-height: 100vh;
      }
      .hero-top-right  { justify-self: start; max-width: 100%; }
      .hero-bottom-right { justify-self: start; }
      .btns { justify-content: flex-start; }
      .headline { font-size: clamp(2.2rem, 8vw, 3rem); }

    
   
    .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 8rem; }
  }

  /* ── SECTION HEADER ── */
  .section-header {
    margin-top: 40px;
    font-family: var(--font-heading);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
    /* padding: 3.5rem 0 2.25rem; */
  }
  .section-label {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: 0.2em;
    color: rgb(31, 179, 36);
    font-weight: 600;
  }
  .section-count {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  /* ── SERVICE GRID ── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    font-family: var(--font-heading);


    border: 0.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
  }

  .card {
    /* background: var(--cream); */
    padding: 2rem 1.75rem 2.25rem;
    position: relative;
    cursor: default;
    transition: background 0.25s ease;
    overflow: hidden;
  }
  .card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .card:hover { background: var(--white); }
  .card:hover::after { width: 100%; }

  .card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }
  .card-num {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
  }
  .card-icon {
    width: 40px;
    height: 40px;
    background: var(--cream-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
  }
  .card:hover .card-icon { background: var(--gold-pale); }
  .card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    /* font-style: italic; */

    margin-bottom: 0.65rem;
    line-height: 1.2;
  }
  .card p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 700;
  }

  /* ── BOTTOM STRIP ── */
  .bottom-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 3rem 0 5rem;
    border-top: 0.5px solid var(--border);
    margin-top: 3.5rem;
    background-color: #dff3e6;
  }
  .stats {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .stat {
    padding: 0 2.5rem;
    text-align: center;
    border-right: 0.5px solid var(--border);
  }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 5px;
  }
  .stat-lbl {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(31, 179, 36);
  }
  .cta-group { display: flex; gap: 1rem; align-items: center; }
  .card-btn-primary {
    background: var(--text);
    
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 12.5px;
    letter-spacing: 0.07em;
    /* text-transform: uppercase; */
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    font-weight: 500;
  }
  
  .card-btn-secondary {
    color: rgb(31, 179, 36);
    border: 0.5px solid rgb(31, 179, 36);
    background: transparent;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 12.5px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
  }
  .card-btn-secondary:hover { background: rgb(31, 179, 36); color: var(--white); }

  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }

  /* ══════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════ */

  /* ── Tablet (≤ 900px) ── */
  @media (max-width: 900px) {
    

    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .card {
      padding: 1.5rem 1.25rem 1.75rem;
    }

    .bottom-strip {
      flex-direction: column;
      align-items: stretch;
      gap: 2rem;
      /* padding: 2rem 0 3.5rem; */
      margin-top: 2.5rem;
    }

    /* Stats: keep in a row but evenly spread */
    .stats {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 0;
      flex-wrap: nowrap;
      width: 100%;
    }

    .stat {
      flex: 1;
      text-align: center;
      
      border-right: 0.5px solid var(--border);
    }
    .stat:first-child { padding-left: 0; }
    .stat:last-child  { border-right: none; }

    .stat-num {
      font-size: 1.4rem;
    }

    /* CTA buttons side by side */
    .cta-group {
      display: flex;
      flex-direction: row;
      gap: 0.75rem;
      width: 100%;
    }

    .card-btn-primary,
    .card-btn-secondary {
      flex: 1;
      text-align: center;
      box-sizing: border-box;
      padding: 13px 16px;
    }
  }

  /* ══════════════════════════════════
     PRODUCTS SECTION
  ══════════════════════════════════ */
  .products-section {
    
    padding: 6rem 0 2rem;
    margin-top: 0;
    border-top: 0.5px solid var(--border);
    
  }

  .products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
  }
  .products-header-left .section-label {
    display: block;
    margin-bottom: 0.6rem;
  }
  .products-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
  }
  .products-title em {
    /* font-style: italic; */
    color: var(--gold);
  }
  .products-intro {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--muted);
    max-width: 400px;
    margin: 0;
  }

  /* Product grid */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
  }

  .product-card {
    background: var(--white);
    padding: 1.75rem 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    transition: background 0.22s;
  }
  .product-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--gold);
    transition: width 0.3s ease;
  }
  .product-card:hover { background: #fdfcfb; }
  .product-card:hover::after { width: 100%; }

  .product-icon {
    width: 40px;
    height: 40px;
    background: var(--cream-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.22s;
  }
  .product-card:hover .product-icon { background: var(--gold-pale); }
  .product-icon svg {
    width: 19px; height: 19px;
    stroke: var(--text);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .product-body { flex: 1; }
  .product-body h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.45rem;
    line-height: 1.2;
    /* font-style: italic; */
  }
  .product-body p {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
  }

  .product-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
    border: 0.5px solid var(--gold);
    border-radius: 4px;
    padding: 2px 8px;
    align-self: flex-start;
    font-weight: 500;
  }

  /* Products footer bar */
  .products-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2.5rem 0 4rem;
    border-top: 0.5px solid var(--border);
    margin-top: 3rem;
    background-color: #3be167;

  }
  .products-footer-note {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }
  .products-count {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
  }
  .products-count-lbl {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(31, 179, 36);
  }

  /* ── Tablet (≤ 900px) products ── */
  @media (max-width: 900px) {
    .products-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .products-header {
      flex-direction: column;
      align-items: flex-start;
    }
    .products-intro { max-width: 100%; }
    .products-footer {
      flex-direction: column;
      align-items: stretch;
    }
    .products-footer .cta-group {
      flex-direction: row;
    }
    .products-footer .card-btn-primary,
    .products-footer .card-btn-secondary {
      flex: 1;
      text-align: center;
    }
  }

  /* ── Mobile (≤ 580px) products ── */
  @media (max-width: 580px) {
    .products-grid {
      grid-template-columns: 1fr;
      border-radius: 14px;
    }
    .products-footer .cta-group {
      flex-direction: column;
    }
    .products-footer .card-btn-primary,
    .products-footer .card-btn-secondary {
      width: 100%;
      text-align: center;
    }
  }

  /* ── Mobile (≤ 580px) ── */
  @media (max-width: 580px) {
    .section-header {
      flex-direction: column;
      align-items: center;
      gap: 0.3rem;
      
     
    }

    .services-grid {
      grid-template-columns: 1fr;
      border-radius: 14px;
    }

    .card {
      padding: 1.25rem 1.1rem 1.5rem;
    }

    .bottom-strip {
      gap: 1.75rem;
      padding: 1.75rem 0 3rem;
      margin-top: 2rem;
    }

    /* Stats: compact 3-column row on mobile */
    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      width: 100%;
    }

    .stat {
      flex: unset;
      
      text-align: center;
      border-right: 0.5px solid var(--border);
    }
    
    .stat-num {
      font-size: 1.15rem;
      margin-bottom: 4px;
    }

    .stat-lbl {
      font-size: 9px;
      letter-spacing: 0.08em;
    }

    /* CTA buttons: stack vertically, full width */
    .cta-group {
      flex-direction: column;
      gap: 0.65rem;
      width: 100%;
    }

    .card-btn-primary,
    .card-btn-secondary {
      flex: unset;
      width: 100%;
      text-align: center;
      box-sizing: border-box;
      padding: 14px 20px;
    }
  }