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

:root {
    --back-ground: #ffffff;
    --ter-color: #c5e6df;
    --light-green: #A8DF8E;
    --light-pink: #FFD8DF;
    --pink-color: #FFAAB8;
    --healing-green: #4caf50;
    --calm-blue: #5dade281;
    --spiritual-violet: #8e44ad;
    --soft-pink: #f5b7b1;
    --gold-accent: #d4af37;
    --banana-cream: #ffe74caa;
    --bubblegum-pink: #f95d68b0;
    --baltic-blue: #38618C;
    --cool-sky: #4db1fd9d;
    --navy-blue: #0A2E36;
    --sage-green: #709255;
    --blood-red: #b92203;
    /* Typography */
    --fs-h1: clamp(1.6rem, 6vw, 2.5rem);
    --fs-h2: clamp(1.4rem, 4.5vw, 2.2rem);
    --fs-h3: clamp(1.2rem, 3.5vw, 1.5rem);
    --fs-p: clamp(0.95rem, 2.8vw, 1.125rem);
    --fs-ui: clamp(0.9rem, 2.2vw, 1.02rem);
    /* Spacing */
    --space-xs: clamp(0.5rem, 2vw, 0.75rem);
    --space-sm: clamp(0.75rem, 3vw, 1.25rem);
    --space-md: clamp(1rem, 4vw, 2rem);
    --space-lg: clamp(1.5rem, 6vw, 4rem);
    --space-xl: clamp(2rem, 8vw, 6rem);
}

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--back-ground);
    color: #222;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

/* =========================
   NAVBAR (GLOBAL)
========================= */
#header{
  position: sticky;
    top: 0;
    z-index: 1000;
}
.nav_bar_container {
    background: white;
    backdrop-filter: blur(10px);
    width: 100%;
    height: auto;
    min-height: 14vh;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navbar {
    width: 100%;
    max-width: 1400px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: var(--space-md);
}

.nav-bar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-inline: var(--space-md);
    width: 100%;
}

.nav-bar-logo img {
    max-width: clamp(80px, 10vw, 150px);
    height: auto;
}

.nav-bar-logo h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    color: rgb(30, 177, 30);
    -webkit-text-stroke: 1.8px #4b4b4bcc;
}

.nav-toggle {
    min-height: 10vh;
    height: auto;
    min-width: 11vw;
    max-width: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--fs-h1);
    background: none;
    color: #070000e8;
    border: none;
    margin-right: 0rem;
    box-shadow: 0px 4px 12px lightgray;
    border-radius: 0.5rem;
}

.dropdown {
    position: relative;
}

/* Dropdown menu */
.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    list-style: none;
    min-width: 170px;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.15); */
    z-index: 999;
}

.dropdown-menu li a {
    /* width: 100%; */
    padding: 10px 15px;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
}

/* Show when active */
.dropdown-menu.show {
    display: block !important;
}

/* =========================
   NAV LINKS & CONTACT
========================= */
.nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.nav-menu.active {
    display: flex;
}

.bar ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal;
    padding: clamp(0.6rem, 1vw, 1.2rem) clamp(0.8rem, 1.5vw, 1.7rem);
}

.bar ul li {
    list-style: none;
}

.bar ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #06685d;
    font-weight: 500;
    padding: clamp(0.4rem, 0.5vw, 0.8rem) clamp(0.6rem, 1vw, 1.2rem);
    width: fit-content;
}

.bar ul li a:hover {
    color: #26a69a;
}

.bar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: var(--cool-sky);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.bar ul li a:hover::after {
    transform: scaleX(1);
}

.contact_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: green;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    min-height: 30px;
    padding: clamp(0.4rem, 1.4vw, 0.5rem);
    width: fit-content;
    margin: 0 auto;
}

.contact_btn:hover {
    background-color: darkgreen;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.contact_btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.contact_btn a {
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(0.5rem, 1vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}
/* =========================
   HERO SECTION
========================= */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  height: auto;
}

.sliding-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-position: center;
  background-size: cover;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide figcaption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0.6rem;
  font-size: var(--fs-ui);
}

.slide.current {
  opacity: 1;
}

/* =========================
  Get in touch section
   ========================= */
