:root {
  --primary-color: #3D4F5C;
  --secondary-color: #2A3840;
  --accent-color: #7B9BAA;
  --light-color: #F2F6F8;
  --dark-color: #161E23;
  --gradient-primary: linear-gradient(135deg, #3D4F5C 0%, #2A3840 100%);
  --hover-color: #2E3F4A;
  --background-color: #F8FAFB;
  --text-color: #2C3A42;
  --border-color: rgba(61, 79, 92, 0.14);
  --divider-color: rgba(42, 56, 64, 0.12);
  --shadow-color: rgba(61, 79, 92, 0.10);
  --highlight-color: #F2D57F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

header {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(22, 30, 35, 0.30);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 50px; width: auto; }

.navigation ul { display: flex; list-style: none; gap: 2rem; margin: 0; }

.navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navigation a:hover { color: var(--highlight-color); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.14);
  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(--secondary-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  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.10);
  border-color: rgba(255,255,255,0.25);
  transform: translateX(5px);
}

.hero {
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; color: white; text-align: center;
}

.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22, 30, 35, 0.72);
}

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem; }
.hero h1 { font-size: 3.2rem; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; line-height: 1.8; }

button, .btn {
  transition: all 0.3s ease;
  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(61,79,92,0.30);
  text-transform: uppercase; letter-spacing: 0.5px;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61,79,92,0.40);
  background: linear-gradient(135deg, #2A3840 0%, #161E23 100%);
}

section { padding: 4rem 0; }

/* Angular / chevron pattern */
.pattern-bg {
  background-image:
    linear-gradient(120deg, rgba(61,79,92,0.05) 25%, transparent 25%),
    linear-gradient(240deg, rgba(61,79,92,0.04) 25%, transparent 25%),
    linear-gradient(0deg, rgba(123,155,170,0.03) 25%, transparent 25%),
    linear-gradient(300deg, rgba(61,79,92,0.04) 25%, transparent 25%);
  background-size: 40px 70px;
}

/* Feature cards: two-column icon + text layout inside card, no top border */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  align-items: start;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(61,79,92,0.20);
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E8EEF2 0%, #C8D8E0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: none;
  margin: 0;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
}

.feature-card-text h3 { margin-bottom: 0.6rem; }

.testimonial {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 0 0 12px 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.testimonial:hover::after { transform: scaleX(1); }

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(61,79,92,0.18);
}

.faq-item {
  background: white;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 3px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gradient-primary);
  border-radius: 12px 0 0 12px;
  transition: height 0.35s ease;
}

.faq-item:hover::before { height: 100%; }

.faq-item:hover {
  box-shadow: 0 6px 22px rgba(61,79,92,0.18);
  border-color: var(--accent-color);
}

.faq-item h3 { color: var(--primary-color); margin-bottom: 1rem; }

input, textarea {
  width: 100%; 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; margin-bottom: 1rem;
}

input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(61,79,92,0.08); transform: translateY(-2px);
}

input:hover, textarea:hover {
  border-color: var(--accent-color); box-shadow: 0 2px 8px var(--shadow-color);
}

footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 0 1rem;
}

footer .container > div:first-child {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 0; flex-wrap: wrap;
}

footer nav ul { display: flex; list-style: none; gap: 2rem; flex-wrap: wrap; }
footer a { color: var(--light-color); text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: var(--highlight-color); }
footer img[alt="logo"] { filter: brightness(0) invert(1); }

#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%; } }

.contact-info h3 { color: var(--primary-color); margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; line-height: 1.8; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-icon { margin: 0 auto; }
  footer .container > div:first-child { flex-direction: column; text-align: center; gap: 2rem; }
  footer nav ul { flex-direction: column; gap: 1rem; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
}