.marquee-wrapper {
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 30px;
  align-items: center;
  animation: marquee-left 30s linear infinite;
  flex-wrap: nowrap; /* added to prevent wrapping on large screens */
}

.marquee-card {
  flex: 0 0 350px;
  background: #b31b24;
  color: #fff;
  padding: 25px 25px 25px 25px;
  border-radius: 0 50px 50px 0;
  position: relative;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
  min-height: 220px;
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.marquee-card h5 {
  font-size: 20px;
  text-align: center;
  margin: 15px 0 10px 0;
  font-weight: 700;
  font-family: 'Times New Roman', serif;
}

.marquee-card p {
  font-size: 14px;
  text-align: center;
  opacity: 0.95;
  font-family: 'Georgia', serif;
  line-height: 1.4;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  color: #b31b24;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.icon-circle i {
  font-size: 26px;
}

/* Updates Ticker Section */
.updates-ticker {
  border: 1px solid #b31b24;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  margin-bottom: 1.5rem;
}

.updates-label {
  background-color: #b31b24;
  color: white;
  padding: 0.5rem 1.5rem;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  font-weight: 600;
  text-align: center;
  min-width: 120px;
  white-space: nowrap;
  font-family: 'Times New Roman', serif;
  font-size: 1.1rem;
}

.updates-scroll {
  color: #b31b24;
  padding: 0 0.75rem;
  white-space: nowrap;
  font-weight: 500;
  animation: scroll-left 25s linear infinite;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
}

.updates-scroll span {
  margin: 0 1rem;
  font-weight: 500;
}

/* Approval Section Styles */
.approval-section {
  padding: 2rem 0;
  background: #fff;
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.approval-header {
  margin-bottom: 0;
  margin-right: 2rem;
  white-space: nowrap;
  font-family: 'Times New Roman', serif;
  font-size: 2.8rem;
  color: #333;
  line-height: 1.2;
  border-right: 1px solid #ccc;
  padding-right: 2rem;
}

.approval-carousel {
  overflow: hidden;
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.approval-carousel button {
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: 1px solid #b31b24;
  color: #b31b24;
  background: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.approval-carousel button:hover {
  background-color: #b31b24;
  color: white;
}

.approval-track {
  display: flex;
  gap: 20px;
  padding: 1rem 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.approval-track::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

.approval-item {
  flex: 0 0 220px;
  height: 120px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.approval-item.aicte-red {
  background: #b31b24;
  border: 2px solid #b31b24;
  border-radius: 10px;
}

.approval-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.approval-logo {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* Apply Now vertical button on right side */
.apply-now-btn {
  position: fixed;
  right: 0;
  top: 40%;
  background-color: #b31b24;
  color: white;
  padding: 10px 15px;
  font-family: 'Times New Roman', serif;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.apply-now-btn:hover {
  background-color: #8a1418;
}

/* Animations */
@keyframes marquee-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .marquee-card {
    flex: 0 0 300px;
  }
  .approval-item {
    min-width: 180px;
  }
}
