/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --hue: 230;
  --sat: 70%;
  
  /* Primary Colors - Professional Blue/Purple */
  --primary-color: hsl(230, 70%, 55%);
  --primary-color-alt: hsl(230, 70%, 48%);
  --primary-color-light: hsl(230, 70%, 90%);
  
  /* Accent Colors - Healthcare Green */
  --accent-color: hsl(142, 70%, 50%);
  --accent-color-light: hsl(142, 70%, 90%);
  
  /* Text & Background */
  --title-color: hsl(230, 20%, 15%);
  --title-color-dark: hsl(230, 20%, 10%);
  --text-color: hsl(230, 8%, 45%);
  --text-color-light: hsl(230, 8%, 65%);
  --body-color: hsl(230, 60%, 99%);
  --container-color: #fff;
  --border-color: hsl(230, 20%, 90%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px hsla(230, 70%, 15%, 0.08);
  --shadow-md: 0 4px 16px hsla(230, 70%, 15%, 0.12);
  --shadow-lg: 0 8px 32px hsla(230, 70%, 15%, 0.16);

  /*========== Font and typography ==========*/
  --body-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /*.5rem = 8px | 1rem = 16px ...*/
  --big-font-size: 3.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;
  --tiny-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --font-normal: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*========== Dark Mode ==========*/
body.dark-theme {
  --title-color: hsl(230, 20%, 95%);
  --title-color-dark: hsl(230, 20%, 100%);
  --text-color: hsl(230, 8%, 75%);
  --text-color-light: hsl(230, 8%, 65%);
  --body-color: hsl(230, 28%, 12%);
  --container-color: hsl(230, 28%, 16%);
  --border-color: hsl(230, 20%, 25%);
  
  --shadow-sm: 0 2px 8px hsla(0, 0%, 0%, 0.3);
  --shadow-md: 0 4px 16px hsla(0, 0%, 0%, 0.4);
  --shadow-lg: 0 8px 32px hsla(0, 0%, 0%, 0.5);
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --big-font-size: 2.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: hsl(230, 60%, 99%);
  color: var(--text-color);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

body::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(230, 70%, 85%), transparent);
  top: -200px;
  right: -200px;
}

body::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(142, 60%, 85%), transparent);
  bottom: 0;
  left: -150px;
}

@media screen and (max-width: 768px) {
  body::before,
  body::after {
    display: none;
  }
}

body.dark-theme {
  background-color: hsl(230, 28%, 12%);
}

body.dark-theme::before {
  background: radial-gradient(circle, hsl(230, 70%, 25%), transparent);
  opacity: 0.3;
}

body.dark-theme::after {
  background: radial-gradient(circle, hsl(142, 60%, 20%), transparent);
  opacity: 0.3;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}
