/* ============================================================
   SHIVORAA — base.css  |  Indian Premium Theme
============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: #FFFCF8;
  color: #1A1208;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, button { appearance: none; -webkit-appearance: none; }
ul { list-style: none; }
::selection { background: #E8721A; color: #fff; }

/* ---------- TOKENS ---------- */
:root {
  /* Backgrounds — warm Indian whites */
  --bg:      #FFFCF8;
  --bg-alt:  #FFF5E8;
  --bg-alt2: #FFF9F2;

  /* Surfaces */
  --surface:  #FFFFFF;
  --surface2: #FFF5E8;
  --surface3: #FFE8CC;

  /* Text */
  --text:   #1A1208;
  --text2:  #6B5744;
  --text3:  #8C7260;
  --text4:  #B8A090;

  /* Primary — Saffron Orange (Indian flag) */
  --blue:    #E8721A;
  --blue-l:  #FF9446;
  --blue-d:  #C05E12;
  --blue-bg: rgba(232,114,26,0.09);

  /* System colors */
  --green:  #1A7A35;   /* India flag green */
  --red:    #CC2200;   /* boy's shirt red  */
  --yellow: #FF9933;   /* saffron yellow   */

  /* Borders */
  --border:  rgba(139,80,30,0.12);
  --border2: rgba(139,80,30,0.07);
  --border3: rgba(139,80,30,0.04);

  /* Shadows — warm-tinted */
  --shadow-sm:  0 1px 3px rgba(100,50,0,0.07), 0 2px 8px rgba(100,50,0,0.04);
  --shadow-md:  0 4px 16px rgba(100,50,0,0.09), 0 1px 4px rgba(100,50,0,0.05);
  --shadow-lg:  0 12px 40px rgba(100,50,0,0.11), 0 4px 12px rgba(100,50,0,0.06);
  --shadow-xl:  0 24px 64px rgba(100,50,0,0.13), 0 8px 24px rgba(100,50,0,0.07);
  --shadow-blue: 0 8px 30px rgba(232,114,26,0.32);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:    0.22s var(--ease);
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 640px)  { .container { padding: 0 36px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: 980px;
  font-size: 0.875rem; font-weight: 600; line-height: 1;
  letter-spacing: 0.01em;
  transition: var(--t); border: none;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #FF8C28, #E8721A);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, #FF9A3A, #F07820);
  box-shadow: 0 10px 36px rgba(232,114,26,0.40);
  outline: none;
}
.btn-primary:active { background: linear-gradient(135deg, #E8721A, #C05E12); box-shadow: var(--shadow-blue); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--blue-bg); outline: none;
}
.btn-lg   { padding: 15px 32px; font-size: 0.95rem; }
.btn-full { width: 100%; border-radius: 12px; }

/* ---------- SECTIONS ---------- */
section { padding: 56px 0; }
@media (min-width: 768px)  { section { padding: 72px 0; } }
@media (min-width: 1024px) { section { padding: 88px 0; } }

/* First section on inner pages — clears fixed nav */
.page-top { padding-top: 120px !important; }
@media (min-width: 768px) { .page-top { padding-top: 136px !important; } }

/* Overview cards on home page */
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 768px) { .ov-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.ov-card {
  display: flex; flex-direction: column;
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.ov-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(232,114,26,0.22); }
.ov-icon { font-size: 2rem; margin-bottom: 14px; }
.ov-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.ov-card p  { font-size: 0.85rem; color: var(--text2); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.ov-link    { font-size: 0.8rem; font-weight: 700; color: var(--blue); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 72px; }

.section-eyebrow {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  background: var(--blue-bg);
  border-radius: 980px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 16px;
}
.section-title-sm {
  font-size: clamp(1.75rem, 3.8vw, 2.7rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 20px;
}
.section-sub { font-size: 1.05rem; color: var(--text2); line-height: 1.75; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ---------- GRADIENT TEXT — Indian tricolor ---------- */
.hero-grad {
  background: linear-gradient(135deg, #FF8C28, #E8721A, #1A7A35);
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradFlow 5s linear infinite;
}
@keyframes gradFlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }