/* Kannimar Transport - Modern Professional Theme */

/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #f5b301;
  --primary-dark: #e29f00;
  --accent: #111827;
  --bg: #0b1220;
  --bg-light: #f3f4f6;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.12);
  --transition-fast: 180ms ease-out;
  --transition-med: 240ms ease-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* LAYOUT */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER & NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.78));
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffe082, var(--primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #1f2933;
  box-shadow: 0 12px 30px rgba(245, 179, 1, 0.5);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #f9fafb;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* NAVIGATION */

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: #e5e7eb;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 18%;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), #fed7aa);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(15,23,42,0.65);
}

.nav-link.active {
  background: rgba(15,23,42,0.95);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.nav-link.nav-cta {
  background: radial-gradient(circle at 30% 0, #ffe082, var(--primary));
  color: #111827;
  font-weight: 600;
  box-shadow: 0 14px 40px rgba(245, 179, 1, 0.65);
}

.nav-link.nav-cta:hover {
  background: radial-gradient(circle at 30% 0, #fff7cc, var(--primary-dark));
  transform: translateY(-1px) scale(1.01);
}

/* MOBILE NAV TOGGLE */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO SECTION */

.hero {
  padding: 2.75rem 0 2.5rem;
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.06), transparent 55%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 50%);
  color: #e5e7eb;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-title span.highlight {
  background: linear-gradient(to right, #fde68a, var(--primary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #cbd5f5;
  max-width: 30rem;
  margin-bottom: 1.35rem;
}

.hero-subtitle-tamil {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-med), color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition-med);
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 30% 0, #ffe082, var(--primary));
  color: #111827;
  box-shadow: 0 16px 40px rgba(245, 179, 1, 0.65);
}

.btn-primary:hover {
  background: radial-gradient(circle at 30% 0, #fff7cc, var(--primary-dark));
  transform: translateY(-1px) scale(1.01);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.65);
  color: #e5e7eb;
  background: rgba(15,23,42,0.75);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(15,23,42,0.95);
  transform: translateY(-1px);
}

/* HERO STATS */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, rgba(30,64,175,0.9), rgba(15,23,42,0.98));
  border: 1px solid rgba(30,64,175,0.8);
  min-width: 120px;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9fafb;
}

/* HERO RIGHT CARD */

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(249,250,251,0.12), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.hero-card-badge {
  position: absolute;
  inset-inline: auto 1.1rem;
  top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.6);
  font-size: 0.7rem;
  color: #bbf7d0;
}

.hero-card-header {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

.hero-card-title {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 0.3rem;
}

.hero-card-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.timeline {
  margin-top: 0.5rem;
  border-top: 1px dashed rgba(148,163,184,0.4);
  padding-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #fde68a, #f59e0b);
  box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.04);
}

.timeline-text-main {
  font-size: 0.82rem;
  color: #e5e7eb;
}

.timeline-text-sub {
  font-size: 0.7rem;
  color: #9ca3af;
}

/* GENERIC SECTIONS */

.section {
  padding: 2.4rem 0;
}

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
  color: #e5e7eb;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 32rem;
}

/* CARD GRID */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
}

.card {
  border-radius: 1.2rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,1));
  border: 1px solid rgba(148,163,184,0.32);
  padding: 1rem;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.9);
  border-color: rgba(249, 250, 251, 0.25);
  background: radial-gradient(circle at top left, rgba(30,64,175,0.95), rgba(15,23,42,1));
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ffe082, var(--primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.3rem;
}

.card-text {
  font-size: 0.87rem;
  color: #cbd5f5;
}

/* FEATURES / WHY US */

.features-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
}

.feature {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.feature-bullet {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(34,197,94,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #bbf7d0;
}

.feature-content-title {
  font-size: 0.9rem;
  color: #e5e7eb;
  font-weight: 600;
}

.feature-content-text {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* PROCESS STEPS */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0.9rem;
}

.process-step {
  border-radius: 1rem;
  border: 1px dashed rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.95);
  padding: 0.9rem;
}

.process-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.process-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.25rem;
}

.process-step-text {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* PAGE HERO (INNER PAGES) */

.page-hero {
  padding: 1.8rem 0 1.4rem;
  border-bottom: 1px solid rgba(31,41,55,0.9);
  background:
    radial-gradient(circle at top right, rgba(245,158,11,0.16), transparent 55%),
    radial-gradient(circle at top left, rgba(15,23,42,0.9), #020617);
  color: #e5e7eb;
}

.breadcrumb {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
}

.breadcrumb span {
  color: #6b7280;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ABOUT PAGE */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 1.75rem;
  padding-top: 1.8rem;
}

.prose {
  font-size: 0.9rem;
  color: #d1d5db;
}

.prose p + p {
  margin-top: 0.8rem;
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.38);
  background: rgba(17,24,39,0.96);
  padding: 0.7rem 0.8rem;
}

.stat-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9fafb;
}

.stat-card-label {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* FLEET */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.vehicle-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(148,163,184,0.3);
  background: radial-gradient(circle at top, rgba(30,64,175,0.9), rgba(15,23,42,1));
  padding: 0.95rem;
  box-shadow: var(--shadow-subtle);
}

.vehicle-tag {
  display: inline-flex;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(15,23,42,0.92);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.7);
  margin-bottom: 0.5rem;
}

.vehicle-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.1rem;
}

.vehicle-meta {
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-bottom: 0.5rem;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #e5e7eb;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 1.7rem;
  padding-top: 1.8rem;
}

.contact-card {
  border-radius: 1.3rem;
  border: 1px solid rgba(148,163,184,0.4);
  background: radial-gradient(circle at top left, rgba(30,64,175,0.9), rgba(15,23,42,1));
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  color: #e5e7eb;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #cbd5f5;
}

.contact-value {
  font-size: 0.92rem;
  color: #f9fafb;
}

.contact-note {
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-top: 0.5rem;
}

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

/* FORM */

.form-card {
  border-radius: 1.3rem;
  border: 1px solid rgba(148,163,184,0.3);
  background: rgba(15,23,42,0.96);
  padding: 1rem 1.1rem;
  color: #e5e7eb;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.75rem;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.25rem;
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.98);
  padding: 0.55rem 0.7rem;
  font-size: 0.87rem;
  color: #e5e7eb;
  outline: none;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), background var(--transition-med), transform var(--transition-med);
}

.input::placeholder,
.textarea::placeholder {
  color: #6b7280;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.8);
  background: rgba(15,23,42,1);
  transform: translateY(-1px);
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

/* FOOTER */

.site-footer {
  margin-top: 1.5rem;
  padding: 1.8rem 0 1rem;
  border-top: 1px solid rgba(31,41,55,0.9);
  background:
    radial-gradient(circle at top, rgba(15,23,42,0.92), #020617);
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer-col p {
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: #e5e7eb;
  transform: translateX(2px);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(31,41,55,0.9);
  padding-top: 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  color: #6b7280;
}

/* UTILITY */

.text-highlight {
  color: #fde68a;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  font-size: 0.72rem;
  color: #9ca3af;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .hero-card {
    margin-top: 0.6rem;
  }

  .features-grid,
  .about-layout,
  .contact-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .fleet-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.55rem 1.25rem 0.85rem;
    background: rgba(15,23,42,0.98);
    border-bottom: 1px solid rgba(31,41,55,0.9);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 0.45rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 2rem 0 1.9rem;
  }

  .card-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .fleet-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .process-steps {
    grid-template-columns: minmax(0,1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .nav-container {
    padding-inline: 0;
  }
}