/* CSS Variables for theme */
:root {
  --primary: #1e347d;
  --accent: #fb2023;
  --primary-light: #e6edfa;
  --text-main: #222;
  --text-muted: #4b587c;
  --bg-main: #f7f9fb;
  --bg-card: #fff;
  --error: #e63946;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(30, 52, 125, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo svg {
  display: block;
  height: 40px;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.hero {
  background: linear-gradient(120deg, var(--primary-light) 0%, var(--bg-main) 100%);
  padding: 4rem 0 3rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(30, 52, 125, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.cta-button:hover,
.cta-button:focus {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(30, 52, 125, 0.12);
}

.partners {
  background: var(--bg-card);
  padding: 2.5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 1.2rem 2.5rem;
  min-width: 120px;
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  box-shadow: 0 1px 4px rgba(30, 52, 125, 0.05);
  transition: transform 0.2s;
}

.partner-logo:hover {
  transform: translateY(-4px) scale(1.04);
}

.logo-text {
  letter-spacing: 1px;
}

.about {
  padding: 3rem 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}

.about-text {
  flex: 1 1 320px;
  min-width: 280px;
}

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

.about-image {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30, 52, 125, 0.10);
  object-fit: cover;
}

.services {
  background: #f0f4fa;
  padding: 3rem 0;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30, 52, 125, 0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(30, 52, 125, 0.13);
}

.service-icon {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 2.2rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.why-choose {
  padding: 3rem 0;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30, 52, 125, 0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 260px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(30, 52, 125, 0.13);
}

.feature-icon {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 2.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.location-hours {
  background: var(--primary-light);
  padding: 2.5rem 0;
}

.location-hours-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: flex-start;
}

.location-info,
.hours-info {
  flex: 1 1 260px;
  min-width: 220px;
}

.location-info h2,
.hours-info h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

address {
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
  color: var(--text-muted);
}

.hours-list span {
  font-weight: 600;
  color: var(--primary);
}

.contact {
  padding: 3rem 0;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: center;
}

.contact-info {
  flex: 1 1 260px;
  min-width: 220px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.phone-link,
.email-link {
  color: var(--primary);
  font-weight: 600;
}

.contact-form {
  flex: 1 1 340px;
  min-width: 260px;
  background: #f0f4fa;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(30, 52, 125, 0.07);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.required {
  color: var(--error);
  font-size: 1.1em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #c7d0e6;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-card);
  color: var(--text-main);
  transition: border 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.checkbox-custom {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: var(--bg-card);
  margin-right: 0.5rem;
  position: relative;
}

input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

input[type="checkbox"] {
  display: none;
}

.error-message {
  color: var(--error);
  font-size: 0.92rem;
  margin-top: 0.2rem;
  min-height: 1.2em;
  display: block;
}

.submit-button {
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30, 52, 125, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.submit-button:hover,
.submit-button:focus {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(30, 52, 125, 0.12);
}

.footer {
  background: var(--primary);
  color: #fff;
  padding: 2rem 0 1rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.social-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  transition: fill 0.2s;
}

.social-link:hover svg {
  fill: var(--accent);
}

.copyright {
  font-size: 0.98rem;
  color: var(--primary-light);
}

@media (max-width: 900px) {
  .about-content,
  .services-grid,
  .features-grid,
  .location-hours-content,
  .contact-content,
  .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }
  .header-content {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  .header-content {
    flex-direction: row;
    gap: 1rem;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    right: 1.5rem;
    height: fit-content;
    width: 400px;
    background: var(--bg-card);
    box-shadow: 0 4px 24px rgba(30, 52, 125, 0.13);
    border-radius: 10px;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 2rem;
    z-index: 200;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus {
    background: var(--primary-light);
    color: var(--primary);
    width: 100%;
    border-radius: 6px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 0.7rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .service-card,
  .feature-card {
    padding: 1.2rem 0.7rem;
  }
  .contact-form {
    padding: 1.2rem 0.7rem;
  }
}
