/* ============ ISCM Aviation & Cargo India — Styles ============ */
:root {
  --navy: #0b2a4a;
  --navy-2: #123a63;
  --orange: #f58634;
  --orange-dark: #e06e1c;
  --ink: #1a2332;
  --muted: #5b6b7f;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --sky: #3a86c8;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(11, 42, 74, 0.06);
  --shadow-md: 0 12px 34px rgba(11, 42, 74, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, 0.16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #d7e3f0;
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { color: var(--orange); }
.topbar-note { color: #8fa6bd; }
.topbar-right { white-space: nowrap; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 1px; color: var(--navy); }
.brand-text em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-link { font-size: 0.93rem; font-weight: 500; color: #3c4c61; position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--orange); border-radius: 2px; transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { margin-left: 6px; }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 13px; cursor: pointer; font-family: var(--font);
  font-size: 0.88rem; font-weight: 600; color: var(--navy); line-height: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lang-current:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,134,52,0.12); }
.lang-current svg { color: var(--orange); flex-shrink: 0; }
.lang-current .chev { color: var(--muted); transition: transform 0.2s; }
.lang-current[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-current #langLabel { min-width: 26px; text-align: center; }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all 0.2s ease; z-index: 200;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { list-style: none; }
.lang-opt {
  display: block; width: 100%; text-align: left; padding: 10px 14px;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  font-family: var(--font); font-size: 0.92rem; color: #3c4c61; transition: background 0.15s, color 0.15s;
}
.lang-opt:hover { background: var(--bg-soft); color: var(--navy); }
.lang-opt[data-lang="hi"] { font-family: 'Noto Sans Devanagari', var(--font); }

.lang-switch--mobile { display: none; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.lang-switch--mobile .lang-opt {
  width: auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; text-align: center;
}
.lang-switch--mobile .lang-opt:hover { border-color: var(--orange); }

/* Hindi font override */
body.lang-hi, body.lang-hi .brand-text em, body.lang-hi h1,
body.lang-hi h2, body.lang-hi h3, body.lang-hi h4, body.lang-hi .hero-badge,
body.lang-hi .nav-link, body.lang-hi .btn, body.lang-hi .stat-label,
body.lang-hi .form-field input, body.lang-hi .form-field select,
body.lang-hi .form-field textarea, body.lang-hi .form-field label {
  font-family: 'Noto Sans Devanagari', var(--font);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; border-radius: 10px; padding: 12px 24px;
  cursor: pointer; border: 2px solid transparent; transition: all 0.25s ease; line-height: 1;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(245, 134, 52, 0.35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 134, 52, 0.42); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.6); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(0,0,0,0.15); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11,42,74,0.82) 0%, rgba(11,42,74,0.72) 55%, rgba(11,42,74,0.92) 100%),
    url("../images/hero.jpg") center/cover no-repeat;
}
/* Modern browsers: swap in the ~50% smaller WebP version of the hero (LCP) image */
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(11,42,74,0.82) 0%, rgba(11,42,74,0.72) 55%, rgba(11,42,74,0.92) 100%),
      image-set(url("../images/hero.webp") type("image/webp"), url("../images/hero.jpg") type("image/jpeg"));
  }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 78% 20%, rgba(245,134,52,0.25), transparent 60%);
}
.hero-inner { position: relative; padding: 90px 0 80px; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px); padding: 8px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 26px;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.5px; }
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: 1.12rem; color: #d8e4f1; margin: 22px 0 32px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.82rem; color: #b9cbdd; margin-top: 7px; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 40px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-hint span { width: 4px; height: 8px; background: var(--orange); border-radius: 3px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy); font-weight: 800; letter-spacing: -0.4px; line-height: 1.15; }
.section-desc { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; background: #fff; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245,134,52,0.14), rgba(245,134,52,0.06));
  color: var(--orange); margin-bottom: 22px;
}
.card h3 { font-family: var(--font-display); font-size: 1.18rem; color: var(--navy); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Network ---------- */
.network { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.network::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 20% 0%, rgba(58,134,200,0.18), transparent 60%),
              radial-gradient(700px 500px at 90% 100%, rgba(245,134,52,0.14), transparent 60%);
}
.network .section-title { color: #fff; }
.network .section-desc { color: #a9bccf; }
.network .container { position: relative; }
.network-grid { display: grid; grid-template-columns: 1fr 240px 1fr; align-items: center; gap: 30px; }
.network-col { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 30px 28px; }
.network-col-head { margin-bottom: 18px; }
.network-col-head h3 { font-family: var(--font-display); font-size: 1.3rem; }
.net-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.net-origin { background: rgba(58,134,200,0.25); color: #7fc0ff; }
.net-dest { background: rgba(245,134,52,0.25); color: #ffb677; }
.net-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: #c9d7e6; font-size: 0.95rem; }
.net-list li:last-child { border-bottom: 0; }
.network-hub { display: flex; justify-content: center; align-items: center; }
.hub-ring {
  position: relative; width: 190px; height: 190px; border-radius: 50%;
  border: 2px dashed rgba(245,134,52,0.6); display: grid; place-items: center;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hub-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(245,134,52,0.2), 0 0 24px rgba(245,134,52,0.7); }
.hub-label { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: #fff; animation: spinRev 30s linear infinite; line-height: 1.5; }
@keyframes spinRev { to { transform: rotate(-360deg); } }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; transition: box-shadow 0.3s, transform 0.3s;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.step-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--orange); line-height: 1; display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.about-points { margin-top: 24px; }
.about-points li { padding: 9px 0 9px 30px; position: relative; color: #34465a; font-weight: 500; }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f58634' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.about-visual { display: flex; flex-direction: column; gap: 18px; }
.about-card {
  display: flex; align-items: flex-start; gap: 16px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.about-card-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--orange); }
.about-card strong { color: var(--navy); font-size: 1.02rem; display: block; margin-bottom: 4px; }
.about-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,0.9); margin-top: 6px; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-person { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 24px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: 1.1rem; }
.contact-person strong { display: block; color: var(--navy); font-size: 1.1rem; }
.contact-person span { color: var(--orange); font-size: 0.88rem; font-weight: 600; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(245,134,52,0.12); color: var(--orange); }
.contact-list strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.contact-list a { color: #2b3f57; font-weight: 500; }
.contact-list a:hover { color: var(--orange); }
.contact-list span { color: var(--muted); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font); font-size: 0.95rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s; background: #fbfcfe;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,134,52,0.15); background: #fff;
}
.form-field textarea { resize: vertical; }
.form-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { background: #081c33; color: #a9bccf; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand p { margin-top: 18px; font-size: 0.9rem; color: #8fa6bd; max-width: 340px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: #8fa6bd; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.footer-col a { color: #a9bccf; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-col span { font-size: 0.9rem; color: #8fa6bd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 0.82rem; color: #6f87a0; flex-wrap: wrap; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { background: #f7f9fc; }
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line, #e3e9f0); border-radius: 14px;
  padding: 0 26px; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: rgba(29, 78, 216, 0.26); box-shadow: 0 10px 28px rgba(18, 42, 68, 0.07); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
  color: var(--navy); padding: 21px 36px 21px 0; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-72%) rotate(45deg); transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-28%) rotate(-135deg); }
.faq-item summary:hover { color: #1d4ed8; }
.faq-item p {
  margin: 0 0 22px; color: var(--muted); font-size: 0.95rem;
  line-height: 1.72; max-width: 93%;
}
body.lang-hi .faq-item summary, body.lang-hi .faq-item p {
  font-family: 'Noto Sans Devanagari', var(--font);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .network-hub { display: none; }
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 80%); height: 100vh;
    background: #fff; flex-direction: column; justify-content: center; gap: 24px;
    transition: right 0.35s ease; box-shadow: var(--shadow-lg); z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-cta { display: none; }
  .nav-right .lang-switch { display: none; }
  .lang-switch--mobile { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards-grid, .steps { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .topbar-right { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