.form-reach {
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(135deg, #d4fc79, #96e6a1);
  background-repeat: no-repeat;
  background-position: center;
  color: #333;
}

.form-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-heading h1 {
  font-size: var(--fs-h2);
  color: var(--blood-red);
  margin-bottom: 0.5rem;
}

.form-heading h3 {
  font-size: var(--fs-p);
  color: var(--navy-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.form-heading ul {
  list-style: none;
  padding: 0;
}

.form-heading ul li {
  font-size: var(--fs-p);
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #292828;
  font-weight: 500;
  text-align: left;
}

.form-heading ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #090b43
}

.contact {
  margin-top: 1, 5rem;
  text-align: center;
}

.contact h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blood-red);
  margin-bottom: 0.8rem;
}

.contact p {
  font-size: var(--fs-p);
  line-height: 1.2;
  overflow-wrap: break-word;
  color: #292828;
  font-weight: 500;
  word-break: break-word;
}

._icons {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 1rem;
}

.icon_plus {
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon_plus i:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* =========================
  ABOUT SECTION STYLING
========================= */

.about-us {
  width: 100%;
  padding: var(--space-md);
  text-align: center;
  margin: 1rem auto;
}

.about-us h1 {
  font-size: var(--fs-h2);
  color: teal;
}

/* Wrapper */
.box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 1.5rem auto;
  gap: 1.5rem;
}

/* About cards */
._about {
  width: 100%;
  padding: 1.4rem;
  border-bottom: 5px solid purple;
  border-radius: 0.9rem;
  box-shadow: 1px 3px 14px rgba(0, 0, 0, 0.18);
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

._about p {
  color: rgb(58, 58, 58);
  font-size: var(--fs-p);
  text-align: justify;
}

/* Section heading */
#head {
  margin: 0 auto 1.2rem;
  max-width: 100%;
  padding: 0.4rem 0.8rem;
  text-align: center;
  border-bottom: 3px double orangered;
  border-radius: 1rem;
  color: rgb(173, 31, 55);
}

/* =========================
   PROGRAM SECTION STYLING
========================= */

.program {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 1.5rem auto;
}

.program-2 {
  width: 100%;
  background-image:linear-gradient(#c2e9fb, #ffffff) ;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

/* Heading */
.program-2 h1 {
  color: #036140;
  font-size: var(--fs-h2);
}

/* Paragraph */
.program-2 p {
  color: #1b1a1a;
  font-size: var(--fs-ui);
  line-height: 1.6;
  font-weight: 500;
  text-align: justify;
  margin: 0;
}

/* Button */
.program-2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem 1.4rem;
  background-color: #ddbf68;
  color: #191919;
  font-size: var(--fs-p);
  text-decoration: none;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 4px 2px darkgray;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =========================
   NAVBAR LINKS STYLING
========================= */

#navBar_links {
  width: 100%;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
}

/* Section heading */
#navBar_links h1 {
  text-align: center;
  color: var(--navy-blue);
  font-size: var(--fs-h2);
  margin-bottom: 1.5rem;
}

/* Image grid */
.image_links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  gap: 0.5rem;
  width: 100%;
}

/* Image card */
.imagelinks12 {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.8rem;
  overflow: visible;
  height: 100px;
  width: 90%;
}
.image_links .imagelinks12:last-child{
  grid-column: span 2;
  justify-self: center;
  width: 50%;
}
.imagelinks12 a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: white;
  font-size: var(--fs-p);
}

.imagelinks12 .pro-text {
  width: 100%;
  height: 100%;
  text-align: center;
  align-content: center;
  border-radius: 2rem;
  background-color: coral;
  box-shadow: 0px 0px 18px rgb(182, 182, 182);
  transition: transform 0.3s ease;
  padding: 1.3rem;
  color: #ffffff;
  font-weight:700 ;
}

/* =========================
   Resources Section STYLING
   ========================= */

