:root {
  --primary-color: #2D5C7F;
  --secondary-color: #1D2A3C;
  --accent-color: #4A90E2;
  --light-color: #ECF1F1;
  --dark-color: #0C0F24;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #4A90E2 100%);
  --hover-color: #235070;
  --background-color: #F5F5F5;
  --text-color: #2C3E50;
  --border-color: rgba(45, 92, 127, 0.2);
  --divider-color: rgba(29, 42, 60, 0.15);
  --shadow-color: rgba(45, 92, 127, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Playfair Display', sans-serif;
  --alt-font: 'Open 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 */
.feature-card {
  background: linear-gradient(145deg, white, var(--light-color));
  border: 2px solid var(--accent-color);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 25px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.12;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 10px 35px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 3px 14px rgba(45, 92, 127, 0.15);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(4deg) scale(1.12);
  border-color: var(--primary-color);
}

/* Testimonials */
.testimonial {
  background: white;
  border: none;
  border-radius: 18px;
  padding: 2.5rem 2.2rem;
  margin: 1rem 0;
  box-shadow: 0 7px 30px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--shadow-color);
  border-left-color: var(--primary-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -18px;
  left: 22px;
  font-size: 4.5rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.3;
}

/* FAQ Items */
.faq-item {
  background: linear-gradient(135deg, white, var(--light-color));
  border: 2px solid var(--border-color);
  border-radius: 18px;
  margin: 1rem 0;
  box-shadow: 0 5px 22px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.faq-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.faq-item:hover::after {
  transform: scaleX(1);
}

.faq-item:hover {
  transform: translateX(6px);
  box-shadow: 0 7px 28px var(--shadow-color);
  border-color: var(--primary-color);
}

.faq-item h3 {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
}

.faq-item h3::before {
  content: '❓';
  margin-right: 1rem;
  font-size: 1.3rem;
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  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, 92, 127, 0.12);
  transform: translateY(-2px);
}

input:hover,
textarea:hover {
  border-color: var(--accent-color);
}

/* Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 5px 18px rgba(45, 92, 127, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 25px rgba(45, 92, 127, 0.4);
}

/* 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: none;
  border-radius: 50%;
  padding: 2.3rem;
  text-align: center;
  box-shadow: 0 7px 26px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 4px solid var(--accent-color);
}

.stat-card:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 32px var(--shadow-color);
  border-color: var(--primary-color);
  background: var(--gradient-primary);
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-text {
  color: white;
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-text {
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.3;
}

/* Trust Indicators */
.trust-indicator {
  background: linear-gradient(145deg, white, var(--light-color));
  padding: 1.8rem 1.4rem;
  border-radius: 16px;
  border: 2px solid var(--accent-color);
  box-shadow: 0 5px 18px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.trust-indicator:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 7px 25px var(--shadow-color);
  border-color: var(--primary-color);
}

.trust-indicator::before {
  content: '⭐';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 1.2rem;
  background: white;
  border-radius: 50%;
  padding: 3px;
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 22px var(--shadow-color);
}

footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  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(300px, 1fr));
  gap: 2.5rem;
  margin: 2.3rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin: 2.3rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(45, 92, 127, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(74, 144, 226, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(50deg, transparent, transparent 22px, rgba(45, 92, 127, 0.03) 22px, rgba(45, 92, 127, 0.03) 44px);
  background-size: 100% 100%;
}

/* 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;
  }

  .stat-card {
    width: 170px;
    height: 170px;
  }
  
  .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-card {
    width: 150px;
    height: 150px;
  }

  .stat-number {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .grid {
    gap: 1rem;
  }
  
  input, textarea {
    font-size: 16px;
    padding: 1rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}