:root {
  --brand-teal: #16a085;
  --brand-teal-soft: #e7f7f0;
  --brand-teal-dark: #0f766e;
  --accent: #F3EDE5;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-main: #f6f7fb;
  --bg-alt: #eef2f7;
  --card-bg: #ffffff;
  --border-subtle: #e5e7eb;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-main);
}

.section h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin-bottom: 1.5rem;
}

.section h2.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Layout helpers */
.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
  scroll-margin-top: 80px;
}

/* Subtle divider between stacked sections */
.section + .section {
  border-top: 1px solid var(--accent);
  padding-top: 3.25rem; /* slightly reduce top padding after divider for balance */
}

.section-alt {
  background: var(--brand-teal-soft);
  position: relative;
  overflow: hidden;
}

.section-contact {
  background: linear-gradient(135deg, var(--accent) 0%, #ffffff 100%);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url('../img/helpu-shield.svg') center/contain no-repeat;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.section-alt .container {
  position: relative;
  z-index: 1;
}

/* Simple grid helper */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Header & nav */
.site-header {
  background: #ffffff;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(22, 160, 133, 0.03) 20px,
    rgba(22, 160, 133, 0.03) 21px
  );
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* If you put the shield logo as an <img class="logo-mark"> */
.logo-mark {
  height: 32px;
  width: auto;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--brand-teal-dark);
  background: var(--accent);
}

/* Hero */
.hero {
  background: url('../../assets/img/hero.png') center/cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0;
  scroll-margin-top: 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 118, 110, 0.4);
  z-index: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin-bottom: 0.5rem;
  animation: fadeSlideIn 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 span {
  color: #bbf7d0; /* soft mint highlight */
}

.hero p {
  max-width: 35rem;
  font-size: 0.98rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-badge {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(4px);
}

/* Cards */
.card {
  background: linear-gradient(135deg, var(--accent) 0%, #ffffff 100%);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}

.card.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.2s ease;
}

.card:nth-child(even) {
  background: linear-gradient(135deg, var(--brand-teal-soft) 0%, #ffffff 100%);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Checkpoint list */
.checkpoints {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
}

.checkpoints li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-main);
}

.checkpoints li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-teal);
  font-weight: bold;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  background: var(--brand-teal);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(22, 160, 133, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
  margin-top: 1.5rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 35px rgba(22, 160, 133, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

/* Contact form / inputs */
.contact-form {
  max-width: 450px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

input,
textarea {
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid var(--accent);
  font: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(22, 160, 133, 0.5);
  border-color: var(--brand-teal);
}

/* Footer */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  margin-top: 2rem;
  text-align: center;
}

/* Basic responsive tweaks */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-content {
    gap: 1.2rem;
  }
}