._resources {
  width: 100%;
  min-height: auto;
  padding: 40px 16px;
  background: linear-gradient(135deg, #a3d97f, #369836);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section Heading */
._resources h1 {
  font-size: var(--fs-h2);
  color: #1e3b2c;
  margin-bottom: 28px;
  text-align: center;
  position: relative;
}

._resources h1::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #2f6f4e;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

/* Container */
.source_a {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Resource Item */
.source_aa {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  font-size: var(--fs-ui);
  line-height: 1.2;
  color: #2d3e35;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Emoji styling */
.source_aa span {
  font-size: var(--fs-ui);
}

/* =========================
   Organiz Section Styling
   ========================= */
.organiz {
  width: 80%;
  text-align: justify;
  margin: 3rem auto;
  font-weight: 500;
}

.organiz p {
  font-size: var(--fs-p);
  color: var(var(--navy-blue));
}

/* =========================
   FOOTER
========================= */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: #1f5f3b;
    width: 100%;
    height: auto;
    padding: var(--space-md);
    color: #ffffff;
}

.fit_logo {
    text-align: center;
    align-items: center;
}

.fit_logo,
.about_auther,
.contact_details,
.links {
    text-align: center;
}

._h2 {
    font-size: var(--fs-h3);
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

#anchor {
    text-decoration: dotted;
    text-decoration-color: white;
    color: #FF5964;
}

#icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1.5vw, 15px);
    margin-top: 1rem;
}

.icon_plus {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon_plus i:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-bar h1.animate-on-scroll.visible {
  animation: textPulse 2s infinite alternate;
}

@keyframes textPulse {
  from {
    transform: scale(1);
    color: rgb(8, 177, 8);
  }

  to {
    transform: scale(1.1);
    color: var(--gold-yellow);
  }
}

/* Hero Section */
.hero-section.animate-on-scroll.visible {
  animation: fadeInHero 1.5s ease-in forwards;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sliding-images.animate-on-scroll.visible {
  animation: floatUpDown 6s ease-in-out infinite alternate;
}

@keyframes floatUpDown {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-15px);
  }
}

/* Get in Touch Section */
.form-reach.animate-on-scroll.visible {
  animation: bounceIn 1.5s ease-out forwards;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

  60% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

.icon_plus i.animate-on-scroll.visible {
  animation: rotateIcon 4s linear infinite;
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* About Section */
.about-us.animate-on-scroll.visible {
  animation: fadeSlide 1.8s ease forwards;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

._about.animate-on-scroll.visible {
  animation: cardPop 1.5s ease-in-out forwards;
}

@keyframes cardPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Program Section */
.program-1.animate-on-scroll.visible {
  animation: curveReveal 2s ease forwards;
}

@keyframes curveReveal {
  from {
    border-top-left-radius: 0;
    opacity: 0;
  }

  to {
    border-top-left-radius: 10rem;
    opacity: 1;
  }
}

.program-2 h1.animate-on-scroll.visible {
  animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes glowText {
  from {
    text-shadow: 0 0 5px #fff;
  }

  to {
    text-shadow: 0 0 20px #4E9F3D;
  }
}

/* Navbar Links Section */
#navBar_links.animate-on-scroll.visible {
  animation: zoomIn 1.5s ease forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.imagelinks12 img.animate-on-scroll.visible {
  animation: hoverWiggle 3s ease-in-out infinite;
}

@keyframes hoverWiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

/* Resources Section */
._resources.animate-on-scroll.visible {
  animation: riseUp 1.8s ease forwards;
}

@keyframes riseUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.source_aa.animate-on-scroll.visible {
  animation: fadeGlow 3s ease-in-out infinite alternate;
}

@keyframes fadeGlow {
  from {
    opacity: 0.6;
    text-shadow: none;
  }

  to {
    opacity: 1;
    text-shadow: 0 0 10px #fff;
  }
}

/* Organiz Section */
.organiz.animate-on-scroll.visible {
  animation: slideFadeIn 2s ease forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Footer Section */
.footer.animate-on-scroll.visible {
  animation: fadeInFooter 2s ease forwards;
}

@keyframes fadeInFooter {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#icons i.animate-on-scroll.visible {
  animation: pulseIcon 2s infinite alternate;
}

@keyframes pulseIcon {
  from {
    transform: scale(1);
    color: #fff;
  }

  to {
    transform: scale(1.2);
    color: var(--bright-red);
  }
}