/* =========================================================
   IndUS Abroad — stylesheet
   Theme: deep navy + saffron accent. Custom CSS, no frameworks.
   ========================================================= */

:root {
  --navy:      #0b1f3a;
  --navy-2:    #122a4d;
  --navy-soft: #1b3a63;
  --saffron:   #f4a020;
  --saffron-d: #d9860a;
  --ink:       #16202e;
  --slate:     #5b6b80;
  --line:      #e4e9f0;
  --bg:        #ffffff;
  --bg-alt:    #f5f8fc;
  --bg-tint:   #eef4fb;
  --white:     #ffffff;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.16);
  --maxw:      1160px;
  --font:      'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display:   'Poppins', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--saffron); color: var(--navy); box-shadow: 0 8px 20px rgba(244,160,32,.35); }
.btn-primary:hover { background: var(--saffron-d); box-shadow: 0 12px 26px rgba(244,160,32,.45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(11,31,58,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--navy); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--saffron-d); }
.nav .nav-cta {
  background: var(--saffron); color: var(--navy); padding: 9px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--saffron-d); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 64px 0 80px;
  background:
    linear-gradient(160deg, rgba(8,18,33,.90) 0%, rgba(11,31,58,.86) 50%, rgba(18,42,77,.82) 100%),
    radial-gradient(1200px 500px at 85% -10%, rgba(244,160,32,.20), transparent 60%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero::after { /* subtle bottom fade into page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(8,18,33,.0));
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .3px;
  background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.5px; }
.hero .highlight { color: var(--saffron); }
.hero .lead { color: rgba(255,255,255,.85); font-size: 17.5px; margin: 18px 0 22px; max-width: 560px; }

.hero-points { list-style: none; display: grid; gap: 8px; margin-bottom: 28px; }
.hero-points li { color: rgba(255,255,255,.9); font-weight: 600; font-size: 15.5px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 26px; color: var(--saffron); line-height: 1; }
.hero-trust span { font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---------- Lead form ---------- */
.hero-form-wrap { position: relative; }
.lead-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-lg);
}
.form-title { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--navy); }
.form-title span { color: var(--saffron-d); }
.form-sub { color: var(--slate); font-size: 14px; margin: 4px 0 18px; }

.field { display: flex; flex-direction: column; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfdff; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(244,160,32,.18);
}
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--slate); margin: 6px 0 16px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--saffron-d); }

.form-note { font-size: 14px; margin-top: 12px; min-height: 18px; font-weight: 600; }
.form-note.success { color: #198754; }
.form-note.error { color: #d33; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.kicker { color: var(--saffron-d); font-weight: 700; font-size: 13.5px; letter-spacing: 1.2px; text-transform: uppercase; }
.section-head h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--navy); margin: 8px 0 12px; letter-spacing: -.4px; }
.section-lead { color: var(--slate); font-size: 16.5px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(244,160,32,.5); }
.service-ico {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px;
  background: var(--bg-tint); border-radius: 14px; margin-bottom: 16px;
}
.service-card h3 { font-family: var(--display); color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: 15px; }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dest-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.dest-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-card:hover .dest-img img { transform: scale(1.06); }
.dest-img::after { /* darken bottom for the flag badge */
  content: ""; position: absolute; inset: auto 0 0 0; height: 50%;
  background: linear-gradient(to top, rgba(8,18,33,.55), transparent);
}
.dest-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.95); padding: 5px;
  width: 46px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.dest-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; }
.dest-body { padding: 18px 22px; text-align: center; }
.dest-card h3 { font-family: var(--display); color: var(--navy); font-size: 20px; margin: 0; }

/* ---------- US visa slots ---------- */
.visa-slots {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white); padding: 72px 0;
}
.visa-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.kicker-light { color: var(--saffron); }
.visa-copy h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin: 8px 0 14px; letter-spacing: -.4px; }
.visa-copy > p { color: rgba(255,255,255,.85); font-size: 16.5px; margin-bottom: 20px; max-width: 540px; }
.visa-points { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.visa-points li { position: relative; padding-left: 30px; font-weight: 600; font-size: 15.5px; }
.visa-points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--saffron); color: var(--navy);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.visa-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.visa-media > img { width: 100%; height: 100%; object-fit: cover; }
.visa-flag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.95); padding: 5px; width: 50px; height: 36px;
  display: grid; place-items: center; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.visa-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: var(--saffron); font-family: var(--display); font-weight: 800; font-size: 20px;
  margin-bottom: 16px;
}
.step h3 { font-family: var(--display); color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: 14.5px; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); padding: 54px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); color: var(--saffron); line-height: 1; }
.stat span { color: rgba(255,255,255,.82); font-size: 15px; margin-top: 8px; display: block; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.testi blockquote { color: var(--ink); font-size: 16px; line-height: 1.6; position: relative; }
.testi blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 56px; color: var(--saffron); line-height: 0; position: absolute; top: 12px; left: -6px; opacity: .25; }
.testi figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.testi figcaption strong { color: var(--navy); font-family: var(--display); }
.testi figcaption span { color: var(--slate); font-size: 13.5px; }

/* ---------- CTA / Contact ---------- */
.cta {
  color: var(--white); padding: 76px 0; position: relative;
  background:
    linear-gradient(160deg, rgba(11,31,58,.93) 0%, rgba(8,18,33,.90) 100%),
    url("images/cta.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-copy h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-copy p { color: rgba(255,255,255,.82); font-size: 17px; margin-bottom: 22px; }
.cta-contacts { list-style: none; display: grid; gap: 12px; }
.cta-contacts li { font-size: 16px; font-weight: 600; }
.cta-contacts a { color: var(--saffron); }
.cta-contacts a:hover { text-decoration: underline; }

.cta-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-lg); }
.cta-form h3 { font-family: var(--display); color: var(--navy); font-size: 21px; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #081729; color: rgba(255,255,255,.78); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-logo { height: 52px; width: auto; display: block; }
.footer-brand p { font-size: 14.5px; max-width: 320px; }
.footer-col h4 { color: var(--white); font-family: var(--display); font-size: 16px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.7); font-size: 14.5px; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--saffron); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .visa-grid { grid-template-columns: 1fr; gap: 32px; }
  .visa-media { order: -1; aspect-ratio: 16 / 9; }
  .services-grid, .dest-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--white); padding: 0 22px; gap: 0; max-height: 0; overflow: hidden;
    box-shadow: 0 16px 30px rgba(11,31,58,.12); transition: max-height .3s ease, padding .3s ease;
  }
  .nav.open { max-height: 380px; padding: 10px 22px 18px; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .services-grid, .dest-grid, .testi-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 60px; }
  .section { padding: 56px 0; }
  .hero-trust { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
