/* ============================================================
   ANSHUL SPECIALTY MOLECULES  –  style.css
   Base unit: --sp = 8px   "5x padding" = 5 × 8px = 40px
   Full-width layout, fully responsive (mobile / iPad / desktop)
   ============================================================ */

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

:root {
  --navy:      #0b1f5c;
  --navy-deep: #0a1949;
  --blue:      #1e73be;
  --sky:       #3aa3e0;
  --indigo:    #4a55d6;
  --text:      #444;
  --bg:        #fff;

  /* spacing scale — 1 unit = 8 px */
  --sp:  8px;          /* 1×  */
  --sp5: 10px;         /* 5×  ← main horizontal gutter */
  --sp8: 24px;         /* 8×  section vertical padding desktop */
  --sp6: 48px;         /* 6×  section vertical padding tablet */
  --sp4: 32px;         /* 4×  section vertical padding mobile */
}

html  { scroll-behavior: smooth; }
body  { font-family: 'Poppins', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  position: sticky;
  padding: 8px; 
  top: 0;
  z-index: 200;
  width: 100%;
}

.nav {
  /* full-width, 5× padding on each side, compact top padding */
  width: 100%;
  padding: 10px var(--sp5);
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp5);
}

/* ---------- logo (always left) ---------- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* 5× left padding already comes from .nav padding */
}

