/* ============ Base ============ */
:root {
  --bg: #f3f8ff;
  --text: #0b0f1a;
  --muted: #475569;
  --brand: #2f5dff;
  --brand2: #7c3cff;
  --card: #ffffff;
  --line: #e7eefc;
  --shadow: 0 8px 18px rgba(8, 34, 84, .08);

  --ft-bg: #e9f2ff;
  --ft-blue: #134fd3;
  --ft-border: #cfe1ff;
}

* { box-sizing: border-box }
html, body { margin: 0 }

body {
  font-family: 'Poppins', 'Roboto', system-ui, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}

img { max-width: 100%; display: block }
.container { width: min(1120px, 92%); margin-inline: auto }

/* Focus visible */
:focus-visible {
  outline: 3px solid rgba(47, 93, 255, .28);
  outline-offset: 2px
}

/* ====== Small helper: hidden rows (visa expiry etc) ====== */
.is-hidden {
  display: none !important;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #eef3ff;
  box-shadow: 0 2px 10px rgba(8, 20, 51, .04)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0
}

.brand img { height: 44px }

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  transition: opacity .25s ease, transform .25s ease
}

.main-nav a {
  text-decoration: none;
  color: #0b0f1a;
  font-weight: 600;
  opacity: .9
}

.main-nav a:hover { opacity: 1 }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(180deg, #eaf4ff, #f7fbff 70%, #ffffff);
  border-bottom: 1px solid #eef3ff
}

.hero-inner {
  padding: 70px 0 48px;
  text-align: center;
  max-width: 980px
}

.hero h1 {
  font-size: clamp(34px, 6vw, 70px);
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 18px
}

.hero .sub {
  font-size: 1.2rem;
  color: #1f2937;
  max-width: 980px;
  margin: 0 auto 28px
}

.cta-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  padding: 1rem 1.35rem;
  border: 1px solid #d6e3ff;
  transition: .2s ease
}

.btn-xl {
  padding: 1.05rem 1.6rem;
  font-size: 1.08rem
}

.btn-primary {
  background: linear-gradient(90deg, #2f5dff, #4a81ff);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(47, 93, 255, .25)
}

.btn-purple {
  background: linear-gradient(90deg, #7c3cff, #a66bff);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(124, 60, 255, .23)
}

.btn:hover { transform: translateY(-1px) }

/* ============ Features ============ */
.features { padding: 40px 0 }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow)
}

.feature {
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 38, 84, .12)
}

.ficon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: #2f5dff;
  color: #fff;
  font-size: 28px
}

/* ============ Intro ============ */
.intro { padding: 22px 0 }

.intro-inner { text-align: center; max-width: 900px }

.intro h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  margin: 0 0 8px
}

.intro p { color: #334155; margin: 0 }

/* ============ DASP Form ============ */
.dasp-section {
  padding: 36px 0;
  background: linear-gradient(180deg, #f3f8ff, #fafcff)
}

.form-wrapper {
  background: #e9f1ff;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 20px 18px 24px;
  box-shadow: 0 16px 36px rgba(4, 40, 115, .18), inset 0 2px 0 rgba(255, 255, 255, .5)
}

.form-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 4px auto 6px;
  background: #ffffff;
  border: 1px solid #cfe1ff;
  color: #1a46c5
}

.form-title {
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  margin: 0;
  color: #1a46c5
}

.form-subtitle {
  text-align: center;
  margin: 2px 0 14px;
  color: #2563eb;
  font-weight: 600;
  font-size: .98rem
}

.dasp-form fieldset {
  border: 1px solid #cfe1ff;
  background: #eef6ff;
  border-radius: 16px;
  padding: 14px;
  margin: 0 0 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5)
}

.dasp-form legend {
  font-weight: 800;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px
}

.form-row { margin-bottom: 12px }

.dasp-form input,
.dasp-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bcd3ff;
  background: #fff;
  border-radius: 12px;
  font-size: 1rem;
  transition: box-shadow .2s ease, transform .1s ease
}

