body {
  font-family: "Poppins", sans-serif;
}

/* Navbar CSS */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(33, 37, 41, 0.1);
  padding: 10px 0;
}

.navbar-brand img {
  height: 40px;
}
@media (min-width:991px) {
  #navbarNav{
    display: flex;
    align-items: center;
    justify-content: end;
  }
}
.nav-link {
  color: #212529 !important;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 20px !important;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav-link:hover {
  color: #ff4d4f !important;
  font-weight: 600;
}
.nav-link.active {
  color: #ff4d4f !important;
  font-weight: 600;
}
@media (max-width:1300px) and (min-width:1175px) {
  .nav-link{
    font-size: 13px;
    padding: 10px 10px !important;
  }
  .btn-login{
  font-size: 13px;
  padding: 4px 5px;
}
}
@media (max-width:1175px) and (min-width:991px) {
  .nav-link{
    font-size: 12px;
    padding: 10px 4px !important;
  }
  .btn-login{
  font-size: 12px;
  padding: 2px 2px;
}
}

.dropdown-menu {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 6px rgba(33, 37, 41, 0.1);
  border-radius: 0;
  margin-top: 0;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  color: #212529;
  font-size: 14px;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-item:hover {
  color: #f8f9fa;
  background-color: #ff4d4f;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #f8f9fa;
  background-color: #ff4d4f;
}
.btn-login,
.btn-signup {
  font-weight: 500;
  font-size: 14px;
  padding: 8px 20px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-login {
  background-color: transparent;
  border: 1px solid #212529;
  color: #212529;
  margin-right: 10px;
}

.btn-login:hover {
  background-color: #212529;
  color: #ffffff;
}

.btn-signup {
  background-color: #ff4d4f;
  border: none;
  color: #ffffff;
}

.btn-signup:hover {
  background-color: #e6393d;
  color: #ffffff;
}

.navbar-toggler {
  width: 30px;
  height: 24px;
  position: relative;
  transition: all 0.3s ease-in-out;
  outline: none;
}

.navbar-toggler-icon {
  display: none;
}

.navbar-toggler {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  width: 30px;
  height: 24px;
  position: relative;
  padding: 0;
  z-index: 1001;
}

.toggler-icon,
.toggler-icon::before,
.toggler-icon::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #212529;
  transition: all 0.3s ease;
  content: "";
}

.toggler-icon {
  top: 50%;
  transform: translateY(-50%);
}

.toggler-icon::before {
  top: -10px;
}

.toggler-icon::after {
  bottom: -10px;
}

.navbar-toggler.open .toggler-icon {
  background-color: transparent;
}

.navbar-toggler.open .toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler.open .toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(33, 37, 41, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hover effect for dropdown on laptop screens (min-width: 992px) */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .dropdown-toggle::after {
    border: solid #212529;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
  }

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    margin: 0;
  }

  .btn-login,
  .btn-signup {
    margin: 0 10px 10px 0;
    width: auto;
  }
  .navbar-nav.ms-auto {
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 0 20px;
  }

  .navbar-nav.ms-auto .nav-item {
    margin-bottom: 10px;
  }

  .dropdown-menu {
    width: 100%;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .dropdown-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .dropdown-toggle::after {
    float: right;
    margin-top: 8px;
  }
}

/* Video Banner */
.video-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.video-banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 37, 41, 0.5);
  z-index: -1;
}

.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3em;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(33, 37, 41, 0.7);
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .video-text {
    font-size: 2em;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}

.explore-btn {
  display: inline-block;
  padding: 12px 12px;
  color: white;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #ff4d4f !important;
  border-color: #ff4d4f !important;
  color: #fff !important;
}

/* Stats Section */
.counter-section {
  text-align: center;
  padding: 60px 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  z-index: 0;
}

.counter-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 auto 50px;
  line-height: 1.4;
}

.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.counter-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(33, 37, 41, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(33, 37, 41, 0.15);
}

.counter-text {
  font-size: 3rem;
  font-weight: 700;
  color: #ff4d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.counter-suffix {
  font-size: 1.5rem;
  color: #ff4d4f;
}

