/* ════════════════════════════════════════════════════════
   Amit Kumar Gupta — ISO Management Systems Consultant
   Stylesheet · styles.css
   ════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --navy:       #0D1B2A;
  --navy2:      #1A2E44;
  --navy-deep:  #08111A;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --cream:      #F7F3ED;
  --smoke:      #EEE9E1;
  --mid:        #8A9BAD;
  --light:      #C5D0D8;
}

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

html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, .display { font-family: 'Playfair Display', serif; }
h1 { font-size: 44px; line-height: 1.2; font-weight: 600; }
h2 { font-size: 30px; line-height: 1.2; font-weight: 600; }
h3 { font-size: 18px; line-height: 1.2; font-weight: 400; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

section { padding: 80px 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── NAV ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
}

.nav-brand { text-decoration: none; }

.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
  display: block;
  line-height: 1;
}

.nav-brand-title {
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.1em;
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--light);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--light);
  transition: transform 0.2s, opacity 0.2s;
}

#nav-mobile {
  display: none;
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 16px 32px 24px;
}
#nav-mobile.open { display: block; }

#nav-mobile a {
  display: block;
  padding: 10px 0;
  color: var(--light);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
#nav-mobile a:hover { color: var(--gold); }

/* ─── HERO ─────────────────────────────────────────────── */
#hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}


.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.hero-h1 { color: var(--cream); margin-bottom: 20px; }

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-secondary {
  display: inline-block;
  padding: 13px 28px;
  background: transparent;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: rgba(201,168,76,0.08); }

/* ─── HERO STATS ─────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stat-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 24px 20px;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ─── ISO STRIP ──────────────────────────────────────── */
#iso-strip {
  background: var(--navy-deep);
  padding: 40px 0;
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.iso-grid {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.iso-grid::-webkit-scrollbar { display: none; }

.iso-tile {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid rgba(201,168,76,0.1);
}
.iso-tile:last-child { border-right: none; }

.iso-number {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.iso-name {
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ─── MARQUEE ────────────────────────────────────────── */
#marquee-section {
  background: var(--navy);
  padding: 44px 0;
  overflow: hidden;
  position: relative;
}

.marquee-label {
  text-align: center;
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 400;
}

.marquee-track-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-track-wrap::before,
.marquee-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}
.marquee-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.company-badge {
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(201,168,76,0.22);
  padding: 14px 20px;
  min-width: 190px;
}

.badge-company {
  font-size: 13px;
  color: var(--light);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  white-space: nowrap;
}

.badge-role {
  font-size: 11px;
  color: var(--mid);
  font-weight: 300;
}

/* ─── EXPERTISE ──────────────────────────────────────── */
#expertise {
  background: var(--cream);
  padding: 80px 0;
}

.expertise-header { margin-bottom: 48px; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.exp-card {
  background: #ffffff;
  border: 0.5px solid var(--light);
  padding: 28px 24px 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,27,42,0.1);
}
.exp-card:hover::before { transform: scaleY(1); }

.exp-icon {
  margin-bottom: 16px;
  color: var(--navy2);
}

.exp-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.exp-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.exp-card p {
  font-size: 13px;
  color: #4A5E6E;
  line-height: 1.75;
  font-weight: 300;
}

/* ─── PROCESS ────────────────────────────────────────── */
#process {
  background: var(--navy);
  padding: 80px 0;
}

.process-header { margin-bottom: 56px; }
.process-header h2 { color: var(--cream); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: rgba(201,168,76,0.25);
}

.process-step { padding: 0 20px; text-align: center; position: relative; }

.step-circle {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--gold);
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
}

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.step-desc {
  font-size: 13px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.7;
}

/* ─── SERVICES ───────────────────────────────────────── */
#services {
  background: var(--smoke);
  padding: 80px 0;
}

.services-header { margin-bottom: 48px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-card {
  background: var(--navy);
  border: 0.5px solid rgba(201,168,76,0.2);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); }

.service-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 600;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  font-size: 14px;
  color: var(--light);
  font-weight: 300;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ─── ABOUT / EXPERIENCE ─────────────────────────────── */
#experience {
  background: #fff;
  padding: 80px 0;
}

.about-bio { margin-bottom: 64px; }

.about-bio p {
  font-size: 15px;
  color: var(--navy2);
  font-weight: 400;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-pow-heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 28px;
}

.pow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pow-card {
  background: #fff;
  border: 0.5px solid var(--light);
  border-left: 3px solid var(--gold);
  padding: 22px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease, border-left-width 0.3s ease;
}
.pow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(13,27,42,0.1);
  border-left-width: 5px;
  border-left-color: var(--gold-light);
}
.pow-card:hover .pow-cat {
  color: var(--gold);
}

/* Staggered entrance for pow-cards */
.pow-card.fade-up:nth-child(1) { transition-delay: 0s; }
.pow-card.fade-up:nth-child(2) { transition-delay: 0.08s; }
.pow-card.fade-up:nth-child(3) { transition-delay: 0.16s; }
.pow-card.fade-up:nth-child(4) { transition-delay: 0.24s; }
.pow-card.fade-up:nth-child(5) { transition-delay: 0.32s; }
.pow-card.fade-up:nth-child(6) { transition-delay: 0.40s; }

.pow-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.pow-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}

.pow-desc {
  font-size: 13px;
  color: var(--navy2);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 14px;
}

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

.pow-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  padding: 3px 8px;
  border: 0.5px solid rgba(201,168,76,0.3);
  letter-spacing: 0.03em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  background: var(--navy);
  padding: 5px 12px;
  letter-spacing: 0.04em;
}

/* ─── CONTACT ────────────────────────────────────────── */
#contact {
  background: var(--navy);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-sub {
  font-size: 14px;
  color: var(--light);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 24px;
}

.contact-note {
  font-size: 13px;
  color: var(--gold);
  font-weight: 400;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 32px;
}

.contact-detail {
  font-size: 14px;
  color: var(--light);
  font-weight: 300;
  margin-bottom: 6px;
}

.contact-detail span {
  color: var(--cream);
  font-weight: 400;
}
.contact-detail span a {
  color: var(--cream);
  font-weight: 400;
  text-decoration: none;
}

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

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(197,208,216,0.2);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201,168,76,0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--gold-light); }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 300;
}
.form-error {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid #c0392b;
  color: #c0392b;
  font-size: 13px;
  font-weight: 300;
}

#form-error-email,
#form-error-email a {
  color: #c0392b;
  text-decoration: underline;
}

/* ─── FOOTER ─────────────────────────────────────────── */
#footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
  display: block;
}

.footer-title {
  font-size: 11px;
  color: var(--mid);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.footer-right {
  font-size: 12px;
  color: var(--mid);
  font-weight: 300;
  text-align: right;
  line-height: 1.8;
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s !important;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  section { padding: 56px 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .iso-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .iso-tile { min-width: 100px; padding: 16px 10px; }

  .expertise-grid,
  .pow-grid {
    grid-template-columns: 1fr;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-timeline::before { display: none; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }

  .xtl-wrap { padding-left: 40px; }
  .xtl-wrap::before { left: 14px; }
  .xtl-dot { left: -34px; width: 16px; height: 16px; top: 18px; }
  .xtl-entry.is-current .xtl-dot { left: -36px; width: 20px; height: 20px; top: 16px; }
  .xtl-title { font-size: 15px; }
}
