/* ============================================================
   JIMCH — Base: reset, variables, typography
   Theme: Emerald & Gold
   ============================================================ */

:root {
  /* Emerald */
  --emerald-900: #06231a;
  --emerald-800: #0b4d3c;
  --emerald-700: #106350;
  --emerald-600: #16806a;
  --emerald-500: #1f9c81;
  --emerald-100: #e3efe9;
  --emerald-50: #f0f6f2;

  /* Gold */
  --gold-700: #96700c;
  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #e0b53d;
  --gold-300: #e8c158;
  --gold-100: #f8ecc9;

  /* Neutrals */
  --cream-50: #fbf8f1;
  --cream-100: #f5efe1;
  --ink-900: #1a1a17;
  --ink-700: #33322c;
  --ink-600: #5a5850;
  --ink-400: #8a8778;
  --white: #ffffff;

  /* Gradients */
  --grad-emerald: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-600) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-300) 100%);
  --grad-hero: linear-gradient(160deg, var(--emerald-900) 0%, var(--emerald-800) 45%, var(--emerald-700) 100%);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(6, 35, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(6, 35, 26, 0.10);
  --shadow-lg: 0 20px 48px rgba(6, 35, 26, 0.16);
  --shadow-gold: 0 8px 24px rgba(180, 134, 11, 0.25);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Type */
  --font-display: "Playfair Display", "Noto Serif Bengali", serif;
  --font-body: "Inter", "Hind Siliguri", sans-serif;
  --font-bn: "Hind Siliguri", "Inter", sans-serif;

  /* Layout */
  --container-max: 1200px;
  --header-h: 84px;
  --header-h-mobile: 64px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[lang="bn"] {
  --font-display: "Hind Siliguri", "Playfair Display", sans-serif;
  --font-body: "Hind Siliguri", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.nav-lock,
html.nav-lock body {
  overflow: hidden;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream-50);
  color: var(--ink-900);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.dept-icon .icon,
.service-icon .icon {
  width: 26px;
  height: 26px;
}

.contact-icon .icon {
  width: 22px;
  height: 22px;
}

.footer-contact .icon {
  width: 16px;
  height: 16px;
}

.hero-float-card .icon {
  width: 18px;
  height: 18px;
}

.mobile-action-bar .icon {
  width: 18px;
  height: 18px;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--emerald-900);
}

html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3,
html[lang="bn"] h4 {
  font-weight: 600;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--ink-600); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container { padding: 0 18px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-emerald);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--emerald-900);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(180, 134, 11, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--emerald-800);
  border: 1.5px solid var(--emerald-800);
}

.btn-outline-dark:hover {
  background: var(--emerald-800);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
