html { scroll-behavior: smooth; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Afacad', sans-serif; color: rgb(31, 58, 86); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-block;
  background-color: rgb(31, 58, 86);
  color: #fff;
  font-size: 1.3rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: background 0.2s ease;
}
.btn:hover { background-color: rgb(21, 40, 60); }

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-image: linear-gradient(
      rgba(255,255,255,0.22),
      rgba(255,255,255,0.45)
    ),
    url("mistyForest.jpg");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  display: grid;
  justify-items: center;
  align-items: center;
  position: relative;
}

.title-slot {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.title-slot.is-visible { opacity: 1; }

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.hero-cta span {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Research Section */
.research {
  background-color: #e1f0ea; /* soft green */
  padding: 4rem 1rem;
}


.research h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}


.research p {
  max-width: 760px;
  margin: 0.75rem auto;
  text-align: left;
  font-size: 1.3rem;
}

.research h3 {
  max-width: 760px;
  margin: 0.75rem auto;
  text-align: left;
  font-size: 1.7rem;
}

.specialization {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

.specialization-list {
  max-width: 760px;
  margin: 1rem auto 2rem;
  padding-left: 1.2rem;
  text-align: left;
}


.specialization-list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-size: 1.3rem;
}

.specialization h2,
.specialization h3 {
  text-align: center;
  margin: 0 auto 1.5rem; /* centers the header block */
  max-width: 760px;      /* optional, if you really want it constrained */
}


.specialization h2 {
  font-size: 2rem;
  font-weight: 700;
}

.specialization h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
}

.specialization p {
  max-width: 760px;
  margin: 1rem auto 2rem;
  padding-left: 1.2rem;
  text-align: left;
  font-size: 1.4rem;
}

/* matches .specialization h3 { font-size: 1.4rem; font-weight: 600; } */
.specialization-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  max-width: 760px;
  margin: 1rem auto 1rem;
  padding-left: 1.2rem;   /* aligns with the list bullets */
  text-align: left;
}


/* First Visit Section */
.first-visit {
  background-color: rgb(225, 240, 234);
  padding: 4rem 1rem;
}
.first-visit h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 1.3rem;
}

/* Contact Section */
.reservation {
  background: linear-gradient(#fff, rgb(245, 251, 248));
  text-align: center;
  padding: 3rem 1rem;
}

.contact-card {
  display: inline-block;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
}

.contact-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card p {
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

/* Footer */
.footer {
  background-color: rgb(220, 239, 231);
  padding: 2rem;
  text-align: center;
  font-size: 1rem;
}

.footer a {
  color: rgb(31, 58, 86);
  text-decoration: none;
  font-weight: 400;
}

.footer a:hover {
  text-decoration: underline;
}

.online-note {
  max-width: 500px;
  margin: 1rem auto 0 auto;
  font-size: 1.1rem;
  font-style: italic;
  color: rgb(31, 58, 86);
}
