* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #234;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.alt-bg {
  background: linear-gradient(180deg, #f7fcff 0%, #eefaf4 100%);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(44, 123, 229, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1e3557;
}

.logo span {
  color: #2c7be5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: #2f4c6d;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2c7be5;
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  background: #eaf5ff;
  color: #2c7be5;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2c7be5, #3bb273);
  color: #fff;
  box-shadow: 0 14px 30px rgba(44, 123, 229, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: #2c7be5;
  border: 2px solid #cfe5ff;
}

.btn-secondary:hover {
  background: #f5fbff;
}

.btn-light {
  background: #ffffff;
  color: #2c7be5;
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(59, 178, 115, 0.12), transparent 32%),
    radial-gradient(circle at right center, rgba(44, 123, 229, 0.14), transparent 30%),
    linear-gradient(180deg, #f9fdff 0%, #edf8ff 100%);
  padding: 70px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 70px;
}

.eyebrow,
.section-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e7f3ff;
  color: #2c7be5;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.08;
  color: #183153;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.08rem;
  color: #55708f;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.badge-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(44, 123, 229, 0.08);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(20, 60, 120, 0.06);
}

.badge-card strong {
  display: block;
  color: #1d3a5f;
  margin-bottom: 6px;
}

.badge-card span {
  color: #6883a2;
  font-size: 0.93rem;
}

.hero-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(29, 58, 95, 0.18);
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 110px;
  fill: #ffffff;
}

.stats {
  padding: 10px 0 30px;
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e3eef8;
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(32, 72, 121, 0.06);
}

.stat-card h3 {
  font-size: 2rem;
  color: #2c7be5;
  margin-bottom: 6px;
}

.stat-card p {
  color: #587493;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head h2,
.about-text h2,
.hours-box h2,
.contact-box h2,
.appointment-text h2,
.cta-box h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: #183153;
  margin-bottom: 16px;
}

.section-head p,
.about-text p,
.appointment-text p,
.contact-box p,
.hours-box p,
.cta-box p {
  color: #5a7594;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e8f0f7;
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(34, 75, 120, 0.06);
  transition: 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #e8f6ff, #ecfbf3);
  margin-bottom: 18px;
}

.feature-card h3,
.team-card h3 {
  color: #183153;
  margin-bottom: 10px;
}

.feature-card p,
.team-card p {
  color: #5d7896;
}

.about-grid,
.hours-contact-grid,
.appointment-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(29, 58, 95, 0.12);
}

.check-list {
  list-style: none;
  margin: 28px 0 34px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #35506f;
  font-weight: 500;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #3bb273;
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #e7eef7;
  border-radius: 26px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(28, 64, 105, 0.06);
}

.team-avatar {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f6ff, #eefaf4);
  font-size: 2rem;
}

.role {
  color: #2c7be5 !important;
  font-weight: 600;
  margin-bottom: 12px;
}

.hours-box,
.contact-box {
  background: #ffffff;
  border: 1px solid #e5eef7;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 14px 35px rgba(31, 70, 112, 0.06);
}

.hours-list,
.contact-list {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf3f8;
  color: #486684;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.appointment-form {
  background: #ffffff;
  border: 1px solid #e5eef8;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(31, 71, 114, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: #254567;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #dbe8f4;
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: #234;
  background: #fbfdff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2c7be5;
  box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.08);
}

.submit-btn {
  margin-top: 22px;
}

.form-message {
  margin-top: 16px;
  font-weight: 600;
  color: #2a8a5c;
}

.cta {
  padding-top: 0;
}

.cta-box {
  text-align: center;
  padding: 60px 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2c7be5, #3bb273);
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(44, 123, 229, 0.2);
}

.cta-box h2,
.cta-box p {
  color: #ffffff;
}

.cta-box .btn {
  margin-top: 22px;
}

.footer {
  background: #15304f;
  color: #d7e6f5;
  padding: 30px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c7be5, #3bb273);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(44, 123, 229, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .hours-contact-grid,
  .appointment-wrap,
  .feature-grid,
  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .desktop-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e7eef7;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 18px 36px rgba(34, 75, 120, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .hours-contact-grid,
  .appointment-wrap,
  .feature-grid,
  .team-grid,
  .stats-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 80px 0;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .btn {
    width: 100%;
  }

  .hero-buttons,
  .contact-actions {
    flex-direction: column;
  }

  .appointment-form,
  .hours-box,
  .contact-box,
  .feature-card,
  .team-card,
  .stat-card {
    padding: 24px;
  }
}