:root {
  --primary-color: #2D5C7F;
  --secondary-color: #5A9F77;
  --accent-color: #2C7FB2;
  --light-color: #ECF1F1;
  --dark-color: #1D2A3C;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #5A9F77 100%);
  --hover-color: #1e4563;
  --background-color: #F4F8F6;
  --text-color: #2A3E45;
  --border-color: rgba(45, 92, 127, 0.2);
  --divider-color: rgba(90, 159, 119, 0.15);
  --shadow-color: rgba(45, 92, 127, 0.1);
  --highlight-color: #F0A55A;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(45, 92, 127, 0.18);
  border-color: var(--secondary-color);
}

.feature-icon {
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  color: white;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial {
  transition: all 0.3s ease;
  background: #ffffff;
  padding: 2.5rem;
  margin: 1.2rem 0;
  border-radius: 16px;
  box-shadow: 0 4px 18px var(--shadow-color);
  border-left: 4px solid var(--secondary-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 92, 127, 0.15);
  border-left-color: var(--accent-color);
}

/* FAQ Items */
.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  background: #ffffff;
  padding: 2.2rem;
  margin: 1.2rem 0;
  border-radius: 14px;
  box-shadow: 0 3px 12px var(--shadow-color);
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(45, 92, 127, 0.14);
  border-color: var(--secondary-color);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.1rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(45, 92, 127, 0.1);
  transform: translateY(-1px);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
}

/* Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.1rem 2.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(45, 92, 127, 0.35);
  background: linear-gradient(135deg, #1e4563 0%, #3d7a57 100%);
}

html {
  scroll-behavior: smooth;
}

.hero {
  position: relative;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Stat Cards */
.stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(45, 92, 127, 0.15);
  border-color: var(--accent-color);
}

/* Trust Indicators */
.trust-indicator {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.trust-indicator:hover {
  transform: translateY(-2px);
}

/* Contact section width */
.contact-inner {
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .navigation {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .container {
    padding: 0 1.5rem;
  }
  .contact-inner {
    width: 100%;
  }
  .feature-card,
  .testimonial,
  .faq-item,
  .stat-card {
    padding: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .feature-card,
  .testimonial,
  .faq-item,
  .stat-card {
    margin: 0.8rem 0;
    padding: 1.4rem;
  }
}

/* Header & Footer */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a6b 100%);
  color: var(--light-color);
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 15px rgba(29, 42, 60, 0.25);
}

footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #0d1e2c 100%);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

header img[alt="logo"],
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 2px;
}

/* Pattern background - diagonal lines with circles */
.pattern-bg {
  background-color: #EDF4F0;
  background-image:
    radial-gradient(circle, rgba(45, 92, 127, 0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(90, 159, 119, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-color); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }