:root {
  --navy: #16324F;
  --gray-text: #6B7280;
  --peach-bg: #FCE9E4;
  --peach-text: #F0806B;
  --green-bg: #1E7F5C;
  --green-light: #4CAF7D;
  --yellow-bg: #FDF2D9;
  --yellow-text: #F4B400;
  --blue-bg: #E4F6FB;
  --blue-text: #2AAFDB;
  --orange-accent: #F0552E;
  --white: #ffffff;
}

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

.brand-font {
  font-family: 'Dancing Script', cursive;
  color: #194646;
}

.text-teal {
  color: #194646 !important;
}

.btn-teal {
  background-color: #194646 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 8px 24px;
}

.btn-teal:hover,
.btn-teal:focus,
.btn-teal.active {
  background-color: #123333 !important;
  color: #ffffff !important;
  border: none !important;
}

.custom-navbar {
  width: 100%;
  padding: 15px 60px;
  background-color: white;
}

.custom-navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img, .logo svg {
  width: 50px;
  height: 50px;
}

.logo span {
  font-size: 33px;
  font-weight: 900;
  font-family: 'Dancing Script', cursive;
  background: linear-gradient(
      90deg,
      #27ae60 0%,
      #f39c12 50%,
      #e67e22 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.custom-navbar .nav-link {
  color: black;
  font-size: 18px;
  margin-left: 15px;
  font-weight: 500;
}

.custom-navbar .nav-link:hover {
  color: #e74c3c;
}

.navbar-toggler {
  border: none;
  font-size: 25px;
  padding: 8px;
  color: #0d3b3e;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}
.teachers-section {
  padding: 80px 60px 140px;
  text-align: center;
  background-color: #fff;
}

.teachers-heading {
  font-family: 'Dancing Script', cursive;
  font-size: 48px;
  font-weight: 700;
  color: #0d3b3e;
  margin-bottom: 20px;
}

.teachers-subheading {
  font-size: 17px;
  color: #7a7a7a;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.teacher-card {
  position: relative;
  opacity: 0;
  cursor: pointer;
}

.teacher-card.anim-left {
  transform: translateX(-150px);
}

.teacher-card.anim-top {
  transform: translateY(-150px);
}

.teacher-card.anim-right {
  transform: translateX(150px);
}

.teacher-card.anim-bottom {
  transform: translateY(150px);
}

.teacher-card.anim-left.show {
  animation: jumpFromLeft 0.9s ease forwards;
}

.teacher-card.anim-top.show {
  animation: dropFromTop 0.9s ease forwards;
}

.teacher-card.anim-right.show {
  animation: bounceFromRight 1s ease forwards;
}

.teacher-card.anim-bottom.show {
  animation: riseFromBottom 0.9s ease forwards;
}

@keyframes jumpFromLeft {
  0% {
      opacity: 0;
      transform: translateX(-150px);
  }
  60% {
      opacity: 1;
      transform: translateX(20px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes dropFromTop {
  0% {
      opacity: 0;
      transform: translateY(-150px);
  }
  60% {
      opacity: 1;
      transform: translateY(20px);
  }
  80% {
      transform: translateY(-8px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes bounceFromRight {
  0% {
      opacity: 0;
      transform: translateX(150px);
  }
  50% {
      opacity: 1;
      transform: translateX(-30px);
  }
  70% {
      transform: translateX(15px);
  }
  85% {
      transform: translateX(-8px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes riseFromBottom {
  0% {
      opacity: 0;
      transform: translateY(150px);
  }
  60% {
      opacity: 1;
      transform: translateY(-20px);
  }
  80% {
      transform: translateY(8px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}


.img{
  position:relative;
  overflow:hidden;
  width:100%;
}

.img img{
  width:100%;
  display:block;
}

.hero-content{
  position:absolute;
  top:50%;
  left:60px;
  transform: translateY(-50%);
  color:white;
  max-width:600px;
}
.hero-content h1{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 50px;
  margin-bottom: 17px;
}
.hero-content p{
  font-size:18px;
  margin-bottom: 17px;
}

.hero-content .btn1{
  padding:12px 24px;
  margin-right:10px;
  margin-top: 15px;
  border:none;
  border-radius:20px;
  cursor:pointer;
  font-size:16px;
  background-color: #e67e22;
  color: white;
}
.hero-content .btn2{
  padding:12px 24px;
  margin-right:10px;
  margin-top: 15px;
  border:none;
  border-radius:20px;
  cursor:pointer;
  font-size:16px;
  color: white;
  background-color: #0d3b3e;
}

.vm-section {
  padding: 80px 20px;
  text-align: center;
}

.vm-heading {
  font-family: 'Georgia', serif;
  font-size: 42px;
  font-weight: bold;
  background: linear-gradient(90deg, #2ecc71, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.vm-subheading {
  font-size: 18px;
  color: #7a7a7a;
  margin-bottom: 60px;
}

.vm-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.vm-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px 30px 40px;
  width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 16px 16px 0 0;
}

.vm-card.vision::before { background-color: #27ae60; }
.vm-card.mission::before { background-color: #f1c40f; }
.vm-card.values::before { background-color: #29b6f6; }

.vm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 32px;
}

.vision .vm-icon { background-color: #27ae60; }
.mission .vm-icon { background-color: #f1c40f; }
.values .vm-icon { background-color: #29b6f6; }

.vm-title {
  font-family: 'Georgia', serif;
  font-size: 26px;
  color: #1c2b3a;
  margin-bottom: 18px;
}

.vm-text {
  font-size: 15.5px;
  color: #6b6b6b;
  line-height: 1.7;
}



.grow-play-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.section-header h2 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-text);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.card:nth-child(1) { --delay: 0.1s; }
.card:nth-child(2) { --delay: 0.25s; }
.card:nth-child(3) { --delay: 0.4s; }
.card:nth-child(4) { --delay: 0.55s; }

.icon-cap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: -34px;
  transition: transform 0.4s ease;
}

.icon-cap svg { width: 40px; height: 40px; }

.icon-cap::before,
.icon-cap::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  top: -8px;
  background: inherit;
}
.icon-cap::before { left: 6px; }
.icon-cap::after { right: 6px; }

.card-body {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 26px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  border: none !important;
  outline: none !important;
}


.card-body h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.2;
}

.card-body p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.card:hover .card-body {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px -12px rgba(22, 50, 79, 0.25);
}

.card:hover .icon-cap {
  transform: translateY(-6px) rotate(-4deg);
}

.card.peach .icon-cap { background: #FCE0D8; }
.card.peach .card-body { background: var(--peach-bg); }
.card.peach h3 {
  background: linear-gradient(90deg, var(--peach-text), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card.peach p { color: var(--gray-text); }

.card.green .icon-cap { background: var(--green-bg); }
.card.green .card-body {
  background: var(--green-bg);
  transform: scale(1.08);
}
.card.green:hover .card-body { transform: scale(1.08) translateY(-10px); }
.card.green h3 { color: var(--white); }
.card.green p { color: rgba(255,255,255,0.9); }

.card.yellow .icon-cap { background: #FBEAC2; }
.card.yellow .card-body { background: var(--yellow-bg); }
.card.yellow h3 { color: var(--yellow-text); }
.card.yellow p { color: var(--gray-text); }

.card.blue .icon-cap { background: #D6F0F9; }
.card.blue .card-body { background: var(--blue-bg); }
.card.blue h3 { color: var(--blue-text); }
.card.blue p { color: var(--gray-text); }

.card.mint .icon-cap { background: #DCEEDD; }
.card.mint .card-body { background: #EAF6EA; }
.card.mint h3 { color: #1E7F5C; }
.card.mint p { color: var(--gray-text); }

.card.rose .icon-cap { background: #FBE3E1; }
.card.rose .card-body { background: #FDEAE8; }
.card.rose h3 {
  background: linear-gradient(90deg, #F0552E, #4CAF7D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card.rose p { color: var(--gray-text); }

.card:nth-child(5) { --delay: 0.1s; }
.card:nth-child(6) { --delay: 0.25s; }
.card:nth-child(7) { --delay: 0.4s; }
.card:nth-child(8) { --delay: 0.55s; }

.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-accent);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 10px 24px -6px rgba(240, 85, 46, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 50;
}
.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -6px rgba(240, 85, 46, 0.6);
}


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

.footer {
  background-color: #0d3b3e;   
  color: #cfd8d8;                
  padding: 60px 60px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-col h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-col p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid #cfd8d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfd8d8;
  text-decoration: none;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cfd8d8;
  text-decoration: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 320px;
}

.gallery-grid img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;   
  font-size: 14px;
  word-break: break-word;
}
.footer-bottom a {
  color: #cfd8d8;
}

@media (max-width: 991px) {
  .custom-navbar {
      padding: 12px 20px;
  }

  .logo span {
      font-size: 24px;
  }

  .logo img {
      width: 45px;
      height: 45px;
  }

  .navbar-collapse {
      margin-top: 15px;
      background: white;
      padding: 15px;
      border-radius: 12px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }

  .custom-navbar .nav-link {
      margin-left: 0;
      padding: 12px 10px;
      text-align: center;
  }

  .hero-content {
      left: 40px;
      max-width: 480px;
  }

  .hero-content h1 {
      font-size: 40px;
  }
}

@media (max-width: 768px) {
  .vm-heading { font-size: 32px; }
  .vm-card { width: 100%; max-width: 340px; }

  .hero-content {
      left: 25px;
      right: 25px;
      max-width: none;
  }

  .hero-content h1 {
      font-size: 30px;
  }

  .hero-content p {
      font-size: 15px;
  }

  .hero-content .btn1,
  .hero-content .btn2 {
      padding: 10px 18px;
      font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-header, .card, .icon-cap, .card-body, .scroll-top {
    animation: none !important;
    transition: none !important;
  }
  .section-header, .card { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 56px;
  }
  .card.green .card-body { transform: scale(1); }
  .card.green:hover .card-body { transform: translateY(-10px); }
}

@media (max-width: 560px) {
  .grow-play-section { padding: 56px 20px 72px; }
  .cards-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .card-body { padding: 32px 24px; }
  .scroll-top { bottom: 20px; right: 20px; width: 46px; height: 46px; }

  .hero-content h1 {
      font-size: 24px;
  }

  .hero-content p {
      font-size: 14px;
  }

  .hero-content .btn1,
  .hero-content .btn2 {
      display: block;
      width: 100%;
      margin-right: 0;
      margin-bottom: 10px;
      text-align: center;
  }

  .vm-section {
      padding: 60px 16px;
  }

  .vm-heading {
      font-size: 26px;
  }

  .footer {
      padding: 40px 20px 20px;
  }

  .footer-container {
      flex-direction: column;
      gap: 30px;
  }

  .gallery-grid {
      max-width: 100%;
  }
}