.dasp-form input:focus,
.dasp-form select:focus {
  outline: 3px solid rgba(47, 93, 255, .25);
  border-color: #2563eb;
  box-shadow: 0 8px 18px rgba(30, 64, 175, .12)
}

/* textareas */
.dasp-form textarea {
  width: 100%;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid #bcd3ff;
  background: #fff;
  border-radius: 12px;
  font-size: 1rem;
  resize: vertical;
  transition: box-shadow .2s ease, transform .1s ease;
}

.dasp-form textarea:focus {
  outline: 3px solid rgba(47, 93, 255, .25);
  border-color: #2563eb;
  box-shadow: 0 8px 18px rgba(30, 64, 175, .12);
}

.label.small {
  display: block;
  font-size: .9rem;
  color: #1d4ed8;
  margin: 2px 0 6px
}

.hint { font-size: .88rem; color: #2563eb }

/* Tax Agent block */
.agent-box {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 12px;
}

.agent-logo { display: grid; place-items: center }

.agent-logo .tpb {
  height: 96px;
  width: auto;
  image-rendering: auto;
  background: transparent;
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(1.05) brightness(1.02) drop-shadow(0 2px 6px rgba(0, 0, 0, .08));
}

.declaration {
  font-size: .95rem;
  color: #111827;
  text-align: left;
  width: 100%
}

.declaration-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: .9rem;
  color: #1f2937;
}

.declaration-list li { margin-bottom: 4px; }

.form-actions { margin-top: 10px; text-align: center }

.secure {
  text-align: center;
  font-size: .9rem;
  color: #475569;
  margin: 8px 0 0
}

.form-msg { margin-top: 8px; font-weight: 700 }

/* ============ Visa Types ============ */
.visa-types {
  padding: 60px 20px;
  background: #f7faff
}

.visa-types h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 900;
  margin: 0 0 10px
}

.visa-types .subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 30px
}

.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px
}

.visa-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid #e0eaff;
  transition: transform .25s ease, box-shadow .25s ease
}

.visa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 40, 110, .12)
}

.visa-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a46c5;
  margin: 0 0 8px
}

.visa-card p { color: #334155; margin: 0 }

/* ============ Calculator ============ */
.calc-section { padding: 60px 0; background: #f9fcff }

.calc-section h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 900;
  margin: 0 0 8px
}

.calc-section .subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 28px
}

.calc-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 26px 24px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #e9f2ff, #eaf2ff);
  border: 1px solid #d3e4ff;
  box-shadow: 0 18px 40px rgba(8, 40, 100, .15);
  transition: transform .25s ease
}

.calc-card:hover { transform: translateY(-2px) }

.calc-topicon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: #1d4ed8;
  background: #ffffffa6;
  border: 1px solid #d6e6ff
}

.calc-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: #1a46c5;
  margin: 0
}

.calc-sub {
  text-align: center;
  color: #2563eb;
  font-weight: 600;
  margin: 4px 0 18px
}

.super-form { display: grid; gap: 14px }

.money-wrap {
  display: flex;
  align-items: center;
  background: #f4f8ff;
  border: 1px solid #bcd3ff;
  border-radius: 16px;
  padding: 8px 10px;
  box-shadow: inset 0 1px 0 #fff
}

.money-prefix {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #2f5dff;
  background: #eaf2ff;
  border: 1px solid #cfe1ff;
  margin-right: 8px
}

.money-wrap input {
  width: 100%;
  height: 36px;
  border: 1px solid #cfe1ff;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 1rem;
  background: #fff
}

.money-wrap input:focus {
  outline: 3px solid rgba(47, 93, 255, .25);
  border-color: #2563eb
}

.select-wrap { position: relative }

.select-wrap .floating {
  position: absolute;
  left: 16px;
  top: -10px;
  background: #eaf2ff;
  padding: 0 6px;
  font-size: .82rem;
  color: #1d4ed8;
  font-weight: 700;
  border: 1px solid #cfe1ff;
  border-radius: 6px
}

