 :root{--primary:#245c4f;--primary-dark:#143c34;--secondary:#f4b860;--soft:#eef7f3;--cream:#f8f5ee;--text:#18252f;--muted:#52606d;--border:#d9e2ec}*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.7;font-size:17px;background:#fff}a{color:var(--primary);font-weight:600}.skip-link{position:absolute;left:-999px;top:10px;background:var(--primary);color:#fff;padding:12px 16px;z-index:9999}.skip-link:focus{left:10px}.topbar{background:var(--primary-dark);color:#fff}.topbar a{color:#fff;text-decoration:none}.navbar-brand small{display:block;color:var(--muted);font-size:.78rem;font-weight:700}.brand-logo{object-fit:contain;border-radius:10px}.btn-call{background:var(--secondary);color:#1f2933;border:0;font-weight:800}.btn-primary{background:var(--primary);border-color:var(--primary);font-weight:800}.section-padding{padding:80px 0}.bg-soft{background:var(--soft)}.hero-wrap{position:relative;min-height:72vh;overflow:hidden}.hero-slide{height:72vh;background-size:cover;background-position:center}.hero-slide:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.62);z-index:1}.hero-content{position:absolute;inset:0;z-index:2;color:#fff}.min-vh-75{min-height:72vh}.eyebrow,.section-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--secondary);margin-bottom:.7rem}.hero-content h1{font-size:clamp(2rem,4.8vw,3.5rem);line-height:1.1;font-weight:900;color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.65)}.hero-content .lead{font-size:clamp(1rem,1.6vw,1.18rem);max-width:760px;color:#fff;text-shadow:0 3px 12px rgba(0,0,0,.8)}h2{font-size:clamp(1.8rem,3vw,2.7rem);font-weight:850;color:var(--primary-dark);line-height:1.2}h3{font-weight:800}.section-head{max-width:760px}.about-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.about-photo-grid img{width:100%;height:220px;object-fit:cover;border-radius:24px}.about-photo-grid img:nth-child(2),.about-photo-grid img:nth-child(3){transform:translateY(25px)}.person-card,.team-card,.care-card,.service-card,.detail-card,.step-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:24px;box-shadow:0 12px 28px rgba(0,0,0,.06);height:100%}.person-card{text-align:center}.person-card img,.team-card img,.care-card img{width:130px;height:130px;object-fit:cover;clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%);margin-bottom:18px}.person-card h3,.team-card h3{font-size:1.1rem;color:var(--primary-dark)}.person-card p,.team-card p{margin-bottom:0;color:var(--muted)}.service-card i{font-size:2.2rem;color:var(--primary);background:var(--soft);padding:14px;border-radius:18px;display:inline-block;margin-bottom:16px}.service-card h3,.detail-card h3{font-size:1.25rem;color:var(--primary-dark)}.read-more{text-decoration:none}.team-card{text-align:center}.team-card span{display:block;margin-top:10px;padding:8px 10px;background:var(--soft);border-radius:999px;font-size:.88rem;color:var(--primary-dark);font-weight:700}.care-card{text-align:center;padding:16px}.care-card img{width:95px;height:95px}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:16px}.gallery-item{position:relative;overflow:hidden;border-radius:24px;color:#fff}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.3s}.gallery-item:hover img{transform:scale(1.06)}.gallery-item span{position:absolute;left:16px;bottom:16px;background:rgba(0,0,0,.6);padding:8px 12px;border-radius:999px;color:#fff;font-weight:800}.gallery-item.tall{grid-row:span 2}.gallery-item.wide{grid-column:span 2}.step-card span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;font-weight:900;margin-bottom:14px}.admission-cta{background:linear-gradient(135deg,#e8f3ef,#fff7e8);padding:30px;border-radius:28px;text-align:center}.contact-form{background:#fff;padding:30px;border-radius:28px;box-shadow:0 12px 28px rgba(0,0,0,.06)}label{font-weight:800;margin-bottom:7px}.form-control{min-height:52px;border:2px solid var(--border)}.form-control:focus{box-shadow:0 0 0 .25rem rgba(36,92,79,.2);border-color:var(--primary)}iframe{width:100%;height:250px;border:0;border-radius:20px}.facebook-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.facebook-link i{font-size:1.5rem}.footer{background:var(--primary-dark);color:#fff;padding:60px 0 24px}.footer a{color:#fff}.footer h2,.footer h3{color:#fff}.float-call{position:fixed;right:18px;bottom:18px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--secondary);color:#18252f;z-index:40;box-shadow:0 10px 25px rgba(0,0,0,.2);font-size:1.35rem}@media(max-width:991px){.section-padding{padding:60px 0}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-item.wide{grid-column:span 1}.hero-slide,.min-vh-75,.hero-wrap{height:68vh;min-height:68vh}.about-photo-grid img:nth-child(2),.about-photo-grid img:nth-child(3){transform:none}}@media(max-width:575px){body{font-size:16px}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:230px}.gallery-item.tall,.gallery-item.wide{grid-row:auto;grid-column:auto}.topbar .container{justify-content:center!important}.hero-content h1{font-size:2rem}.hero-content .lead{font-size:1rem}.navbar-brand span{font-size:.9rem}}

/* Thank-you page success styling - rebuilt */
.thank-you-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(244, 184, 96, .28), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(36, 92, 79, .20), transparent 26%),
    linear-gradient(135deg, #eef7f3 0%, #fffaf0 48%, #f8f5ee 100%);
  overflow-x: hidden;
}

