/* =========================================================
   FirstMile Logistic — Main Stylesheet
   ---------------------------------------------------------
   1.  Variables & Reset
   2.  Common (container, buttons, headings)
   3.  Header & Navigation
   4.  Home Hero
   5.  Page Banner (inner pages)
   6.  Sections, Grids & Cards
   7.  B2B / B2C Cards
   8.  Steps, Stats & Testimonials
   9.  Call To Action
   10. Tables
   11. Forms & FAQ
   12. About & Contact
   13. Legal Pages
   14. Footer
   15. Responsive
   ========================================================= */


/* =========================================================
   1. Variables & Reset
   ========================================================= */
:root {
  --navy: #0a1630;
  --navy-light: #1b2e60;
  --navy-dark: #060e22;
  --orange: #ff6b2c;
  --orange-dark: #e9561a;
  --orange-light: #fff5ef;
  --orange-soft: #ffe4d6;
  --blue: #2e6bff;
  --blue-light: #eef3ff;
  --green: #15803d;
  --green-light: #eafbf0;
  --amber: #b45309;
  --amber-light: #fff7e6;
  --red: #dc2626;
  --red-light: #fef1f1;

  --heading: #0f172a;
  --text: #3a4458;
  --muted: #687389;
  --border: #e2e7ef;
  --bg-light: #f5f7fb;
  --white: #ffffff;
  --on-dark: #a3afcb;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 30px 70px -24px rgba(6, 14, 34, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: 54px; }
h2 { font-size: 38px; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }


/* =========================================================
   2. Common
   ========================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-orange {
  color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(255, 107, 44, 0.7);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
}

.btn-outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--heading);
}

.btn-outline:hover {
  border-color: var(--heading);
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Small label above headings */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffb892;
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange-dark); }
.badge-amber { background: var(--amber-light); color: var(--amber); }

/* List with green tick */
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* List with red cross */
.cross-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.cross-list li::before {
  content: "\f00d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================================
   3. Header & Navigation
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--heading);
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* "FirstMile" on top, small "LOGISTICS" below */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-name em {
  font-style: normal;
  color: var(--orange);
}

.logo-text small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer .logo-text small {
  color: var(--on-dark);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: var(--bg-light);
  color: var(--heading);
}

.nav-links a.active {
  color: var(--orange-dark);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--bg-light);
  font-size: 20px;
  color: var(--heading);
  cursor: pointer;
}


/* =========================================================
   4. Home Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 100px 0 110px;
  background: var(--navy) url("../images/pattern-routes.svg") center / cover no-repeat;
  color: var(--on-dark);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
  color: var(--white);
}

.hero-text {
  max-width: 560px;
  margin-top: 20px;
  font-size: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
  font-size: 15px;
}

.hero-points i {
  margin-right: 6px;
  color: #22c55e;
}

/* Shipment card on the right side of hero */
.hero-image {
  position: relative;
  padding: 64px 20px;
}

.ship-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.ship-card small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.ship-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ship-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-light);
}

.ship-route strong {
  display: block;
  font-size: 17px;
  color: var(--heading);
}

.ship-route .to {
  text-align: right;
}

.route-line {
  flex: 1;
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px);
}

.route-line i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-bar {
  height: 8px;
  margin-top: 22px;
  border-radius: 50px;
  background: var(--bg-light);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--orange), #ff9a5c);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.progress-labels .done {
  color: var(--heading);
}

.progress-labels .current {
  color: var(--orange-dark);
}

.ship-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

.ship-info strong {
  color: var(--heading);
}

/* Small floating boxes around the card */
.float-box {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: var(--text);
  animation: float 5s ease-in-out infinite;
}

.float-box strong {
  display: block;
  color: var(--heading);
}

.float-box small {
  color: var(--muted);
}