.logo-img {
  height: 105px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ---------- desktop menu ---------- */
.menu {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.menu a {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}
.menu a:hover { color: var(--blue); }
.menu .has-caret::after { content: " ⌄"; color: var(--blue); font-size: 12px; }

.lang { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.lang-caret {
  font-size: 8px;
  vertical-align: middle;
  opacity: .7;
}

/* ---------- hamburger (hidden on desktop) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile drawer ---------- */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: var(--sp5);
  border-top: 1px solid #eee;
  gap: 0;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer li { list-style: none; border-bottom: 1px solid #f2f2f2; }
.mobile-drawer li:last-child { border-bottom: none; }
.mobile-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.mobile-drawer a:hover { color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  width: 100%;
  background: url('images/herobg.jpg') center / cover no-repeat;
  color: #fff;
  padding: 60px var(--sp5);
  min-height: 660px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-inner {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: left;
  max-width: 620px;
}
.hero-title {
  font-family: 'Michroma', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(72px, 10vw, 100px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: #fff;
  text-transform: none;
  display: block;
  }
.hero-line2 {
  font-family: 'Michroma', 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .5px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
  white-space: nowrap;
  }
.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.6vw, 14px);
  letter-spacing: .3px;
  color: rgba(255,255,255,.85);
  margin-top: 16px;
  max-width: 480px;
  display: block;
  }

/* ============================================================
   SECTION WRAPPER  (full-width, 5× side padding)
   ============================================================ */
.section-wrap {
  width: 100%;
  padding: var(--sp8) var(--sp5);
}
.section-wrap--flush { padding-top: 0; padding-bottom: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  background: #f3f4f8;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 50px -25px rgba(11,31,92,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.about-text h2  { color: var(--navy); font-size: 28px; font-weight: 600; margin-bottom: 18px; }
.about-text p   { margin-bottom: 14px; color: #555; font-size: 15px; }
.read-more-wrap { text-align: right; margin-top: 10px; }

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary {
  background: linear-gradient(135deg, #5b3fd9, #3a26a8);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(91,63,217,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(91,63,217,.7); }
.btn-hero {
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ============================================================
   QUOTE + ILLUSTRATION
   ============================================================ */
.quote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  width: 100%;
}

.quote {
  background: var(--indigo);
  color: #fff;
  padding: var(--sp8) var(--sp5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.quote .marks {
  font-family: 'Playfair Display', serif;
  font-size: 150px;
  line-height: .4;
  opacity: .9;
  margin-bottom: 16px;
}
.quote p { margin: 10px auto; font-size: 15px; max-width: 500px; }

.portrait {
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: #ddd center / cover no-repeat;
  filter: grayscale(1);
  border: 4px solid rgba(255,255,255,.25);
}
.portrait-name { margin-top: 12px; font-weight: 600; font-size: 18px; text-align: center; }

.illu {
  background: #0a0f1f;
  display: grid;
  place-items: center;
  padding: var(--sp5);
  overflow: hidden;
}
.illu img {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0,170,255,.5));
}

/* ============================================================
   STATS  (animated counters)
   ============================================================ */
.stats {
  width: 100%;
  background: linear-gradient(135deg, #3aa3e0, #1e73be);
  color: #fff;
  padding: var(--sp8) var(--sp5);
  margin-top: 52px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num   { font-size: clamp(48px, 6vw, 72px); font-weight: 300; line-height: 1; }
.stat .label { margin-top: 8px; font-size: 17px; font-weight: 500; letter-spacing: .5px; }
.counter-value { display: inline-block; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-title {
  text-align: center;
  color: var(--navy);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 44px;
}
#products.section-wrap {
  margin-top: 32px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 44px 38px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px -18px rgba(11,31,92,.25);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -18px rgba(11,31,92,.35); }
.product-card h3 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 34px; font-weight: 700; line-height: 1.1; }
.product-card h4 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 24px; font-weight: 600; margin: 6px 0 18px; }
.product-card p  { color: #888; font-size: 15px; flex: 1; }
.btn-dark {
  align-self: flex-end;
  margin-top: 26px;
  background: var(--navy);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-2px); }
.quality-line {
  text-align: center;
  color: var(--navy);
  font-weight: 500;
  margin-top: 52px;
  font-size: 15px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-title { text-align: center; font-size: 30px; font-weight: 600; color: #222; margin-bottom: 32px; }
.form { max-width: 760px; margin: 0 auto; display: grid; gap: 13px; }
.form input,
.form textarea,
.form select {
  width: 100%;
  background: #f3f3f3;
  border: none;
  border-radius: 4px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  transition: box-shadow .15s, background .15s;
  appearance: none;
  -webkit-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #f3f3f3;
  padding-right: 36px;
  cursor: pointer;
}
.form input:focus,
.form textarea:focus,
.form select:focus { outline: none; background: #ebebeb; box-shadow: 0 0 0 2px rgba(74,85,214,.3); }
.form textarea { resize: vertical; min-height: 105px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.submit-wrap { text-align: center; margin-top: 6px; }
.btn-submit {
  background: #3c2fd0;
  color: #fff;
  padding: 13px 36px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: #2e23a6; transform: translateY(-2px); }
.captcha-note { text-align: center; font-size: 12px; color: #888; margin-top: 14px; }
.captcha-note a { color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  width: 100%;
  background: #111;
  color: #bbb;
  padding: 20px var(--sp5);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner a { color: #bbb; transition: color .2s; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; gap: 12px;  align-items: center; }
.footer-links span { color: #444; }

/* ============================================================
   RESPONSIVE  –  TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sp5: 32px; --sp8: 56px; }

  .menu { display: none; }
  .hamburger { display: flex; }

  .hero-inner { left: 8%; max-width: 480px; }
  .hero-title { font-size: clamp(40px, 8vw, 64px); }
  .hero-line2 { font-size: clamp(9px, 1.2vw, 11px); }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img  { max-width: 340px; }

  .quote-row { grid-template-columns: 1fr; }
  .illu { min-height: 320px; }

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

/* ============================================================
   RESPONSIVE  –  MOBILE  (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --sp5: 20px; --sp8: 40px; }

  .nav { height: 80px; padding-top: var(--sp5); }
  .logo-img { height: 40px; }

  .hero { padding: 48px var(--sp5); min-height: 240px; }
  .hero-inner { position: relative; left: auto; top: auto; transform: none; max-width: 100%; padding: 0; }
  .hero-title { font-size: 48px; }
  .hero-line2 { font-size: 8px; letter-spacing: .3px; }
  .hero-subtitle { font-size: 13px; }
  .hero-cta { flex-wrap: wrap !important; }

  .about-img { max-width: 100%; }

  .quote { padding: 40px var(--sp5); }
  .quote .marks { font-size: 60px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat .num  { font-size: 44px; }
  .stat .label { font-size: 14px; }

  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 32px 24px; }

  .form .row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 8px; }
}

/* ============================================================
   DROPDOWN NAVIGATION  (appended)
   ============================================================ */
.menu li { position: relative; }

.menu .has-dropdown > a { cursor: pointer; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  z-index: 300;
  padding: 6px 0;
  white-space: nowrap;
}
.menu li:hover > .dropdown,
.menu li:focus-within > .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.dropdown a:hover { background: #f0f4ff; color: var(--blue); }
.dropdown li { border-bottom: 1px solid #f2f4fa; }
.dropdown li:last-child { border-bottom: none; }

/* Arrow indicator for items with dropdowns */
.has-dropdown > a::after { content: " ▾"; color: var(--blue); font-size: 11px; }

/* ============================================================
   LEGAL / 404 PAGES
   ============================================================ */
.page-banner {
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #1e73be 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 70px var(--sp5) 50px;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.page-banner p {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  margin-top: 8px;
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px var(--sp5) 80px;
}
.inner h2 {
  color: var(--navy);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8edf8;
}
.inner h2:first-child { margin-top: 0; }
.inner h3 {
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
}
.inner p  { color: #555; font-size: 15px; line-height: 1.85; margin-bottom: 13px; }
.inner ul { padding-left: 20px; margin-bottom: 14px; }
.inner li { color: #555; font-size: 15px; line-height: 1.85; margin-bottom: 6px; }

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4ff;
  border-left: 4px solid var(--blue);
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #444;
  margin-bottom: 36px;
}
.highlight-box {
  background: #f0f4ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 18px 24px;
  margin: 24px 0;
}
.highlight-box p { margin: 0; color: #333; font-size: 14px; }

.legal-contact-box {
  background: #f7f8fd;
  border: 1px solid #dde3f0;
  border-radius: 10px;
  padding: 28px 32px;
  margin-top: 40px;
}
.legal-contact-box h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.legal-contact-box p { margin-bottom: 6px; }
.legal-contact-box a { color: var(--blue); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--sp5);
}
.error-box { max-width: 620px; width: 100%; }
.error-num {
  font-size: clamp(90px, 18vw, 160px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Playfair Display', serif;
}
.error-icon { font-size: 3rem; margin: 8px 0 12px; }
.error-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  margin-bottom: 14px;
}
.error-msg { color: #666; font-size: 16px; line-height: 1.75; max-width: 480px; margin: 0 auto 32px; }
.error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.error-links-label {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
}
.error-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.error-pill {
  background: #f0f4ff;
  border: 1px solid #d0d8f0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 30px;
  transition: all .2s;
  text-decoration: none;
}
.error-pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.error-search {
  display: flex;
  max-width: 400px;
  margin: 0 auto 32px;
  gap: 8px;
}
.error-search input {
  flex: 1;
  border: 2px solid #dde3f0;
  border-radius: 30px;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #444;
  outline: none;
  transition: border-color .2s;
}
.error-search input:focus { border-color: var(--blue); }
.error-search button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background .2s;
}
.error-search button:hover { background: var(--navy); }

/* ============================================================
   FOOTER ENHANCED
   ============================================================ */
footer {
  width: 100%;
  background: #0a1020;
  color: #9aa3b5;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 52px var(--sp5) 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  color: #7a849a;
  font-size: 13px;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 300px;
}
.footer-brand .footer-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Playfair Display', serif;
  display: block;
  margin-top: 12px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #7a849a; font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--sp5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #7a849a; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .error-actions { flex-direction: column; align-items: center; }
}


/* ── Minimal Footer ──────────────────────────────── */
.footer-minimal {
  background: var(--navy, #0a1949);
  color: rgba(255,255,255,.75);
  padding: 18px var(--sp5, 24px);
}
.footer-minimal-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 20px;
  
}
.footer-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
@media (max-width: 640px) {
  .footer-minimal-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 14px; }
}

/* ============================================================
   INNER-PAGE STYLES (formerly page-style.css)
   ============================================================ */
/* ============================================================
   ANSHUL SPECIALTY MOLECULES – page-style.css
   Inner-page styles extending style.css
   ============================================================ */

/* ---- Page Banner (replaces hero on inner pages) ---- */
.page-banner {
  width: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--sp5) 40px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/herobg.jpg') center / cover no-repeat;
  opacity: 1;
}
.page-banner-inner {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.page-banner p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  margin-top: 8px;
  letter-spacing: .5px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  width: 100%;
  background: #f5f6fa;
  padding: 12px var(--sp5);
  font-size: 13px;
  color: #888;
  border-bottom: 1px solid #e8e8e8;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: #ccc; }

/* ---- Section Headings (inner pages) ---- */
.page-section { width: 100%; padding: 64px var(--sp5); }
.page-section + .page-section { padding-top: 0; }
.page-section--tinted { background: #f7f8fc; }
.page-section--dark { background: var(--navy); color: #fff; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-heading--light { color: #fff; }
.section-lead {
  font-size: 16px;
  color: #555;
  max-width: 780px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.section-lead--light { color: rgba(255,255,255,.8); }

/* ---- Two-col split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(11,31,92,.25);
}
.split-img img { width: 100%; height: 340px; object-fit: cover; display: block; }

/* ---- Feature list ---- */
.feature-list { list-style: none; display: grid; gap: 14px; margin: 24px 0; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 7px;
}

/* ---- Cards grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 30px;
  box-shadow: 0 12px 36px -14px rgba(11,31,92,.18);
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid var(--blue);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -14px rgba(11,31,92,.25); }
.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 12px;
}
.card p { color: #666; font-size: 14px; line-height: 1.65; }

/* ---- Process steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  padding: 32px 24px;
  border-left: 3px solid #eee;
  position: relative;
  counter-increment: step;
}
.step:first-child { border-left: none; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sky);
  display: block;
  margin-bottom: 10px;
}
.step h4 { color: var(--navy); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step p  { font-size: 13px; color: #777; line-height: 1.6; }

/* ---- Highlight box ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  margin: 48px 0 0;
}
.highlight-box h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 16px; }
.highlight-box p  { font-size: 15px; opacity: .85; max-width: 640px; margin: 0 auto; }

/* ---- Vision / Mission styled block ---- */
.vm-block {
  border-left: 5px solid var(--blue);
  padding: 24px 28px;
  background: #f7f8fc;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
}
.vm-block h3 { color: var(--navy); font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.vm-block p  { color: #555; font-size: 15px; line-height: 1.7; }

/* ---- Responsible Care / CSR bullet sections ---- */
.rc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.rc-item h3 {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5eaf5;
}
.rc-item p  { color: #555; font-size: 14px; line-height: 1.7; }

/* ---- Sustainability bullets ---- */
.sus-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.sus-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 4px 14px -6px rgba(11,31,92,.12);
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.sus-list li .ico {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ---- ESG Pillars ---- */
.esg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.esg-card {
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
}
.esg-card.env  { background: #e8f5e9; }
.esg-card.soc  { background: #e3f2fd; }
.esg-card.gov  { background: #fce4ec; }
.esg-card h3   { font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.esg-card ul   { text-align: left; list-style: disc; padding-left: 18px; font-size: 13px; color: #555; line-height: 1.7; }

/* ---- Process flow (custom synthesis) ---- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.flow-box {
  background: var(--indigo);
  color: #fff;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
}

/* ---- R&D focus areas ---- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.focus-item {
  padding: 24px;
  border-radius: 10px;
  border: 1.5px solid #e0e5f0;
  background: #fff;
}
.focus-item h4 { color: var(--blue); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.focus-item p  { font-size: 13px; color: #666; line-height: 1.65; }

/* ---- Manufacturing table-like positions ---- */
.mfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
}
.mfg-site {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 8px 28px -10px rgba(11,31,92,.15);
}
.mfg-site h3 { color: var(--navy); font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.mfg-site p  { font-size: 14px; color: #555; line-height: 1.7; }

/* ---- Group companies table ---- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.group-card {
  border: 1.5px solid #e0e5f0;
  border-radius: 10px;
  padding: 28px 22px;
  background: #fff;
}
.group-card h4 { color: var(--navy); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.group-card ul { list-style: disc; padding-left: 16px; font-size: 13px; color: #666; line-height: 1.7; }

/* ---- Reaction / Chemistry blocks ---- */
.reaction-block {
  background: #f7f8fc;
  border-radius: 10px;
  padding: 36px;
  margin-bottom: 32px;
}
.reaction-block h3 { color: var(--blue); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.reaction-block p  { color: #555; font-size: 14px; line-height: 1.75; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .split, .rc-grid, .mfg-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse { direction: ltr; }
  .esg-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-section { padding: 40px var(--sp5); }
  .flow-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 3px solid #eee; }
}
