/* Satkriti Hospital - Custom Styles */

body {
  font-family:
    "Source Sans 3",
    system-ui,
    -apple-system,
    sans-serif;
  color: #1f1b18;
}

.font-display {
  font-family:
    "Source Sans 3",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 700;
}

/* Hero Slider Styles */
.hero-slide {
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Hero Content Animations */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-badge {
  animation: heroScale 0.3s ease-out 0s both;
}

.hero-title {
  animation: heroSlideInLeft 0.35s ease-out 0.1s both;
}

.hero-subtitle {
  animation: heroSlideInLeft 0.35s ease-out 0.2s both;
}

.hero-description {
  animation: heroFadeInUp 0.35s ease-out 0.3s both;
}

.hero-cta {
  animation: heroFadeInUp 0.35s ease-out 0.4s both;
}

.hero-features {
  animation: heroSlideInRight 0.35s ease-out 0.5s both;
}

.slide-indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide-indicator.active {
  width: 2rem;
  background-color: rgb(255 255 255);
}

.slide-indicator:not(.active) {
  width: 0.5rem;
  background-color: rgb(255 255 255 / 0.5);
}

.slide-indicator:hover {
  background-color: rgb(255 255 255 / 0.8);
}

/* Mobile Menu Styles */
.mobile-menu {
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Hamburger Animation */
#hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

#hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Active State */
.nav-link.active {
  background-color: white;
  color: #c56414;
}

/* Dropdown Menu Styles */
.dropdown-container {
  position: relative;
}

.dropdown-menu {
  z-index: 50;
  display: none;
}

.dropdown-container:hover .dropdown-menu {
  display: block;
}

.dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.dropdown-container:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-item:first-child {
  border-radius: 0.75rem 0.75rem 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}

/* About Section Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.about-content-animate {
  animation: fadeInLeft 0.6s ease-out 0.2s both;
}

.about-image-animate {
  animation: scaleIn 0.5s ease-out both;
}

.about-image-animate:nth-child(1) {
  animation-delay: 0.3s;
}

.about-image-animate:nth-child(2) {
  animation-delay: 0.4s;
}

.about-image-animate:nth-child(3) {
  animation-delay: 0.5s;
}

.about-image-animate:nth-child(4) {
  animation-delay: 0.6s;
}

.about-image-animate:nth-child(5) {
  animation-delay: 0.7s;
}

/* Departments Section Animations */
@keyframes departmentSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.departments-header {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.department-card {
  animation: departmentSlideUp 0.5s ease-out both;
}

.department-card:nth-child(1) {
  animation-delay: 0.3s;
}

.department-card:nth-child(2) {
  animation-delay: 0.4s;
}

.department-card:nth-child(3) {
  animation-delay: 0.5s;
}

.department-card:nth-child(4) {
  animation-delay: 0.6s;
}

.department-card:nth-child(5) {
  animation-delay: 0.7s;
}

.department-card:nth-child(6) {
  animation-delay: 0.8s;
}

.department-card:nth-child(7) {
  animation-delay: 0.9s;
}

.department-card:nth-child(8) {
  animation-delay: 1s;
}

.department-button {
  animation: fadeInUp 0.5s ease-out 1.1s both;
}

/* Section Entry Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.slide-left {
  animation: slideLeft 0.8s ease-out forwards;
}

.slide-right {
  animation: slideRight 0.8s ease-out forwards;
}

.zoom-in {
  animation: zoomIn 0.8s ease-out forwards;
}

.fade-in-down {
  animation: fadeInDown 0.8s ease-out forwards;
}
