/* ============================
   GLOBAL BASE & RESET
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Responsive Font Sizes */
  --font-lead: clamp(1.75rem, 4vw, 2.5rem);      /* ~28px–40px */
  --font-heading: clamp(1.2rem, 2.5vw, 1.75rem); /* ~19px–28px */
  --font-subheading: clamp(1rem, 2vw, 1.25rem);  /* ~16px–20px */
  --font-body: clamp(1rem, 1.5vw, 1.125rem);     /* ~16px–18px */
  --font-small: clamp(0.875rem, 1vw, 1rem);      /* ~14px–16px */

  /* Line Heights */
  --line-height-default: 1.5;
  --line-height-tight: 1.3;
  --line-height-loose: 1.7;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-size: var(--font-body);
  line-height: var(--line-height-default);
  color: #414141;
  background-color: #f9f9f9;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================
   TYPOGRAPHY CLASSES
============================= */
.lead {
  font-size: var(--font-lead);
  line-height: var(--line-height-loose);
  font-weight: 400;
  text-align: center;
  text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.heading {
  font-size: var(--font-heading);
  line-height: var(--line-height-tight);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.subheading {
  font-size: var(--font-subheading);
  line-height: var(--line-height-default);
  font-weight: 300;
  color: #555;
  margin-bottom: 1rem;
}

/* ============================
   LAYOUT & CONTAINERS
============================= */
.grid {
  display: grid;
  gap: 1.5rem;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================
   FORMS
============================= */
input, textarea, select, button {
  font-family: inherit;
  font-size: 0.875rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

/* ============================
   MEDIA QUERIES (Optional)
============================= */
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
    gap: 1rem;
  }

  .lead, .heading, .subheading {
    text-align: center;
  }
}