.float-box .icon-box {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

.float-box.top {
  top: 0;
  right: 0;
}

.float-box.bottom {
  bottom: 0;
  left: 0;
  animation-delay: 2.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Partner logos strip */
.partners {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.partners p {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 48px;
  margin-top: 18px;
}

.partner-list li {
  font-size: 21px;
  font-weight: 800;
  color: #8c96ab;
}

.partner-list i {
  margin-right: 6px;
}


/* =========================================================
   5. Page Banner (inner pages)
   ========================================================= */
.page-banner {
  padding: 90px 0;
  background: var(--navy) url("../images/pattern-routes.svg") center / cover no-repeat;
  color: var(--on-dark);
}

.page-banner h1 {
  max-width: 800px;
  margin-top: 18px;
  font-size: 48px;
  color: var(--white);
}

.page-banner p {
  max-width: 650px;
  margin-top: 16px;
  font-size: 18px;
}

.page-banner .breadcrumb {
  margin-top: 0;
  font-size: 15px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb .current {
  margin: 0;
  opacity: 1;
  font-weight: 600;
  color: var(--white);
}

/* Split banner with text + card (B2B / B2C pages) */
.page-banner.split-banner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-banner.light {
  background: var(--orange-light);
  color: var(--text);
}

.page-banner.light h1 {
  color: var(--heading);
}

.page-banner.light .breadcrumb .current {
  color: var(--heading);
}


/* =========================================================
   6. Sections, Grids & Cards
   ========================================================= */
.section {
  padding: 96px 0;
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--navy);
  color: var(--on-dark);
}

.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}

.section-title {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title h2 {
  margin-top: 14px;
}

.section-title p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

.bg-dark .section-title p {
  color: var(--on-dark);
}

.section-btn {
  margin-top: 48px;
  text-align: center;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Two column layout: text + image/box */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split h2 {
  margin-top: 14px;
}

.split-text > p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

.bg-dark .split-text > p {
  color: var(--on-dark);
}

.split-text .check-list {
  margin-top: 28px;
}

/* Card */
.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 20px;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
}

.card .check-list,
.card .cross-list {
  margin-top: 18px;
  font-size: 15px;
}

.card .table-wrap {
  margin-top: 18px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.card-tags {
  display: flex;
  gap: 6px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  color: var(--orange-dark);
}

.read-more:hover i {
  transform: translateX(4px);
}

.read-more i {
  transition: transform 0.2s ease;
}

/* Icon box */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 22px;
}

.icon-box.blue { background: var(--blue-light); color: var(--blue); }
.icon-box.green { background: var(--green-light); color: var(--green); }
.icon-box.dark { background: var(--navy); color: var(--white); }

/* Feature (icon on left, text on right) */
.feature {
  display: flex;
  gap: 18px;
}

.feature h3 {
  font-size: 17px;
}

.feature p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.bg-dark .feature p {
  color: var(--on-dark);
}

.bg-dark .feature .icon-box {
  background: rgba(255, 255, 255, 0.08);
  color: #ffb892;
}

.feature-list {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

/* Industry box */
.industry {
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  font-weight: 700;
  color: var(--heading);
  transition: all 0.3s ease;
}

.industry i {
  display: block;
  margin-bottom: 12px;
  font-size: 30px;
  color: var(--orange);
}

.industry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Mock card (used in B2B / B2C banners) */
.mock-card {
  max-width: 480px;
  margin-left: auto;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.mock-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mock-card-head strong {
  font-size: 18px;
  color: var(--heading);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.mock-row i {
  width: 20px;
  text-align: center;
  color: var(--orange);
}

.mock-row div {
  flex: 1;
}

.mock-row small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.mock-row strong {
  font-size: 15px;
  color: var(--heading);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-stats div {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--bg-light);
}

.mock-stats small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.mock-stats strong {
  font-size: 19px;
  color: var(--heading);
}

.mock-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.mock-total small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.mock-total strong {
  font-size: 28px;
  color: var(--heading);
}


/* =========================================================
   7. B2B / B2C Cards (home page)
   ========================================================= */
.segment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.segment-card.b2b {
  background: var(--navy);
  color: var(--on-dark);
}

.segment-card.b2b h3 {
  color: var(--white);
}

.segment-card.b2c {
  background: var(--orange-light);
  border: 1px solid var(--orange-soft);
}

.segment-card .label {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.segment-card h3 {
  margin-top: 6px;
  font-size: 28px;
}

.segment-card > p {
  margin-top: 12px;
}

.segment-card .check-list {
  margin: 24px 0 30px;
}

.segment-card.b2b .check-list li::before {
  background: rgba(255, 255, 255, 0.1);
  color: #ffb892;
}

.segment-card .btn {
  align-self: flex-start;
  margin-top: auto;
}


/* =========================================================
   8. Steps, Stats & Testimonials
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  text-align: center;
}

/* dashed line between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(50% + 48px);
  width: calc(100% - 72px);
  border-top: 2px dashed #cdd5e2;
}

.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  font-size: 26px;
  color: var(--orange);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.step-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-top: 22px;
  font-size: 17px;
}

.step p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  padding: 10px 20px;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat .stat-number {
  margin-top: 0;
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.stat p {
  margin-top: 12px;
}

/* Testimonials */
.testimonial {
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f5a524;
}

.testimonial blockquote {
  margin: 18px 0 22px;
  font-weight: 500;
  color: var(--heading);
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9a5c);
  color: var(--white);
  font-weight: 800;
}

.avatar.blue { background: linear-gradient(135deg, var(--blue), #6f9bff); }
.avatar.navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.avatar.green { background: linear-gradient(135deg, #16a34a, #4ade80); }


/* =========================================================
   9. Call To Action
   ========================================================= */
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--orange), #ff8f4f);
  color: var(--white);
}

.cta-box h2 {
  max-width: 620px;
  color: var(--white);
}

.cta-box p {
  max-width: 560px;
  margin-top: 12px;
  font-size: 18px;
}

.cta-box .btn-group {
  margin-top: 0;
}


/* =========================================================
   10. Tables
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  text-align: left;
}

thead th {
  background: var(--bg-light);
  color: var(--heading);
  white-space: nowrap;
}

tbody th {
  color: var(--heading);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: none;
}

.table-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}


/* =========================================================
   11. Forms & FAQ
   ========================================================= */
.form-box {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-box > h2,
.form-box > h3 {
  margin-bottom: 8px;
}

.form-box > p {
  margin-bottom: 26px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--heading);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 15px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--orange);
}

/* Message shown after a form is submitted (see js/script.js) */
.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #bbf0cd;
  border-radius: var(--radius);
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* FAQ using <details> — opens and closes without JavaScript */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.faq details[open] {
  border-color: var(--orange-soft);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
  color: var(--orange);
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--muted);
}


/* =========================================================
   12. About & Contact
   ========================================================= */
.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
}

.stat-box .icon-box {
  margin-bottom: 18px;
}

.stat-box strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
}

.stat-box span {
  font-size: 15px;
  color: var(--muted);
}

.stat-box.dark {
  background: var(--navy);
}

.stat-box.dark strong {
  color: var(--white);
}

.stat-box.dark span {
  color: var(--on-dark);
}

.stat-box.orange {
  background: var(--orange);
}

.stat-box.orange strong,
.stat-box.orange span {
  color: var(--white);
}

.stat-box.orange .icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Company journey */
.journey {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.journey::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 19px;
  width: 2px;
  background: linear-gradient(var(--orange), var(--border));
}

.journey-item {
  position: relative;
  padding: 0 0 36px 64px;
}

.journey-item:last-child {
  padding-bottom: 0;
}

.journey-item::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 10px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange-soft);
}

.year {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 50px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.journey-item h3 {
  margin-top: 10px;
}

.journey-item p {
  margin-top: 6px;
  color: var(--muted);
}

/* Team */
.team-card {
  text-align: center;
}

.team-card .avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  font-size: 28px;
}

.team-card h3 {
  margin-top: 18px;
  font-size: 18px;
}

.team-card .role {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-dark);
}

/* City chips */
.city-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.city-list li {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}

.city-list i {
  margin-right: 6px;
  color: var(--orange);
}

/* Contact */
.contact-card h3 {
  font-size: 18px;
}

.contact-card a {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--heading);
}