.select-wrap select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #0b0f1a33;
  border-radius: 12px;
  background: #eaf2ff;
  font-size: 1rem
}

.select-wrap select:focus {
  outline: 3px solid rgba(47, 93, 255, .25);
  border-color: #2563eb
}

.yellow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff5cc;
  border: 1px solid #ffe59a;
  border-radius: 12px;
  padding: 12px 14px;
  color: #0f172a;
  font-weight: 600
}

.yellow-row input { width: 18px; height: 18px }

.calc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #2f5dff, #1e4eea);
  color: #fff;
  font-weight: 800;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(47, 93, 255, .28);
  cursor: pointer
}

.calc-btn .btn-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2f66ff, #3e7cff);
  border: 1px solid #7ea3ff33
}

.calc-msg { text-align: center; margin-top: 6px; font-weight: 700 }

.trust-panel {
  margin-top: 18px;
  border: 1px solid #dbeafe;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  justify-items: center;
  gap: 10px
}

.tick {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #22c55e;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px
}

.trust-text { font-weight: 700; color: #0b1220; text-align: center }

.trust-text small { display: block; color: #3b82f6; margin-top: 2px }

/* ============ About Me ============ */
.aboutme { padding: 56px 0; background: #f6faff }

.about-card {
  background: linear-gradient(180deg, #cfe0ff, #d6e7ff);
  border: 1px solid #bcd3ff;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(10, 40, 100, .18);
  padding: 28px 26px 34px
}

.about-head { text-align: center; margin-bottom: 18px }

.about-head h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 900
}

.about-head .subtitle { margin: 0; color: #374151; font-weight: 600 }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: start
}

.about-photo { display: grid; place-items: center }

.about-photo img {
  width: clamp(220px, 32vw, 360px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 6px solid #0b0f1a;
  box-shadow: 0 18px 36px rgba(6, 22, 60, .25)
}

.about-content h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800
}

.about-content .cred { margin: 0 0 14px; color: #0f172a; font-weight: 700 }

.about-content p { color: #0f172a; margin: 0 0 14px }

.about-note {
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #0f172a;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(8, 40, 110, .08)
}

/* ============ FAQ ============ */
.faq-section { padding: 48px 0; background: #f2f8ff }

.faq-card {
  background: linear-gradient(180deg, #cfe0ff, #d6e7ff);
  border: 1px solid #bdd5ff;
  border-radius: 26px;
  box-shadow: 0 24px 48px rgba(8, 40, 110, .16);
  padding: 24px 20px 30px
}

.faq-head { text-align: center; margin-bottom: 14px }

.faq-head h2 {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 32px)
}

.faq-head .subtitle { margin: 0; color: #334155; font-weight: 600 }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 12px
}

.faq-col { display: grid; gap: 16px }

.faq-item {
  background: #dceaff;
  border: 1px solid #bcd3ff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(8, 40, 110, .08);
  overflow: hidden
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 1.02rem;
  color: #0b1220;
  cursor: pointer
}

.faq-toggle i {
  font-size: 20px;
  transition: transform .2s ease;
  transform: rotate(0deg);
}

.faq-item.open .faq-toggle i { transform: rotate(180deg) }

.faq-content {
  padding: 0 18px 16px;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease
}

.faq-content .row {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.faq-content .row i { margin-top: 3px; color: #1f2937 }

.faq-cta { display: grid; place-items: center; margin-top: 18px }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f3be17;
  color: #0b1220;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(243, 190, 23, .35);
  text-decoration: none
}

/* ============ Footer ============ */
.site-footer { background: var(--ft-bg); color: var(--ft-blue) }
.footer-topbar { border-bottom: 1px solid var(--ft-border) }

.topbar-inner {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  font-weight: 700
}

.topbar-inner .chip {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ft-blue)
}

.topbar-inner .chip:hover { text-decoration: underline }
.topbar-inner .chip i { font-size: 18px }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 28px 0 16px;
  border-bottom: 1px solid var(--ft-border)
}

.ft-col h4 { margin: 0 0 10px; font-size: 1.1rem }
.ft-col p { margin: 8px 0 16px; max-width: 36ch; line-height: 1.6 }
.brand h3 { display: none }

.ft-links, .ft-meta { list-style: none; margin: 0; padding: 0 }
.ft-links li, .ft-meta li { margin: 8px 0 }

.ft-links a {
  color: var(--ft-blue);
  text-decoration: none;
  font-weight: 700
}

.ft-links a:hover { text-decoration: underline }

.ft-meta span { font-weight: 800; margin-right: 6px }

.socials { display: flex; gap: 12px; margin-top: 8px }

.soc {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12)
}

.soc.wa { background: #25d366 }
.soc.in { background: #0a66c2 }

.ft-logo {
  height: 42px;
  width: auto;
  margin: 0 0 10px;
  display: block;
}

.footer-legal {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 18px;
  font-weight: 700
}

.legal-left, .legal-right { opacity: .95 }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.in { opacity: 1; transform: translateY(0) }

/* ===== Mobile Nav animation ===== */
@media (max-width: 980px) {
  .nav-toggle { display: block }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    border-top: 1px solid #eef3ff;
    display: none;
    flex-direction: column;
    padding: 14px;
    opacity: 0;
    transform: translateY(-8px)
  }

  .main-nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0)
  }

  .features-grid { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .hero-inner { padding: 56px 0 40px }
  .about-grid { grid-template-columns: 1fr }
  .faq-grid { grid-template-columns: 1fr }
}

@media (max-width: 620px) {
  .topbar-inner { flex-direction: column; gap: 6px }
  .footer-grid { grid-template-columns: 1fr; gap: 24px }
  .footer-legal { flex-direction: column; gap: 6px; text-align: center }
  .ft-col p { max-width: none }
}

/* Spinner util */
.spin { display: inline-block; animation: spin 1s linear infinite; will-change: transform; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* =========================
   Bank Modal (reused for AU + Overseas)
   ========================= */
.au-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.au-modal.is-open { display: block; }

.au-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 30, 0.55);
  backdrop-filter: blur(2px);
}

.au-modal__card {
  position: relative;
  width: min(560px, calc(100% - 26px));
  margin: 10vh auto 0;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #d6e3ff;
  box-shadow: 0 28px 70px rgba(2, 18, 55, 0.35);
  overflow: hidden;
}

.au-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #eaf2ff, #ffffff);
  border-bottom: 1px solid #e7eefc;
}

.au-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: #1a46c5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.au-modal__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #0b1220;
  opacity: 0.8;
}
.au-modal__close:hover { opacity: 1; }

.au-modal__body { padding: 16px; background: #fff; }

.au-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.au-field label {
  font-weight: 800;
  color: #1d4ed8;
  font-size: 0.92rem;
}

.au-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bcd3ff;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
}

.au-field input:focus {
  outline: 3px solid rgba(47, 93, 255, 0.25);
  border-color: #2563eb;
  box-shadow: 0 8px 18px rgba(30, 64, 175, .12);
}

.au-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .au-grid { grid-template-columns: 1fr; }
  .au-modal__card { margin-top: 8vh; }
}

.au-hint { font-size: 0.82rem; color: #475569; }

.au-error {
  background: #ffe8e8;
  border: 1px solid #ffb4b4;
  color: #b00020;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.au-note {
  margin: 12px 0 0;
  color: #065f46;
  font-weight: 700;
  font-size: 0.92rem;
}

.au-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid #e7eefc;
  background: #ffffff;
}

.au-btn-ghost {
  background: #f2f6ff;
  border: 1px solid #d6e3ff;
  color: #0b1220;
}

.au-btn-ghost:hover { transform: translateY(-1px); }
