/* ============================================================
   Atithi Seva Consulting — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Tenor+Sans&family=Noto+Serif+Devanagari:wght@300;400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --saffron:     #E8651A;
  --deep-saffron:#C4500F;
  --gold:        #C9963A;
  --gold-light:  #E8C870;
  --cream:       #FAF6EE;
  --cream-dark:  #F0E8D8;
  --brown-dark:  #2C1A0E;
  --brown-mid:   #5C3A1E;
  --brown-light: #8B6347;
  --white:       #FFFDF8;
  --text-body:   #3D2510;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text-body);
  font-family: 'Tenor Sans', sans-serif;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 150, 58, 0.2);
  transition: padding 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  padding: 12px 60px;
  box-shadow: 0 4px 20px rgba(44, 26, 14, 0.08);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
  border: none;
  outline: none;
}

.nav-logo,
.nav-logo:link,
.nav-logo:visited,
.nav-logo:hover,
.nav-logo:active,
.nav-logo:focus {
  text-decoration: none !important;
  color: inherit !important;
  outline: none !important;
  border-bottom: none !important;
}

.nav-logo:hover { opacity: 0.82; }

.nav-logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brown-dark);
  letter-spacing: 0.05em;
}

.nav-logo-hi {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--saffron);
  letter-spacing: 0.02em;
}

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

.nav-links a {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-mid);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--saffron);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--saffron); }
.nav-links a:hover::after { width: 100%; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--brown-dark);
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 60px 60px;
  position: relative;
  z-index: 2;
}

.hero-sanskrit {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--saffron);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--brown-dark);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--saffron);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--brown-light);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-tagline {
  font-size: 14px;
  line-height: 1.8;
  color: var(--brown-mid);
  max-width: 420px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-cta {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  padding: 14px 32px;
  background: var(--saffron);
  color: var(--white);
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--deep-saffron);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--brown-dark);
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── HERO RIGHT ── */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-right-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #E8D5B0 50%, #D4B896 100%);
}

.hero-mandala {
  position: absolute;
  width: 500px;
  height: 500px;
  opacity: 0.12;
  animation: rotateSlow 60s linear infinite;
}

.hero-ornament {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.2s forwards;
}

.om-symbol {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 120px;
  color: var(--saffron);
  opacity: 0.6;
  display: block;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--brown-mid);
  max-width: 320px;
  line-height: 1.6;
  text-align: center;
}

.hero-quote-src {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
  display: block;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--brown-dark);
  padding: 48px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--brown-dark);
}

.stat-item {
  padding: 32px 40px;
  background: var(--brown-dark);
  text-align: center;
  border-right: 1px solid rgba(201, 150, 58, 0.2);
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--brown-mid); }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.stat-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--saffron);
  margin-top: 4px;
  display: block;
}

/* ── SECTION COMMON ── */
section { padding: 100px 60px; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--saffron);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  color: var(--brown-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--saffron);
}

/* ── ABOUT ── */
.about {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--brown-mid);
  margin-bottom: 20px;
}

.about-text .highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--brown-dark);
  border-left: 3px solid var(--saffron);
  padding-left: 24px;
  margin: 32px 0;
  line-height: 1.5;
}

.about-identity {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  padding: 48px;
  border: 1px solid rgba(201, 150, 58, 0.3);
  position: relative;
  overflow: hidden;
}

.about-identity::before {
  content: 'ॐ';
  font-family: 'Noto Serif Devanagari', serif;
  position: absolute;
  top: -20px; right: 20px;
  font-size: 120px;
  color: var(--saffron);
  opacity: 0.08;
  line-height: 1;
}

.identity-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--brown-dark);
  display: block;
  margin-bottom: 4px;
}

.identity-name-spiritual {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--saffron);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}

.identity-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

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

.identity-credentials li {
  font-size: 13px;
  color: var(--brown-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.identity-credentials li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── SERVICES ── */
.services { background: var(--cream); }

.services-header {
  max-width: 600px;
  margin-bottom: 64px;
}

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

.service-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  background: var(--brown-dark);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 32px;
  color: var(--saffron);
  margin-bottom: 20px;
  display: block;
  transition: color 0.4s;
}

.service-card:hover .service-icon { color: var(--gold-light); }

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.4s;
}

.service-card:hover .service-name { color: var(--gold-light); }

.service-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--brown-light);
  transition: color 0.4s;
}

.service-card:hover .service-desc { color: rgba(255,255,255,0.6); }

/* ── IMPACT ── */
.impact {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 101, 26, 0.15) 0%, transparent 70%);
}

.impact .section-title { color: var(--cream); }
.impact .section-label { color: var(--gold-light); }
.impact .section-label::before { background: var(--gold-light); }

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
  align-items: start;
}

.impact-story p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.impact-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.metric-box {
  background: rgba(255,255,255,0.06);
  padding: 32px 28px;
  border: 1px solid rgba(201, 150, 58, 0.2);
  transition: background 0.3s;
}

.metric-box:hover { background: rgba(255,255,255,0.1); }

.metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-arrow {
  color: var(--saffron);
  font-size: 16px;
  margin: 0 6px;
}

.metric-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  display: block;
}

/* ── PROJECTS ── */
.projects { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.project-card {
  padding: 40px;
  background: var(--cream);
  border-left: 3px solid transparent;
  transition: all 0.3s;
  position: relative;
}

.project-card:hover {
  border-left-color: var(--saffron);
  background: var(--cream-dark);
}

.project-org {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 8px;
}

.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.project-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-role::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
}

.project-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--brown-light);
}

/* ── PHILOSOPHY ── */
.philosophy {
  background: var(--cream-dark);
  text-align: center;
  padding: 100px 60px;
}

