/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root{
  --navy:#0e2042;        /* NAVY BLUE primary */
  --navy-2:#0b1a36;
  --bg:#f5f7fb;
  --ink:#222;
  --ink-soft:#555;
  --gold:#f4b400;        /* gold accent */
  --gold-dark:#d39e00;
  --card:#fff;
  --ring: rgba(244,180,0,.2);
}
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--bg); color: var(--ink); }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: .2px; }
.container { width: 85%; max-width: 1200px; margin: auto; text-align: center; }

/* Side Nav (desktop) */
.side-nav {
  position: fixed; left: 0; top: 0;
  width: 200px; height: 100vh;
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; padding: 30px 0;
  z-index: 1000; box-shadow: 2px 0 14px rgba(0,0,0,.18);
}
.side-nav .logo { font-size: 1.6rem; margin-bottom: 40px; line-height: 1.15; }
.side-nav .logo span { color: var(--gold); }
.side-nav nav ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.side-nav nav ul li a { text-decoration: none; color: #eaeffd; font-weight: 500; transition: color 0.25s; }
.side-nav nav ul li a:hover { color: var(--gold); }

/* Top Nav (mobile) */
.top-nav {
  display: none; width: 100%;
  background: var(--navy); color: #fff;
  padding: 10px 20px; position: fixed; top: 0; z-index: 1000;
  justify-content: space-between; align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.top-nav .logo { font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.top-nav .logo span { color: var(--gold); }
.mobile-nav {
  display: none; position: absolute; top: 60px; right: 20px;
  background: var(--navy); width: 220px; padding: 10px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.mobile-nav.active { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav ul li a { color: #eaeffd; text-decoration: none; padding: 10px 12px; display: block; border-radius: 8px; }
.mobile-nav ul li a:hover { background: rgba(255,255,255,.08); }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; height: 100vh; margin-left: 200px; overflow: hidden;
  display: flex; align-items: center; justify-content: flex-start; padding-left: 50px;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(110%) contrast(105%); }
.hero-mobile-bg {
  display: none;
  background: url('new.mobile.png') center/cover no-repeat;
  background-image: image-set(
    url('new.mobile.png') type("image/webp") 1x,
    url('new.mobile.png') type("image/jpeg") 1x
  );
  position: absolute; inset: 0; z-index: 0;
}
.hero-content {
  position: relative; z-index: 10; color: #fff; max-width: 760px; text-align: left;
  background: rgba(14,32,66,.45);
  padding: 24px 26px; border-radius: 14px; backdrop-filter: saturate(120%) blur(.6px);
  box-shadow: 0 16px 36px rgba(0,0,0,.3);
}
.hero-content h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); line-height: 1.2; font-weight: 700; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: clamp(1rem, .6vw + .9rem, 1.2rem); margin: 16px 0 20px; color: #f1f4fb; }
.hero-logo { width: clamp(220px, 40vw, 600px); margin-bottom: 16px; display:block; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { cursor: pointer; display: inline-block; text-decoration: none; }
.angled-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
  padding: 12px 30px; border: none; border-radius: 10px;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  transition: transform 0.25s, box-shadow .25s;
}
.angled-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.btn-outline {
  padding: 12px 20px; border-radius: 10px; border: 2px solid #fff; color: #fff;
  background: transparent; transition: background .2s, color .2s;
}
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-text { padding: 10px 14px; color: var(--navy); font-weight: 700; }

/* Sections */
.section { padding: 84px 20px; text-align: center; }
.section h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem); margin-bottom: 20px; position: relative; color: var(--navy); }
.section h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--gold); margin: 10px auto 0; border-radius: 2px; }
.section p { max-width: 900px; margin: 0 auto 20px; color: var(--ink-soft); }
.about-image { width: 100%; max-width: 900px; height: auto; border-radius: 14px; margin-bottom: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* Chip groups */
.chip-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.chip-group h3 { color: var(--navy); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: #e9eefc; color: var(--navy); border: 1px solid rgba(14,32,66,.2);
  padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem;
}

/* Cards */
.card-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.card {
  background: var(--card); flex: 1 1 250px; border-radius: 12px; max-width: 360px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.25s, box-shadow 0.25s; overflow: hidden;
}
.card img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; border-top-left-radius: 12px; border-top-right-radius: 12px; }
.card h3 { margin: 15px; font-size: 1.15rem; color: var(--navy); }
.card p { padding: 0 15px 20px; font-size: 0.96rem; color: var(--ink-soft); }
.card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 16px 30px rgba(0,0,0,0.15); }

