body {
  font-family: "Markazi Text", serif;
}
header,
nav,
nav ul,
nav ul li {
  font-family: "Frank Ruhl Libre", serif;
}
.sanskrit {
  font-family: "Noto Sans Devanagari", serif;
}

a {
  text-decoration: none;
  color: #d97706; /* orange-600 shade */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  padding: 0;
}

nav ul li {
  cursor: pointer;
}

.dropdown-toggle {
  display: none;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 10;
}

.dropdown-menu li {
  padding: 5px 0;
}

@media (max-width: 768px) {
  .dropdown-toggle {
    display: block;
  }
  .dropdown-menu.show {
    display: flex;
  }
  .nav-links
    > li:not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)):not(
      .dropdown-toggle
    ) {
    display: none;
  }

  header {
    justify-content: flex-start;
    padding-right: 20px;
  }

  nav ul {
    padding-right: 10px;
  }
}

img[alt="SSSCMS Logo"] {
  margin-left: 20px;
}

.carousel-container {
  position: relative;
  overflow: visible;
  margin: 2rem auto;
  width: 80%;
}
.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.carousel-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
.carousel-date {
  font-weight: bold;
  color: #d97706;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.carousel-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.carousel-text {
  font-size: 0.95rem;
  color: #333;
}
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #c0a080;
}
.carousel-button.left {
  left: -25px;
  transform: translateY(-50%);
}
.carousel-button.right {
  right: -25px;
  transform: translateY(-50%);
}
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 5px;
}
.carousel-indicators span {
  display: block;
  width: 20px;
  height: 4px;
  background: #d97706;
}

.featured-video h2,
.video-grid h2 {
  text-align: center;
}

.featured-video iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.video-grid iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