.philosophy-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--brown-dark);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.4;
  position: relative;
}

.philosophy-quote::before {
  content: '"';
  font-size: 120px;
  color: var(--saffron);
  opacity: 0.2;
  position: absolute;
  top: -40px; left: -20px;
  font-style: normal;
  line-height: 1;
}

.philosophy-attr {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.philosophy-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--brown-light);
  margin-top: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── CONTACT ── */
.contact {
  background: var(--brown-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact .section-title { color: var(--cream); }
.contact .section-label { color: var(--gold-light); }
.contact .section-label::before { background: var(--gold-light); }

.contact-text {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(232, 101, 26, 0.15);
  border: 1px solid rgba(232, 101, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.3s;
}

.contact-item:hover .contact-icon {
  background: rgba(232, 101, 26, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 2px;
}

.contact-info-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--cream);
}

.contact-form-side {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 150, 58, 0.2);
  padding: 48px;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 150, 58, 0.2);
  color: var(--cream);
  font-family: 'Tenor Sans', sans-serif;
  font-size: 13px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--saffron);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--brown-dark); }

/* Field validation error */
.field-error {
  display: block;
  color: #e07070;
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 5px;
  min-height: 16px;
  font-family: 'Tenor Sans', sans-serif;
}

/* Form submission feedback */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}

.form-success .success-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.form-success p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--gold-light);
}

/* ── FOOTER ── */
footer {
  background: #1A0F06;
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201, 150, 58, 0.15);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--gold-light);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

.footer-hi {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 14px;
  color: var(--saffron);
  opacity: 0.6;
}

/* ── DECORATIVE BORDER ── */
.border-ornament {
  height: 4px;
  background: linear-gradient(90deg,
    var(--brown-dark) 0%,
    var(--saffron) 20%,
    var(--gold) 50%,
    var(--saffron) 80%,
    var(--brown-dark) 100%);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── RESPONSIVE ── */

/* ── Laptop / Large Tablet (max 1200px) ── */
@media (max-width: 1200px) {
  nav { padding: 18px 40px; }
  nav.scrolled { padding: 12px 40px; }
  .hero-left { padding: 100px 40px 70px; }
  .stats-strip { padding: 40px; }
  .stat-item { padding: 28px 24px; }
  section { padding: 80px 40px; }
  .about { gap: 56px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .contact { gap: 56px; padding: 80px 40px; }
  .contact-form-side { padding: 40px; }
  .about-identity { padding: 40px; }
  footer { padding: 28px 40px; }
}

/* ── Tablet (max 900px) ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(250, 246, 238, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(201, 150, 58, 0.2);
    box-shadow: 0 8px 24px rgba(44,26,14,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(201, 150, 58, 0.1);
  }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 90px 24px 56px; }
  .hero-right { display: none; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(201,150,58,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(201,150,58,0.15); }
  .stat-item:last-child { border-bottom: none; }

  section { padding: 64px 24px; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-identity { padding: 32px; }

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

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

  /* Management contract & Atithi Difference sections */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(4,1fr)"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  [style*="grid-template-columns:repeat(2,1fr)"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

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

  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-side { padding: 32px; }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px;
  }

  .float-btn-group { bottom: 20px; right: 16px; }
  .float-btn { width: 48px; height: 48px; }
}

/* ── Mobile (max 600px) ── */
@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  nav.scrolled { padding: 10px 16px; }
  .nav-logo-en { font-size: 15px; }
  .nav-logo-hi { font-size: 11px; }

  .hero-left { padding: 80px 16px 48px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary { text-align: center; }

  .stats-strip { grid-template-columns: 1fr; padding: 24px 16px; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(201,150,58,0.15); }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: 40px; }

  section { padding: 52px 16px; }

  .section-title { font-size: clamp(28px, 8vw, 40px); }

  .about { gap: 32px; }
  .about-identity { padding: 24px; }
  .identity-name-en { font-size: 22px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 24px; }

  .impact-metrics { grid-template-columns: 1fr; }
  .metric-value { font-size: 28px; }
  .metric-box { padding: 24px 20px; }

  /* Career journey timeline — collapse to single column */
  [style*="grid-template-columns:160px 1fr"] {
    display: block !important;
  }
  [style*="grid-template-columns:160px 1fr"] > div:first-child {
    text-align: left !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-bottom: 8px !important;
  }
  /* Hide the vertical timeline line on mobile */
  [style*="left:160px"] { display: none !important; }

  .project-card { padding: 28px 20px; }
  .projects-grid { grid-template-columns: 1fr; }

  .contact { gap: 36px; }
  .contact-form-side { padding: 24px 16px; }
  #cf-engagement-box { padding: 10px 12px; }

  .philosophy { padding: 64px 16px; }
  .philosophy-quote { font-size: clamp(22px, 6vw, 36px); }

  footer { padding: 20px 16px; gap: 10px; }
  .footer-logo { font-size: 14px; }
  .footer-copy { font-size: 10px; }

  /* Inline-style grid sections — force single column on mobile */
  [style*="padding:100px 60px"],
  [style*="padding:100px 40px"] {
    padding: 52px 16px !important;
  }
  [style*="padding:36px 28px"],
  [style*="padding:44px 32px"],
  [style*="padding:28px 32px"] {
    padding: 24px 20px !important;
  }

  .float-btn-group { bottom: 16px; right: 12px; gap: 8px; }
  .float-btn { width: 44px; height: 44px; }
}

/* ── Small mobile (max 380px) ── */
@media (max-width: 380px) {
  .hero-left { padding: 72px 14px 40px; }
  .hero-title { font-size: clamp(36px, 9vw, 48px); }
  section { padding: 44px 14px; }
  .contact-form-side { padding: 20px 14px; }
}
