/* ─── TOKENS ─────────────────────────────────────────────
     Hero bg   : #0b1f14  (deep forest — dark hero this time)
     Green hi  : #1baa5e  (vibrant green)
     Sky       : #38bdf8  (sky blue)
     Green lt  : #e4f8ec  (same mint for contact section)
     Yellow hl : #FFE135  (spotlight highlight — untouched)
  ──────────────────────────────────────────────────────── */

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Inter', sans-serif; background: #f4fdf6; 
    overflow-x: hidden;   min-height: 100vh;   
  } 
  html{
  scroll-behavior:smooth;
}
#contactFormSection {
  scroll-margin-top: 115px; /* adjust based on header height */
}

  /* ════════ HERO — DIAGONAL SPLIT ════════ */
  .hero {
    background: #ffffff;
    position: relative; overflow: hidden; 
    
  }

  /* Sky-blue right panel with diagonal clip */
  .hero-sky-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
    background: linear-gradient(150deg, #38bdf8 0%, #0284c7 55%, #0369a1 100%);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;   
  }
  /* Dot grid on sky panel */
  .hero-sky-panel::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.13) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
  }

  /* Concentric arcs on sky side */
  .hero-arc {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
    z-index: 1; pointer-events: none;
    right: -60px; top: 50%; transform: translateY(-50%);
  }
  .hero-arc.a1 { width: 500px; height: 500px; }
  .hero-arc.a2 { width: 370px; height: 370px; border-color: rgba(255,255,255,.22); }
  .hero-arc.a3 { width: 230px; height: 230px; border-color: rgba(255,255,255,.32); }

  /* Animated location pins */
  .hero-pin {
    position: absolute; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    pointer-events: none;
  }
  .hero-pin-dot {
    width: 11px; height: 11px; border-radius: 50%;
    background: #FFE135; border: 2px solid #fff;
    box-shadow: 0 0 0 3px rgba(255,225,53,.35);
    animation: pinpulse 2.5s ease-in-out infinite;
  }
  @keyframes pinpulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(255,225,53,.35); }
    50%      { box-shadow: 0 0 0 8px rgba(255,225,53,.1); }
  }
  .hero-pin.p2 .hero-pin-dot { animation-delay: .8s; }
  .hero-pin.p3 .hero-pin-dot { animation-delay: 1.6s; }
  .hero-pin-label {
    background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
    border-radius: 5px; padding: 3px 8px;
    font-size: 10px; font-weight: 700; color: #fff; white-space: nowrap; letter-spacing: .5px;
  }

