:root {
  --primary-color: #2D5C7F;
  --secondary-color: #1D3F5A;
  --accent-color: #4A90E2;
  --light-color: #EAF2FA;
  --dark-color: #0F2233;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #1D3F5A 100%);
  --hover-color: #1E4A68;
  --background-color: #F5F9FD;
  --text-color: #2C3E50;
  --border-color: rgba(45, 92, 127, 0.15);
  --divider-color: rgba(29, 63, 90, 0.12);
  --shadow-color: rgba(45, 92, 127, 0.1);
  --highlight-color: #F0A55A;
  --main-font: 'Lora', serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.2);
  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: var(--primary-color);
  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.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(5px);
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 3px 10px var(--shadow-color);
  text-align: center;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(45, 92, 127, 0.25);
  border-color: var(--accent-color);
}
.feature-icon {
  font-size: 3rem;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #EAF2FA 0%, #C3DDEF 100%);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: rotate(360deg) scale(1.15);
  background: var(--gradient-primary);
  color: white;
  border-color: var(--accent-color);
}

/* Testimonials */
.testimonial {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  background: white;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
}
.testimonial::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 0 8px 8px 0;
}
.testimonial:hover {
  transform: translateX(-6px);
  box-shadow: 0 6px 22px rgba(45, 92, 127, 0.2);
}

/* FAQ Items */
.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: white;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 3px 12px var(--shadow-color);
}
.faq-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(45, 92, 127, 0.2);
  border-color: var(--accent-color);
}

/* Forms */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem;
  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(-2px);
}
input:hover, textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 6px;
  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 10px rgba(45, 92, 127, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45, 92, 127, 0.4);
  background: linear-gradient(135deg, #1E4A68 0%, #0F2B40 100%);
}

html { scroll-behavior: smooth; }
.hero { position: relative; background: var(--primary-color); }

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.6;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .container { padding: 0 1.5rem; }
  .feature-card, .testimonial, .faq-item { padding: 2rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem; }
}

header {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(45, 92, 127, 0.2);
}
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 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 BG — soft diagonal waves */
.pattern-bg {
  background-image:
    repeating-linear-gradient(
      120deg,
      rgba(45, 92, 127, 0.04) 0px,
      rgba(45, 92, 127, 0.04) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      60deg,
      rgba(74, 144, 226, 0.03) 0px,
      rgba(74, 144, 226, 0.03) 1px,
      transparent 1px,
      transparent 60px
    );
  background-size: 120px 120px;
}

.info-banner {
  background: linear-gradient(135deg, #C3DDEF 0%, #A3C8E4 100%);
  color: var(--text-color);
  text-align: center;
  position: relative;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}
.info-banner h2 { color: var(--secondary-color); margin-bottom: 1.5rem; }
.info-banner p { color: var(--text-color); font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.8; }

#contact { max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) {
  #contact > div { width: 80%; margin: 0 auto; }
}
@media (max-width: 767px) {
  #contact > div { width: 100%; }
}