/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2C5F2D;
  --secondary: #D4AF37;
  --text: #333;
  --light-bg: #fafafa;
  --border: #e0e0e0;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--secondary);
  outline: 2px solid transparent;
  outline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section {
  padding-block: 4rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  box-shadow: var(--shadow);
}

.btn:hover,
.btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
  outline: 2px solid var(--secondary);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary);
  color: white;
  outline-color: var(--primary);
}

/* HEADER */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.75rem;
  min-height: 72px;
}

.logo a {
  display: inline-block;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0.25rem;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(44, 95, 45, 0.85), rgba(44, 95, 45, 0.85)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* CONTENT SECTIONS */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.value-card i {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.how-it-works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.steps {
  counter-reset: step-counter;
}

.step {
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.5rem;
  padding-top: 0.25rem;
}

.step:before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
}

/* FORMS */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--secondary);
  border-color: var(--secondary);
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding-block: 2.5rem;
}

footer a {
  color: var(--secondary);
  font-weight: 600;
}

footer a:hover,
footer a:focus {
  color: white;
}

/* THANK YOU MESSAGE */
.thank-you-message {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: #e8f5e9;
  border-radius: var(--radius);
  display: none;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  background: var(--light-bg);
  padding: 5rem 1.5rem;
  margin: 3rem 0;
}

/* FLAGS */
.flag-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.flag-container img {
  width: 60px;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .how-it-works {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    padding: 4rem 1.5rem;
  }
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}