/* Pin positions */
.p1 { right: 19%; top: 22%; }
.p2 { right: 34%; top: 45%; }
.p3 { right: 12%; bottom: 28%; }
.p4 { right: 42%; top: 28%; }
.p5 { right: 22%; bottom: 20%; }
/* Animation delays */
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 1.2s; }
  /* Thin green left-edge bar */
  .hero-ledge {
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, #1baa5e 0%, #38bdf8 100%);
    z-index: 2;
  }

  .hero-inner { 
    position: relative;   z-index: 2;  
    max-width: 1160px; margin: 0 auto;  padding: 88px 52px 96px 20px; 
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 0; min-height: 520px;
  
  }

  /* ── Left — white ── */
  .hero-left {    margin-left: -120px;
 }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #e4f9ee; border: 1px solid #a8dfc0;
    border-radius: 999px; padding: 5px 16px; margin-bottom: 22px;
    font-size: 11px; font-weight: 700; color: #1baa5e; letter-spacing: 1.8px;
    text-transform: uppercase;
  }
  .he-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #1baa5e;
    animation: hepulse 2s ease-in-out infinite;
  }
  @keyframes hepulse { 0%,100%{opacity:.35;transform:scale(.8)} 50%{opacity:1;transform:scale(1)} }

  .hero-kicker {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; color: #0284c7; margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(34px, 4.2vw, 52px); font-weight: 900;
    color: #0c1a12; line-height: 1.07; letter-spacing: 0.5px; margin-bottom: 18px;
  }
  .hero h1 .hl   { color: #1baa5e; }
  .hero h1 em    { font-style: normal; color: #0284c7; }

  .hero-sub {
    font-size: 15px; color: #5a7a68; line-height: 1.78;
    max-width: 460px; margin-bottom: 34px;
  }
  .hero-sub strong { color: #0c1a12; font-weight: 700; }

  .hero-cta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 44px; flex-wrap: wrap; }
  .btn-primary-hero {
    padding: 13px 28px; border-radius: 10px;
    background: #1baa5e; color: #fff;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700;
    border: none; cursor: pointer; transition: all .2s;
    display: flex; align-items: center; gap: 8px;
  }
  .btn-primary-hero:hover { background: #0f7a42; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(27,170,94,.35); }
  .btn-ghost-hero {
    padding: 13px 28px; border-radius: 10px;
    background: white; color: #0c1a12;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    border: 1.5px solid #d0e8da; cursor: pointer; transition: all .2s;
  }
  .btn-ghost-hero:hover { border-color: #1baa5e; color: #1baa5e; }

  .presence-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .presence-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f4fbf7; border: 1.5px solid #c8e8d4;
    border-radius: 8px; padding: 6px 12px;
    font-size: 11.5px; font-weight: 600; color: #2a5a3a;
    transition: border-color .18s;
  }
  .presence-tag:hover { border-color: #1baa5e; }
  .presence-tag .pt-flag { font-size: 14px; }

  .hero-right { position: relative;
    z-index: 3;   
    display: flex; flex-direction: column; gap: 14px; flex-shrink: 0;
    padding-left: 80px;
  }

  .stat-bloc {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px; padding: 20px 26px; min-width: 200px;
    transition: all .2s;
    backdrop-filter: blur(8px);
  }
  .stat-bloc:hover { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.55); }
  .sb-num {
    font-size: 34px; font-weight: 900; font-style: italic;
    letter-spacing: -1.5px; line-height: 1;
    color: #ffffff;
    margin-bottom: 4px;
  }
  .sb-num.sky { color: #FFE135; }
  .sb-lbl { font-size: 12px; color: rgba(255,255,255,.75); font-weight: 500; }
  .stat-bloc-divider { height: 1px; background: rgba(255,255,255,.2); }
  .sb-live {
    display: flex; align-items: center; gap: 7px; margin-top: 10px;
  }
  .sb-live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80; animation: hepulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
  }
  .sb-live-txt { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 500; }

  /* ════════ VALUE STRIP ════════ */
  .value-strip {background: linear-gradient(145deg, #e4f8ec 0%, #f0fdf5 60%, #eaf9f0 100%);
    padding: 45px 52px;
    display: flex; align-items: center; justify-content: center; gap: 44px;
    flex-wrap: wrap;
  }
  .value-pill {
    display: flex; align-items: center; gap: 9px;
    font-size: 11.5px; font-weight: 700; color: #e4f8ec;
    text-transform: uppercase; letter-spacing: 0.8px;
  }
  .value-divider { width: 1px; height: 20px; background: rgba(255,255,255,.22); }

  /* ════════ CONTACT ROW ════════ */
  .contact {
   width: 100%;
   max-width: 1900px;   
   margin: 0 auto;  
   background: #f4fdf6; 
   padding: 0 0 80px;
   display: flex; justify-content: center; align-items: stretch;
  }

  /* ── Branch panels ── */
  .branch-panel {  
    flex: 1; 
    margin-top: -40px;
    background: linear-gradient(145deg, #e4f8ec 0%, #f0fdf5 60%, #eaf9f0 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; overflow: hidden; min-height: 430px;
    border: 1.5px solid #c6e8d2;
  }
  .branch-panel.left-panel  { border-radius: 20px 0 0 20px; border-right: none; }
  .branch-panel.right-panel { border-radius: 0 20px 20px 0; border-left: none; }

  .branch-region-label {
    position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: #9ecfb0; white-space: nowrap; pointer-events: none;
  }

  /* Spotlight — unchanged */
  .branch-spotlight {
    position: relative; display: inline-flex;
    align-items: center; justify-content: center;
    padding: 10px 24px; opacity: 0; transform: scale(0.9);
  }
  .hl-rect {
    position: absolute; inset: 0; background: #FFE135;
    border-radius: 8px; transform: scaleX(0); transform-origin: left center;
  }
  .branch-spotlight-text {
    position: relative; z-index: 1;
    font-size: 30px; font-weight: 800; font-style: italic;
    color: #1c4f33; letter-spacing: -0.8px; white-space: nowrap;
  }

  /* Dots — unchanged */
  .branch-dots {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 5px;
  }
  .branch-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #c6e8d2; transition: background 0.3s, transform 0.3s;
  }
  .branch-dot.active { background: #2e7d52; transform: scale(1.3); }

  /* ── Form card ── */
  .contact-card {
    background: linear-gradient(145deg, #e4f8ec 0%, #f0fdf5 60%, #eaf9f0 100%);
    border-radius: 20px;
    /*display: block;*/
    border: 1.5px solid #b8dff0; margin-top: -40px;
    display: grid; grid-template-columns: 300px 1fr;
    overflow: hidden; position: relative; z-index: 2;
    width: 1100px;   
    max-width: 95%;  
    flex-shrink: 0;
    box-shadow: 0 8px 40px rgba(56,178,172,0.10);
  }

  .cp-left {background: white;
    padding: 32px 22px; display: flex; flex-direction: column;
    border-right: 1.5px solid #b8dff0;
  }
  .cp-left{
  display:flex;
  justify-content:center;
  align-items:center;
}
.ant-img{
  width: 420px;
  height: auto;

  transform: translateY(20px);
}

/*.ant-img{*/
/*  height: 350px;*/
/*  width:350px;*/
/*  align-items:center;*/
/*}*/

  .cp-left-title {
    font-size: 15px;
    font-weight: 500; color: #1a7fa0;
    letter-spacing: 1.3px; margin-bottom: 22px;
    
  }
  .cp-item {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 11px 0; border-bottom: 1px solid rgba(56,178,172,0.18);
  }
  .cp-item:last-of-type { border-bottom: none; }
  .cp-icon {
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; background: rgba(56,178,172,0.12);
  }
  .cp-item-label {
    font-size: 15px; font-weight: 400; color: #7ab8cc;
    letter-spacing: 0.6px; margin-bottom: 2px;
  }
  
  .cp-item-val {     
   font-size: 13px;
   color: #1a1a1a; font-weight: 400; line-height: 1.6; }
  .cp-divider { height: 1px; background: rgba(56,178,172,0.2); margin: 16px 0; }
  .cp-hours-title {
    font-size: 15px; font-weight: 500; color: #1a7fa0;
    letter-spacing: 0.9px; margin-bottom: 10px;
  }
  .cp-hours-row { display: flex; justify-content: space-between; padding: 4px 0; }
  .cp-hours-day  { font-size: 13px; color: #7ab8cc; }
  .cp-hours-time { font-size: 13px; color: #1a1a1a; font-weight: 400; }

  .cp-right { 
    padding: 30px 42px;  
    background: white;
    display: flex;
    flex-direction: column;
    gap: 18px; 
  }
  .form-eyebrow {font-size: 15px; 
    font-weight: 400; color: #2e9e84;
    letter-spacing: 1px; 
    margin-bottom: 4px;
  }
  .form-heading {  font-size: 18px; 
    font-weight: 300;font-style: normal;
    color: #111111; letter-spacing: -0.3px; margin-bottom: 18px;
  }
  .topic-selector { display: flex; gap: 6px; flex-wrap: wrap;   margin-bottom: 24px;
  }
  .topic-btn {
    padding: 5px 13px; border-radius: 20px;
    border: 1.5px solid #b0dff0; background: #e8f7ef;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 400;
    color: #222222; cursor: pointer; transition: all .18s;
  }
  .topic-btn:hover { border-color: #1a7fa0; background: #ddf0f8; color: #111111; }
  .topic-btn.active { background: linear-gradient(135deg,#1a7fa0,#2e9e84); color: #fff; border-color: transparent; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
     margin-bottom: 0;
    }
  .cp-right .form-row {
   align-items: flex-start !important;  
  }
  .field label {
    display: block;
    font-size: 14.5px;
    font-weight: 500;
    color: #444444;
    letter-spacing: 0.2px;
    margin-bottom: 6px;
  }
    .field input, .field textarea, .field select {
    width: 100%; border: 1.5px solid #c4e8f5; border-radius: 9px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif; 
    font-size: 15px;
    font-weight: 400;
    color: #111111; background: #eaf7f0; outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s; resize: none;
  }
    .field input:focus, .field textarea:focus, .field select:focus {
    border-color: #38b2c8; background: #eaf8f2;
    box-shadow: 0 0 0 3px rgba(56,178,200,0.13);
  }
  .field input, .field textarea {
    width: 100%; border: 1.5px solid #c4e8f5; border-radius: 9px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif; 
    font-size: 15px;
    font-weight: 400;
    color: #111111; background: #eaf7f0; outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s; resize: none;
  }
  .field input:focus, .field textarea:focus {
    border-color: #38b2c8; background: #eaf8f2;
    box-shadow: 0 0 0 3px rgba(56,178,200,0.13);
  }
  .field input::placeholder, .field textarea::placeholder { color: #a0c8d8; }
  .field textarea {   height: 75px;
  }

  .form-bottom { display: flex; 
     align-items: center;
     justify-content: space-between;
     margin-top: 22px;
     }
  .privacy-note { font-size: 15px; color: #80bdd0; display: flex; align-items: center; gap: 5px; }
  .send-btn {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #1a7fa0 0%, #2e9e84 100%);
    color: #fff;
    font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700;
    padding: 8px 18px; 
    border: none; border-radius: 9px; cursor: pointer;
    transition: opacity .2s, transform .1s;
    box-shadow: 0 4px 16px rgba(26,127,160,0.28);
  }
  .send-btn:hover { opacity: 0.88; }
  .send-btn:active { transform: scale(0.98); }
   .send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #a0c8d8;
    box-shadow: none;
    transform: none;
  }



/* ═══════════════════════
   RESPONSIVE SYSTEM
   ═══════════════════════ */


/* 🖥 Large Screens (1400px+) */
@media (min-width: 1400px) {
  .hero-inner {
    max-width: 1200px;
  }

  .contact-card {
    width: 1200px;
  }
}


/* Laptop (≤ 1200px) */
@media (max-width: 1200px) {

  .hero-inner {
    padding: 80px 40px;
  }

  .hero-left {
    margin-left: -40px;
  }

  .hero-right {
    padding-left: 40px;
  }

  .contact-card {
    width: 95%;
    grid-template-columns: 260px 1fr;
  }
}


/*  Small Laptop (≤ 1024px) */
@media (max-width: 1024px) {

  /* HERO STACK FIX */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;  z-index: 2; position: relative;
  }
  .hero {
    background: #ffffff; 
  }

  .hero-left {
    margin-left: 0;
  }

  .hero-right {
    padding-left: 0;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto; position: relative;
    z-index: 3;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .presence-row {
    justify-content: center;
  }

  /* SKY PANEL SIMPLIFY */
  .hero-sky-panel {
    position: absolute;
    top: 50%;        
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50%;     
    clip-path: none;
    opacity: 1;     
    z-index: 1;
  }
  .hero-arc,
  .hero-pin {
    display: none;
  }

  /* CONTACT */
  .contact {
    flex-direction: column;
    align-items: center;
  }

  .branch-panel {
    display: none; 
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .cp-left {
    border-right: none;
    border-bottom: 1.5px solid #b8dff0;
  }
  .stat-bloc {
  width: 100%;
  }
  .presence-row {
    margin-top: 80px;   
    justify-content: center; 
  }
   .sb-live {
    display: flex;
    justify-content: center;  
    align-items: center;
    gap: 6px;
    text-align: center;
  }
}


/*  Tablet (≤ 768px) */
@media (max-width: 768px) {

  .hero-inner {
    padding: 60px 24px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 14px;
  }

  .btn-primary-hero,
  .btn-ghost-hero {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .stat-bloc {
    width: 100%;
    text-align: center;
  }

  /* VALUE STRIP */
  .value-strip {
    gap: 20px;
    padding: 12px 20px;
  }

  .value-divider {
    display: none;
  }

  /* CONTACT */
  .cp-right {
    padding: 30px 20px;
  }

  .cp-left {
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}


/*  Mobile (≤ 600px) */
@media (max-width: 600px) {

  .hero-inner {
    padding: 50px 18px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-eyebrow {
    font-size: 10px;
  }

  .hero-kicker {
    font-size: 10px;
  }

  /* BUTTONS */
  .btn-primary-hero,
  .btn-ghost-hero {
    padding: 12px;
    font-size: 13px;
  }

  /* STATS */
  .sb-num {
    font-size: 26px;
  }

  .sb-lbl {
    font-size: 11px;
  }

  /* CONTACT */
  .contact-card {
    border-radius: 14px;
  }

  .form-heading {
    font-size: 18px;
  }

  .topic-btn {
    font-size: 13px;
  }

  .field input,
  .field textarea {
    font-size: 14px;
  }

  .send-btn {
    width: 100%;
    justify-content: center;
  }

  .form-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}


/*  Small Mobile (≤ 480px) */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 22px;
  }

  .hero-sub {
    font-size: 12.5px;
  }

  .presence-tag {
    font-size: 10px;
  }

  .cp-item-label,
  .cp-item-val {
    font-size: 12px;
  }

  .cp-hours-day,
  .cp-hours-time {
    font-size: 12px;
  }

  .field label {
    font-size: 12px;
  }

  .form-heading {
    font-size: 16px;
  }
   .contact {
    padding: 0 12px 60px;
  }

  /* CARD FIX */
  .contact-card {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;   /* stack */
    border-radius: 12px;
    margin-top: 0;                /* remove negative push */
  }

  /* LEFT SECTION (IMAGE AREA) */
  .cp-left {
    padding: 20px 16px;
    border-right: none;
    border-bottom: 1px solid #b8dff0;
    text-align: center;
  }

  /* IMAGE FIX (IMPORTANT) */
  .ant-img {
    width: 100%;
    max-width: 240px;   /* prevents overflow */
    height: auto;
    transform: none;    /* remove shift */
    margin: 0 auto;
  }

  /* RIGHT FORM */
  .cp-right {
    padding: 20px 16px;
    gap: 14px;
  }

  /* FORM ROW STACK */
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* INPUTS */
  .field input,
  .field textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  /* BUTTON AREA */
  .form-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .send-btn {
    width: 100%;
    justify-content: center;
  }

  /* TEXT ALIGNMENT */
  .form-heading,
  .form-eyebrow {
    text-align: center;
  }

  .privacy-note {
    font-size: 12px;
    text-align: center;
  }
  .popup-box {

    max-width: 80%;

    padding: 20px 15px;

    border-radius: 14px;

  }
}


/*  Extra Small (≤ 360px) */
@media (max-width: 360px) {

  .hero h1 {
    font-size: 20px;
  }

  .btn-primary-hero,
  .btn-ghost-hero {
    font-size: 12px;
  }

  .sb-num {
    font-size: 22px;
  }
  
}

.error {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

/* POPUP — OPTION B — SPLIT LAYOUT */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: none;  
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.popup-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: popupSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popupSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-left {
  background: linear-gradient(135deg, #1a7fa0 0%, #2e9e84 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #ffffff;
  text-align: center;
}

.popup-ant-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.popup-right {
  padding: 40px 45px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
  border-radius: 50%;
}

.popup-close:hover {
  opacity: 1;
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.05);
}

.popup-eyebrow {
  color: #1a7fa0; /* Connect button main color */
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.popup-title {
  color: #111111; /* Copy to black */
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.popup-desc {
  color: #444444; /* Copy to black/grey */
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
}

.popup-actions {
  display: flex;
  gap: 12px;
}

.popup-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}

.popup-btn-primary {
  background: linear-gradient(135deg, #1a7fa0 0%, #2e9e84 100%); /* Connect button color */
  color: #ffffff;
  border: none;
}

.popup-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 127, 160, 0.2);
}

.popup-btn-secondary {
  background: transparent;
  color: #1a7fa0; /* Connect button color */
  border: 1.5px solid #1a7fa0;
}

.popup-btn-secondary:hover {
  border-color: #2e9e84;
  color: #2e9e84;
  background: rgba(46, 158, 132, 0.05);
  transform: translateY(-1px);
}

/* Responsive adjustment for popup box */
@media (max-width: 680px) {
  .popup-box {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .popup-left {
    padding: 30px 20px;
  }
  .popup-right {
    padding: 30px 24px;
    text-align: center;
    align-items: center;
  }
  .popup-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .popup-btn {
    width: 100%;
  }
}





/* =========================================================================
   CONTACT PAGE — IPAD PRO TOP NAV
   IDENTICAL TO ASSET SCORE NAVIGATION
   ========================================================================= */

@media only screen 
and (min-width: 820px) 
and (max-width: 1180px) {

  /* ─── NAVBAR ────────────────────────────────────────── */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px !important;
    overflow: visible !important;
    background: #ffffff !important;
    border-bottom: 1px solid #eef2f7 !important;
    position: relative !important;
  }

  /* LOGO — uses max-height, no fixed width (like Asset Score) */
  .logo img,
  .nav-logo img,
  .brand-logo img {
    max-height: 30px !important;
    width: auto !important;
  }

  /* NAV LINKS CONTAINER */
  .nav-links {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0px;
    flex: 0 1 auto !important;    /* prevents pushing login too far */
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible !important;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  /* INDIVIDUAL NAV LINKS */
  .nav-links a {
    white-space: nowrap;
    font-size: 10px !important;
    padding: 5px 6px !important;
    flex-shrink: 0;
  }

  /* RIGHT BUTTON AREA (Login / Demo) – adjust class names as needed */
  .nav-actions,
  .nav-right,
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 12px !important;  /* controls gap between last link and login */
  }

  /* LOGIN BUTTON */
  .btn-ghost-sm,
  .login-btn,
  .btn-ghost,
  .btn-login {
    font-size: 10px !important;
    padding: 7px 10px !important;
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
  }

  /* DROPDOWN FIX – ensure they stay on top */
  .dropdown,
  .dropdown-menu,
  .submenu {
    z-index: 99999 !important;
  }

  .dropdown-menu,
  .submenu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    padding: 8px 0;
    min-width: 220px;
  }
  
  
  /* Fix services dropdown / select width on iPad Pro */
.cp-right .field select,
.cp-right .service-dropdown {   /* add any specific class if needed */
  width: 100% !important;
  max-width: 80% !important;
  box-sizing: border-box;
}

/* Ensure the entire contact card doesn't overflow */
.contact-card {
  width: 50% !important;
  max-width: 560px !important;   /* comfortable width on iPad */
  margin: 0 auto;
}

  /* Ensure all content containers don't clip dropdowns */
  header,
  .hero,
  .hero-inner,
  .contact,
  .branch-panel,
  .contact-card {
    overflow: visible !important;
  }

  /* ─── REMOVE TOP GAP ABOVE NAV ───────────────────────── */
  html,
  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body > *:first-child {
    margin-top: 0 !important;
  }

  /* ─── PRESERVE YOUR EXISTING CONTACT PAGE HERO LAYOUT ─── */
  /* The rest of your page layout remains untouched */
}