:root {
  --primary: #e63946;
  --primary-600: #e63946;
  --primary-400: #ff6f6f;
  --muted: #666666;
  --bg: #ffffff;
  --card-radius: 8px;
  --container-max: 1300px;
}

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

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #222;
  background: var(--bg);
}

#navbar {
  position: fixed;
  z-index: 20;
  width: 100%;
}

#content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.max-w-7xl {
  max-width: 80rem; 
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

section {
  padding-block: 100px;
}

/* Global buttons: use these classes across pages for consistent style
   - .btn: base reset
   - .btn-primary: main accent
   - .btn-secondary: outline variant
   - .btn-ghost: subtle/neutral
*/
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 12px 28px;
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 22px;
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.06);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Navbar indicator moved to `style/navbar.css` (keeps this file minimal) */

/* accessibility focus state */
a:focus,
button:focus {
  outline: 3px solid rgba(230, 57, 70, 0.14);
  outline-offset: 2px;
}

/* Override Bootstrap focus/hover accents to use theme primary (red) */
/* Buttons: replace default blue focus ring with theme color */
.btn:focus,
.btn:focus-visible,
.btn-primary:focus,
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25) !important;
  border-color: var(--primary) !important;
}

.btn:hover,
.btn:active {
  border-color: var(--primary) !important;
}

/* Form controls (inputs, selects, textarea) often get Bootstrap blue focus; override to primary */
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.18) !important;
  border-color: var(--primary) !important;
}
