/* Home Hero Text Sizing */
.hero-home-img h1.display-4 {
  font-size: 4rem;
}
.hero-home-img .lead {
  font-size: 2rem;
}
.hero-home-img p {
  font-size: 1.35rem;
}
/* Universal image animation */
.animate-img {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.animate-img.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}
/* Molly Portrait Animation */
.molly-animate {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.molly-animate.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}
/* Testimonials Icon Animation */
.testimonials-animate {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.testimonials-animate.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}
/* Typography */

.comic-neue-light {
  font-family: "Comic Neue", cursive;
  font-weight: 300;
  font-style: normal;
}

.comic-neue-regular {
  font-family: "Comic Neue", cursive;
  font-weight: 400;
  font-style: normal;
}

.comic-neue-bold {
  font-family: "Comic Neue", cursive;
  font-weight: 700;
  font-style: normal;
}

.comic-neue-light-italic {
  font-family: "Comic Neue", cursive;
  font-weight: 300;
  font-style: italic;
}

.comic-neue-regular-italic {
  font-family: "Comic Neue", cursive;
  font-weight: 400;
  font-style: italic;
}

.comic-neue-bold-italic {
  font-family: "Comic Neue", cursive;
  font-weight: 700;
  font-style: italic;
}

/* About Page Modern Styles & Animation */
.about-img {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.about-img.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.animate-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.animate-card.animated {
  opacity: 1;
  transform: translateY(0);
}
/* Feature Icons Animation */
.feature-animate {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.feature-animate.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}
:root{
  --accent:#065519; 
  --accent-ghost:#f3f0ff;
  --accent-light:#ede7ff;
  --text:#222;
}

html,body{scroll-behavior:smooth;
  font-family: "Comic Neue", cursive;
  font-weight: 400;
  font-style: normal;
}
body{padding-top:72px;color:var(--text);}

/* Accent Buttons */
.btn-accent{background:var(--accent);color:#fff;border:none;}
.btn-accent:hover{opacity:.92;color:#fff;}
.btn-outline-accent{border:2px solid var(--accent);color:var(--accent);background:transparent;}
.btn-outline-accent:hover{background:var(--accent);color:#fff;}

/* Sections */
.page-header{
  padding:6rem 0 3.5rem;
  background:linear-gradient(180deg,#faf9ff,transparent);
}

/* Hero (parallax) */
.hero{
  min-height:72vh;
  position:relative;
  background:#333 no-repeat contain;
}
.hero::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.35));
}
.hero .container{position:relative;z-index:1;}

/* Parallax Hero Utility Classes */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Example usage: <header class="hero parallax hero-home-img"> ... */
.hero-home-img {
  background-image: url('../images/home-hero.jpg');
  background-position: top;
}
.hero-about-img {
  background-image: url('../images/about-hero.jpg');
}
.hero-program-img {
  background-image: url('../images/program-hero.jpg');
}
.hero-classes-img {
  background-image: url('../images/classes-hero.jpg');
}

.hero-contact-img {
  background-image: url('../images/contact-hero.jpg');
}

/* Blocks */
.blockquote-card{
  background:#fff;border:1px solid #eee;border-radius:.75rem;padding:1.25rem 1.5rem;
  box-shadow:0 0.5rem 1rem rgba(0,0,0,.05);
}

/* Accent backgrounds */
.bg-accent-light{background:var(--accent-light);}
.bg-accent-ghost{background:var(--accent-ghost);}

/* Timeline */
.timeline{border-left:3px solid var(--accent);padding-left:1.25rem;}
.timeline-item{position:relative;margin-bottom:1rem;}
.timeline-item::before{
  content:"";position:absolute;left:-1.63rem;top:.15rem;width:.85rem;height:.85rem;border-radius:50%;background:var(--accent);
}
.timeline .time{display:inline-block;min-width:4rem;font-weight:600;color:#555;}
.timeline .content{display:inline-block;}

/* Footer */
footer{background:#fff;}

/* Utilities */
.shadow-sm{box-shadow:0 .25rem .8rem rgba(0,0,0,.05)!important;}

/* CTA Banner Styles */
.cta-banner {
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent-ghost) 100%);
  border-radius: 1.5rem;
  box-shadow: 0 2px 24px rgba(6,85,25,0.08);
  position: relative;
  overflow: hidden;
}
.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}
.cta-desc {
  font-size: 1.25rem;
  color: #333;
}
.cta-banner .btn-accent {
  font-size: 1.1rem;
  padding: 0.75rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(6,85,25,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-banner .btn-accent:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(6,85,25,0.18);
}

#logo-HMS {
  max-width: 150px !important;
  height: auto;
}

.align-middle {
  display: inline-block;
}

.icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}

.icon.animated {
  opacity: 1;
  transform: scale(1) translateY(0);
}


.highlight-item .icon {
  margin-right: 1rem;
}

.portrait {
  width: 43%;
}