.thank-you-main {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 36px 18px;
}

.thank-you-main::before,
.thank-you-main::after {
  content: "";
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 36px solid rgba(36, 92, 79, .08);
  pointer-events: none;
}

.thank-you-main::before {
  left: -95px;
  bottom: -95px;
}

.thank-you-main::after {
  right: -105px;
  top: -105px;
  border-color: rgba(244, 184, 96, .18);
}

.thank-you-card {
  position: relative;
  width: min(780px, 100%);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(217, 226, 236, .9);
  border-radius: 34px;
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
  box-shadow: 0 26px 70px rgba(20, 60, 52, .16);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.thank-you-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.thank-you-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(20, 60, 52, .08);
}

.thank-you-brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  line-height: 1;
}

.success-check {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
}

.success-check svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.check-glow {
  fill: rgba(36, 92, 79, .10);
  transform-origin: center;
  animation: thankYouPulse 1.9s ease-in-out infinite;
}

.check-circle {
  fill: #eef7f3;
  stroke: var(--primary);
  stroke-width: 3;
}

.check-mark {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  animation: drawCheck .75s ease forwards .18s;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

@keyframes thankYouPulse {
  0%, 100% { transform: scale(.92); opacity: .95; }
  50% { transform: scale(1.08); opacity: .55; }
}

.thank-you-kicker {
  color: var(--primary);
  margin-bottom: 10px;
}

.thank-you-card h1 {
  max-width: 620px;
  margin: 0 auto 14px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.035em;
}

.thank-you-text {
  max-width: 610px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.thank-you-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(36, 92, 79, .13);
  flex: 0 0 auto;
}

.redirect-progress {
  width: min(360px, 100%);
  height: 8px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef2;
}

.redirect-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .35s ease;
}

.thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 30px;
  text-align: left;
}

.thank-you-steps div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfdfc);
}

.thank-you-steps strong,
.thank-you-steps span {
  display: block;
}

.thank-you-steps strong {
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: .98rem;
}

.thank-you-steps span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.thank-you-btn,
a.thank-you-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 16px;
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.thank-you-btn:hover,
.thank-you-btn:focus {
  transform: translateY(-2px);
}

.thank-you-btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(36, 92, 79, .22);
}

.thank-you-btn-primary:hover,
.thank-you-btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff !important;
}

.thank-you-btn-secondary {
  background: #ffffff;
  border-color: rgba(36, 92, 79, .22);
  color: var(--primary-dark) !important;
}

.thank-you-btn-secondary:hover,
.thank-you-btn-secondary:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #18252f !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .thank-you-btn,
  .redirect-progress span {
    transition: none !important;
  }
}

@media (max-width: 700px) {
  .thank-you-main {
    padding: 24px 14px;
  }

  .thank-you-card {
    border-radius: 26px;
  }

  .thank-you-steps {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thank-you-status {
    align-items: flex-start;
    border-radius: 20px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .thank-you-brand {
    width: 100%;
    justify-content: center;
  }

  .success-check {
    width: 96px;
    height: 96px;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-btn {
    width: 100%;
  }
}
