/* ============================================================
   BASE.CSS — Reset, Variables, Typography
   Digital Marketing Trainer | Hyderabad
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

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

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

body {
  font-family: 'Roboto', sans-serif;
  background: #ffffff;
  color: #1a1f2e;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --blue:       #1d4ed8;
  --blue-dark:  #1a42b8;
  --blue-light: #eff4ff;
  --blue-mid:   #dbeafe;
  --text:       #1a1f2e;
  --text-2:     #374151;
  --muted:      #6b7280;
  --muted-2:    #9ca3af;
  --line:       #e5e7eb;
  --line-2:     #d1d5db;
  --bg:         #ffffff;
  --bg-soft:    #f8fafc;
  --bg-card:    #ffffff;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 32px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --container:  1200px;
  --tr:         0.22s ease;
}

/* ── Typography ──────────────────────────────────────────── */
h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 400;
}

p + p {
  margin-top: 12px;
}

/* ── Utility classes ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-blue {
  background: var(--blue);
}

.section-dark {
  background: #111827;
}

.text-blue   { color: var(--blue); }
.text-muted  { color: var(--muted); }
.text-white  { color: #ffffff; }
.text-center { text-align: center; }
.fw-500 { font-weight: 500; }
.fw-700 { font-weight: 700; }

/* ── Section Header ──────────────────────────────────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--blue);
  margin-bottom: 12px;
}

.sec-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 99px;
  flex-shrink: 0;
}

.sec-head {
  margin-bottom: 48px;
}

.sec-head p {
  margin-top: 10px;
  font-size: 16px;
  max-width: 640px;
  line-height: 1.75;
}

.sec-head.centered {
  text-align: center;
}

.sec-head.centered p {
  margin: 10px auto 0;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive typography ───────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section   { padding: 60px 0; }

  p { font-size: 15px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section   { padding: 48px 0; }
}