.contact-card a:hover {
  color: var(--orange-dark);
}

.split-top {
  align-items: start;
}

.office-title {
  margin: 14px 0 24px;
}

.office {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.office i {
  margin-top: 4px;
  color: var(--orange);
}

.office p {
  font-size: 15px;
  color: var(--muted);
}

.map-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--blue-light);
  background-image:
    linear-gradient(rgba(46, 107, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 107, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-box:hover .map-link i {
  transform: translateX(4px);
}

.map-link {
  font-weight: 700;
  color: var(--orange-dark);
}

.map-link i {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 0 0 12px rgba(255, 107, 44, 0.2);
}

.map-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 15px;
}


/* =========================================================
   13. Legal Pages (Privacy Policy, Terms & Conditions)
   ========================================================= */
.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 40px;
  align-items: start;
}

/* Table of contents on the left side */
.legal-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.legal-toc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.legal-toc summary::-webkit-details-marker {
  display: none;
}

.legal-toc summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  transition: transform 0.25s ease;
}

.legal-toc[open] summary::after {
  transform: rotate(180deg);
}

.legal-toc ol {
  margin-top: 14px;
  padding-left: 24px;
  list-style: decimal;
  font-size: 14px;
}

.legal-toc li {
  margin-bottom: 4px;
}

.legal-toc li::marker {
  font-weight: 700;
  color: var(--orange);
}

.legal-toc a {
  display: block;
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--text);
  transition: all 0.2s ease;
}

.legal-toc a:hover {
  background: var(--bg-light);
  color: var(--orange-dark);
}

.legal-toc .toc-extra {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Main policy text */
.legal-content {
  min-width: 0;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.legal-content section {
  scroll-margin-top: 100px;
}

.legal-content section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 24px;
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 17px;
}

.legal-content p {
  margin-top: 12px;
}

.legal-content p strong {
  color: var(--heading);
}

.legal-content ul,
.legal-content ol {
  margin-top: 12px;
  padding-left: 22px;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.legal-content li::marker {
  color: var(--orange);
}

.legal-content a {
  font-weight: 600;
  color: var(--orange-dark);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content .table-wrap {
  margin-top: 16px;
}

/* Document details box (Terms page) */
.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-light);
}

.legal-meta .full {
  grid-column: 1 / -1;
}

.legal-meta small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-meta strong {
  font-size: 15px;
  color: var(--heading);
}

/* Contact box (Privacy page) */
.legal-contact {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius);
  background: var(--orange-light);
}

.legal-contact h3 {
  margin-top: 0;
}

.legal-content .legal-contact ul {
  padding-left: 0;
  list-style: none;
}

.legal-contact li {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-left: 0;
}

.legal-contact i {
  margin-top: 5px;
  color: var(--orange);
}

/* Text to fill in later, e.g. [Insert GSTIN] */
.placeholder {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--amber-light);
  color: var(--amber);
  font-weight: 600;
}

.legal-tagline {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.legal-tagline strong {
  display: block;
  font-size: 20px;
  color: var(--heading);
}

.legal-tagline span {
  font-weight: 600;
  color: var(--orange-dark);
}


/* =========================================================
   14. Footer
   ========================================================= */
.footer {
  padding-top: 72px;
  background: var(--navy-dark);
  color: var(--on-dark);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.footer .logo {
  color: var(--white);
}

.footer-about {
  max-width: 320px;
  margin-top: 16px;
}

.footer h4 {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact i {
  margin-top: 5px;
  color: #ffb892;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.2s ease;
}

.socials a:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-legal span {
  margin: 0 10px;
  opacity: 0.5;
}


/* =========================================================
   15. Responsive
   ========================================================= */

/* Tablet */
@media (max-width: 1100px) {
  .menu-btn {
    display: block;
  }

  /* Mobile menu: hidden until the menu button is clicked */
  .navbar {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .navbar.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    padding: 12px;
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    max-height: none;
  }

  .legal-toc ol {
    columns: 2;
    column-gap: 32px;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 32px; }

  .hero .container,
  .page-banner.split-banner .container,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .mock-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .legal-content {
    padding: 28px 22px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .section {
    padding: 70px 0;
  }

  .page-banner {
    padding: 64px 0;
  }

  .page-banner h1 {
    font-size: 36px;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
    gap: 0 20px;
  }

  .grid-2 {
    gap: 24px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .stat:nth-child(3) {
    border-left: none;
  }

  .stat .stat-number {
    font-size: 40px;
  }

  .segment-card,
  .cta-box,
  .form-box {
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .legal-toc ol {
    columns: 1;
  }

  .grid-3,
  .grid-4,
  .steps,
  .footer-grid,
  .stat-boxes {
    grid-template-columns: 1fr;
  }

  .float-box {
    display: none;
  }

  .hero-image {
    padding: 0;
  }

  .mock-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 10px;
  }

  .stat .stat-number {
    font-size: 30px;
  }
}
