:root {
  --primary-color: #2D5C7F;
  --secondary-color: #1D2A3C;
  --accent-color: #2C7FB2;
  --light-color: #EDF4FA;
  --dark-color: #0C1A28;
  --gradient-primary: linear-gradient(135deg, #2C7FB2 0%, #1D2A3C 100%);
  --background-color: #F3F8FC;
  --text-color: #1D2A3C;
  --border-color: rgba(44, 127, 178, 0.18);
  --divider-color: rgba(45, 92, 127, 0.12);
  --shadow-color: rgba(45, 92, 127, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--alt-font); color: var(--text-color); background-color: var(--background-color); line-height: 1.75; }
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; line-height: 1.3; }

header {
  background: linear-gradient(90deg, #0C1A28 0%, #1D2A3C 100%);
  color: var(--light-color);
  padding: 1.3rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 14px rgba(12, 26, 40, 0.55);
}
header img[alt="logo"] { filter: brightness(0) invert(1); }

footer { background: var(--dark-color); color: var(--light-color); padding: 2rem 0 1rem; }
footer img[alt="logo"] { filter: brightness(0) invert(1); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  padding: 8px; background: rgba(255,255,255,0.08); border-radius: 8px;
}
.hamburger .line {
  width: 26px; 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: 420px; opacity: 1; }
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--dark-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.32); z-index: 1000;
}
.mobile-nav ul { padding: 1.8rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.9rem 0; }
.mobile-nav a {
  display: block; padding: 0.9rem 1.3rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 10px; transition: all 0.3s ease;
  font-size: 0.98rem; font-weight: 600; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(44,127,178,0.18);
  border-color: rgba(44,127,178,0.35);
  transform: translateX(5px);
}

/* Feature cards */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2.2rem 1.8rem 2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}
.feature-card .ghost-num {
  position: absolute;
  top: -0.5rem; right: 0.7rem;
  font-size: 5rem; font-weight: 900;
  color: var(--accent-color); opacity: 0.06;
  font-family: var(--main-font); line-height: 1;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(45,92,127,0.18);
  border-color: var(--accent-color);
}
.feature-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #C8E4F5 0%, #A3CDE8 100%);
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem;
  margin: 0 auto 1.3rem;
  transition: all 0.35s ease;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 18px rgba(45,92,127,0.28);
}

/* Form */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px;
  padding: 1rem; background-color: white;
  color: var(--text-color); font-size: 1rem; width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(44,127,178,0.1);
}
input:hover, textarea:hover { border-color: var(--accent-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.1rem 2.6rem; border-radius: 8px; 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 16px rgba(45,92,127,0.35);
}
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(45,92,127,0.42);
  background: linear-gradient(135deg, #1D2A3C 0%, #0C1A28 100%);
}

.active-link { position: relative; font-weight: 700; }
.active-link::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0;
  height: 3px; background: var(--highlight-color); border-radius: 2px;
}

/* Pattern BG */
.pattern-bg {
  background-color: var(--background-color);
  background-image:
    radial-gradient(ellipse at 8% 12%, rgba(44,127,178,0.1) 0%, transparent 52%),
    radial-gradient(ellipse at 90% 88%, rgba(45,92,127,0.08) 0%, transparent 52%);
}

/* Info banner */
.info-banner {
  background: linear-gradient(135deg, #C8E4F5 0%, #A3CDE8 100%);
  color: var(--text-color); text-align: center;
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
}
.info-banner h2 { color: var(--secondary-color); margin-bottom: 1.4rem; }

/* Contact wrap */
.contact-wrap { width: 100%; }
@media (min-width: 768px) { .contact-wrap { width: 80%; margin: 0 auto; } }

/* FAQ */
.faq-item {
  background: white; border-radius: 14px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.2rem;
  border: 2px solid var(--border-color);
  box-shadow: 0 3px 12px var(--shadow-color);
}
.faq-item h3 {
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.faq-item p { color: var(--text-color); font-size: 0.93rem; line-height: 1.7; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2rem; }
  .feature-card { padding: 1.8rem 1.3rem 1.5rem; }
}
@media (max-width: 480px) { .hero h1 { font-size: 1.75rem; } }