/* Testimonials */
.dark-section { background: linear-gradient(180deg, #0f1e3e, #0b1a36); color: #eaf0ff; }
.dark-section h2 { color: #fff; }
.testimonial-slider { max-width: 760px; margin: auto; }
.testimonial { display: none; }
.testimonial.active { display: block; animation: fade .9s; }
.testimonial p { border-left: 4px solid var(--gold); padding-left: 15px; font-size: 1.1rem; line-height: 1.6; color: #f1f4ff; }
.testimonial h4 { margin-top: 10px; font-weight: 700; color: #d9e2ff; }
@keyframes fade { from{opacity:0; transform: translateY(6px);} to{opacity:1; transform: translateY(0);} }

/* Contact */
.contact-flex { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
form, .contact-info {
  flex: 1 1 45%; max-width: 45%; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--card); padding: 22px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
form label { text-align: left; font-weight: 600; margin: 6px 0 6px; color: var(--ink); }
form input, form textarea, form select {
  width: 100%; padding: 12px 12px; margin-bottom: 12px; border: 1px solid #ddd; font-family: inherit;
  border-radius: 8px; transition: border .2s, box-shadow .2s, background .2s; background: #fff;
}
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form textarea:focus, form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--ring); outline: none; }
form button {
  background: var(--gold); color: #fff; padding: 12px 30px; border: none; font-weight: 800; letter-spacing: .2px;
  cursor: pointer; transition: background 0.25s, transform .2s, box-shadow .2s; border-radius: 10px;
}
form button:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.contact-info iframe { flex-grow: 1; width: 100%; border: none; border-radius: 10px; }
.contact-info h4 { margin-bottom: 10px; font-size: 1.2rem; text-align: left; color: var(--navy); }

/* Trust Badges */
.trust-badges { display: flex; gap: 10px; margin: 15px 0; flex-wrap: wrap; justify-content: center; }
.badge { background: var(--gold); color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.9; } }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: none; gap: 10px; padding: 10px; background: rgba(11,26,54,.95); backdrop-filter: blur(4px);
}
.sticky-cta__btn {
  flex: 1; text-align: center; text-decoration: none; padding: 12px 10px; border-radius: 10px;
  background: #162b57; color: #fff; font-weight: 700;
}
.sticky-cta__btn--primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }

/* Footer */
footer {
  margin-left: 200px; text-align: center; padding: 20px 0;
  background: var(--navy-2); color: #eaeffd; font-size: 0.9rem; box-shadow: 0 -4px 14px rgba(0,0,0,.14);
}

/* Responsive */
@media (max-width: 1024px){ .container { width: 90%; } }
@media (max-width: 768px) {
  .side-nav { display: none; }
  .top-nav { display: flex; }
  .hamburger { display: flex; flex-direction: column; }
  .hero, footer { margin-left: 0; }

  .hero { flex-direction: column; align-items: center; justify-content: center; padding-left: 0; text-align: center; }
  .hero-content { max-width: 92%; padding: 20px; margin: 0 auto; text-align: left; }
  .hero-logo { display: block; margin: 0 auto 15px auto; width: clamp(220px, 60vw, 320px); }
  .hero-video { display: none; }
  .hero-mobile-bg { display: block; }

  /* Prevent squished images on mobile */
  .card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; max-height: none; }

  form, .contact-info { flex: 1 1 100%; max-width: 100%; }
  .chip-groups { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
}

/* Modals */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 2000;
}
.modal.open { display: flex; }
.modal-content {
  position: relative; width: min(720px, 92vw); background: #fff; color: #333;
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); padding: 22px; text-align: left;
}
.modal-content h3 { margin-bottom: 10px; color: var(--navy); }
.modal-content p { margin: 10px 0 16px; color: var(--ink-soft); }
.modal-close {
  position: absolute; right: 20px; top: 14px; background: transparent; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #333;
}

/* Form status */
.form-status { margin-top: 8px; min-height: 20px; text-align: left; font-weight: 600; }
.form-status.ok { color: #2a9d8f; }
.form-status.err { color: #e63946; }
.consent { display: grid; grid-template-columns: 18px auto; gap: 10px; align-items: start; text-align: left; margin: 8px 0 14px; }

/* Desktop hero safety */
@media (min-width: 769px){
  .hero-video{ display:block !important; z-index:0; }
  .hero-content{ position:relative; z-index:10; opacity:1 !important; visibility:visible !important; }
  .hero-mobile-bg{ display:none !important; }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}
/* === Sticky CTA: exact alignment & sizing fix === */
@media (max-width: 768px){
  .sticky-cta{
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* equal widths */
    gap: 8px;
    padding: 10px 10px calc(env(safe-area-inset-bottom, 0) + 10px);
    background: rgba(11,26,54,.95);
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 10000;
  }
  /* Tiny screens → 2x2 so labels never squish */
  @media (max-width: 380px){
    .sticky-cta{ grid-template-columns: repeat(2, 1fr); }
  }

  .sticky-cta__btn{
    /* exact same box for all 4 buttons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;                         /* consistent tap target */
    padding: 12px 10px;
    border-radius: 12px;
    border: 0;                                 /* kill stray borders */
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 18px rgba(0,0,0,.18);
    background: #162b57;                       /* base navy for 3 buttons */
    color: #fff;
    font-weight: 800;
    font-size: 14px;                           /* prevent iOS auto-zoom */
    line-height: 1;                            /* fixes tall line boxes */
    white-space: nowrap;                       /* no wrapping */
    -webkit-tap-highlight-color: transparent;
  }

  /* Gold button uses same geometry as others */
  .sticky-cta__btn--primary{
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 18px rgba(0,0,0,.18);
  }

  /* Icon baseline nudge so it sits perfectly centered */
  .sticky-cta__btn i{
    display: inline-block;
    font-size: 1.05rem;
    transform: translateY(1px);               /* tiny optical correction */
  }

  .sticky-cta__btn:active{ transform: translateY(1px); }
  .sticky-cta__btn:focus-visible{
    outline: 3px solid rgba(244,180,0,.6);
    outline-offset: 2px;
  }

  /* make sure page content isn't hidden behind bar */
  body{ padding-bottom: 92px; }
}
/* === Sidebar-safe layout: never overlap content === */
:root { --sidebar-w: 200px; }           /* keep this in one place */

.side-nav { width: var(--sidebar-w); }  /* use the same token */

/* On desktop, reserve space for the sidebar globally */
@media (min-width: 769px) {
  body { padding-left: var(--sidebar-w); }

  /* kill old per-section offsets if present */
  .hero, footer, .section { margin-left: 0 !important; }
}

/* On mobile, no left padding (sidebar is hidden) */
@media (max-width: 768px) {
  body { padding-left: 0; }
}
