:root {
  --primary-color: #2D6A5F;
  --secondary-color: #1F4D45;
  --accent-color: #4A9B8A;
  --light-color: #EEF7F5;
  --dark-color: #142E29;
  --gradient-primary: linear-gradient(135deg, #2D6A5F 0%, #4A9B8A 100%);
  --hover-color: #235C52;
  --background-color: #F5FAFA;
  --text-color: #1E3530;
  --border-color: rgba(45, 106, 95, 0.18);
  --divider-color: rgba(31, 77, 69, 0.12);
  --shadow-color: rgba(45, 106, 95, 0.1);
  --highlight-color: #E8A040;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 0.8rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Feature Cards — bento-style tiles */
.feature-card {
  background: white;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  overflow: hidden;
  border-top: 4px solid var(--primary-color);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  opacity: 0.06;
  border-radius: 50% 0 14px 0;
  transition: all 0.4s ease;
}

.feature-card:hover::after {
  opacity: 0.14;
  width: 120px;
  height: 120px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-color);
  border-top-color: var(--accent-color);
}

.feature-icon {
  font-size: 2rem;
  margin: 0 auto 1.2rem auto;
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  background: var(--light-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  align-self: center;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: rotate(6deg);
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  margin: 1rem 0;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.testimonial::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 5rem;
  opacity: 0.06;
  color: var(--primary-color);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-color);
  border-left-color: var(--accent-color);
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.2rem;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 10px 10px 0 0;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--shadow-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-item h3::before {
  content: 'Q';
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  background: var(--gradient-primary);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--alt-font);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.1rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 106, 95, 0.1);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
}

/* Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(45, 106, 95, 0.3);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(45, 106, 95, 0.45);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
  max-width: 100vw;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Statistics Cards */
.stat-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 4px solid var(--primary-color);
}

.stat-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px var(--shadow-color);
  border-bottom-color: var(--accent-color);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
}

.stat-text {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-top: 0.7rem;
  font-weight: 500;
}

/* Trust Indicators */
.trust-indicator {
  background: white;
  padding: 1.6rem 1.3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 16px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.trust-indicator:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.trust-indicator::before {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 1rem;
  color: white;
  background: var(--gradient-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--shadow-color);
  font-weight: bold;
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(circle at 10% 80%, rgba(45, 106, 95, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(74, 155, 138, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, rgba(232, 160, 64, 0.04) 0%, transparent 50%);
}

/* Random block: Timeline / Step ribbon */
.timeline-block {
  width: 100%;
  background: linear-gradient(160deg, #F5FAFA 0%, #D6EDE8 100%);
  padding: 4rem 0;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2.5rem;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 0;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.timeline-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.timeline-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: var(--main-font);
}

.timeline-step p {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* Rule block */
.rule-block {
  width: 100%;
  background-color: #1F4D45;
  color: white;
  padding: 3.5rem 0;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.rule-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}

.rule-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--highlight-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--main-font);
}

/* Tips checklist block */
.tips-block {
  width: 100%;
  background: linear-gradient(135deg, #EEF7F5 0%, #C8E8E2 100%);
  padding: 3.5rem 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tip-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.tip-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* Contact Section */
.contact-inner {
  width: 80%;
  margin: 0 auto;
}

/* Responsive Design */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .hero h1 { font-size: 2.5rem; line-height: 1.2; padding: 0 1rem; }
  .container { padding: 0 1rem; max-width: 100vw; }
  .features-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 0.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 2rem 1.5rem; max-width: 100%; word-wrap: break-word; }
  .rule-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .timeline-steps::before { display: none; }
  .contact-inner { width: 100%; }
  .grid { gap: 1.5rem; }
  .space-x-8 { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; line-height: 1.2; padding: 0 0.5rem; }
  .hero p { font-size: 1rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem 1rem; max-width: 100%; }
  .trust-indicator { margin: 1rem 0; padding: 1.5rem 1rem; max-width: 100%; }
  .stat-number { font-size: 1.9rem; }
  .container { padding: 0 0.5rem; }
  .grid { gap: 1rem; }
  input, textarea { font-size: 16px; padding: 1rem; }
  .btn { padding: 1rem 2rem; font-size: 0.95rem; }
  .timeline-steps { grid-template-columns: 1fr; }
}