/* ================= TITLE ================= */
.medical-title {
  font-size: 36px;
  font-weight: 500;
}

.title-underline {
  width: 220px;
  height: 2px;
  background: #00a0e3;
  margin-bottom: 35px;
}

/* ================= TIMELINE ================= */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #ccc;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #999;
  border-radius: 50%;
}

.dot-1 { top: 12px; }
.dot-2 { top: 420px; }

/* ================= TITLES ================= */
.titles {
  font-size: 20px;
  font-weight: 400;
  font-family: 'Bitter';
  color: rgb(17,17,17);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.titles:hover {
  color: rgb(255,51,50);
}

/* ================= CONTENT BOX ================= */
.light-box {
  background: white;
  padding: 5px 30px;
  margin-bottom: 40px;
}

.light-box p {
  font-size: 16px;
  color: rgb(17,17,17);
  line-height: 23px;
  margin-bottom: 12px;
}

/* ================= LIST ================= */
.eye-list {
  padding-left: 18px;
}

.eye-list li {
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 6px;
  color: rgb(17,17,17);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .medical-title {
    font-size: 28px;
  }

  .timeline {
    padding-left: 25px;
  }

  .dot-2 {
    top: 100%;
  }
}
ul {
  list-style: none;
}



/* Animation */
/* ================= ANIMATION INITIAL STATE ================= */
.titles,
.light-box,
.timeline-dot {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ================= ANIMATION ACTIVE ================= */
.show-anim {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* DOT specific */
.timeline-dot {
  transform: scale(0.6);
}

.timeline-dot.show-anim {
  transform: scale(1);
}





/* ===== COMMON SCROLL ANIMATION ===== */
.scroll-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-anim.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== FOOTER SCROLL ANIMATION ===== */
.footer-anim {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-anim.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACT SCROLL ANIMATION ===== */
.contact-anim {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-anim.show {
  opacity: 1;
  transform: translateY(0);
}








.light-box{
  background-color: #ecf6ff;
}



/* ===== BANNER ANIMATION ===== */
.page-banner {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease-out;
}

/* ACTIVE STATE */
.page-banner.show {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT ANIMATION */
.page-title,
.page-breadcrumb {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-out;
}

/* WHEN BANNER SHOWS */
.page-banner.show .page-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.page-banner.show .page-breadcrumb {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}





/* ===== NAVBAR ENTRY ANIMATION ===== */
.navbar {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.2s ease;
}

.navbar.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOGO ANIMATION ===== */
.logo-img {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s ease;
}

.navbar.show .logo-img {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NAV LINKS ANIMATION ===== */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  /* color: #333; */
  transition: color 0.3s ease;
}



.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  /* color: #8bc53f; */
}

/* ===== STAGGER EFFECT (DESKTOP) ===== */
.navbar.show .nav-item {
  animation: fadeSlide 0.1s ease forwards;
  opacity: 0;
}

.navbar.show .nav-item:nth-child(1) { animation-delay: 0.2s; }
.navbar.show .nav-item:nth-child(2) { animation-delay: 0.3s; }
.navbar.show .nav-item:nth-child(3) { animation-delay: 0.4s; }
.navbar.show .nav-item:nth-child(4) { animation-delay: 0.5s; }
.navbar.show .nav-item:nth-child(5) { animation-delay: 0.6s; }
.navbar.show .nav-item:nth-child(6) { animation-delay: 0.7s; }

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
