:root {
  --primary-color: #2C7FB2;
  --secondary-color: #1F5A7F;
  --accent-color: #4A90E2;
  --light-color: #E8F4FC;
  --dark-color: #0C1F2F;
  --gradient-primary: linear-gradient(135deg, #2C7FB2 0%, #1F5A7F 100%);
  --hover-color: #165270;
  --background-color: #F7FBFF;
  --text-color: #2A3F54;
  --border-color: rgba(44, 127, 178, 0.2);
  --divider-color: rgba(31, 90, 127, 0.12);
  --shadow-color: rgba(44, 127, 178, 0.13);
  --highlight-color: #F2D57F;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.18);
  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.18); 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 — split layout: text left, icon right, thick left border */
.feature-card {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  border-left: 6px solid var(--primary-color);
  position: relative;
  background: white;
  border-radius: 14px;
  padding: 1.8rem 2rem 1.8rem 2rem;
  box-shadow: 0 4px 14px var(--shadow-color);
  text-align: left;
  overflow: hidden;
}
.feature-card:nth-child(2) { border-left-color: #4A90E2; }
.feature-card:nth-child(3) { border-left-color: #3D82C7; }
.feature-card:nth-child(4) { border-left-color: #1F5A7F; }
.feature-card:nth-child(5) { border-left-color: #5BA3D8; }
.feature-card:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px rgba(44,127,178,0.22);
  border-color: var(--accent-color);
  border-left-color: inherit;
}
.feature-icon {
  margin: 0 auto 1rem auto;
  font-size: 2.8rem;
  width: 68px; height: 68px;
  display: flex; justify-content: center; align-items: center;
  background: linear-gradient(135deg, #E8F4FC 0%, #C8E3F5 100%);
  border-radius: 14px;
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  transform: rotate(10deg) scale(1.1);
  border-color: var(--highlight-color);
  box-shadow: 0 6px 18px rgba(44,127,178,0.35);
}

/* Testimonials */
.testimonial {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  position: relative;
  background: white;
  padding: 2.5rem 2rem 2rem 2rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--shadow-color);
}
.testimonial::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
}
.testimonial:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 26px rgba(44,127,178,0.2);
}

/* FAQ */
.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: white;
  padding: 2rem 2rem 2rem 3.5rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  box-shadow: 0 3px 10px var(--shadow-color);
}
.faq-item::before {
  content: '?';
  position: absolute; top: 1.5rem; left: -15px;
  width: 38px; height: 38px;
  background: var(--gradient-primary); color: white;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: bold; font-size: 1.3rem;
}
.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(44,127,178,0.2);
  border-color: var(--primary-color);
}

/* Form */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px;
  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(44,127,178,0.1); transform: scale(1.01);
}
input:hover, textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px 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.3rem 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 6px 16px rgba(44,127,178,0.35);
  text-transform: uppercase; letter-spacing: 1px;
}
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(44,127,178,0.42);
  background: linear-gradient(135deg, #1F5A7F 0%, #0C1F2F 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.7; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.3rem; }
  .container { padding: 0 1.5rem; }
  .feature-card { padding: 1.8rem 1.5rem 1.8rem 1.8rem; }
  .feature-icon {
    width: 52px; height: 52px; font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  .testimonial, .faq-item { padding: 1.8rem; }
  #contact .grid { max-width: 100% !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .feature-card { padding: 1.5rem; }
  .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem; }
}
@media (min-width: 768px) {
  #contact .grid { max-width: 80% !important; }
}

header {
  background: var(--primary-color); color: var(--light-color);
  padding: 1.5rem 0; position: relative; z-index: 1000;
  box-shadow: 0 3px 12px rgba(44,127,178,0.28);
}
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;
}

.active-link {
  position: relative;
  font-weight: 600;
}
.active-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--highlight-color);
  border-radius: 2px;
}

.pattern-bg {
  background-image:
    radial-gradient(circle at 15% 25%, rgba(44,127,178,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(74,144,226,0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(31,90,127,0.04) 0%, transparent 55%);
  background-size: 850px 850px, 900px 900px, 800px 800px;
  background-position: 0 0, 100% 100%, 50% 50%;
}

.info-banner {
  background: linear-gradient(135deg, #E8F4FC 0%, #C8E3F5 100%);
  color: var(--text-color); text-align: center; position: relative;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
}
.info-banner h2 { color: var(--primary-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; }