.counter-label {
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #ff4d4f;
  background: #ff4d4f;
  color: #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.read-more-btn:hover {
  background: #fff;
  color: #ff4d4f;
  border-color: #ff4d4f;
  transform: translateY(-3px);
}

.read-more-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.read-more-btn:hover::after {
  width: 300px;
  height: 300px;
}

/* Features Section */
.features-section {
  text-align: center;
  padding: 60px 0;
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(33, 37, 41, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(33, 37, 41, 0.15);
}

.feature-card i {
  color: #ff4d4f;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-btn {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #ff4d4f;
  background: #ff4d4f;
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.feature-btn:hover {
  background: #fff;
  color: #ff4d4f;
  border-color: #ff4d4f;
}

/* Our Teacher Carousel */
#our-teacher-carousel {
  background-color: #f8f9fa;
}

.teacher-carousel-heading {
  color: #ff4d4f;
  font-weight: bold;
  font-size: 2rem;
}

.teacher-carousel-subtext {
  color: #6c757d;
  margin-top: 0.5rem;
}

.teacher-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(33, 37, 41, 0.08);
  transition: transform 0.3s ease-in-out;
}

.teacher-card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.teacher-img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid #fff !important;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.teacher-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
}

.teacher-subject {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.teacher-icon {
  font-size: 1.2rem;
  color: #ff4d4f;
}

/* Join Us Section */
.join-us-section {
  background-color: #fff;
  padding: 60px 0;
  text-align: left;
}

.join-us-heading {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.join-us-subtext {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 500px;
}

.join-us-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
}

.join-us-input {
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  color: #333;
  flex: 1;
  transition: border-color 0.3s ease;
}

.join-us-input:focus {
  outline: none;
  border-color: #ff4d4f;
  box-shadow: 0 0 8px rgba(255, 77, 79, 0.2);
}

.join-us-btn {
  padding: 12px 30px;
  border: none;
  background: #ff4d4f;
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.join-us-btn:hover {
  background: #e6393d;
  transform: translateY(-2px);
}

/* Footer Section */
.footer-section {
  background-color: #212529;
  padding: 60px 0 20px;
  color: #fff;
}

.footer-logo-img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 0.9rem;
  color: #adb5bd;
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

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

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

.footer-links li a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #ff4d4f;
}

.footer-links li i {
  margin-right: 10px;
  color: #ff4d4f;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #212529;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  background-color: #ff4d4f;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #adb5bd;
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #adb5bd;
  margin: 0;
}

@media (max-width: 768px) {
  .counter-section h2,
  .features-section h2,
  .join-us-heading {
    font-size: 1.8rem;
  }

  .counter-text {
    font-size: 2.2rem;
  }

  .counter-suffix {
    font-size: 1.2rem;
  }

  .counter-box,
  .feature-card {
    padding: 20px;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  .join-us-form {
    flex-direction: column;
    align-items: stretch;
  }

  .join-us-btn {
    width: 100%;
    text-align: center;
  }

  .footer-logo-img {
    height: 40px;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .footer-links li {
    font-size: 0.85rem;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .counters,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .counter-section h2,
  .features-section h2,
  .join-us-heading {
    font-size: 1.5rem;
  }

  .join-us-subtext {
    font-size: 0.9rem;
  }

  .footer-section {
    padding: 40px 0 20px;
  }

  .footer-logo {
    text-align: center;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom {
    margin-top: 20px;
  }
}

/* About us */
.about-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-us-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  clip-path: polygon(0 0, 40% 0, 60% 100%, 0% 100%);
}

/* @media (max-width: 992px) {
  .about-us-overlay {
    clip-path: none;
  }
} */

.about-breadcrumb {
  position: absolute;
  bottom: 20px;
  left: 30px;
  z-index: 2;
  color: #fff;
}

.about-breadcrumb h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 5px;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 16px;
}

.breadcrumb li {
  color: #fff;
  opacity: 0.9;
}

.breadcrumb li a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.breadcrumb li a:hover {
  opacity: 1;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  opacity: 0.8;
}

.breadcrumb li:last-child::after {
  content: "";
}

.banner-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  padding: 40px 20px;
  max-width: 90%;
  width: 100%;
}

.banner-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.banner-content h1 {
  font-size: 48px;
  color: #ff4d4f;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-block;
  background-color: #ff4d4f;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
}

.download-btn:hover {
  background-color: #e02528;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .about-banner {
    height: auto;
    padding: 60px 20px;
  }

  .banner-content {
    text-align: center;
  }

  .banner-content h2 {
    font-size: 26px;
  }

  .banner-content h1 {
    font-size: 36px;
  }

  .banner-content p {
    font-size: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .about-banner {
    height: auto;
  }

  .banner-content h2 {
    font-size: 22px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 14px;
    padding: 0;
  }

  .download-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* About Content Section */
.about-content {
  background-color: #fff;
}

.card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.card-body {
  background-color: #fff;
  padding: 20px;
}

.content-title {
  font-size: 26px;
  color: #ff4d4f;
  margin-bottom: 15px;
  font-weight: 600;
}

.content-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

.content-list {
  list-style: none;
  padding: 0;
}

.content-list li {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.content-list li::before {
  content: "✔";
  color: #ff4d4f;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}

@media (max-width: 768px) {
  .content-title {
    font-size: 22px;
  }

  .content-text,
  .content-list li {
    font-size: 14px;
  }

  .card-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .card-image {
    height: 180px;
  }
}

/* Vision Mission */
.vmv-section {
  background-color: #f8f9fa;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* space between lines and text */
  margin: 2rem 0;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #ff4d4f; /* Blue color */
  max-width: 70px;
}

.section-title span {
  font-weight: bold;
  font-size: 1.5rem;
  color: #222;
  white-space: nowrap;
}

.section-title h2 {
  font-size: 36px;
  color: #212529;
  margin-bottom: 10px;
}

.section-title p {
  color: #6c757d;
  font-size: 16px;
}

.vmv-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vmv-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.vmv-title {
  color: #ff4d4f;
  font-size: 24px;
  margin-bottom: 15px;
}

.vmv-icon i {
  font-size: 40px;
  color: #ff4d4f;
}

.vmv-text {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.what-we-do .owl-nav .owl-prev,
.what-we-do .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #007bff;
}

.what-we-do .owl-nav .owl-prev {
  left: 0;
}

.what-we-do .owl-nav .owl-next {
  right: 0;
}

/* Timeline Styles */
.timeline-container {
  position: relative;
  padding: 40px 0;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  gap: 20px;
}

.timeline-item {
  position: relative;
  width: 120px;
  text-align: center;
  z-index: 1;
}

.timeline-year {
  background-color: #ff4d4f;
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
}

.timeline-year:hover {
  transform: scale(1.1);
}

.timeline-tooltip {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  display: none;
  z-index: 20;
  white-space: normal;
  width: max-content;
  max-width: 300px;
  word-wrap: break-word;
  text-align: left;
}

.timeline-item:hover .timeline-tooltip {
  display: block;
}

/* Connecting lines */
.timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff4d4f, transparent);
  z-index: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: #ff4d4f;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }

  .vmv-title {
    font-size: 20px;
  }

  .vmv-text {
    font-size: 14px;
  }

  .timeline-item {
    width: 100px;
  }

  .timeline-year {
    padding: 8px;
    font-size: 14px;
  }

  .timeline-tooltip {
    font-size: 12px;
    top: -40px;
  }
}

@media (max-width: 576px) {
  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-item {
    width: 80px;
  }

  .timeline::before {
    left: 50%;
    width: 2px;
    height: 100%;
    top: 0;
    background: linear-gradient(to bottom, transparent, #ff4d4f, transparent);
  }

  .timeline-item::before {
    left: 50%;
    top: 25px;
    width: 10px;
    height: 2px;
  }
}

/* Login and Signup */
.login-main-container {
  font-family: "Comic Sans MS", "Arial", sans-serif;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.login-main-container::after,
.login-main-container::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.login-main-container::after {
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23e6e6fa" fill-opacity="0.5" d="M0,128L48,144C96,160,192,192,288,192C384,192,480,160,576,149.3C672,139,768,149,864,144C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160V320H0Z"%3E%3C/path%3E%3C/svg%3E');
}

.login-main-container::before {
  top: 0;
  transform: rotate(180deg);
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23e6e6fa" fill-opacity="0.5" d="M0,128L48,144C96,160,192,192,288,192C384,192,480,160,576,149.3C672,139,768,149,864,144C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160V320H0Z"%3E%3C/path%3E%3C/svg%3E');
}

.login-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 100%;
  display: flex;
  overflow: hidden;
  animation: slideIn 0.5s ease-out;
}

.login-form-section {
  flex: 1;
  padding: 2rem;
}

.login-form-image-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background: url("https://via.placeholder.com/400x600") no-repeat center center;
  background-size: cover;
}

.login-form-section h2 {
  color: #ff4d4f;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #ff4d4f;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  border-color: #ff4d4f;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
  outline: none;
}

.login-button {
  background: #ff4d4f;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  padding: 0.75rem;
  border: none;
  transition: background 0.3s, transform 0.2s;
}

.login-button:hover {
  background: #ff4d4f;
  transform: scale(1.05);
  color: #fff;
}

.forgot-link,
.signup-link {
  color: #ff4d4f;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-link:hover,
.signup-link:hover {
  color: #ff4d4f;
  text-decoration: underline;
}

.error-message {
  color: #ff4d4f;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.input-group .form-control {
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 70% !important;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ff4d4f;
  font-size: 1.2rem;
}

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

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

@media (max-width: 640px) {
  .login-container {
    flex-direction: column;
    margin: 1rem;
  }

  .login-form-section {
    padding: 1.5rem;
  }

  .login-form-image-section {
    height: 200px;
  }

  .login-form-section h2 {
    font-size: 1.5rem;
  }
}

#stepTabs .nav-link {
  padding: 10px 20px;
  text-align: center;
  border-radius: 10px;
}

#stepTabs .nav-link.active {
  background: #fff;
  color: #fff;
}

/* STEP WRAPPER */
.stepper {
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 40px;
  list-style: none;
}

/* STEP ITEM */
.step-item {
  display: flex;
  align-items: center;
  position: relative;
}

/* LINES BETWEEN STEPS */
.step-line {
  width: 60px;
  height: 3px;
  background: #ccc;
  display: inline-block;
  margin: 0 10px;
}

/* CIRCLE STYLE */
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eaeaea;
  border: none;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  transition: all 0.3s;
}

/* ACTIVE STEP */
.step-circle.active {
  background: #ff4d4f !important;
  color: #fff;
  font-size: 18px;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* COMPLETED STEPS */
.step-circle.completed {
  background: #ff4d4f !important;
  color: #fff;
}

/* COMPLETED LINE */
.step-item.completed .step-line {
  background: #ff4d4f !important;
}

/* Hover Effect */
.step-circle:hover {
  cursor: pointer;
  background: #d5d5d5;
}

/* =================================================
   HORIZONTAL SCROLL FOR STEPPER ON MOBILE/TABLET
   ================================================= */
@media (max-width: 992px) {
  #stepTabs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-bottom: 40px;
    white-space: nowrap;
    scrollbar-width: thin;
    padding: 10px;
  }

  #stepTabs::-webkit-scrollbar {
    height: 6px;
  }
  #stepTabs::-webkit-scrollbar-thumb {
    background: #ff4d4f;
    border-radius: 3px;
  }
  #stepTabs::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .step-item {
    flex: 0 0 auto;
    margin-right: 12px;
  }

  .step-line {
    width: 33px;
  }
  .step-circle {
    width: 30px;
    height: 30px;
  }

  /* ACTIVE STEP */
  .step-circle.active {
    font-size: 14px;
  }
}

#lightgallery a {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

#lightgallery img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

#lightgallery a:hover img {
  transform: scale(1.12);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.28);
}
.gallery-item {
  opacity: 0;
  transform: translateY(20px);
  animation: galleryFadeIn 0.7s forwards;
}

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