/* =============================================
   FILE: reset-and-variables.css
   PURPOSE: CSS Reset, Custom Properties (Variables), Base Typography
   ============================================= */

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

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

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Brand Colors */
  --color-primary:      #1565c0;   /* Deep blue */
  --color-primary-dark: #0d47a1;
  --color-primary-light:#1976d2;
  --color-secondary:    #ff6f00;   /* Orange accent */
  --color-secondary-light: #ffa000;
  --color-success:      #2e7d32;
  --color-danger:       #c62828;
  --color-warning:      #f57f17;

  /* Neutrals */
  --text-primary:   #1a1a2e;
  --text-secondary: #4a4a68;
  --text-muted:     #888;
  --text-white:     #ffffff;

  /* Backgrounds */
  --bg-body:       #f5f7fb;
  --bg-card:       #ffffff;
  --bg-dark:       #0d1b2e;
  --bg-footer:     #0a1628;

  /* Borders */
  --border-color:  #e2e8f0;
  --border-radius: 10px;
  --border-radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-hover: 0 8px 24px rgba(21,101,192,0.18);

  /* Spacing */
  --section-gap: 4rem;
  --container-max: 1280px;
  --container-padding: 1.25rem;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-gap { margin-bottom: var(--section-gap); }
.text-center { text-align: center; }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 4px;
  margin: 0 auto;
}

.section-desc {
  margin-top: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(21,101,192,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.4);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin: 0.25rem;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
