: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,
.custom-navbar .navlink.active {
  color: #e74c3c;
}

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

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 4px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--orange-accent, #F0552E);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--orange-accent, #F0552E) !important;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: var(--orange-accent, #F0552E) !important;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
}
  

  
  .principal-section {
    width: 100%;
    padding: 30px 20px;
    background-color: #ffffff;
  }
  
  .principal-section .row {
    width: 100%;
    max-width: 900px; 
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    border-radius: 14px;
    overflow: hidden;
    background-color: #fdeceb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  
  .principal-video-col {
    width: 45%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  
  .video-wrap {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f5;
  }
  
  .video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; 
    display: block;
  }
  
  .principal-text-col {
    width: 55%;
    background-color: #fdeceb;
    display: flex;
    align-items: center;
    padding: 0;
  }
  
  .principal-content {
    width: 100%;
    padding: 25px 30px;
  }
  
  .principal-heading {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d3b3e;
    text-align: center;
    margin-bottom: 12px;
  }
  
  .principal-content p {
    color: #444;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  
  .principal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f0603c;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 6px;
    font-size: 13.5px;
    transition: all 0.3s ease;
  }
  
  .principal-btn:hover {
    background-color: #d94f2d;
    color: #ffffff;
    transform: translateY(-2px);
  }
  

  
  .teachers-section {
    padding: 40px 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); }
  }
  
  .teacher-photo-wrap {
    background-color: #e8e8e8;
    border-radius: 50% / 40%;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .teacher-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .teacher-card:hover .teacher-photo-wrap {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
  }
  
  .teacher-card:hover .teacher-photo-wrap img {
    transform: scale(1.08);
  }
  
  .teacher-info {
    background-color: #fdf1ec;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    margin: -110px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 4px solid #fdf1ec;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.3s ease;
  }
  
  .teacher-card:hover .teacher-info {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  }
  
  .teacher-card.selected .teacher-info {
    border-color: #e74c3c;
    box-shadow: 0 14px 28px rgba(231, 76, 60, 0.25);
    transform: scale(1.04);
  }
  
  .teacher-name {
    font-family: 'Dancing Script', cursive;
    font-size: 26px;
    font-weight: 700;
    color: #0d3b3e;
    margin-bottom: 6px;
  }
  
  .teacher-designation {
    font-size: 15px;
    color: #7a7a7a;
  }

  
  @media (max-width: 991px) {
    .teachers-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }
  }
  
  @media (max-width: 767px) {
    .principal-section {
      padding: 20px 12px;
    }
  
    .principal-section .row {
      flex-direction: column;
      max-width: 500px;
    }
  
    .principal-video-col,
    .principal-text-col {
      width: 100%;
    }
  
    .video-wrap {
      height: 250px;
      min-height: 250px;
    }
  
    .principal-content {
      padding: 20px 18px;
    }
  
    .principal-heading {
      font-size: 1.4rem;
    }
  
    .principal-content p {
      font-size: 13px;
      line-height: 1.5;
    }
  
    .principal-btn {
      margin: 10px auto 0;
      display: flex;
      width: fit-content;
    }
  
    .teachers-section {
      padding: 30px 20px 80px;
    }
  
    .teachers-grid {
      grid-template-columns: 1fr;
    }
  }