:root {
  --primary-color: #2D5C7F;
  --secondary-color: #1D3E56;
  --accent-color: #4A90E2;
  --light-color: #E8F4F8;
  --dark-color: #0C1821;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #1D3E56 100%);
  --hover-color: #1A4A68;
  --background-color: #F5FAFE;
  --text-color: #2C3E50;
  --border-color: rgba(45, 92, 127, 0.2);
  --divider-color: rgba(29, 62, 86, 0.12);
  --shadow-color: rgba(45, 92, 127, 0.1);
  --highlight-color: #F7DC6F;
  --main-font: 'Playfair Display', 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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: 14px;
  padding: 2rem 2.2rem;
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(45, 92, 127, 0.2);
  border-bottom-color: var(--accent-color);
}

.feature-icon {
  flex-shrink: 0;
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  background: var(--light-color);
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
  margin: 0 auto 1.2rem auto;
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  border-color: var(--highlight-color);
  box-shadow: 0 6px 16px rgba(45,92,127,0.3);
  transform: scale(1.1);
}

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--primary-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.18;
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 22px rgba(45,92,127,0.2);
  border-left-color: var(--accent-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 18px rgba(45,92,127,0.18);
  border-left-width: 8px;
}

/* 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.12);
  transform: translateY(-2px);
}

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: 10px;
  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 5px 15px rgba(45,92,127,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover,
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(45,92,127,0.4);
  background: linear-gradient(135deg, #1A4A68 0%, #0C1821 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: 1.8rem; }
  #contact .contact-grid { max-width: 100% !important; }

  .feature-card {
    flex-direction: column;
    align-items: center;
  }
  .feature-card .feature-icon {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem; }
}

@media (min-width: 768px) {
  #contact .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 10px rgba(45,92,127,0.25);
}

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 {
  background-image:
    radial-gradient(ellipse at 15% 25%, rgba(45,92,127,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(74,144,226,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 10%, rgba(29,62,86,0.05) 0%, transparent 58%);
  background-size: 950px 950px, 1100px 1100px, 1250px 1250px;
  background-position: 12% 20%, 88% 80%, 50% 8%;
}

.info-banner {
  background: linear-gradient(135deg, #D6EAF8 0%, #AED6F1 100%);
  text-align: center;
  position: relative;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
  padding: 4rem 0;
}

.info-banner h2 { 
  color: var(--primary-color); 
  margin-bottom: 1.5rem; 
  font-size: 2rem;
}

.info-banner p {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(45,92,127,0.12);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(45,92,127,0.2);
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.info-card p {
  color: var(--text-color);
  line-height: 1.7;
}