.carousel {
  position: relative;
  top: 0;
  width: 100%;
  max-width: 100vw;
  height: 85vh;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  box-sizing: border-box;

  /* Fallback background — before video loads */
  background: linear-gradient(135deg, #0063ae, #ffa500);
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}

/* Video (smooth fade) */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(115%) saturate(150%);
  transition: opacity 0.8s ease-in-out;
  box-sizing: border-box;
  /* background: linear-gradient(135deg, #0063ae, #ffa500); */
  /* Extra fallback */
}

/* Animate the background slightly */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* Slide Content */
.slide-content {
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
  max-width: 650px;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.slide-content.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.slide-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  /* Reduced from 2.8rem */
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 1);
  animation: fadeLeft 1s ease-in-out forwards;
}

.slide-content h3 {
  font-size: 1.2rem;
  /* Reduced from 1.4rem */
  font-weight: 500;
  margin-bottom: 1.2rem;
  color: #bde0ff;
  opacity: 0;
  animation: fadeLeft 1.2s ease-in-out forwards;
  animation-delay: 0.2s;
}

.slide-content p {
  font-size: 1.6rem;
  /* Increased from 0.95rem */
  line-height: 1.7;
  opacity: 0;
  color: #e9f4ff;
  animation: fadeLeft 1.4s ease-in-out forwards;
  animation-delay: 0.4s;
}

.slide-content .btn {
  display: inline-block;
  /* margin-top: 1.5rem; */
  padding: 10px 24px;
  background: linear-gradient(90deg, #0099ff, #00ccff);
  color: #fff;
  border: none;
  border-radius: 0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeLeft 1.6s ease-in-out forwards;
  animation-delay: 0.6s;
}

.slide-content .btn:hover {
  background: linear-gradient(90deg, #007acc, #00aaff);
  transform: translateY(-2px);
}

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Navigation Buttons */
.nav-buttons {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.nav-buttons button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-buttons button.active {
  background: #00baff;
  transform: scale(1.3);
}

/* Hero Carousel Navigation Arrows */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .carousel-prev,
  .carousel-next {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content {
    top: 55%;
    left: 0%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 100%;
  }

  .slide-content h1 {
    font-size: 1.9rem;
    /* Reduced from 2.2rem */
  }

  .slide-content h3 {
    font-size: 1rem;
    /* Reduced from 1.1rem */
  }

  .slide-content p {
    font-size: 1.05rem;
    /* Increased from 0.9rem */
  }
}

/* -------------------------------------- Alert Bar Section --------------------------------------- */
.alert-bar-container {
  width: 100%;
  background: linear-gradient(135deg, #b90e0e 0%, #c32929 100%);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.alert-bar-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0px;
  /* Reduced from 17px to 10px */
  height: 100%;
}

/* Ensure Drupal view wrappers inside alert bar expand fully */
.alert-bar-content>div:not(.alert-controls),
.alert-bar-content .region,
.alert-bar-content .region-alerts,
.alert-bar-content .block,
.alert-bar-content .views-element-container,
.alert-bar-content .view,
.alert-bar-content .view-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.alert-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: clamp(1rem, 2vw + 0.8rem, 2.3rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: 6px;
}


#alertTrack .alert-item a {
  color: #ffffff;
}

.alert-label i {
  color: #ffa500;
  font-size: 1.1rem;
  animation: pulseIcon 2s ease-in-out infinite;
}

.alert-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 10;
  position: relative;
  margin-right: 0.3rem;
}

.alert-control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  padding: 0;
  flex-shrink: 0;
}

.alert-control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.alert-control-btn:active {
  transform: scale(0.95);
}

.alert-control-btn i {
  font-size: 0.85rem;
}

.alert-view-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.alert-bar-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.alert-bar-track {
  display: flex;
  /* gap: 40px; Replaced by margin on items for consistent spacing calculation */
  animation: scrollAlerts 10s linear infinite;
  white-space: nowrap;
  will-change: transform;
  width: max-content;
  /* Critical: Ensures transform(-50%) uses full content width */
  min-width: 100%;
}

.alert-bar-track.paused {
  animation-play-state: paused;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 1rem;
  /* Increased from 0.95rem */
  font-weight: 500;
  padding: 0 15px;
  /* Reduced from 20px */
  margin-right: 40px;
  /* Explicit spacing between items */
  white-space: nowrap;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.alert-item:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #ffffff;
}

.alert-dot {
  width: 8px;
  /* Reduced from 10px */
  height: 8px;
  /* Reduced from 10px */
  background-color: #ffb400;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255, 180, 0, 0.8);
}

@keyframes titleBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes scrollAlerts {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* When manual offset is applied, combine with animation */
.alert-bar-track:not(.paused) {
  animation: scrollAlerts 15s linear infinite;
}

@keyframes pulseIcon {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Responsive styles for alert bar */
@media (max-width: 768px) {
  .alert-bar-content {
    padding: 6px 10px;
    gap: 12px;
  }

  .alert-label {
    font-size: 0.85rem;
    gap: 6px;
  }

  .alert-label i {
    font-size: 1rem;
  }

  .alert-control-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .alert-control-btn i {
    font-size: 0.75rem;
  }

  .alert-item {
    font-size: 1rem;
    gap: 10px;
    padding: 0 15px;
  }

  .alert-dot {
    width: 8px;
    height: 8px;
  }

  .alert-bar-track {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .alert-bar-content {
    padding: 6px 10px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .alert-label {
    font-size: 0.8rem;
    gap: 5px;
  }

  .alert-label i {
    font-size: 0.9rem;
  }

  .alert-controls {
    gap: 6px;
  }

  .alert-control-btn {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .alert-control-btn i {
    font-size: 0.7rem;
  }

  .alert-item {
    font-size: 0.95rem;
    gap: 8px;
    padding: 0 12px;
  }

  .alert-dot {
    width: 7px;
    height: 7px;
  }

  .alert-bar-track {
    gap: 15px;
  }
}

/* Enhanced font sizes for large desktop screens (1920px and above) */
@media (min-width: 1920px) {
  .alert-label {
    font-size: clamp(1.4rem, 2vw + 1rem, 2.8rem);
    gap: 12px;
  }

  .alert-label i {
    font-size: 1.5rem;
  }

  .alert-item {
    font-size: 1rem;
    gap: 14px;
    padding: 0 20px;
  }

  .alert-control-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .alert-control-btn i {
    font-size: 1rem;
  }

  .alert-dot {
    width: 10px;
    height: 10px;
  }

  .alert-bar-content {
    padding: 14px 20px;
  }
}

/* Ultra-wide screens (2560px and above) */
@media (min-width: 2560px) {
  .alert-label {
    font-size: clamp(1.6rem, 2vw + 1.2rem, 3rem);
    gap: 14px;
  }

  .alert-label i {
    font-size: 1.7rem;
  }

  .alert-item {
    font-size: 1rem;
    gap: 16px;
    padding: 0 24px;
  }

  .alert-control-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .alert-control-btn i {
    font-size: 1.1rem;
  }

  .alert-dot {
    width: 12px;
    height: 12px;
  }

  .alert-bar-content {
    padding: 16px 24px;
  }
}





/* --------------------------------------counting section ---------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.stats-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #003b73 0%, #0063ae 100%);
  padding: 30px 20px;
  border-radius: 0;
  color: #fff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
  animation: rotateGlow 15s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.stat {
  flex: 1 1 200px;
  margin: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat:hover {
  transform: translateY(-10px);
}

.stat h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ffffff, #d4e8ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.stat:hover h2 {
  background: linear-gradient(45deg, #ffe259, #ffa751);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------- end counting section --------------------------------------------*/


/*---------------------------------------- What's new section ---------------------------------------------- */

.info-wrapper {
  padding: 0;
  /* padding-top: 20px; */
  /* padding-bottom: 0; */

}

.about-pm-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 6rem 5%;
  gap: 2rem;
  background-color: #fff3d7;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.combined-info-row {
  padding: 6rem 5%;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* Ensures content respects the border-radius */
  /* height: 450px; */
}

/* Ensure all columns have equal height */
/* Ensure row has gutters and columns have padding */
.combined-info-row .row {
  margin-left: -15px !important;
  margin-right: -15px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  min-height: 0;
  align-items: stretch;
}

.combined-info-row .row>[class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
  display: flex;
  flex-direction: column;
}

/* Ensure all cards/containers take full height of their column */
.combined-info-row .jitender-card,
.combined-info-row .whts-box,
.combined-info-row .infocus-container {
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 100%;
  align-self: stretch;
}

/* Specifically ensure whts-box stretches to match other blocks */
.combined-info-row .whts-box {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
}

/* Desktop layout: Decouple 'What's New' height so it doesn't push the row */
@media (min-width: 992px) {
  .combined-info-row .col-lg-5 {
    position: relative !important;
    /* Ensure the column is the anchor */
  }

  .combined-info-row .whts-box {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 15px !important;
    /* Match the 15px column padding */
    right: 15px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    /* Allow shrinking */
    overflow: hidden;
    /* Scroll handled by inner track or cut off */
  }
}

/* Fix for What's New spacing and height dependency */
.whts-box .news-section {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.whts-box .news-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: auto !important;
  max-height: none !important;
  /* Override the fixed 500px limit */
  min-height: 320px;
  /* Preserve the existing min-height observed */
}

.whts-box .news-banner-track {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Vibrant In Focus Container */
.combined-info-row .infocus-container {
  background: #ffffff !important;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  border: 2px solid #e1e1e1;
  position: relative;
  overflow: visible;
  /* Allow badge to overlap */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: containerPulse 4s ease-in-out infinite;
  /* padding-bottom: 50px; */
  /* Space for button */
  /* padding-top: 25px; */
}

@keyframes containerPulse {

  0%,
  100% {
    border-color: #e1e1e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  50% {
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow:
      0 4px 15px rgba(0, 0, 0, 0.08),
      0 0 20px rgba(255, 102, 0, 0.2);
  }
}

.combined-info-row .infocus-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Badge Style */
.infocus-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff9933;
  /* Theme Orange */
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 8px 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border-bottom: 2px solid #e68a00;
  white-space: nowrap;
  overflow: visible;
}

/* Animated loader border effect - ONLY around the orange badge */
.infocus-badge::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: conic-gradient(from 0deg,
      transparent 0%,
      transparent 70%,
      rgba(255, 255, 255, 0.9) 80%,
      rgba(255, 255, 255, 1) 85%,
      rgba(255, 255, 255, 0.9) 90%,
      transparent 100%);
  z-index: -1;
  animation: rotateBorder 2s linear infinite;
  border-radius: 2px;
}

/* Keyframes for rotating the white border */
@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.infocus-badge:hover::before {
  animation-duration: 1.5s;
}

/* Section Title */
.infocus-section-title {
  color: #003366;
  /* Dark Navy Blue */
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 10px;
}

/* Map Wrapper */
.infocus-map-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

/* Learn More Button */
.infocus-btn {
  position: absolute;
  bottom: 15px;
  right: 20px;
  background-color: #0088cc;
  color: #fff;
  text-decoration: none;
  padding: 6px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.infocus-btn:hover {
  background-color: #006699;
  color: #fff;
  text-decoration: none;
}

/* Moving border effect for In Focus label - REMOVED as requested for clean UI */
/* .combined-info-row .infocus-container .infocus-title::after { ... } */


.about-cbc-column {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.pm-modi-column {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
}

.modi-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.modi-content-wrapper {
  border-radius: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.modi-content-wrapper .modi-section {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-start;
}

.modi-content-wrapper .modi-image-wrapper {
  margin: 0;
  padding: 0;
  width: 100%;
  flex-shrink: 0;
}

.modi-message-section {
  margin-top: auto;
  padding: 15px;
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.modi-message-text {
  font-style: italic;
  font-size: 1.1rem;
  color: #ffffff !important;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.modi-message-section .modi-message-text {
  color: #004b88 !important;
  line-height: 1.5;
  font-weight: 500;
}

.modi-message-attribution {
  font-weight: bold !important;
  margin-top: 8px;
  color: #004b88 !important;
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: right !important;
}

/* Override for mission-karmayogi-section-alt to fit in the new layout */
.mission-karmayogi-section-alt {
  height: 100%;
  justify-content: center;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mission-karmayogi-section-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.mission-intro-text {
  font-size: 1.3rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  width: 100%;
  margin-bottom: 30px;
}

.about-feature {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #ffaf03;
}

.feature-icon {
  font-size: 2.5rem;
  color: #ffaf03;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.6;
}

.mission-title {
  font-size: 1.5rem;
  /* Reduced from 1.8rem */
  font-weight: 700;
  margin-bottom: 15px;
  color: #004b88;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 15px;
  gap: 5px;
  justify-content: center;
}

/* Blue underline line (longer) */
.mission-title::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #004b88;
  border-radius: 0;
}

.mission-title i {
  margin-right: 15px;
  color: #005ea6;
}

.mission-title .accent-text {
  color: #004b88;
  white-space: nowrap;
}

.mission-message-bubble {
  background: #022a53;
  color: #fff;
  padding: 25px 20px 25px 35px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.4s ease;
  border: none;
  height: 100%;
  flex-grow: 1;
  /* margin-bottom: 20px; */
}

.mission-message-bubble::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #00bfff 0%, #ff8c00 100%);
  border-radius: 16px 0 0 16px;
}

/* .mission-message-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #022a53;
} */

.mission-message-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #343a40;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #007bff;
  border-radius: 2px;
}

.mission-title i {
  margin-right: 15px;
  color: #005ea6;
}

.mission-title .accent-text {
  color: #005ea6;
  white-space: nowrap;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #004b88, #ffb705);
  border-radius: 2px;
}

.mission-message-bubble .mission-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  padding: 0 35px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.mission-message-bubble .mission-text::before {
  content: '"';
  position: absolute;
  left: 4px;
  top: -12px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(-5deg);
  font-style: italic;
}

.mission-message-bubble .mission-text::after {
  content: '"';
  position: absolute;
  right: 4px;
  bottom: -25px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(5deg);
  font-style: italic;
}

.mission-message-bubble .mission-text::first-letter {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-right: 2px;
}

.mission-btn {
  margin-top: 30px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #005ea6;
  border-color: #005ea6;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #ffffff;
}

.mission-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #0056b3;
  transition: width 0.3s ease;
  z-index: -1;
}

.mission-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.mission-btn::after {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease, transform 0.3s ease;
}

.mission-btn:hover::after {
  transform: translateY(-50%) translateX(5px);
}

/*-------------------------------- Modi Section -------------------------------------------*/
.modi-section {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  border-radius: 0;
  overflow: visible;
  transition: all 0.4s ease;
}

.modi-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow:
    0 12px 45px rgba(0, 99, 174, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 520px;
  width: 100%;
  flex-shrink: 0;
  display: block;
}

.modi-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 55px rgba(0, 99, 174, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.08);
}

.modi-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  transition: transform 0.6s ease;
}

.modi-image-wrapper:hover .modi-image {
  transform: scale(1.03);
}

.modi-overlay-content {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  z-index: 10;
  pointer-events: none;
  transition: all 0.4s ease;
}

.modi-image-wrapper:hover .modi-overlay-content {
  transform: translateY(-5px);
}

.modi-message-icon {
  position: absolute;
  bottom: 100%;
  right: 20px;
  font-size: 1.6rem;
  transform: scaleX(-1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  margin-bottom: -4px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: scaleX(-1) translateY(0);
  }

  50% {
    transform: scaleX(-1) translateY(-5px);
  }
}

.modi-message-bubble {
  background: linear-gradient(145deg, rgba(0, 35, 77, 0.96) 0%, rgba(0, 55, 110, 0.94) 100%);
  color: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modi-message-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 45px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid rgba(0, 35, 77, 0.96);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.modi-message-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0099ff 0%, #00ccff 50%, #ff6600 100%);
  border-radius: 20px 0 0 20px;
  box-shadow: 0 0 12px rgba(0, 153, 255, 0.5);
}

.modi-message-bubble p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  padding: 0 35px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.modi-message-bubble p::before {
  content: '"';
  position: absolute;
  left: 4px;
  top: -12px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(-5deg);
  font-style: italic;
}

.modi-message-bubble p::after {
  content: '"';
  position: absolute;
  right: 4px;
  bottom: -25px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(5deg);
  font-style: italic;
}

/* Map Dots Animation */
.map-dot {
  position: absolute;
  background-color: #ff9933;
  /* Theme Orange */
  border-radius: 50%;
  opacity: 0.9;
  box-shadow: 0 0 4px rgba(255, 153, 51, 0.8);
  animation: islandPulse 2s infinite ease-in-out;
}

@keyframes islandPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 153, 51, 1);
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

.modi-message-bubble p::first-letter {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-right: 2px;
}

@media (max-width: 992px) {
  .carousel {
    height: 70vh;
  }

  #bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-pm-section {
    flex-direction: column;
    padding: 4rem 4%;
    gap: 2rem;
  }

  .about-cbc-column,
  .pm-modi-column {
    flex: 1 1 100%;
    width: 100%;
  }

  .combined-info-row {
    padding: 4rem 4%;
  }

  .combined-info-row .row {
    flex-direction: column;
    align-items: stretch;
  }

  .combined-info-row .col-lg-4,
  .combined-info-row .col-lg-5,
  .combined-info-row .col-lg-3 {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .mission-modi-section {
    flex-direction: column;
    padding: 30px 5% !important;
    gap: 25px;
  }

  .sec-duplicated-section {
    padding: 30px 5% !important;
  }

  .whts-section {
    padding: 35px 5%;
  }

  .whts-sec {
    padding: 35px 5%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 5% 1rem;
  }

  .collab-header-content {
    padding: 20px 4%;
  }

  .collab-header-content h2 {
    font-size: 1.1rem !important;
    /* Reduced from 1.3rem */
  }

  .collab-footer {
    padding: 0rem 5% 3rem;
  }

  .leadership-section {
    padding: 2.5rem 5%;
  }

  .cbc-blog-carousel {
    padding: 2rem 5%;
  }

  .events-section {
    padding: 2rem 5%;
  }

  .social-section {
    padding: 1.5rem 0;
  }

  .gallery-link-card {
    padding: 20px;
  }

  .gallery-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .gallery-icon i {
    font-size: 1.5rem;
  }

  .gallery-card-content h3 {
    font-size: 1.25rem;
  }

  .gallery-card-content p {
    font-size: 1rem;
    /* Increased from 0.9rem for better readability */
  }

  .partners-section {
    padding: 35px 5%;
  }

  .mission-karmayogi-section,
  .mission-karmayogi-section-alt,
  .modi-section,
  .jitender-section {
    flex: 0 0 100%;
    width: 100%;
  }

  .mission-content {
    padding: 18px 18px;
    min-height: 240px;
  }

  .mission-message-bubble {
    padding: 12px 16px;
  }

  .mission-message-bubble::before {
    left: 40px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .mission-message-bubble .mission-text {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0 30px;
  }

  .mission-message-bubble .mission-text::before {
    font-size: 3.5rem;
    left: 4px;
    top: -10px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::after {
    font-size: 3.5rem;
    right: 4px;
    bottom: -22px;
    opacity: 0.7;
  }

  .mission-title {
    font-size: 1.8rem;
  }

  .modi-image {
    min-height: 280px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modi-overlay-content {
    bottom: 18px;
    right: 18px;
    left: 18px;
  }

  .jitender-overlay-content {
    bottom: 18px;
    right: 18px;
    left: 18px;
  }




  .jitender-name-badge {
    padding: 12px 16px;
  }

  .jitender-name-badge p {
    font-size: 1.05rem;
  }

  .jitender-image-wrapper {
    height: 300px;
  }

  .jitender-message-section {
    padding: 16px;
  }

  .jitender-message-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .modi-message-icon {
    right: 18px;
    font-size: 1.5rem;
    margin-bottom: -3px;
  }

  .modi-message-bubble {
    padding: 12px 16px;
  }

  .modi-message-bubble::before {
    right: 40px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .modi-message-bubble p {
    font-size: 1.05rem;
    line-height: 1.55;
    padding: 0 30px;
  }

  .modi-message-bubble p::before {
    font-size: 3.5rem;
    left: 4px;
    top: -10px;
    opacity: 0.7;
  }

  .modi-message-bubble p::after {
    font-size: 3.5rem;
    right: 4px;
    bottom: -22px;
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .carousel {
    height: 50vh;
  }

  #bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .about-pm-section {
    flex-direction: column;
    padding: 3rem 3%;
    gap: 1.5rem;
  }

  .combined-info-row {
    padding: 3rem 3%;
  }

  .combined-info-row .col-lg-4,
  .combined-info-row .col-lg-5,
  .combined-info-row .col-lg-3 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .whts-box {
    margin-bottom: 1.5rem;
  }

  .infocus-container {
    margin-bottom: 1.5rem;
  }

  .mission-modi-section {
    padding: 25px 4% !important;
    gap: 15px;
  }

  .sec-duplicated-section {
    padding: 25px 4% !important;
  }

  .whts-section {
    padding: 30px 4%;
  }

  .whts-sec {
    padding: 30px 4%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 3%;
  }

  .collab-header-content {
    padding: 1.2rem 3%;
  }

  .collab-header-content h2 {
    font-size: 1.2rem;
  }

  .collab-footer {
    padding: 1rem 3%;
  }

  .leadership-section {
    padding: 2rem 4%;
  }

  .leadership-members-row {
    display: flex;
    flex-direction: column;
  }

  .leadership-members-row>div:nth-child(2) {
    order: -1;
  }

  .cbc-blog-carousel {
    padding: 2rem 4%;
  }

  .events-section {
    padding: 2.5rem 3%;
  }

  .social-section {
    padding: 30px 0;
  }

  .gallery-link-card {
    padding: 20px 15px;
  }

  .gallery-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
  }

  .gallery-icon i {
    font-size: 1.4rem;
  }

  .gallery-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .gallery-card-content p {
    font-size: 1.05rem;
    /* Increased for better readability */
    margin-bottom: 15px;
  }

  .partners-section {
    padding: 30px 4%;
  }

  .stats-section {
    padding: 30px 15px;
  }

  .mission-content {
    padding: 16px 18px;
    min-height: 220px;
  }

  .mission-message-bubble {
    padding: 12px 14px;
  }

  .mission-message-bubble::before {
    left: 38px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .mission-message-bubble .mission-text {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 28px;
  }

  .mission-message-bubble .mission-text::before {
    font-size: 3rem;
    left: 3px;
    top: -8px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::after {
    font-size: 3rem;
    right: 3px;
    bottom: -20px;
    opacity: 0.7;
  }

  .mission-title {
    font-size: 1.7rem;
  }

  .mission-title::after {
    width: 60px;
    height: 3px;
  }

  .mission-btn {
    padding: 7px 20px;
    font-size: 0.85rem;
  }

  .modi-image {
    min-height: 260px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modi-overlay-content {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }

  .jitender-overlay-content {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }

  .jitender-name-badge {
    padding: 12px 14px;
  }

  .jitender-name-badge p {
    font-size: 1rem;
  }

  .modi-message-icon {
    right: 15px;
    font-size: 1.4rem;
    margin-bottom: -3px;
  }

  .modi-message-bubble {
    padding: 12px 14px;
  }

  .modi-message-bubble::before {
    right: 38px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .modi-message-bubble p {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0 28px;
  }

  .modi-message-bubble p::before {
    font-size: 3rem;
    left: 3px;
    top: -8px;
    opacity: 0.7;
  }

  .modi-message-bubble p::after {
    font-size: 3rem;
    right: 3px;
    bottom: -20px;
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .carousel {
    height: 40vh;
  }

  #bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .about-pm-section {
    padding: 2rem 2%;
    gap: 1rem;
  }

  .combined-info-row {
    padding: 2rem 2%;
  }

  .combined-info-row .col-lg-4,
  .combined-info-row .col-lg-5,
  .combined-info-row .col-lg-3 {
    width: 100%;
    margin-bottom: 1rem;
  }

  .mission-modi-section {
    padding: 18px 3%;
    gap: 15px;
  }

  .mission-content {
    padding: 15px 14px;
    min-height: 220px;
  }

  .mission-message-bubble {
    padding: 8px 10px;
  }

  .mission-message-bubble::before {
    left: 35px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 8px;
    bottom: -6px;
  }

  .mission-message-bubble .mission-text {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0 24px;
  }

  .mission-message-bubble .mission-text::before {
    font-size: 2.5rem;
    left: 3px;
    top: -6px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::after {
    font-size: 2.5rem;
    right: 3px;
    bottom: -18px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::first-letter {
    font-size: 1.2em;
  }

  .mission-title {
    font-size: 1.6rem;
  }

  .mission-btn {
    padding: 6px 18px;
    font-size: 0.8rem;
  }

  .modi-image {
    min-height: 240px;
  }

  .modi-overlay-content {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }

  .modi-message-icon {
    right: 12px;
    font-size: 1.2rem;
    margin-bottom: -2px;
  }

  .modi-message-bubble {
    padding: 8px 10px;
  }

  .modi-message-bubble::before {
    right: 35px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 8px;
    bottom: -6px;
  }

  .modi-message-bubble p {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0 24px;
  }

  .modi-message-bubble p::before {
    font-size: 2.5rem;
    left: 3px;
    top: -6px;
    opacity: 0.7;
  }

  .modi-message-bubble p::after {
    font-size: 2.5rem;
    right: 3px;
    bottom: -18px;
    opacity: 0.7;
  }

  .modi-message-bubble p::first-letter {
    font-size: 1.2em;
  }
}

.whats-img {
  width: 100%;
  max-width: 300px;
  /* or whatever fits your layout */
  overflow: hidden;
  border-radius: 12px;
}

.whats-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.whts-sec {
  background: #ffffff;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 20px 5%;
  gap: 15px;
  transition: all 0.3s ease-in-out;
  margin-top: 0;
}

.whts-sec .row {
  display: flex;
  align-items: stretch;
}

.whts-sec .col-lg-6 {
  display: flex;
  flex-direction: column;
}

.whts-section {
  background: #005ea5;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 20px 5%;
  gap: 15px;
  transition: all 0.3s ease-in-out;
  margin-top: 0;
}

.whts-section .row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.whts-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Left side content box */
.whts-box {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.whts-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

/* Right side image box */
.whats-img {
  flex: 1 1 35%;
  background: linear-gradient(135deg, #007bff20, #ffa50020);
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0, 99, 174, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
  transition: all 0.3s ease-in-out;
}

.whats-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.whats-img:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Subtle animated gradient border */
.whats-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(120deg, #007bff, #ffa500, #00b4d8);
  background-size: 300% 300%;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/*------------------------------------------------ media corner section -------------------------------*/






/* ------------------------- RESPONSIVE DESIGN ------------------------- */

/* Tablet (up to 992px) */
@media (max-width: 992px) {
  .whts-sec {
    flex-direction: column;
    align-items: center;
    padding: 30px 5%;
  }

  .whts-box {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px 15px;
  }
}

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .whts-sec {
    padding: 25px 4%;
    gap: 15px;
  }

  .whts-box {
    text-align: center;
    padding: 25px 15px;
  }

  .whts-box h2 {
    font-size: 1.2rem !important;
    /* Reduced from 1.6rem */
  }

  .whts-box p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* --- Collaboration Section --- */
.collab-section {
  background: linear-gradient(180deg, #e7f5ff 0%, rgba(231, 245, 255, 0.95) 15%, rgba(240, 248, 255, 0.85) 30%, rgba(245, 250, 255, 0.7) 45%, rgba(248, 252, 255, 0.5) 60%, rgba(250, 253, 255, 0.3) 75%, rgba(252, 254, 255, 0.15) 85%, #ffffff 100%);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  border-top: 1px solid #e9ecef;
  /* border-bottom: 1px solid #e9ecef; */
}

/* Full width header with background color */
.collab-header-full {
  width: 100%;
  background: #005ea6;
  padding: 12px 0;
  margin: 0;
}

.information-corner-header {
  width: 100%;
  background: #005ea6;
  padding: 20px 0;
  margin: 0;
  /* margin-bottom: 2rem; */
}

.information-corner-title h2 {
  font-size: 1.2rem !important;
  /* Reduced from 1.5rem */
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  text-align: center;
}

.collab-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
}

.collab-header-content h2 {
  font-size: 1.2rem !important;
  /* Reduced from 1.5rem */
  font-weight: 700;
  color: #004b88;
  margin: 0;
  letter-spacing: 0.5px;
}

.collab-content-wrapper {
  padding: 2.5rem 5%;
  position: relative;
  background: #ffe7b3;
}

.collab-footer {
  padding: 0px 5% 20px;
  text-align: right;
  /* border-top: 1px solid #e9ecef; */
  background: #ffe7b3;
}

.collab-footer .view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0063ae 0%, #0099ff 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.collab-footer .view-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 99, 174, 0.3);
  background: linear-gradient(135deg, #005fa3 0%, #0088e6 100%);
  color: #fff;
  text-decoration: none;
}

.collab-footer .view-more i {
  transition: transform 0.3s ease;
}

.collab-footer .view-more:hover i {
  transform: translateX(5px);
}

/* .view-more styles moved to .collab-footer .view-more above */

.collab-carousel {
  overflow: hidden;
  position: relative;
}

.collab-track {
  display: flex;
  gap: 18px;
  transition: transform 1s ease-in-out;
  align-items: stretch;
}

.collab-box {
  flex: 0 0 calc(33.333% - 20px);
  background: #ffffff;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  max-height: 400px;
  cursor: pointer;
}

.collab-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

.collab-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

.collab-box h3 {
  font-size: 1rem !important;
  /* Reduced from 16px */
  font-weight: 600;
  color: #0063ae;
  margin-bottom: 4px;
  margin-top: 0;
  padding: 12px 16px 0;
  line-height: 1.35;
  display: block;
  overflow: visible;
  text-overflow: initial;
  white-space: normal;
  min-height: auto;
}

.collab-box p {
  font-size: 13px;
  color: #555;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
  line-height: 1.5;
  padding: 0 14px 14px;
  margin-top: 0;
  flex: 1;
}

/*------------------------------ collab-section --------------------------------*/
.Our-Collaboration {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #f2f6fc 0%, rgba(242, 246, 252, 0.95) 20%, rgba(248, 250, 255, 0.9) 40%, rgba(250, 252, 255, 0.8) 60%, rgba(252, 253, 255, 0.6) 80%, #ffffff 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 35px 5%;
  /* gap: 25px; */
}

.collab-carousel {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
}

.collab-track {
  display: flex;
  gap: 15px;
  transition: transform 0.8s ease-in-out;
  align-items: stretch;
}

.collab-box {
  flex: 0 0 calc(33.333% - 20px);
  background: linear-gradient(135deg, #ffffff, #ffffff);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  cursor: pointer;
}

.collab-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.collab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0063ae;
  color: #fff;
  border: none;
  padding: 3px 12px;
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 99, 174, 0.2);
}

.collab-arrow:hover {
  background: #003b73;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.3);
}

.collab-arrow.left {
  left: 10px;
}

.collab-arrow.right {
  right: 10px;
}

@media (max-width: 992px) {
  .collab-box {
    flex: 0 0 80%;
  }
}

.news-section {
  background: #ffffff;
  border-radius: 12px;
  color: #000;
  /* padding: 15px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #004489;
  border-radius: 20px;
  height: 100%;
  min-height: 410px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 10px 16px;
  background: #004b88;
  border-radius: 0;
}

.news-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-header h2 {
  font-size: 1.3rem !important;
  /* Reduced from 1.8rem */
  font-weight: 600;
  background: linear-gradient(135deg, #004d99 0%, #0073cf 50%, #0099ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
}

.title-underline {
  display: none;
}

.toggle-slide {
  background: linear-gradient(135deg, #0073cf 0%, #0099ff 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 115, 207, 0.3);
}

.toggle-slide:hover {
  background: linear-gradient(135deg, #005fa3 0%, #0073cf 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 115, 207, 0.4);
}

.toggle-slide i {
  font-size: 14px;
}

.news-wrapper {
  overflow: hidden;
  position: relative;
  padding: 10px 15px;
  margin: 0;
  /* height: 280px; */
  /* max-height: 400px; */
}

/* Top and bottom decorative strips */
.news-wrapper::before,
.news-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
}

.news-wrapper::before {
  top: 0;
  background: linear-gradient(90deg, #f5f3e7, #f0ede0);
}

.news-wrapper::after {
  bottom: 0;
  background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
}

.news-banner-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollBannersVertical 20s linear infinite;
  padding: 0;
  transform: translateY(0);
}

.news-banner-track.paused {
  animation-play-state: paused;
}

.news-banner {
  width: 100%;
  min-height: 90px;
  background: #fdf3de;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  border-left: 4px solid #0063ae;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.news-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.news-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.15);
  border-color: #0063ae;
  border-left-color: #ffa500;
  background: #f8f9fa;
}

.news-banner:hover::before {
  left: 100%;
}

/* NEW Badge */
.new-badge {
  position: relative;
  flex-shrink: 0;
  background: #2477cf;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  z-index: 2;
}

.badge-text {
  position: relative;
  z-index: 3;
}

.badge-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Play Button */
.news-play-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.news-play-btn i {
  font-size: 16px;
  margin-left: 1px;
}

.news-play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.news-play-btn:active {
  transform: scale(0.95);
}

/* Banner Content */
.news-banner-content {
  flex: 1;
  min-width: 0;
}

.news-banner-content p {
  color: #333333;
  font-size: 0.95rem;
  /* Increased from 1.05rem for better readability */
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.news-footer {
  text-align: end;
  /* margin-top: 20px;
  padding-top: 10px;
  border-top: 2px solid #f0f4f8; */
}

.view-all {
  font-size: 1rem;
  font-weight: 600;
  color: #0073cf;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all:hover {
  color: #005fa3;
  gap: 12px;
}

.view-all i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.view-all:hover i {
  transform: translateX(4px);
}

@keyframes scrollBannersVertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Responsive Styles for News Section */
@media (max-width: 992px) {
  .collab-section {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 20px;
    position: relative;
    flex: 0 0 100%;
    background: rgb(255, 255, 255);
    border-radius: 15px;
    padding: 20px;
    overflow: hidden;
  }

  .news-section {
    flex: 0 0 100%;
    background: #ffffff;
    border-radius: 15px;
    color: #000;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    overflow: hidden;
    position: relative;
    padding: 15px;
  }

  .news-wrapper {
    height: 160px;
    max-height: 160px;
  }

  .news-header h2 {
    font-size: 1.75rem;
  }

  .news-banner {
    width: 100%;
    min-height: 85px;
    padding: 18px 25px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 1rem for better readability */
  }

  .new-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .news-play-btn {
    width: 40px;
    height: 40px;
  }

  .news-play-btn i {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 20px 15px;
  }

  .news-wrapper {
    height: 150px;
    max-height: 150px;
  }

  .news-header {
    margin-bottom: 1px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .news-header h2 {
    font-size: 1.6rem;
  }

  .news-banner {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    gap: 15px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.95rem for better readability */
    line-height: 1.5;
  }

  .new-badge {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .news-play-btn {
    width: 36px;
    height: 36px;
  }

  .toggle-slide {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 18px 12px;
  }

  .news-wrapper {
    height: 140px;
    max-height: 140px;
  }

  .news-header h2 {
    font-size: 1.4rem;
  }

  .news-banner {
    width: 100%;
    min-height: 75px;
    padding: 12px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .news-banner-content {
    width: 100%;
    margin-top: 5px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.9rem for better readability */
    line-height: 1.4;
  }

  .new-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .news-play-btn {
    width: 32px;
    height: 32px;
  }

  .news-play-btn i {
    font-size: 12px;
  }

  .news-footer {
    margin-top: 20px;
    padding-top: 10px;
  }
}

.news-title-wrapper {
  text-align: left;
}

.wave-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #005ea6;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: blink 1.5s infinite;
}

.whats-new-gif {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.blink-dot {
  height: 10px;
  width: 10px;
  background-color: #ff4136;
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  animation: blink 1.2s infinite;
}

.news-title-wrapper {
  /* margin-bottom: 20px; */
}

.title-underline {
  display: none;
}

/* ----------------------------------------media corner ------------------------------------------------ */
/* 📺 MEDIA CORNER SECTION */
.media-corner-section {
  background: #ffffff;
  border-radius: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-corner-section .section-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 8px;
}

/* Section Header Styles - Rectangular Professional Design */
.section-header {
  padding: 10px 16px;
  margin: 0;
  border-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
}

.section-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-align: left;
  flex: 1;
}

.section-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social Media Header - Professional Blue */
.social-header {
  background: #1976D2;
}

/* Media Corner Header - Professional Darker Blue */
.media-header-bg {
  background: #004b88;
}

/* Newsletters Header - Professional Green */
.newsletters-header-bg {
  background: #004b88;
}

.section-body {
  background: #ffffff;
  flex: 1;
  padding: 8px;
}

.media-header .wave-text span {
  display: inline-block;
  animation: wave 1.5s ease-in-out infinite;
}

.media-header .wave-text span:nth-child(odd) {
  animation-delay: 0.1s;
}

.media-header .wave-text span:nth-child(even) {
  animation-delay: 0.25s;
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* 🔹 Underline */
.title-underline {
  width: 60px;
  height: 3px;
  background: #ffb400;
  border-radius: 3px;
  margin-top: 3px;
}

/* ⏯️ Play/Pause Button */
.toggle-slide {
  background: transparent;
  border: none;
  color: #014b85;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.toggle-slide:hover {
  color: #ffb400;
}


.media-corner-box {
  height: 270px;
  position: relative;
  overflow: hidden;
}

.media-track {
  display: flex;
  flex-direction: column;
  animation: continuousSlideUp 40s linear infinite;
}

.media-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 4px;
  border: 1px solid #dee2e6;
  margin: 1px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.media-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.media-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #0063ae;
}

.media-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

.media-item p {
  margin-top: 3px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  padding: 0 2px;
  line-height: 1.3;
}

/* Smooth infinite loop animation */
@keyframes continuousSlideUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* 🔗 Footer Link */
.media-footer {
  border-top: 1px solid #e9ecef;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.media-footer .view-all {
  font-size: 0.85rem;
  color: #014b85;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s;
}

.media-footer .view-all:hover {
  color: #ffb400;
}

@media (max-width: 992px) {
  .media-corner-section {
    margin-top: 15px;
  }
}

/* ---------------------------------------- Newsletters Section ------------------------------------------------ */
.newsletters-section {
  background: #ffffff;
  border-radius: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.newsletters-section .section-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 8px;
}

.newsletters-box {
  height: 270px;
  position: relative;
  overflow: hidden;
}

.newsletters-track {
  display: flex;
  flex-direction: column;
  animation: continuousSlideUp 20s linear infinite;
}

.newsletters-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 4px;
  border: 1px solid #dee2e6;
  margin: 1px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.newsletters-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.newsletters-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #0063ae;
}

.newsletters-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0063ae, #0099ff);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 99, 174, 0.3);
  transition: transform 0.3s;
}

.newsletters-item:hover .newsletters-icon {
  transform: scale(1.1) rotate(5deg);
}

.newsletters-item p {
  margin: 3px 0 0 0;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  line-height: 1.3;
  padding: 0 2px;
}

.newsletters-footer {
  border-top: 1px solid #e9ecef;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.newsletters-footer .view-all {
  font-size: 0.85rem;
  color: #014b85;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s;
}

.newsletters-footer .view-all:hover {
  color: #ffb400;
}

@media (max-width: 992px) {
  .newsletters-section {
    margin-top: 15px;
  }

  .whts-sec .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ----------------------------------------- end whats new section ------------------------------------------*/

/* ----------------------------------------Infocuse. section. -------------------------------------------- */

.infocus-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #f8f9fa 0%, rgba(248, 249, 250, 0.95) 20%, rgba(250, 251, 252, 0.9) 40%, rgba(252, 253, 254, 0.8) 60%, rgba(253, 254, 255, 0.6) 80%, #ffffff 100%);
  color: #333;
  overflow: hidden;
  padding: 35px 5%;
}

.infocus-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 3px solid #005fa8;
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  width: 100%;
}

.infocus-container.animate-in {
  opacity: 1;
}

.infocus-section:hover .infocus-container {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.infocus-title-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  opacity: 1;
  transform: translateX(0);
  transition: none;
  margin-bottom: 0;
  width: 100%;
  justify-content: center;
  padding: 5px 16px;
  background: transparent;
  border-radius: 0;
  position: relative;
  overflow: visible;
}



/* Keyframes for each border animation */
@keyframes borderTop {

  0%,
  100% {
    left: 0;
    width: 0;
  }

  25% {
    left: 0;
    width: 100%;
  }

  26%,
  100% {
    left: 100%;
    width: 0;
  }
}

@keyframes borderRight {

  0%,
  100% {
    top: 0;
    height: 0;
  }

  25% {
    top: 0;
    height: 100%;
  }

  26%,
  100% {
    top: 100%;
    height: 0;
  }
}

@keyframes borderBottom {

  0%,
  100% {
    right: 0;
    width: 0;
  }

  25% {
    right: 0;
    width: 100%;
  }

  26%,
  100% {
    right: 100%;
    width: 0;
  }
}

@keyframes borderLeft {

  0%,
  100% {
    bottom: 0;
    height: 0;
  }

  25% {
    bottom: 0;
    height: 100%;
  }

  26%,
  100% {
    bottom: 100%;
    height: 0;
  }
}

.infocus-container.animate-in .infocus-title-wrapper {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0;
}

.focus-circle-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  opacity: 1;
  transform: none;
  overflow: visible;
}

.infocus-container.animate-in .focus-circle-frame {
  opacity: 1;
}

/* Rotating Gradient Ring for In Focus Circle */
.infocus-title-wrapper .circle-animation {
  display: none;
}

/* Inner white circle for text visibility */
.inner-white-circle {
  display: none;
}

@keyframes pulseCircle {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Enhanced glow around In Focus circle */
.infocus-title-wrapper .circle-glow {
  display: none;
}

.infocus-content {
  flex: 1 1 auto;
  padding: 12px 15px;
  opacity: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: auto;
}

h2.infocus-heading {
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
  margin-bottom: 5px;
  margin-top: 0;
  text-align: center;
  width: 100%;
}

.infocus-title-wrapper .infocus-title {
  font-size: 2.5rem;
  font-family: 'Arial Black', 'Arial Bold', 'Helvetica Bold', 'Impact', 'Franklin Gothic Bold', 'Trebuchet MS', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: none;
  font-weight: 900;
  margin: 0;
  position: relative;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  padding: 4px 8px;
  opacity: 1;
  transform: scale(1);
  mix-blend-mode: normal;
  max-width: 350px;
  overflow: visible;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 50%, #ff6600 100%);
  background-size: 200% 200%;
  gap: 12px;
  animation: floatBadge 3s ease-in-out infinite, gradientShift 4s ease infinite;
  box-shadow:
    0 0 20px rgba(255, 102, 0, 0.6),
    0 0 40px rgba(255, 102, 0, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3);
}

.infocus-title::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 4px solid #ffffff;
  animation: dramaticBorder 2s ease-in-out infinite;
  z-index: 25;
  pointer-events: none;
  box-sizing: border-box;
}

@keyframes dramaticBorder {

  0%,
  100% {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
      inset 0 0 8px rgba(255, 255, 255, 0.4),
      0 0 8px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }

  50% {
    border-width: 5px;
    border-color: rgba(255, 255, 255, 1);
    box-shadow:
      inset 0 0 25px rgba(255, 255, 255, 1),
      0 0 25px rgba(255, 255, 255, 1),
      0 0 40px rgba(255, 255, 255, 0.6);
    transform: scale(0.97);
  }
}

/* Floating animation for the badge */
@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Gradient shift animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Shimmer effect overlay */
.infocus-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%);
  animation: shimmerSlide 3s ease-in-out infinite;
  z-index: 30;
  pointer-events: none;
}

@keyframes shimmerSlide {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}


.infocus-title .blink-dot {
  display: none !important;
}

.typing-text {
  display: inline-block;
  overflow: visible;
  white-space: nowrap;
  width: auto;
  font-size: 3.5rem;
  position: relative;
  z-index: 16;
  vertical-align: middle;
  line-height: 1.2;
  text-shadow: none;
}

.in-text {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

.in-text span {
  display: inline-block;
  background: repeating-linear-gradient(90deg,
      #0063ae 0%,
      #0063ae 8%,
      #0099ff 12%,
      #0099ff 20%,
      #ffa500 28%,
      #ffa500 36%,
      #ff6600 44%,
      #ff6600 52%,
      #ffa500 60%,
      #ffa500 68%,
      #0099ff 76%,
      #0099ff 84%,
      #0063ae 92%,
      #0063ae 100%);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flagWave 5s linear infinite;
  will-change: background-position;
  vertical-align: middle;
}

/* Animation delays removed - only color gradient animation remains */

.focus-text {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

.focus-text span {
  display: inline-block;
  background: repeating-linear-gradient(90deg,
      #0063ae 0%,
      #0063ae 8%,
      #0099ff 12%,
      #0099ff 20%,
      #ffa500 28%,
      #ffa500 36%,
      #ff6600 44%,
      #ff6600 52%,
      #ffa500 60%,
      #ffa500 68%,
      #0099ff 76%,
      #0099ff 84%,
      #0063ae 92%,
      #0063ae 100%);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flagWave 5s linear infinite;
  will-change: background-position;
  vertical-align: middle;
}

/* Animation delays removed - only color gradient animation remains */

.typing-cursor {
  display: none;
}

@keyframes flagWave {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}

@keyframes blink-cursor {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.infocus-container.animate-in .infocus-title {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0;
}

.infocus-title {
  opacity: 1;
  transform: scale(1);
  animation: none;
}

.infocus-title-wrapper .infocus-title::before {
  display: none;
}


@keyframes lightMovement {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  25% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.2);
  }

  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.35);
  }

  75% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.2);
  }
}


.infocus-heading {
  font-size: 0.95rem;
  color: #002b5b;
  margin: 10px 0;
  line-height: 1.3;
  text-align: center;
  align-self: center;
  width: 100%;
  font-weight: 800;
}

.infocus-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  align-self: flex-start;
  width: 100%;
  font-family: 'Nunito', sans-serif;
}

.infocus-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0073cf, #0099ff);
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 115, 207, 0.2);
  position: relative;
  overflow: hidden;
  align-self: flex-end;
}

.infocus-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.infocus-btn:hover {
  background: linear-gradient(135deg, #005fa3, #0073cf);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 115, 207, 0.3);
}

.infocus-btn:hover::before {
  width: 300px;
  height: 300px;
}

.infocus-image {
  flex: 0 0 30%;
}

.infocus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Alternate minimalist version */
.infocus-section.alt {
  background: linear-gradient(180deg, #f8fafc 0%, rgba(248, 250, 252, 0.95) 20%, rgba(250, 252, 254, 0.9) 40%, rgba(252, 253, 255, 0.8) 60%, rgba(253, 254, 255, 0.6) 80%, #ffffff 100%);
}

.infocus-section.alt .infocus-container {
  background: linear-gradient(145deg, #ffffff, #f0f6ff);
}

.focus-icon-frame {
  position: relative;
  width: 315px;
  height: 315px;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.focus-icon-frame.animate-in {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.5s;
}

/* Image */
.focus-icon-frame img {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow:
    0 0 25px rgba(0, 99, 174, 0.25),
    0 0 35px rgba(255, 165, 0, 0.25);
  transition: transform 0.6s ease;
}

.focus-icon-frame:hover img {
  transform: scale(1.05);
}

/* Rotating Gradient Ring */
.circle-animation {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg,
      #0063ae 0deg,
      #0099ff 90deg,
      #ffa500 180deg,
      #ff6600 270deg,
      #0063ae 360deg);
  z-index: 1;
  mask: radial-gradient(circle 70% at center, transparent 69%, black 70%);
  -webkit-mask: radial-gradient(circle 70% at center, transparent 69%, black 70%);
  animation: rotateRing 8s linear infinite;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}

.focus-icon-frame.animate-in .circle-animation {
  opacity: 1;
}

/* Smooth clockwise rotation */
@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Enhanced glow around ring */
.circle-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 165, 0, 0.3),
      rgba(0, 153, 255, 0.3),
      rgba(255, 102, 0, 0.2),
      transparent 70%);
  filter: blur(20px);
  opacity: 0;
  z-index: 0;
  animation: glowPulseRing 3s ease-in-out infinite;
  transition: opacity 0.8s ease 0.7s;
}

.focus-icon-frame.animate-in .circle-glow {
  opacity: 0.7;
}

@keyframes glowPulseRing {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}



@media (max-width: 768px) {
  .infocus-title-wrapper {
    flex: 0 0 100%;
    padding: 20px 15px 12px;
    min-width: unset;
  }

  .focus-circle-frame {
    width: 220px;
    height: 220px;
  }

  .inner-white-circle {
    width: 165px;
    height: 165px;
  }

  .infocus-title-wrapper .infocus-title {
    font-size: 2.5rem;
  }

  .typing-text {
    font-size: 2.5rem;
  }

  .in-text {
    font-size: 2.5rem;
    font-family: 'Momo Trust Display', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
  }

  .in-text span {
    font-size: 2.5rem;
  }

  .focus-text {
    font-size: 2.5rem;
    font-family: 'Momo Trust Display', sans-serif;
    font-weight: 900;
  }

  .focus-text span {
    font-size: 2.5rem;
  }

  .typing-cursor {
    display: none;
  }

  .infocus-title-wrapper .circle-glow {
    width: 220px;
    height: 220px;
  }

  .infocus-content {
    flex: 0 0 100%;
    padding: 10px;
  }
}

/* --------------------------------------- end infocuse section ------------------------------------------ */

/* --------------------------------------bloge section ------------------------------------------------------ */
.cbc-blog-carousel {
  background: linear-gradient(180deg, #ffe7b3 0%, rgba(255, 231, 179, 0.95) 15%, rgba(255, 235, 200, 0.85) 30%, rgba(255, 240, 210, 0.7) 45%, rgba(255, 245, 230, 0.5) 60%, rgba(255, 248, 240, 0.3) 75%, rgba(255, 250, 245, 0.15) 85%, #ffffff 100%);
  padding: 2.5rem 5% 4rem;
  font-family: "Poppins", sans-serif;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.cbc-blog-carousel .carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 0.125rem solid #ffa901;
}

.cbc-blog-carousel .carousel-header h2 {
  color: #003b73;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.carousel-controls button {
  background: #ffffff;
  border: 2px solid #0063ae;
  color: #0063ae;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.2);
}

.carousel-controls button:hover {
  background: #0063ae;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 99, 174, 0.3);
}

/* Carousel Track */
.cbc-blog-carousel .carousel-track {
  display: flex;
  gap: 0.9375rem;
  overflow: hidden;
  scroll-behavior: smooth;
  transition: transform 0.6s ease;
  align-items: stretch;
  padding-top: 0.25rem;
  position: relative;
  z-index: 1;
  padding: 2.5rem 0rem;
}

.blog-carousel-wrapper {
  padding: 0rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card {
  flex: 0 0 calc(25% - 15px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  padding: 0;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-content {
  flex-grow: 1;
  padding: 0 15px;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #0063ae;
}

.blog-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 20px auto 12px;
  border: 3px solid #e0e0e0;
  background: #f5f5f5;
  transition: all 0.3s ease;
}

.blog-card:hover img {
  border-color: #0063ae;
  transform: scale(1.05);
}

.cbc-blog-carousel .blog-card h3 {
  font-size: 1.1rem;
  /* Increased from 0.95rem for better readability */
  color: #003b73;
  margin: 0;
  padding: 0 1.25rem 0.25rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.cbc-blog-carousel .blog-card p {
  font-size: 1.05rem;
  /* Increased from 0.95rem for better readability */
  color: #555;
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: center;
}

.cbc-blog-carousel .blog-card a {
  color: #0063ae;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 0px;
  margin-top: auto;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.cbc-blog-carousel .blog-card a:hover {
  color: #004d99;
}

.cbc-blog-carousel .carousel-controls {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 100;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem;
}

.cbc-blog-carousel .carousel-controls button {
  pointer-events: all;
  position: relative;
  z-index: 101;
  background: #ffffff;
  border: 0.125rem solid #ffa901;
  color: #ffa901;
  border-radius: 50%;
  width: 2.375rem;
  height: 2.375rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 99, 174, 0.2);
  margin: 0;
  flex-shrink: 0;
}

.cbc-blog-carousel .carousel-controls button:hover {
  background: #ffa901;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0.375rem 1.25rem rgba(0, 99, 174, 0.3);
}

.cbc-blog-carousel .carousel-controls #blogPrevBtn {
  left: 0;
  margin-left: 0;
}

.cbc-blog-carousel .carousel-controls #blogNextBtn {
  right: 0;
  margin-right: 0;
}

/* Blog Footer - See More Button */
.blog-footer {
  text-align: right;
  position: relative;
  margin: 0rem 2rem 3rem;
}

.blog-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.875rem;
  background: linear-gradient(135deg, #ffa90196 0%, #ffa600bf 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.0625rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0.375rem 1.25rem rgba(255, 169, 1, 0.25);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.blog-see-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.blog-see-more-btn:hover::before {
  left: 100%;
}

.blog-see-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(255, 169, 1, 0.35);
  background: linear-gradient(135deg, #ffb84d 0%, #ffa901 100%);
}

.blog-see-more-btn i {
  transition: transform 0.3s ease;
}

.blog-see-more-btn:hover i {
  transform: translateX(4px);
}

/* ===== NEW: 75/25 Split Layout for Large Desktop Screens ===== */
/* Wrapper for the 75/25 layout */
.opinions-layout-wrapper {
  display: flex;
  /* gap: 1.5rem; */
  align-items: flex-start;
  /* margin-bottom: 2rem; */
  width: 100%;
}

/* 75% Carousel Section */
.opinions-carousel-section {
  flex: 0 0 75%;
  position: relative;
  min-width: 0;
}

/* Ensure the carousel wrapper inside takes full width */
.opinions-carousel-section .blog-carousel-wrapper {
  width: 100%;
}

/* 25% Vertical Testimonials Box */
.opinions-vertical-box {
  flex: 0 0 auto;
  /* Allow width to adjust to video content */
  height: 410px;
  /* Fixed height to match carousel cards */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e0e0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-width: 200px;
  /* Minimum width safety */
  margin: 1rem;
  margin-top: 40px;
  position: relative;
}

.opinions-testimonials-column {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.opinions-testimonials-column .blog-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 1rem;
  margin: 10px;
}

/* Hide the carousel controls in the vertical box */
.opinions-vertical-box .blog-carousel-wrapper {
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.opinions-vertical-box .collab-arrow {
  display: none !important;
}

.opinions-vertical-box .carousel-track {
  flex-direction: column !important;
  padding: 0 !important;
  gap: 0 !important;
}

.opinions-vertical-box:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
  border-color: #0063ae;
}

/* Vertical Testimonials Header */
.vertical-testimonials-header {
  background: linear-gradient(135deg, #003b73 0%, #0063ae 100%);
  padding: 1.25rem;
  text-align: center;
  border-bottom: 3px solid #ffa901;
}

.vertical-testimonials-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Vertical Scrolling Container */
.vertical-testimonials-scroll {
  flex: 1;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
}

/* Testimonial Video Styling */
/* Testimonial Video Styling */
.testimonial-video {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: none;
  flex-shrink: 0;
  margin: 0 auto;
  /* Center horizontally if container is wider */
}

.testimonial-video.active {
  display: block;
}

/* Unmute Button */
.video-unmute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
}

.video-unmute-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Custom Scrollbar for Webkit Browsers */
.vertical-testimonials-scroll::-webkit-scrollbar {
  width: 8px;
}

.vertical-testimonials-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.vertical-testimonials-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0063ae 0%, #003b73 100%);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.vertical-testimonials-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #004d99 0%, #002b5b 100%);
}

/* Vertical Testimonial Cards */
.vertical-testimonials-scroll .blog-card {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.vertical-testimonials-scroll .blog-card:last-child {
  margin-bottom: 0;
}

.vertical-testimonials-scroll .blog-card:hover {
  transform: translateX(5px);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 99, 174, 0.15);
}

.vertical-testimonials-scroll .blog-card img {
  width: 80px;
  height: 80px;
  margin: 15px auto 10px;
}

.vertical-testimonials-scroll .blog-card h3 {
  font-size: 1rem;
  padding: 0 1rem 0.5rem;
}

.vertical-testimonials-scroll .blog-card p {
  font-size: 0.95rem;
  padding: 0 1rem 1rem;
  -webkit-line-clamp: 4;
}

/* Auto-scroll animation for vertical testimonials */
@keyframes autoScrollVertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.vertical-testimonials-scroll.auto-scroll {
  animation: autoScrollVertical 30s linear infinite;
}

/* Responsive: Stack vertically on smaller screens */
@media (max-width: 1200px) {
  .opinions-layout-wrapper {
    flex-direction: column;
  }

  .opinions-carousel-section,
  .opinions-vertical-box {
    flex: 0 0 100%;
    width: 100%;
  }

  .vertical-testimonials-scroll {
    max-height: 400px;
  }
}

/* ===== END: 75/25 Split Layout ===== */

/* Responsive */
@media (max-width: 1024px) {
  .blog-card {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .blog-footer {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
  }

  .blog-see-more-btn {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .blog-card {
    flex: 0 0 calc(100% - 15px);
  }

  .carousel-header {
    display: flex;
    gap: 10px;
  }

  .leadership-title {
    font-size: 1.2rem !important;
    /* Reduced from 1.4rem */
    font-weight: 800;
    margin-bottom: 12px;
  }

  .carousel-header h2 {
    color: #0063ae;
    font-size: 1.2rem !important;
    /* Reduced from 1.4rem */
    font-weight: 600;
  }

  .carousel-controls button {
    width: 30px;
    height: 30px;
  }
}

/* ---------------------------------- end bloge section ----------------------------------------------------*/
/* -----------------------------------------leadership --------------------------------------------------- */

/* === Leadership Section === */
.leadership-section {
  background: linear-gradient(180deg, #f9f9f9 0%, rgba(249, 249, 249, 0.95) 20%, rgba(252, 252, 252, 0.9) 40%, rgba(253, 253, 253, 0.8) 60%, rgba(254, 254, 254, 0.6) 80%, #ffffff 100%);
  padding: 40px 5%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  margin-top: 0;
  border-top: 1px solid #e9ecef;
}

.leadership-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 12px;
  position: relative;
}

.leadership-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #0063ae, #ffa500);
  margin: 8px auto 0;
  border-radius: 3px;
}

/* === Grid Layout === */
.leadership-grid {
  padding: 0px 25px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 35px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* === Card === */
.leader-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* === Image Styling === */
.leader-img {
  position: relative;
  overflow: hidden;
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.small-card .leader-img {
  height: 210px;
}

.small-card {
  height: 280px;

}

/* Main card (chairperson) image size */
.main-card .leader-img {
  height: 300px;
}

.main-card {
  height: 320px;
}

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

/* === Center (Chairperson) Highlight === */
.leader-card:nth-child(2) {
  transform: scale(1.05);
  z-index: 5;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 99, 174, 0.25);
  position: relative;
}

.leader-card:nth-child(2)::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(135deg, #0063ae, #ffa500);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.85;
  transition: all 0.4s ease;
}

.leader-card:nth-child(2):hover::before {
  filter: brightness(1.2);
  box-shadow: 0 0 35px rgba(0, 99, 174, 0.45);
}

/* === Overlay === */
.leader-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 77, 0.9);
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  overflow: hidden;
}

.leader-card:hover .leader-overlay {
  bottom: 0;
}

.leader-overlay p {
  font-size: 0.8rem;
  margin-bottom: 1px;
  line-height: 1.3;
  color: #e0e0e0;
}

/* === View More Button === */
.view-more {
  display: inline-block;
  padding: 4px 8px;
  background: linear-gradient(90deg, #0063ae, #004b88);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 99, 174, 0.3);
}

/* === Info === */
.leader-info {
  padding: 15px 12px 18px;
  text-align: center;
  overflow: hidden;
}

.leader-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #002b5b;
  margin-bottom: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-info p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === New Leadership Grid Layout === */
.leadership-grid-new {
  display: grid;
  grid-template-columns: 1fr 0px 1fr 30px 1fr;
  grid-template-rows: auto;
  gap: 15px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: stretch;
}

/* Left: Chairperson Image Card */
.chairperson-image-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chairperson-image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.chairperson-image-card .chairperson-content {
  background: #ffffff !important;
}

.chairperson-image-wrapper {
  width: 100%;
  height: 450px;
  overflow: visible;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chairperson-image-wrapper img {
  width: 85%;
  height: 85%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  border: 4px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 7.5% auto;
  display: block;
}

.chairperson-image-card:hover .chairperson-image-wrapper img {
  transform: scale(1.03);
}

.chairperson-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 77, 0.9);
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  overflow: hidden;
  z-index: 2;
}

.chairperson-image-card:hover .chairperson-overlay {
  bottom: 0;
}

.chairperson-overlay p {
  font-size: 0.8rem;
  margin-bottom: 1px;
  line-height: 1.3;
  color: #ffffff;
}

.chairperson-content {
  padding: 15px 12px 18px;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff !important;
  position: relative;
  z-index: 5;
  width: 100%;
  box-sizing: border-box;
  /* min-height: 100px; */
}

.chairperson-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #002b5b;
  margin: 0 0 6px 0;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 0 2px 4px rgba(0, 43, 91, 0.15);
  letter-spacing: 0.3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chairperson-designation {
  font-size: 0.95rem;
  color: #0063ae;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Middle: Chairperson Message Card */
.chairperson-message-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.message-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 1px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e3f2fd;
}

.message-preview-container {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 4px;
}

.message-preview-container:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Preview Letter Styling - Complete HTML in smaller format to fit full message */
.message-preview-letter {
  width: 100%;
  height: 100%;
  background: #FDEBD0;
  /* Match modal background */
  padding: 15px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  /* Hide overflowing text */
  font-family: 'Georgia', serif;
  /* Match font */
}

.message-preview-letter::-webkit-scrollbar {
  display: none;
}

.preview-letter-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 2px solid #0D2C5C;
  /* Add border */
}

.preview-letter-title-wrapper {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.preview-letter-title-new {
  font-size: 1.1rem;
  /* Scaled down font size */
  font-weight: 900;
  color: #002b5b;
  margin: 0;
  font-family: 'Momo Trust Display', sans-serif;
  /* Match font */
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
}

.preview-pencil-icon {
  font-size: 1rem;
  /* Scaled down */
  position: absolute;
  top: 75%;
  /* Adjusted position */
  /* right: -5px;  */
  transform: translateY(-50%);
}

.preview-chairperson-photo {
  flex-shrink: 0;
  margin-left: 10px;
}

.preview-chairperson-img {
  width: 50px;
  /* Scaled down image */
  height: 50px;
  border-radius: 50%;
  border: 2px solid #0D2C5C;
  /* Match border color */
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.preview-letter-divider {
  display: none;
  /* Remove the old divider */
}

.preview-letter-content {
  margin-top: 10px;
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  /* max-height: 120px; */
  /* REMOVED to show full content */
}

/* Add a fade-out effect for truncated text */
.preview-letter-content::after {
  display: none;
  /* REMOVED fade effect */
}

.preview-letter-text {
  font-size: 0.4rem;
  /* Further reduced font size */
  line-height: 1.3;
  color: #3a3a3a;
  text-align: justify;
}

.preview-letter-intro {
  font-size: 0.5rem;
  /* Scaled down intro font size */
  font-style: italic;
  font-weight: bold;
  color: #0d2c5c;
  margin-bottom: 0.4em;
}

.preview-letter-paragraph {
  margin-bottom: 0.4em;
}

.preview-letter-signature {
  margin-top: 10px;
  text-align: left;
}

.preview-signature-wishes {
  font-family: 'Brush Script MT', cursive;
  font-size: 0.7rem;
  /* Scaled down */
  color: #333;
  margin: 0;
}

.preview-signature-name {
  font-weight: bold;
  font-size: 0.6rem;
  /* Scaled down */
  color: #0D2C5C;
  margin: 1px 0;
}

.preview-signature-title {
  font-size: 0.5rem;
  /* Scaled down */
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Right Column: Members */
.members-column {
  grid-column: 5;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 480px;
  min-height: 480px;
}

.member-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.member-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.member-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

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

.member-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffa500de;
  color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  overflow: hidden;
}

.member-card:hover .member-overlay {
  bottom: 0;
}

.member-overlay p {
  font-size: 0.8rem;
  margin-bottom: 1px;
  line-height: 1.3;
  color: #e0e0e0;
}

.member-info {
  padding: 4px 12px 15px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.member-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #002b5b;
  margin: 0 0 6px 0;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 0 2px 4px rgba(0, 43, 91, 0.15);
  letter-spacing: 0.3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-info p {
  font-size: 1.05rem;
  color: #0063ae;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Chairperson Modal - Letter Style === */
.chairperson-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.chairperson-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.chairperson-modal.active .modal-backdrop {
  opacity: 1;
}

.modal-content-wrapper {
  position: relative;
  z-index: 10001;
  width: 100%;
  max-width: 900px;
  max-height: 95vh;
  transform: translateY(-50px);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  opacity: 0;
  overflow: visible;
}

.chairperson-modal.active .modal-content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

/* Letter Container */
.letter-container {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  perspective: 2000px;
  overflow: hidden;
}




.letter-paper {
  width: 100%;
  max-width: 850px;
  padding: 35px 40px;
  padding-top: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 40px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  transform-style: preserve-3d;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(90vh - 40px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform-origin: top center;
  z-index: 5;
  flex: 1;
  min-height: 0;

  /* Hide scrollbar but keep scrolling functionality */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */

  /* Scroll-like rounded edges */
  border-radius: 12px;

  /* Light peach background - matches image */
  background-color: #ffe5d4;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.01) 2px,
      rgba(0, 0, 0, 0.01) 4px);

  /* Remove any glossy effects - completely matte */
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-filter: none;

  /* Initial state - rolled up, hidden under the roll */
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transform: translateY(-20px);
  opacity: 0;
}

.letter-paper::-webkit-scrollbar {
  display: none;
  /* WebKit browsers (Chrome, Safari, Edge) */
}

.chairperson-modal.active .letter-paper {
  /* Scroll unroll effect - rolling out from top - smooth continuous animation */
  animation: scrollRollUnfold 2.5s cubic-bezier(0.4, 0.0, 0.2, 1) both;
}

@keyframes scrollRollUnfold {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transform: translateY(-20px);
    opacity: 0;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  5% {
    clip-path: polygon(0 0, 100% 0, 100% 30px, 0 30px);
    transform: translateY(-18px);
    opacity: 0.15;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
  }

  12% {
    clip-path: polygon(0 0, 100% 0, 100% 60px, 0 60px);
    transform: translateY(-16px);
    opacity: 0.25;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  20% {
    clip-path: polygon(0 0, 100% 0, 100% 100px, 0 100px);
    transform: translateY(-12px);
    opacity: 0.4;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  30% {
    clip-path: polygon(0 0, 100% 0, 100% 150px, 0 150px);
    transform: translateY(-8px);
    opacity: 0.55;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  42% {
    clip-path: polygon(0 0, 100% 0, 100% 220px, 0 220px);
    transform: translateY(-5px);
    opacity: 0.7;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }

  55% {
    clip-path: polygon(0 0, 100% 0, 100% 300px, 0 300px);
    transform: translateY(-3px);
    opacity: 0.82;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  68% {
    clip-path: polygon(0 0, 100% 0, 100% 400px, 0 400px);
    transform: translateY(-1px);
    opacity: 0.9;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
  }

  80% {
    clip-path: polygon(0 0, 100% 0, 100% 500px, 0 500px);
    transform: translateY(0px);
    opacity: 0.96;
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
  }

  90% {
    clip-path: polygon(0 0, 100% 0, 100% 600px, 0 600px);
    transform: translateY(0px);
    opacity: 0.99;
    border-bottom-left-radius: 47px;
    border-bottom-right-radius: 47px;
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0px);
    opacity: 1;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
}

.letter-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  width: 2px;
  height: 100%;
  background: rgba(0, 43, 91, 0.1);
  opacity: 0.3;
  z-index: 1;
}


/* Letter Header */
.letter-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* margin-bottom: 12px; */
  /* padding-bottom: 12px; */
}

.letter-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.letter-title-new {
  font-size: 2.2rem;
  font-weight: 700;
  color: #002b5b;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.letter-pencil-icon {
  font-size: 1.8rem;
  color: #ffc107;
  display: inline-block;
  margin-left: 3px;
  position: relative;
  z-index: 2;
}

.letter-chairperson-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: visible;
  margin-left: 6px;
  position: relative;
  z-index: 1;
}

.letter-chairperson-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.letter-divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin-bottom: 1px;
}

/* Letter Content */
.letter-content {
  margin: 25px 0;
  text-align: left;
  line-height: 1.9;
  color: #333;
}

.letter-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  color: #2c3e50;
  text-align: justify;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.letter-intro {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #002b5b;
  margin-bottom: 1px;
  text-align: left;
  line-height: 1.9;
}

.letter-paragraph {
  margin-bottom: 12px;
  text-indent: 0;
  line-height: 1.9;
  color: #2c3e50;
  text-align: justify;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Letter Signature */
.letter-signature {
  margin-top: 30px;
  text-align: left;
  /* padding-top: 18px; */
}

.signature-wishes {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: #2c3e50;
  margin-bottom: 1px;
}

.signature-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.signature-title {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 43, 91, 0.2);
  border-radius: 50%;
  font-size: 28px;
  color: #002b5b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-weight: 300;
}

.modal-close-btn:hover {
  background: #002b5b;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  border-color: #002b5b;
  box-shadow: 0 4px 12px rgba(0, 43, 91, 0.3);
}

/* === Responsive === */
@media (max-width: 992px) {
  .leadership-grid-new {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 25px;
    padding: 0 20px;
    align-items: stretch;
  }

  .chairperson-image-card {
    border-radius: 18px;
  }

  .chairperson-image-card,
  .chairperson-message-card,
  .members-column {
    grid-column: 1;
    grid-row: auto;
    height: auto;
  }

  .chairperson-image-wrapper {
    height: 400px;
  }

  .chairperson-message-card {
    height: auto;
    border-radius: 18px;
  }

  .members-column {
    flex-direction: row;
    height: auto;
  }

  .member-image-wrapper {
    height: 180px;
  }

  .modal-content-wrapper {
    max-width: 95%;
    padding: 8px;
  }

  .letter-paper {
    padding: 25px 30px;
    min-height: 500px;
  }

  .letter-title-new {
    font-size: 1.6rem;
  }

  .letter-header-new {
    flex-direction: column;
    gap: 15px;
  }

  .letter-chairperson-photo {
    width: 80px;
    height: 80px;
    margin-left: 0;
    margin-top: 10px;
  }

  .letter-pencil-icon {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .leadership-grid-new {
    padding: 0 15px;
  }

  .chairperson-message-card {
    padding: 15px;
  }

  .message-preview-container {
    padding: 8px;
  }

  .message-preview-letter {
    padding: 8px 10px;
  }



  .preview-letter-title-new {
    font-size: 0.65rem;
  }

  .preview-pencil-icon {
    font-size: 0.5rem;
  }

  .preview-chairperson-photo {
    width: 20px;
    height: 20px;
  }

  .preview-letter-text {
    font-size: 0.55rem;
  }

  .preview-letter-intro {
    font-size: 0.6rem;
  }

  .preview-letter-paragraph {
    margin-bottom: 1px;
  }

  .preview-signature-wishes {
    font-size: 0.5rem;
  }

  .preview-signature-name {
    font-size: 0.55rem;
  }

  .preview-signature-title {
    font-size: 0.5rem;
  }

  .message-title {
    font-size: 1.2rem;
  }

  .message-intro {
    font-size: 1rem;
  }

  .message-text {
    font-size: 0.9rem;
  }

  .members-column {
    flex-direction: column;
  }

  .modal-content-wrapper {
    max-width: 98%;
  }

  .letter-paper {
    padding: 30px 25px;
    padding-top: 10px;
    max-height: calc(90vh - 40px);
  }

  .letter-container {
    max-height: 90vh;
  }


  .letter-title-new {
    font-size: 1.4rem;
  }

  .letter-header-new {
    margin-bottom: 1px;
    padding-bottom: 6px;
    flex-direction: column;
    align-items: flex-start;
  }

  .letter-chairperson-photo {
    width: 60px;
    height: 60px;
    margin-left: 0;
    margin-top: 10px;
  }

  .letter-pencil-icon {
    font-size: 1.2rem;
  }
}

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

.letter-content {
  margin: 15px 0;
}

.letter-text {
  font-size: 0.95rem;
}

.letter-paragraph {
  margin-bottom: 1px;
  line-height: 1.8;
}

.letter-paragraph:first-child {
  font-size: 1rem;
  margin-bottom: 12px;
}

.letter-signature {
  margin-top: 20px;
  padding-top: 12px;
}

.signature-name {
  font-size: 1rem;
}

.signature-title {
  font-size: 0.9rem;
}

.signature-org {
  font-size: 0.8rem;
}

.modal-close-btn {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  font-size: 24px;
}

@media (max-width: 992px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .leader-card:nth-child(2) {
    transform: scale(1);
  }

  .leader-img img {
    height: 100%;
  }

  .small-card .leader-img,
  .main-card .leader-img {
    height: 220px;
  }

  .small-card {
    height: 280px;
  }

  .main-card {
    height: 300px;
  }

  .leadership-grid {
    padding: 0px 15px;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    gap: 25px !important;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .leader-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #002b5b;
    margin-bottom: 1px;
  }

  .leader-info p {
    font-size: 14px;
  }

  .leader-overlay p {
    font-size: 13px;
    margin-bottom: 1px;
    line-height: 1.3;
    color: #e0e0e0;
  }

  .leadership-section {
    padding: 35px 1%;
  }
}

@media (max-width: 767px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* --------------------------------------- event section ---------------------------------- */
.events-section {
  padding: 4.5rem 5%;
  /* background: linear-gradient(180deg, #fff5e6 0%, rgba(255, 245, 230, 0.95) 15%, rgba(255, 248, 240, 0.85) 30%, rgba(255, 250, 245, 0.7) 45%, rgba(255, 252, 250, 0.5) 60%, rgba(255, 254, 252, 0.3) 75%, rgba(255, 255, 254, 0.15) 85%, #ffffff 100%); */
  background: #e9f4fe;
  font-family: 'Poppins', sans-serif;
  color: #111827;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.events-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 165, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.events-section>* {
  position: relative;
  z-index: 1;
}

/* .events-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0063ae 0%, #ffaa01 50%, #0063ae 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
} */

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Events Content Wrapper - Full Width for Cards Only */
.events-content-wrapper {
  position: relative;
  margin-bottom: 25px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

/* Events Cards Container */
.events-cards-container {
  position: relative;
  overflow: hidden;
}

.events-cards-list {
  display: flex;
  gap: 25px;
  padding: 6px 0;
  list-style: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  will-change: scroll-position;
}

.events-cards-list::-webkit-scrollbar {
  display: none;
}

.events-cards-list.paused {
  animation: none;
}

/* Home Event Card - Modern Card Layout */
.home-event-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 99, 174, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  flex: 0 0 calc(25% - 15px);
  min-width: 280px;
  max-width: 320px;
  scroll-snap-align: start;
  height: auto;
}

.home-event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffa500 0%, #ffb84d 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.home-event-card:hover::before {
  transform: scaleX(1);
}

.home-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(255, 165, 0, 0.25);
  border-color: #ffa500;
}

.home-event-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.home-event-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 99, 174, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.home-event-card:hover .home-event-card-image::after {
  opacity: 1;
}

.home-event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-event-card:hover .home-event-card-image img {
  transform: scale(1.1);
}

.home-event-card-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: #ffffff;
}

.home-event-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #0063ae;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.0625rem;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 99, 174, 0.08);
  border-radius: 1rem;
  width: fit-content;
  transition: all 0.3s ease;
}

.home-event-card:hover .home-event-card-date {
  background: rgba(0, 99, 174, 0.15);
  transform: translateX(0.25rem);
}

.home-event-card-date i {
  font-size: 0.75rem;
  color: #0063ae;
}

.home-event-card-title {
  font-size: 1.05rem;
  /* Increased from 0.9rem for better readability */
  font-weight: 600;
  color: #003b73;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  min-height: 2.34em;
  transition: color 0.3s ease;
}

.home-event-card:hover .home-event-card-title {
  color: #0063ae;
}

.home-event-card-description {
  font-size: 1rem;
  /* Increased from 0.9rem for better readability */
  color: #4b5563;
  line-height: 1.4;
  margin: 0 0 0.625rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  min-height: 3.36em;
}

.home-event-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  color: #0063ae;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: all 0.3s ease;
  padding: 0.1875rem 0;
  width: fit-content;
}

.home-event-card-read-more::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0063ae;
  transition: width 0.3s ease;
}

.home-event-card:hover .home-event-card-read-more {
  color: #0056a3;
  gap: 12px;
}

.home-event-card:hover .home-event-card-read-more::after {
  width: 100%;
}

.home-event-card-read-more i {
  transition: transform 0.3s ease;
  font-size: 0.75rem;
}

.home-event-card:hover .home-event-card-read-more i {
  transform: translateX(6px);
}

.no-events-message {
  text-align: center;
  color: #6b7280;
  padding: 30px 20px;
  font-size: 1.125rem;
  width: 100%;
  flex: 1;
}

/* Events Header Controls */
.events-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Events Carousel Navigation Arrows */
.events-carousel-nav {
  position: relative;
  background: #ffffff;
  border: 2px solid #0063ae;
  color: #0063ae;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.2);
  font-size: 1rem;
}

.events-carousel-nav:hover {
  background: #0063ae;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 99, 174, 0.3);
}

.events-carousel-nav:active {
  transform: scale(0.95);
}

.events-carousel-nav i {
  font-size: 0.875rem;
}

/* Right: Calendar View */
.events-calendar-view {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border: 1px solid #e9ecef;
  height: fit-content;
  position: sticky;
  top: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .home-event-card {
    flex: 0 0 calc(40% - 14px);
    min-width: 320px;
  }

  .events-header h2 {
    font-size: 2rem;
  }

  .events-content-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 992px) {
  .events-section {
    padding: 2.5rem 3%;
  }

  .home-event-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
  }

  .home-event-card-image {
    height: 170px;
  }

  .events-header {
    margin-bottom: 25px;
  }

  .events-header h2 {
    font-size: 1.875rem;
  }

  .events-header h2::before {
    height: 35px;
  }

  .events-content-wrapper {
    padding: 0;
  }

  .events-carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .events-carousel-nav i {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .events-section {
    padding: 2rem 3%;
  }

  .home-event-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 260px;
  }

  .home-event-card-image {
    height: 160px;
  }

  .home-event-card-content {
    padding: 10px;
  }

  .home-event-card-title {
    font-size: 1rem;
    /* Increased from 0.85rem for better readability */
  }

  .home-event-card-description {
    font-size: 0.95rem;
    /* Increased from 0.75rem for better readability */
  }

  .events-header {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .events-header h2 {
    font-size: 1.75rem;
  }

  .events-content-wrapper {
    padding: 0;
  }

  .events-carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .events-carousel-nav i {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .events-section {
    padding: 1.5rem 2%;
  }

  .home-event-card {
    flex: 0 0 calc(90% - 8px);
    min-width: 240px;
  }

  .home-event-card-image {
    height: 150px;
  }

  .home-event-card-content {
    padding: 8px;
  }

  .events-header {
    flex-wrap: wrap;
  }

  .events-header h2 {
    font-size: 1.5rem;
  }

  .events-content-wrapper {
    padding: 0;
  }

  .events-carousel-nav {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .events-carousel-nav i {
    font-size: 0.7rem;
  }
}

/* Header & controls */
.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 3px solid rgba(0, 99, 174, 0.15);
  position: relative;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.events-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #0063ae 0%, #ffaa01 100%);
  border-radius: 2px;
}

.events-header h2 {
  font-size: 1.3rem !important;
  /* Reduced from 2.25rem */
  margin: 0;
  color: #003b73;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
}

/* .events-header h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 40px;
  background: linear-gradient(180deg, #0063ae 0%, #ffaa01 100%);
  border-radius: 3px;
} */

.events-header h2 span {
  color: #005ea6;
  position: relative;
}

/* .events-header h2 span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 170, 1, 0.3) 50%, transparent 100%);
  border-radius: 2px;
} */

/* Controls */
.event-controls {
  display: flex;
  gap: 8px;
}

.event-btn {
  background: #0073cf;
  color: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 34px;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(3, 57, 105, 0.12);
  transition: transform .18s ease, background .18s ease;
}

.event-btn:hover {
  transform: translateY(-2px);
  background: #005fa3;
}

/* Carousel Row */
.events-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.events-carousel::-webkit-scrollbar {
  display: none;
}

/* Card */
.event-card {
  flex: 0 0 calc(25% - 20px);
  /* desktop 4 */
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

.event-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.event-content {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-content h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  /* Reduced from 1.02rem */
  color: #003b73;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: calc(1.5em * 2);
  /* Maintain height consistency */
}

.event-content p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;

  /* Limit to 5 lines */
  line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 5;
  /* Show only 5 lines */
  text-overflow: ellipsis;
  max-height: calc(1.45em * 5);
}

.read-more {
  color: #0073cf;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.read-more:hover {
  text-decoration: underline;
  color: #0056a3;
  /* Slightly darker blue on hover */
}

.event-date {
  padding: 12px 14px;
  border-top: 1px solid #e9ecef;
  font-weight: 600;
  color: #0063ae;
  text-align: end;
  font-size: 0.9rem;
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .event-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  /* 3 per row */
}

@media (max-width: 768px) {
  .event-card {
    flex: 0 0 calc(50% - 12px);
  }

  /* 2 per row */
}

@media (max-width: 480px) {
  .events-header {
    align-items: flex-start;
  }

  .event-btn {
    width: 36px;
    height: 36px;
  }

  .event-card {
    flex: 0 0 100%;
  }

  /* 1 per row */
}

/* Events Footer - See More Button */
.events-footer {
  text-align: right;
  /* margin-top: 50px; */
  /* padding-top: 30px; */
  position: relative;
  margin-top: 25px;
}

.events-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 99, 174, 0.3) 50%, transparent 100%);
}

.events-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #008df9a6 0%, #0273cf6e 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.0625rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 99, 174, 0.25);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.events-see-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.events-see-more-btn:hover::before {
  left: 100%;
}

.events-see-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 99, 174, 0.35);
  background: linear-gradient(135deg, #005fa3 0%, #0088e6 100%);
  color: #fff;
  text-decoration: none;
}

.events-see-more-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 99, 174, 0.3);
}

.events-see-more-btn i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.events-see-more-btn:hover i {
  transform: translateX(8px);
}

@media (max-width: 768px) {
  .events-footer {
    margin-top: 15px;
    padding-top: 10px;
  }

  .events-see-more-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .events-footer {
    margin-top: 20px;
    padding-top: 12px;
  }

  .events-see-more-btn {
    padding: 10px 22px;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/*--------------------------------------------------- socil media section ---------------------------------- */

.youtube-section {
  background: #ffffff;
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.youtube-carousel {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
  position: relative;
  will-change: transform;
}

.youtube-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 380px;
  box-sizing: border-box;
}

.youtube-carousel {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
  max-width: 100%;
  position: relative;
  will-change: transform;
  box-sizing: border-box;
}

.youtube-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: visible;
  padding: 0;
  display: flex !important;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: auto;
}

.video-container {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%;
  position: relative;
}

.youtube-card video,
.youtube-card iframe,
.youtube-card img {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
  object-fit: cover;
  background: #000;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 2;
}

.media-type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 99, 174, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.media-type-badge i {
  font-size: 0.7rem;
}

.youtube-card[data-type="photo"] .media-type-badge {
  background: rgba(255, 165, 0, 0.9);
}

.youtube-card[data-type="video"] .media-type-badge {
  background: rgba(0, 99, 174, 0.9);
}

/* Two-column gallery layout */
.social-section .row.g-4 {
  align-items: stretch;
}

.social-section .container {
  margin-top: 3rem;
}

.social-section .youtube-section.h-100 {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 500px;
}

.social-section .youtube-section .youtube-carousel-wrapper {
  flex: 1 1 auto;
  min-height: 380px;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.social-section .youtube-carousel {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.social-section .youtube-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
}

.social-section .video-container {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  height: 300px;
  margin-bottom: 20px;
}

.social-section .youtube-card video,
.social-section .youtube-card img {
  width: 100%;
  height: 300px !important;
  min-height: 300px !important;
  max-height: 300px !important;
  object-fit: cover;
  border: none;
  display: block;
  background: #000;
}

/* Tablet and medium screens */
@media (max-width: 992px) and (min-width: 769px) {
  .social-section .youtube-section.h-100 {
    min-height: 450px;
  }

  .social-section .youtube-section .youtube-carousel-wrapper {
    min-height: 320px;
  }

  .social-section .video-container {
    height: 280px;
    min-height: 280px;
  }

  .social-section .youtube-card video,
  .social-section .youtube-card img {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}

/* Ensure videos take full width on mobile */
@media (max-width: 768px) {
  .social-section .container {
    margin-top: 30px;
  }

  .social-section .youtube-section.h-100 {
    min-height: 400px;
    height: auto;
  }

  .social-section .youtube-section .youtube-carousel-wrapper {
    min-height: 280px;
    height: auto;
  }

  .social-section .col-lg-6,
  .social-section .col-md-6 {
    margin-bottom: 20px;
  }

  .youtube-section {
    padding: 15px !important;
    margin: 0;
  }

  .youtube-section .container,
  .youtube-section .row,
  .youtube-section .col-lg-12,
  .youtube-section .col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .youtube-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    flex: 0 0 100% !important;
  }

  .youtube-carousel-wrapper {
    min-height: 280px !important;
  }

  .social-section .video-container {
    height: 200px !important;
    min-height: 200px !important;
    margin-bottom: 15px;
  }

  .social-section .youtube-card video,
  .social-section .youtube-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
  }

  .youtube-card video,
  .youtube-card iframe,
  .youtube-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
  }

  .social-section .youtube-section.h-100 {
    min-height: 350px;
  }

  .social-section .youtube-section .youtube-carousel-wrapper {
    min-height: 250px;
  }

  .video-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .youtube-carousel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }

  .youtube-carousel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Remove any Bootstrap padding from video container */
  .youtube-section .p-3 {
    padding: 15px !important;
  }

  .youtube-section .rounded-3,
  .youtube-section .rounded-4 {
    border-radius: 0 !important;
  }
}

@media (max-width: 480px) {
  .youtube-section {
    padding: 10px !important;
  }

  .youtube-card video,
  .youtube-card iframe {
    min-height: 200px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-gallery-card video {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure carousel wrapper takes full width within container */
  .youtube-carousel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.video-caption {
  padding: 0 10px 10px;
}

.video-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c53a2;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Video Gallery Grid Layout */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.video-gallery-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-gallery-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.video-gallery-card .video-container {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  margin-bottom: 0;
}

.video-gallery-card video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.video-gallery-card .video-caption {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-gallery-card .video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c53a2;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video-gallery-card .video-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.video-gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.view-all-videos-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0063ae;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 6px;
  background: transparent;
}

.view-all-videos-btn:hover {
  color: #ffa500;
  background: rgba(0, 99, 174, 0.05);
  transform: translateX(5px);
}

.view-all-videos-btn i {
  transition: transform 0.3s ease;
}

.view-all-videos-btn:hover i {
  transform: translateX(5px);
}

.carousel-controls button {
  background: linear-gradient(135deg, #0063ae, #ffa500);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-controls button:hover {
  transform: scale(1.1);
}

@media (max-width: 992px) {

  .youtube-card video,
  .youtube-card iframe {
    height: 300px;
  }

  .video-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-gallery-card video {
    height: 220px;
  }
}

/*------------------- social media section  */


.social-section {
  background: #eaf6ff;
  font-family: 'Poppins', sans-serif;
  padding: 0px 0 60px;
  margin-top: 0;
  border-top: 1px solid #e9ecef;
}

/* Carousel Controls in Header */
.section-header-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.section-header-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.social-prev,
.social-next {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  border-radius: 4px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

.social-prev:hover,
.social-next:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.05) !important;
}

/* Toggle Slide Button in Header */
.section-header .toggle-slide {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  border-radius: 4px !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

.section-header .toggle-slide:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.05) !important;
}

.youtube-section {
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
}

.youtube-carousel-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.youtube-carousel {
  flex: 1;
}

.youtube-card {
  height: 100%;
}

.video-container {
  height: 100%;
}

/* YouTube - Additional styles */
.youtube-carousel {
  transition: transform 0.6s ease;
  overflow: visible;
  display: flex !important;
}

.youtube-card iframe,
.youtube-card video,
.youtube-card img {
  height: 100%;
  border: none;
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
  object-fit: cover;
}

/* Social Cards */
.social-card {
  position: relative;
  /* min-width: 300px; */
  overflow: hidden;
}

.social-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  gap: 6px;
}

/* Responsive Fix */
@media (max-width: 992px) {

  .youtube-card iframe,
  .youtube-card video,
  .youtube-card img {
    height: 60vh;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-description {
    font-size: 0.9rem;
  }
}

.socil-bg {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

/* Gallery Link Cards */
.gallery-link-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0063ae, #ffa500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.gallery-link-card:hover::before {
  transform: scaleX(1);
}

.gallery-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 99, 174, 0.15);
  border-color: #0063ae;
}

.gallery-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0063ae, #ffa500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.gallery-link-card:hover .gallery-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 15px rgba(0, 99, 174, 0.3);
}

.gallery-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.gallery-card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0063ae;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.gallery-link-card:hover .gallery-card-content h3 {
  color: #ffa500;
}

.gallery-card-content p {
  font-size: 1.05rem;
  /* Increased from 0.95rem for better readability */
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.gallery-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0063ae;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.gallery-link-card:hover .gallery-link-arrow {
  color: #ffa500;
  transform: translateX(5px);
}

.gallery-link-card:hover .gallery-link-arrow i {
  transform: translateX(5px);
}

.social-section-right {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.social-section-right .section-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 8px;
  overflow: hidden;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  height: 100%;
  min-height: 300px;
  max-height: 320px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.social-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: none;
}

/* Twitter/X Card - Dark background */
#twitter-widget-container,
.social-card #twitter-widget-container,
.social-card:has(#twitter-widget-container),
.social-card:has(#twitter-widget-container) .social-embed-container {
  background: #1a1a1a !important;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%) !important;
}

.social-card:has(#twitter-widget-container) {
  background: #1a1a1a !important;
}

/* LinkedIn Card - Light gray background */
#linkedin-widget-container,
.social-card #linkedin-widget-container,
.social-card .linkedin-company-feed,
.social-card:has(#linkedin-widget-container),
.social-card:has(#linkedin-widget-container) .social-embed-container {
  background: #e8e6e1 !important;
}

.social-card:has(#linkedin-widget-container) {
  background: #e8e6e1 !important;
}

/* Instagram Card - Gradient background */
#instagram-widget-container,
.social-card #instagram-widget-container,
.social-card:has(#instagram-widget-container),
.social-card:has(#instagram-widget-container) .social-embed-container {
  background: linear-gradient(180deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.social-card:has(#instagram-widget-container) {
  background: linear-gradient(180deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

/* Facebook Card - Light blue background */
#facebook-widget-container,
.social-card #facebook-widget-container,
.social-card:has(#facebook-widget-container),
.social-card:has(#facebook-widget-container) .social-embed-container {
  background: #cce7ff !important;
}

.social-card:has(#facebook-widget-container) {
  background: #cce7ff !important;
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-card iframe,
.social-card .social-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #fff;
}

.social-card .social-embed-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0px 8px 40px;
  border-radius: 10px 10px 0 0;
}

/* Ensure container backgrounds fill the card */
.social-card .social-embed-container>* {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Text colors for different platforms */
#twitter-widget-container a,
#twitter-widget-container p,
#twitter-widget-container strong {
  color: #ffffff !important;
}

#linkedin-widget-container a,
#linkedin-widget-container p,
#linkedin-widget-container {
  color: #0077b5 !important;
}

#linkedin-widget-container p:last-of-type,
#linkedin-widget-container p[style*="color:#666"] {
  color: #666 !important;
}

#instagram-widget-container a,
#instagram-widget-container p,
#instagram-widget-container strong {
  color: #ffffff !important;
}

#facebook-widget-container a[style*="color:#1877f2"],
#facebook-widget-container p[style*="color:#1877f2"],
#facebook-widget-container strong[style*="color:#1877f2"] {
  color: #1877f2 !important;
}

#facebook-widget-container p[style*="color:#666"] {
  color: #666 !important;
}

/* Follow Us button styling */
.social-embed-container div[style*="border-radius:12px"] {
  border-radius: 12px !important;
  margin-top: 5px !important;
  padding: 5px 12px !important;
  font-size: 0.6rem !important;
  text-align: center !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 80px !important;
  max-height: 22px !important;
}

/* Twitter Follow Us button - white background */
#twitter-widget-container div[style*="background-color:white"],
#twitter-widget-container div[style*="border-radius:12px"] {
  background-color: #ffa500 !important;
  color: #000000 !important;
}

#twitter-widget-container div[style*="background-color:white"] a,
#twitter-widget-container div[style*="border-radius:12px"] a {
  color: #000000 !important;
  text-decoration: none !important;
}

/* LinkedIn Follow Us button - blue background */
#linkedin-widget-container div[style*="background-color:#0077b5"],
#linkedin-widget-container div[style*="border-radius:12px"] {
  background-color: #0077b5 !important;
  color: #ffffff !important;
}

#linkedin-widget-container div[style*="background-color:#0077b5"] a,
#linkedin-widget-container div[style*="border-radius:12px"] a {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Instagram Follow Us button - white background */
#instagram-widget-container div[style*="background-color:white"],
#instagram-widget-container div[style*="border-radius:12px"] {
  /* background-color: #ffffff !important; */
  color: #E4405F !important;
}

#instagram-widget-container div[style*="background-color:white"] a,
#instagram-widget-container div[style*="border-radius:12px"] a {
  color: #E4405F !important;
  text-decoration: none !important;
}

/* Facebook Follow Us button - blue background */
#facebook-widget-container div[style*="background-color:#1877f2"],
#facebook-widget-container div[style*="border-radius:12px"] {
  background-color: #1877f2 !important;
  color: #ffffff !important;
}

#facebook-widget-container div[style*="background-color:#1877f2"] a,
#facebook-widget-container div[style*="border-radius:12px"] a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.social-card .social-embed-container iframe {
  width: 100%;
  height: 100%;
}

/* Twitter timeline specific styles */
.social-card .social-embed-container .twitter-timeline {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.social-card .social-embed-container iframe[id*="twitter"] {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.social-card .linkedin-company-feed {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.social-card .social-placeholder {
  display: none;
}

/* Responsive styles for social grid */
@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 6px;
    padding: 6px;
    max-height: 600px;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .social-grid {
    gap: 6px;
    padding: 6px;
    max-height: 350px;
  }
}

/* Overlay at bottom - Dark blue background */
.social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #004b88 !important;
  padding: 10px 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
  border-radius: 0 0 5px 5px;
}

.social-overlay i {
  color: #ffffff !important;
  font-size: 1rem;
  margin: 0;
}

.social-overlay .fab,
.social-overlay .fa {
  color: #ffffff !important;
  font-size: 1rem;
}

/* Carousel control buttons */
.carousel-controls button {
  background: #0063ae;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-controls button:hover {
  transform: scale(1.1);
}


/*-------------------------------------------------- end socil media section ---------------------------------*/

.partners-section {
  padding: 40px 5%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f9fa 0%, rgba(248, 249, 250, 0.95) 20%, rgba(250, 251, 252, 0.9) 40%, rgba(252, 253, 254, 0.8) 60%, rgba(253, 254, 255, 0.6) 80%, #ffffff 100%);
  margin-top: 0;
  border-top: 1px solid #e9ecef;
}

.partners-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  /* border-bottom: 2px solid #e9ecef; */
}

.partners-header h2 {
  font-weight: 700;
  color: #2c53a2;
  position: relative;
  margin-bottom: 0;
}

.partners-header h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #ff9e43;
  border-radius: 4px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  background: #ff9e43;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: #f48020;
}

.partners-s.collab-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  width: 100%;
  /* Force full width to enable overflow */
  padding-bottom: 10px;
  /* Space for shadow */
}

.partners-slider {
  overflow: hidden;
  margin-top: 15px;
  position: relative;
  width: 100%;
}

.partners-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 10px 0;
}

.partners-track.marquee {
  animation: partnersMarquee var(--duration, 40s) linear infinite;
  animation-play-state: running;
}

.partners-track.paused {
  animation-play-state: paused !important;
}

@keyframes partnersMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partners-slider::-webkit-scrollbar,
.partners-track::-webkit-scrollbar {
  display: none;
}

.partner-card {
  flex: 0 0 auto;
  width: 150px;
  height: 100px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card img {
  object-fit: contain;
  padding: 10px;
  max-width: 100px;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mission-message-bubble .modi-message-text {
  padding-left: 40px;
  padding-top: 30px;
  padding-bottom: 40px;
  font-size: 1.5rem;
}

.mission-message-bubble .modi-message-text::before {
  content: '“';
  position: absolute;
  left: 10px;
  top: 20px;
  font-size: 4rem;
  font-family: serif;
  color: #a3d1f4;
  line-height: 1;
  opacity: 1;
  font-style: normal;
}

.mission-message-bubble .mission-text::after {
  content: '"';
  position: absolute;
  right: 4px;
  bottom: -25px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(5deg);
  font-style: italic;
}

.mission-message-bubble .modi-message-text::after {
  content: '”';
  position: absolute;
  right: 15px;
  bottom: 5px;
  font-size: 4rem;
  font-family: serif;
  color: #a3d1f4;
  line-height: 1;
  opacity: 1;
  font-style: normal;
  transform: rotate(10deg);
}

.mission-message-bubble .mission-text::first-letter {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-right: 2px;
}

/*--------------------------------------------------------------
# Photo Gallery Section
--------------------------------------------------------------*/
.karmayogi-photo-gallery {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.karmayogi-photo-gallery .karmayogi-section-header {
  margin-bottom: 30px;
}

.karmayogi-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 0;
}

.karmayogi-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 16/9;
}

.karmayogi-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.karmayogi-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.karmayogi-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.karmayogi-gallery-item:hover .karmayogi-gallery-caption {
  opacity: 1;
}

/*--------------------------------------------------------------
# Video Gallery Section
--------------------------------------------------------------*/
.karmayogi-video-gallery {
  padding: 30px 0;
}

.karmayogi-video-gallery .karmayogi-section-header {
  margin-bottom: 20px;
}

.karmayogi-video-gallery .karmayogi-gallery-item {
  position: relative;
  cursor: pointer;
}

.karmayogi-video-gallery .karmayogi-gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
  border-radius: 10px;
}

.karmayogi-video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  opacity: 0.85;
  transition: all 0.3s ease;
  z-index: 2;
}

.karmayogi-gallery-item:hover .karmayogi-video-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.karmayogi-video-gallery .karmayogi-gallery-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  text-align: left;
  background: none;
  opacity: 1;
  padding: 0;
  z-index: 2;
}

.karmayogi-video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.karmayogi-video-date {
  font-size: 0.85rem;
  color: #e0e0e0;
}

/* Responsive Gallery Styles */
@media (max-width: 992px) {
  .karmayogi-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }

  .karmayogi-gallery-section {
    padding: 25px 0 !important;
  }

  .karmayogi-gallery-section .karmayogi-section-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .karmayogi-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
  }

  .karmayogi-gallery-section {
    padding: 20px 0 !important;
  }

  .karmayogi-gallery-section .karmayogi-section-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .karmayogi-video-play-button {
    font-size: 2.5rem;
  }

  .karmayogi-video-title {
    font-size: 0.9rem;
  }

  .karmayogi-video-date {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .karmayogi-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .karmayogi-gallery-section {
    padding: 15px 0 !important;
  }

  .karmayogi-gallery-section .karmayogi-section-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
}

.chairperson-modal .letter-paper {
  background-color: #FDEBD0;
  /* Light parchment background */
  font-family: 'Georgia', serif;
  color: #333;
  padding: 40px;
  max-width: 900px;
  width: 95%;
  border-radius: 5px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.chairperson-modal .letter-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* padding-bottom: 20px; */
  border-bottom: 2px solid #0D2C5C;
  /* margin-bottom: 20px; */
}

.chairperson-modal .letter-title-wrapper {
  flex-grow: 1;
}

.chairperson-modal .letter-title-new {
  font-family: 'Momo Trust Display', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: #0D2C5C;
  line-height: 1.1;
  margin: 0;
  position: relative;
  display: inline-block;
}

.chairperson-modal .letter-pencil-icon {
  position: absolute;
  font-size: 2rem;
  top: 77%;
  right: -40px;
  transform: translateY(-50%) rotate(0deg);
}

.chairperson-modal .letter-chairperson-photo {
  flex-shrink: 0;
  margin-left: 30px;
}

.chairperson-modal .letter-chairperson-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #0D2C5C;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.chairperson-modal .letter-content {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.7;
}

.chairperson-modal .letter-intro {
  font-style: italic;
  font-weight: bold;
  color: #0D2C5C;
  font-size: 1.2rem;
  margin-bottom: 0.7em;
}

.chairperson-modal .letter-paragraph {
  margin-bottom: 1.2em;
}

.chairperson-modal .letter-signature {
  /* margin-top: 30px; */
  text-align: left;
}

.chairperson-modal .signature-wishes {
  font-family: 'Brush Script MT', cursive;
  font-size: 2.2rem;
  color: #333;
  margin: 0;
}

.chairperson-modal .signature-name {
  font-weight: bold;
  font-size: 1.3rem;
  color: #0D2C5C;
  margin: 5px 0;
}

.chairperson-modal .signature-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.leadership-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.mission-title .accent-text {
  color: #005ea7;
}

.mission-text {
  font-size: 1.1rem !important;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 0;
  text-align: justify;
}

.modi-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modi-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modi-message-section {
  background: #ffd684;
  padding: 15px 15px 0px;
  border-radius: 0;
  box-shadow: none;
}

.jitender-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.jitender-section:hover .jitender-image {
  transform: scale(1.05);
}

.jitender-overlay-content {
  display: none;
}

.jitender-name-badge p {
  margin: 0;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.4;
}

.jitender-name-badge p.f-6 {
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.9;
}

.jitender-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 3px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.jitender-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.15);
}

.jitender-content-wrapper {
  border-radius: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.jitender-content-wrapper .jitender-section {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  width: 100%;
}

.jitender-content-wrapper .jitender-image-wrapper {
  margin: 0;
  padding: 0;
  width: 100%;
}

.jitender-section {
  flex: 1 1 auto;
  /* flexible grow */
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  /* Allow growth */
  flex-grow: 1;
}

.jitender-image-wrapper {
  position: relative;
  height: 100%;
  /* Changed from 280px to fill container */
  overflow: hidden;
  width: 100%;
  flex-grow: 1;
}

.jitender-message-section {
  background: #ffd684;
  padding: 18px 20px;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
  flex-shrink: 0;
  width: 100%;
  flex-grow: 0;
  /* Do not grow, let image grow */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
}

.jitender-message-text {
  font-style: italic;
  font-size: 0.95rem;
  color: #004b88 !important;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.jitender-message-section .jitender-name-badge {
  text-align: right;
  margin-top: 10px;
  padding: 0;
}

.jitender-message-section .jitender-name-badge p {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #004b88;
}

.jitender-message-section .jitender-name-badge p.f-6 {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.95;
  margin-top: 4px;
}

/* Override for mission-karmayogi-section-alt to fit in the new layout */
.mission-karmayogi-section-alt {
  height: 100%;
  justify-content: center;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mission-karmayogi-section-alt:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.mission-intro-text {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  width: 100%;
  margin-bottom: 30px;
}

.about-feature {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #ffaf03;
}

.feature-icon {
  font-size: 2.5rem;
  color: #ffaf03;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
}

.mission-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #343a40;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
  gap: 5px;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #007bff;
  border-radius: 2px;
}

.mission-title i {
  margin-right: 15px;
  color: #005ea6;
}

.mission-title .accent-text {
  color: #005ea6;
  white-space: nowrap;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #004b88, #ffb705);
  border-radius: 2px;
}

.mission-message-bubble {
  background: #022a53;
  color: #fff;
  padding: 25px 20px 25px 35px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.4s ease;
  border: none;
  height: 100%;
  flex-grow: 1;
  /* margin-bottom: 20px; */
}

.mission-message-bubble::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #00bfff 0%, #ff8c00 100%);
  border-radius: 16px 0 0 16px;
}

/* .mission-message-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #022a53;
} */

.mission-message-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #343a40;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 10px;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: #007bff;
  border-radius: 2px;
}

.mission-title i {
  margin-right: 15px;
  color: #005ea6;
}

.mission-title .accent-text {
  color: #005ea6;
  white-space: nowrap;
}

.mission-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #004b88, #ffb705);
  border-radius: 2px;
}

.mission-message-bubble .mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  padding: 0 35px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.mission-message-bubble .mission-text::before {
  content: '"';
  position: absolute;
  left: 4px;
  top: -12px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(-5deg);
  font-style: italic;
}

.mission-message-bubble .mission-text::after {
  content: '"';
  position: absolute;
  right: 4px;
  bottom: -25px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(5deg);
  font-style: italic;
}

.mission-message-bubble .mission-text::first-letter {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-right: 2px;
}

.mission-btn {
  margin-top: 30px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #005ea6;
  border-color: #005ea6;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #ffffff;
}

.mission-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #0056b3;
  transition: width 0.3s ease;
  z-index: -1;
}

.mission-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.mission-btn::after {
  content: '→';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease, transform 0.3s ease;
}

.mission-btn:hover::after {
  transform: translateY(-50%) translateX(5px);
}

/*-------------------------------- Modi Section -------------------------------------------*/
.modi-section {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  border-radius: 0;
  overflow: visible;
  transition: all 0.4s ease;
}

.modi-image-wrapper {
  position: relative;
  overflow: visible;
  border-radius: 24px;
  box-shadow:
    0 12px 45px rgba(0, 99, 174, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  /* height: 280px; */
  max-height: 400px;
  display: flex;
  align-items: stretch;
}

.modi-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 55px rgba(0, 99, 174, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.08);
}

.modi-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  transition: transform 0.6s ease;
}

.modi-image-wrapper:hover .modi-image {
  transform: scale(1.03);
}

.modi-overlay-content {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  z-index: 10;
  pointer-events: none;
  transition: all 0.4s ease;
}

.modi-image-wrapper:hover .modi-overlay-content {
  transform: translateY(-5px);
}

.modi-message-icon {
  position: absolute;
  bottom: 100%;
  right: 20px;
  font-size: 1.6rem;
  transform: scaleX(-1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  margin-bottom: -4px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: scaleX(-1) translateY(0);
  }

  50% {
    transform: scaleX(-1) translateY(-5px);
  }
}

.modi-message-bubble {
  background: linear-gradient(145deg, rgba(0, 35, 77, 0.96) 0%, rgba(0, 55, 110, 0.94) 100%);
  color: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modi-message-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 45px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid rgba(0, 35, 77, 0.96);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.modi-message-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0099ff 0%, #00ccff 50%, #ff6600 100%);
  border-radius: 20px 0 0 20px;
  box-shadow: 0 0 12px rgba(0, 153, 255, 0.5);
}

.modi-message-bubble p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  padding: 0 35px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.modi-message-bubble p::before {
  content: '"';
  position: absolute;
  left: 4px;
  top: -12px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(-5deg);
  font-style: italic;
}

.modi-message-bubble p::after {
  content: '"';
  position: absolute;
  right: 4px;
  bottom: -25px;
  font-size: 4.5rem;
  font-weight: 300;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  line-height: 1;
  text-shadow: white;
  z-index: 0;
  opacity: 0.8;
  transform: rotate(5deg);
  font-style: italic;
}

.modi-message-bubble p::first-letter {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-right: 2px;
}

@media (max-width: 992px) {
  .mission-modi-section {
    flex-direction: column;
    padding: 30px 5% !important;
    gap: 25px;
  }

  .sec-duplicated-section {
    padding: 30px 5% !important;
  }

  .whts-section {
    padding: 35px 5%;
  }

  .whts-sec {
    padding: 35px 5%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 4%;
  }

  .collab-header-content {
    padding: 1.2rem 4%;
  }

  .collab-header-content h2 {
    font-size: 1.1rem !important;
    /* Reduced from 1.3rem */
  }

  .collab-footer {
    padding: 1rem 4%;
  }

  .leadership-section {
    padding: 2.5rem 5%;
  }

  .cbc-blog-carousel {
    padding: 2rem 5%;
  }

  .events-section {
    padding: 2rem 5%;
  }

  .social-section {
    padding: 25px 0;
  }

  .partners-section {
    padding: 35px 5%;
  }

  .mission-karmayogi-section,
  .mission-karmayogi-section-alt,
  .modi-section,
  .jitender-section {
    flex: 0 0 100%;
    width: 100%;
  }

  .mission-content {
    padding: 18px 18px;
    min-height: 240px;
  }

  .mission-message-bubble {
    padding: 12px 16px;
  }

  .mission-message-bubble::before {
    left: 40px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .mission-message-bubble .mission-text {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0 30px;
  }

  .mission-message-bubble .mission-text::before {
    font-size: 3.5rem;
    left: 4px;
    top: -10px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::after {
    font-size: 3.5rem;
    right: 4px;
    bottom: -22px;
    opacity: 0.7;
  }

  .mission-title {
    font-size: 1.8rem;
  }

  .modi-image {
    min-height: 280px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modi-overlay-content {
    bottom: 18px;
    right: 18px;
    left: 18px;
  }

  .jitender-overlay-content {
    bottom: 18px;
    right: 18px;
    left: 18px;
  }

  .jitender-name-badge {
    padding: 12px 16px;
  }

  .jitender-name-badge p {
    font-size: 1.05rem;
  }

  .jitender-image-wrapper {
    height: 300px;
  }

  .jitender-message-section {
    padding: 18px 20px;
  }

  .jitender-message-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .modi-message-icon {
    right: 18px;
    font-size: 1.5rem;
    margin-bottom: -3px;
  }

  .modi-message-bubble {
    padding: 12px 16px;
  }

  .modi-message-bubble::before {
    right: 40px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .modi-message-bubble p {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0 30px;
  }

  .modi-message-bubble p::before {
    font-size: 3.5rem;
    left: 4px;
    top: -10px;
    opacity: 0.7;
  }

  .modi-message-bubble p::after {
    font-size: 3.5rem;
    right: 4px;
    bottom: -22px;
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .mission-modi-section {
    padding: 25px 4% !important;
    gap: 15px;
  }

  .sec-duplicated-section {
    padding: 25px 4% !important;
  }

  .whts-section {
    padding: 30px 4%;
  }

  .whts-sec {
    padding: 30px 4%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 3%;
  }

  .collab-header-content {
    padding: 1.2rem 3%;
  }

  .collab-header-content h2 {
    font-size: 1.2rem;
  }

  .collab-footer {
    padding: 1rem 3% 2rem;
  }

  .leadership-section {
    padding: 2rem 4%;
  }

  .cbc-blog-carousel {
    padding: 2rem 4%;
  }

  .events-section {
    padding: 2rem 3%;
  }

  .social-section {
    padding: 1.5rem 0;
  }

  .partners-section {
    padding: 2rem 4%;
  }

  .stats-section {
    padding: 30px 15px;
  }

  .mission-content {
    padding: 16px 18px;
    min-height: 220px;
    text-align: center;
  }

  .mission-message-bubble {
    padding: 12px 14px;
  }

  .mission-message-bubble::before {
    left: 38px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .mission-message-bubble .mission-text {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0 28px;
  }

  .mission-message-bubble .mission-text::before {
    font-size: 3rem;
    left: 3px;
    top: -8px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::after {
    font-size: 3rem;
    right: 3px;
    bottom: -20px;
    opacity: 0.7;
  }

  .mission-title {
    font-size: 1.7rem;
  }

  .mission-title::after {
    width: 60px;
    height: 3px;
  }

  .mission-btn {
    padding: 7px 20px;
    font-size: 0.85rem;
  }

  .modi-image {
    min-height: 260px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .modi-overlay-content {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }

  .jitender-overlay-content {
    bottom: 15px;
    right: 15px;
    left: 15px;
  }

  .jitender-name-badge {
    padding: 12px 14px;
  }

  .jitender-name-badge p {
    font-size: 1rem;
  }

  .modi-message-icon {
    right: 15px;
    font-size: 1.4rem;
    margin-bottom: -3px;
  }

  .modi-message-bubble {
    padding: 12px 14px;
  }

  .modi-message-bubble::before {
    right: 38px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
    bottom: -8px;
  }

  .modi-message-bubble p {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 0 28px;
  }

  .modi-message-bubble p::before {
    font-size: 3rem;
    left: 3px;
    top: -8px;
    opacity: 0.7;
  }

  .modi-message-bubble p::after {
    font-size: 3rem;
    right: 3px;
    bottom: -20px;
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .mission-modi-section {
    padding: 18px 3%;
    gap: 15px;
  }

  .mission-content {
    padding: 15px 14px;
    min-height: 220px;
    text-align: center;
  }

  .mission-message-bubble {
    padding: 8px 10px;
  }

  .mission-message-bubble::before {
    left: 35px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 8px;
    bottom: -6px;
  }

  .mission-message-bubble .mission-text {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0 24px;
  }

  .mission-message-bubble .mission-text::before {
    font-size: 2.5rem;
    left: 3px;
    top: -6px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::after {
    font-size: 2.5rem;
    right: 3px;
    bottom: -18px;
    opacity: 0.7;
  }

  .mission-message-bubble .mission-text::first-letter {
    font-size: 1.2em;
  }

  .mission-title {
    font-size: 1.6rem;
  }

  .mission-btn {
    padding: 6px 18px;
    font-size: 0.8rem;
  }

  .modi-image {
    min-height: 240px;
  }

  .modi-overlay-content {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }

  .modi-message-icon {
    right: 12px;
    font-size: 1.2rem;
    margin-bottom: -2px;
  }

  .modi-message-bubble {
    padding: 8px 10px;
  }

  .modi-message-bubble::before {
    right: 35px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 8px;
    bottom: -6px;
  }

  .modi-message-bubble p {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 0 24px;
  }

  .modi-message-bubble p::before {
    font-size: 2.5rem;
    left: 3px;
    top: -6px;
    opacity: 0.7;
  }

  .modi-message-bubble p::after {
    font-size: 2.5rem;
    right: 3px;
    bottom: -18px;
    opacity: 0.7;
  }

  .modi-message-bubble p::first-letter {
    font-size: 1.2em;
  }
}

.whats-img {
  width: 100%;
  max-width: 300px;
  /* or whatever fits your layout */
  overflow: hidden;
  border-radius: 12px;
}

.whats-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.whts-sec {
  background-color: #eaf6ff;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 3% 8% 5%;
  gap: 15px;
  transition: all 0.3s ease-in-out;
  margin-top: 0;
}

.whts-sec .row {
  display: flex;
  align-items: stretch;
}

.whts-sec .col-lg-6 {
  display: flex;
  flex-direction: column;
}

.whts-section {
  background: #005ea5;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 20px 5%;
  gap: 15px;
  transition: all 0.3s ease-in-out;
  margin-top: 0;
}

.whts-section .row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.whts-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}



/* Left side content box */
.whts-box {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.whts-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

/* Right side image box */
.whats-img {
  flex: 1 1 35%;
  background: linear-gradient(135deg, #007bff20, #ffa50020);
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0, 99, 174, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
  transition: all 0.3s ease-in-out;
}

.whats-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.whats-img:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Subtle animated gradient border */
.whats-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(120deg, #007bff, #ffa500, #00b4d8);
  background-size: 300% 300%;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderMove 6s linear infinite;
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/*------------------------------------------------ media corner section -------------------------------*/






/* ------------------------- RESPONSIVE DESIGN ------------------------- */

/* Tablet (up to 992px) */
@media (max-width: 992px) {
  .whts-sec {
    flex-direction: column;
    align-items: center;
    padding: 30px 5%;
  }

  .whts-box {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px 15px;
  }
}

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .whts-sec {
    padding: 25px 4%;
    gap: 15px;
  }

  .whts-box {
    text-align: center;
    padding: 25px 15px;
  }

  .whts-box h2 {
    font-size: 1.2rem !important;
    /* Reduced from 1.6rem */
  }

  .whts-box p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* --- Collaboration Section --- */
.collab-section {
  background: linear-gradient(180deg, #e7f5ff 0%, rgba(231, 245, 255, 0.95) 15%, rgba(240, 248, 255, 0.85) 30%, rgba(245, 250, 255, 0.7) 45%, rgba(248, 252, 255, 0.5) 60%, rgba(250, 253, 255, 0.3) 75%, rgba(252, 254, 255, 0.15) 85%, #ffffff 100%);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  border-top: 1px solid #e9ecef;
  /* border-bottom: 1px solid #e9ecef; */
}

/* Full width header with background color */
.collab-header-full {
  width: 100%;
  background: #ffa901;
  padding: 20px 0;
  margin: 0;
}

.collab-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
}

.collab-header-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
}


.collab-footer {
  padding: 0 rem 5% 4rem;
  text-align: right;
  /* border-top: 1px solid #e9ecef; */
  background: #ffe7b3;
}

.collab-footer .view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffaa0187 0%, #f7a401b0 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.collab-footer .view-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 99, 174, 0.3);
  background: linear-gradient(135deg, #f6ab22 0%, #ffa500ab 100%);
  color: #fff;
  text-decoration: none;
}

.collab-footer .view-more i {
  transition: transform 0.3s ease;
}

.collab-footer .view-more:hover i {
  transform: translateX(5px);
}

/* .view-more styles moved to .collab-footer .view-more above */

.collab-carousel {
  overflow: hidden;
  position: relative;
}

.collab-track {
  display: flex;
  gap: 18px;
  transition: transform 1s ease-in-out;
  align-items: stretch;
}

.collab-box {
  flex: 0 0 calc(33.333% - 20px);
  background: #ffffff;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  max-height: 400px;
  cursor: pointer;
}

.collab-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

.collab-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

.collab-box h3 {
  font-size: 1rem !important;
  /* Reduced from 16px */
  font-weight: 600;
  color: #0063ae;
  margin-bottom: 4px;
  margin-top: 0;
  padding: 12px 16px 0;
  line-height: 1.35;
  display: block;
  overflow: visible;
  text-overflow: initial;
  white-space: normal;
  min-height: auto;
}

.collab-box p {
  font-size: 13px;
  color: #555;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
  line-height: 1.5;
  padding: 0 14px 14px;
  margin-top: 0;
  flex: 1;
}

/*------------------------------ collab-section --------------------------------*/
.Our-Collaboration {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #f2f6fc 0%, rgba(242, 246, 252, 0.95) 20%, rgba(248, 250, 255, 0.9) 40%, rgba(250, 252, 255, 0.8) 60%, rgba(252, 253, 255, 0.6) 80%, #ffffff 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 35px 5%;
  /* gap: 25px; */
}

.collab-carousel {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
}

.collab-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
  width: 100%;
  padding-bottom: 10px;
}

.collab-track::-webkit-scrollbar {
  display: none;
}

.collab-track>a {
  flex: 0 0 350px;
  /* Fixed width for consistent carousel items */
  text-decoration: none;
  /* Remove underline from anchor */
  color: inherit;
  display: block;
  /* Ensure anchor behaves like a block */
}

.collab-box {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensure card fills the anchor height */
  cursor: pointer;
}

.collab-image {
  width: 100%;
  height: 220px;
  /* Fixed height for images */
  object-fit: cover;
  /* Maintain aspect ratio without stretching */
  display: block;
}

.collab-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.collab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffa901;
  color: #fff;
  border: none;
  padding: 3px 12px;
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 99, 174, 0.2);
}

.collab-arrow:hover {
  background: #ffa901;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.3);
}

.collab-arrow.left {
  left: 10px;
}

.collab-arrow.right {
  right: 10px;
}

@media (max-width: 992px) {
  .collab-box {
    flex: 0 0 80%;
  }
}

.news-section {
  background: #ffffff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 3px solid #005fa8;
  border-radius: 0;
  height: 100%;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 14px 16px;
  background: #004b88;
  border-radius: 0;
}

.news-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}

.news-header .toggle-slide {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  border-radius: 4px !important;
  width: 32px !important;
  height: 32px !important;
}

.news-header .toggle-slide:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.05) !important;
}

.title-underline {
  display: none;
}

.toggle-slide {
  background: linear-gradient(135deg, #0073cf 0%, #0099ff 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 115, 207, 0.3);
}

.toggle-slide:hover {
  background: linear-gradient(135deg, #005fa3 0%, #0073cf 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 115, 207, 0.4);
}

.toggle-slide i {
  font-size: 14px;
}

.news-wrapper {
  overflow: hidden;
  position: relative;
  padding: 10px 15px;
  margin: 0;
  min-height: 320px;
  max-height: 350px;
}

/* Top and bottom decorative strips */
.news-wrapper::before,
.news-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
}

.news-wrapper::before {
  top: 0;
  background: linear-gradient(90deg, #f5f3e7, #f0ede0);
}

.news-wrapper::after {
  bottom: 0;
  background: #f1f1f1;
}

.news-banner-track {
  display: block;
}

.news-banner {
  width: 100%;
  min-height: 90px;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  border-left: 4px solid #0063ae;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.news-banner:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.news-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.news-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.15);
  border-color: #0063ae;
  border-left-color: #ffa500;
  background: #f8f9fa;
}

.news-banner:hover::before {
  left: 100%;
}

/* NEW Badge */
.new-badge {
  position: relative;
  flex-shrink: 0;
  background: #2477cf;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  z-index: 2;
}

.badge-text {
  position: relative;
  z-index: 3;
}

.badge-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Play Button */
.news-play-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.news-play-btn i {
  font-size: 16px;
  margin-left: 1px;
}

.news-play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.news-play-btn:active {
  transform: scale(0.95);
}

/* Banner Content */
.news-banner-content {
  flex: 1;
  min-width: 0;
}

.news-banner-content p {
  color: #333333;
  font-size: 0.95rem;
  /* Increased from 0.95rem for better readability */
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.news-footer {
  text-align: right;
  padding: 15px;
  border-top: 1px solid #e9ecef;
}

.view-all {
  font-size: 1rem;
  font-weight: 600;
  color: #0073cf;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all:hover {
  color: #005fa3;
  gap: 12px;
}

.view-all:hover i {
  transform: translateX(4px);
}

@keyframes scrollBannersVertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Responsive Styles for News Section */
@media (max-width: 992px) {
  .collab-section {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 20px;
    position: relative;
    flex: 0 0 100%;
    background: rgb(255, 255, 255);
    /* border-radius: 15px; */
    /* padding: 20px; */
    overflow: hidden;
  }

  .news-section {
    flex: 0 0 100%;
    background: #ffffff;
    border-radius: 15px;
    color: #000;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    overflow: hidden;
    position: relative;
    /* padding: 15px; */
  }

  .news-wrapper {
    height: 160px;
    max-height: 160px;
  }

  .news-header h2 {
    font-size: 1.75rem;
  }

  .news-banner {
    width: 100%;
    min-height: 85px;
    padding: 18px 25px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 1rem for better readability */
  }

  .new-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .news-play-btn {
    width: 40px;
    height: 40px;
  }

  .news-play-btn i {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 20px 15px;
  }

  .news-wrapper {
    height: 150px;
    max-height: 150px;
  }

  .news-header {
    margin-bottom: 1px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .news-header h2 {
    font-size: 1.6rem;
  }

  .news-banner {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    gap: 15px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.95rem for better readability */
    line-height: 1.5;
  }

  .new-badge {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .news-play-btn {
    width: 36px;
    height: 36px;
  }

  .toggle-slide {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 18px 12px;
  }

  .news-wrapper {
    height: 140px;
    max-height: 140px;
  }

  .news-header h2 {
    font-size: 1.4rem;
  }

  .news-banner {
    width: 100%;
    min-height: 75px;
    padding: 12px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .news-banner-content {
    width: 100%;
    margin-top: 5px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.9rem for better readability */
    line-height: 1.4;
  }

  .new-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .news-play-btn {
    width: 32px;
    height: 32px;
  }

  .news-play-btn i {
    font-size: 12px;
  }

  .news-footer {
    margin-top: 20px;
    padding-top: 10px;
  }
}

.news-title-wrapper {
  text-align: left;
}

.wave-text {
  font-weight: 700;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  /* gap: 10px; */
}

/* Blinking red dot for What's New title */
.wave-text .blink-dot {
  display: none;
}

.wave-text {
  animation: blink 1.5s infinite;
}

.wave-text span:not(.blink-dot) {
  display: inline-block;
  background: linear-gradient(135deg, #004d99 0%, #0073cf 25%, #ff6b35 50%, #ffa500 75%, #0099ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradientWave 3s ease-in-out infinite;
}

/* Animation delays removed - only color gradient animation remains */

@keyframes gradientWave {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.title-underline {
  display: none;
}

/* ----------------------------------------media corner ------------------------------------------------ */
/* 📺 MEDIA CORNER SECTION */
.media-corner-section {
  background: #ffffff;
  border-radius: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-corner-section .section-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 8px;
}

/* Section Header Styles - Rectangular Professional Design */
.section-header {
  padding: 10px 16px;
  margin: 0;
  border-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
}

.section-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-align: left;
  flex: 1;
}

.section-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social Media Header - Professional Blue */
.social-header {
  background: #004b88;
}

/* Media Corner Header - Professional Darker Blue */
.media-header-bg {
  background: #004b88;
}

/* Newsletters Header - Professional Green */
.newsletters-header-bg {
  background: #004b88;
}

.section-body {
  background: #ffffff;
  flex: 1;
  padding: 8px;
}

.media-header .wave-text span {
  display: inline-block;
  animation: wave 1.5s ease-in-out infinite;
}

.media-header .wave-text span:nth-child(odd) {
  animation-delay: 0.1s;
}

.media-header .wave-text span:nth-child(even) {
  animation-delay: 0.25s;
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* 🔹 Underline */
.title-underline {
  width: 60px;
  height: 3px;
  background: #ffb400;
  border-radius: 3px;
  margin-top: 3px;
}

/* ⏯️ Play/Pause Button */
.toggle-slide {
  background: transparent;
  border: none;
  color: #014b85;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.toggle-slide:hover {
  color: #ffb400;
}


.media-corner-box {
  height: 270px;
  position: relative;
  overflow: hidden;
}

.media-track {
  display: flex;
  flex-direction: column;
  animation: continuousSlideUp 40s linear infinite;
}

.media-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 4px;
  border: 1px solid #dee2e6;
  margin: 1px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.media-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.media-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #0063ae;
}

.media-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

.media-item p {
  margin-top: 3px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  padding: 0 2px;
  line-height: 1.3;
}

/* Smooth infinite loop animation */
@keyframes continuousSlideUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* 🔗 Footer Link */
.media-footer {
  border-top: 1px solid #e9ecef;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.media-footer .view-all {
  font-size: 0.85rem;
  color: #014b85;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s;
}

.media-footer .view-all:hover {
  color: #ffb400;
}

@media (max-width: 992px) {
  .media-corner-section {
    margin-top: 15px;
  }
}

/* ---------------------------------------- Newsletters Section ------------------------------------------------ */
.newsletters-section {
  background: #ffffff;
  border-radius: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.newsletters-section .section-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 8px;
}

.newsletters-box {
  height: 270px;
  position: relative;
  overflow: hidden;
}

.newsletters-track {
  display: flex;
  flex-direction: column;
  animation: continuousSlideUp 20s linear infinite;
}

.newsletters-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 4px;
  border: 1px solid #dee2e6;
  margin: 1px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.newsletters-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.newsletters-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #0063ae;
}

.newsletters-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0063ae, #0099ff);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 99, 174, 0.3);
  transition: transform 0.3s;
}

.newsletters-item:hover .newsletters-icon {
  transform: scale(1.1) rotate(5deg);
}

.newsletters-item p {
  margin: 3px 0 0 0;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  line-height: 1.3;
  padding: 0 2px;
}

.newsletters-footer {
  border-top: 1px solid #e9ecef;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.newsletters-footer .view-all {
  font-size: 0.85rem;
  color: #014b85;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s;
}

.newsletters-footer .view-all:hover {
  color: #ffb400;
}

@media (max-width: 992px) {
  .newsletters-section {
    margin-top: 15px;
  }

  .whts-sec .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ----------------------------------------- end whats new section ------------------------------------------*/

/* ----------------------------------------Infocuse. section. -------------------------------------------- */

.infocus-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #f8f9fa 0%, rgba(248, 249, 250, 0.95) 20%, rgba(250, 251, 252, 0.9) 40%, rgba(252, 253, 254, 0.8) 60%, rgba(253, 254, 255, 0.6) 80%, #ffffff 100%);
  color: #333;
  overflow: hidden;
  padding: 35px 5%;
}

.infocus-container {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 3px solid #005fa8;
  opacity: 0;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  width: 100%;
}

.infocus-container.animate-in {
  opacity: 1;
}

.infocus-section:hover .infocus-container {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.infocus-title-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  opacity: 1;
  transform: translateX(0);
  transition: none;
  margin-bottom: 0;
  width: 100%;
  justify-content: center;
  padding: 13.5px 16px;
  background: #004b88;
  border-radius: 0;
}

.infocus-container.animate-in .infocus-title-wrapper {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0;
}

.focus-circle-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  opacity: 1;
  transform: none;
  overflow: visible;
}

.infocus-container.animate-in .focus-circle-frame {
  opacity: 1;
}

/* Rotating Gradient Ring for In Focus Circle */
.infocus-title-wrapper .circle-animation {
  display: none;
}

/* Inner white circle for text visibility */
.inner-white-circle {
  display: none;
}

@keyframes pulseCircle {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Enhanced glow around In Focus circle */
.infocus-title-wrapper .circle-glow {
  display: none;
}

.infocus-content {
  flex: 1 1 auto;
  padding: 10px 10px;
  opacity: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: auto;
}

h2.infocus-heading {
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
  margin-bottom: 5px;
  margin-top: 0;
  text-align: center;
  width: 100%;
}

.infocus-title-wrapper .infocus-title {
  font-size: 2rem;
  font-family: 'Arial Black', 'Arial Bold', 'Helvetica Bold', 'Impact', 'Franklin Gothic Bold', 'Trebuchet MS', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: none;
  font-weight: 900;
  margin: 0;
  position: relative;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  padding: 4px 8px;
  opacity: 1;
  transform: scale(1);
  mix-blend-mode: normal;
  max-width: 350px;
  overflow: hidden;
  box-sizing: border-box;
  background: transparent;
  gap: 12px;
  animation: none;
  border: 2px solid #ff6600;
  background: #ff6600;
}

.typing-text {
  display: inline-block;
  overflow: visible;
  white-space: nowrap;
  width: auto;
  font-size: 3.5rem;
  position: relative;
  z-index: 16;
  vertical-align: middle;
  line-height: 1.2;
  text-shadow: none;
}

.in-text {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

.in-text span {
  display: inline-block;
  background: repeating-linear-gradient(90deg,
      #0063ae 0%,
      #0063ae 8%,
      #0099ff 12%,
      #0099ff 20%,
      #ffa500 28%,
      #ffa500 36%,
      #ff6600 44%,
      #ff6600 52%,
      #ffa500 60%,
      #ffa500 68%,
      #0099ff 76%,
      #0099ff 84%,
      #0063ae 92%,
      #0063ae 100%);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flagWave 5s linear infinite;
  will-change: background-position;
  vertical-align: middle;
}

/* Animation delays removed - only color gradient animation remains */

.focus-text {
  font-family: 'Momo Trust Display', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

.focus-text span {
  display: inline-block;
  background: repeating-linear-gradient(90deg,
      #0063ae 0%,
      #0063ae 8%,
      #0099ff 12%,
      #0099ff 20%,
      #ffa500 28%,
      #ffa500 36%,
      #ff6600 44%,
      #ff6600 52%,
      #ffa500 60%,
      #ffa500 68%,
      #0099ff 76%,
      #0099ff 84%,
      #0063ae 92%,
      #0063ae 100%);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flagWave 5s linear infinite;
  will-change: background-position;
  vertical-align: middle;
}

/* Animation delays removed - only color gradient animation remains */

.typing-cursor {
  display: none;
}

@keyframes flagWave {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 0%;
  }
}

@keyframes blink-cursor {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.infocus-container.animate-in .infocus-title {
  opacity: 1;
  /* transform: scale(0.79); */
  transition-delay: 0;
}

.infocus-title {
  opacity: 1;
  transform: scale(1);
  animation: none;
}

.infocus-title-wrapper .infocus-title::before {
  display: none;
}


@keyframes lightMovement {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  25% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.2);
  }

  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.35);
  }

  75% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.2);
  }
}


.infocus-heading {
  font-size: 0.8rem;
  color: #002b5b;
  margin: 5px 0;
  line-height: 1.2;
  text-align: center;
  align-self: center;
  width: 100%;
  font-weight: 800;
}

.infocus-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  align-self: flex-start;
  width: 100%;
  font-family: 'Nunito', sans-serif;
}

.infocus-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0073cf, #0099ff);
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 115, 207, 0.2);
  position: relative;
  overflow: hidden;
  align-self: flex-end;
}

.infocus-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.infocus-btn:hover {
  background: linear-gradient(135deg, #005fa3, #0073cf);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 115, 207, 0.3);
}

.infocus-btn:hover::before {
  width: 300px;
  height: 300px;
}

.infocus-image {
  flex: 0 0 30%;
}

.infocus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Alternate minimalist version */
.infocus-section.alt {
  background: linear-gradient(180deg, #f8fafc 0%, rgba(248, 250, 252, 0.95) 20%, rgba(250, 252, 254, 0.9) 40%, rgba(252, 253, 255, 0.8) 60%, rgba(253, 254, 255, 0.6) 80%, #ffffff 100%);
}

.infocus-section.alt .infocus-container {
  background: linear-gradient(145deg, #ffffff, #f0f6ff);
}

.focus-icon-frame {
  position: relative;
  width: 315px;
  height: 315px;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.focus-icon-frame.animate-in {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.5s;
}

/* Image */
.focus-icon-frame img {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow:
    0 0 25px rgba(0, 99, 174, 0.25),
    0 0 35px rgba(255, 165, 0, 0.25);
  transition: transform 0.6s ease;
}

.focus-icon-frame:hover img {
  transform: scale(1.05);
}

/* Rotating Gradient Ring */
.circle-animation {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg,
      #0063ae 0deg,
      #0099ff 90deg,
      #ffa500 180deg,
      #ff6600 270deg,
      #0063ae 360deg);
  z-index: 1;
  mask: radial-gradient(circle 70% at center, transparent 69%, black 70%);
  -webkit-mask: radial-gradient(circle 70% at center, transparent 69%, black 70%);
  animation: rotateRing 8s linear infinite;
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}

.focus-icon-frame.animate-in .circle-animation {
  opacity: 1;
}

/* Smooth clockwise rotation */
@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Enhanced glow around ring */
.circle-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 165, 0, 0.3),
      rgba(0, 153, 255, 0.3),
      rgba(255, 102, 0, 0.2),
      transparent 70%);
  filter: blur(20px);
  opacity: 0;
  z-index: 0;
  animation: glowPulseRing 3s ease-in-out infinite;
  transition: opacity 0.8s ease 0.7s;
}

.focus-icon-frame.animate-in .circle-glow {
  opacity: 0.7;
}

@keyframes glowPulseRing {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}



@media (max-width: 768px) {
  .infocus-title-wrapper {
    flex: 0 0 100%;
    padding: 20px 15px 12px;
    min-width: unset;
  }

  .focus-circle-frame {
    width: 220px;
    height: 220px;
  }

  .inner-white-circle {
    width: 165px;
    height: 165px;
  }

  .infocus-title-wrapper .infocus-title {
    font-size: 2.5rem;
  }

  .typing-text {
    font-size: 2.5rem;
  }

  .in-text {
    font-size: 2.5rem;
    font-family: 'Momo Trust Display', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
  }

  .in-text span {
    font-size: 2.5rem;
  }

  .focus-text {
    font-size: 2.5rem;
    font-family: 'Momo Trust Display', sans-serif;
    font-weight: 900;
  }

  .focus-text span {
    font-size: 2.5rem;
  }

  .typing-cursor {
    display: none;
  }

  .infocus-title-wrapper .circle-glow {
    width: 220px;
    height: 220px;
  }

  .infocus-content {
    flex: 0 0 100%;
    padding: 10px;
  }
}

/* --------------------------------------- end infocuse section ------------------------------------------ */

/* --------------------------------------bloge section ------------------------------------------------------ */

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ffa901;
}

.carousel-header h2 {
  color: #003b73;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.carousel-controls button {
  background: #ffffff;
  border: 2px solid #0063ae;
  color: #0063ae;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 99, 174, 0.2);
}

.carousel-controls button:hover {
  background: #0063ae;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 99, 174, 0.3);
}

/* Carousel Track */
.carousel-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  transition: transform 0.6s ease;
  align-items: stretch;
  padding-top: 4px;
  width: 100%;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.blog-card {
  flex: 0 0 calc(25% - 15px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  padding: 0;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}

.blog-card-content {
  flex-grow: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #0063ae;
}

.blog-card img {
  width: 100%;
  height: 200px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  border: none;
  background: #f5f5f5;
  transition: all 0.3s ease;
}

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

.blog-card h3 {
  font-size: 1.1rem;
  color: #003b73;
  margin: 10px 0 8px;
  padding: 0;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.blog-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  padding: 0 0 10px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: left;
}

.blog-card a {
  color: #0063ae;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 0 20px;
  margin-top: auto;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  text-align: left;
}

.blog-card a:hover {
  color: #004d99;
}

.carousel-controls {
  display: flex;
  gap: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-card {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .blog-card {
    flex: 0 0 calc(100% - 15px);
  }

  .carousel-header {
    display: flex;
    gap: 10px;
  }

  .leadership-title {
    font-size: 1.2rem !important;
    /* Reduced from 1.4rem */
    font-weight: 800;
    margin-bottom: 12px;
  }

  .carousel-header h2 {
    color: #0063ae;
    font-size: 1.2rem !important;
    /* Reduced from 1.4rem */
    font-weight: 600;
  }

  .carousel-controls button {
    width: 30px;
    height: 30px;
  }
}

/* ---------------------------------- end bloge section ----------------------------------------------------*/
/* -----------------------------------------leadership --------------------------------------------------- */

/* === Leadership Section === */
.leadership-section {
  background: linear-gradient(180deg, #f9f9f9 0%, rgba(249, 249, 249, 0.95) 20%, rgba(252, 252, 252, 0.9) 40%, rgba(253, 253, 253, 0.8) 60%, rgba(254, 254, 254, 0.6) 80%, #ffffff 100%);
  padding: 4rem 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  margin-top: 0;
  border-top: 1px solid #e9ecef;
  background-color: #f0f4f8;
}

.leadership-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #f8a501;
  margin-top: 4rem;
}

.leadership-grid-new {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: stretch;
}

/* === Card === */
.leader-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* === Image Styling === */
.leader-img {
  position: relative;
  overflow: hidden;
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.small-card .leader-img {
  height: 210px;
}

.small-card {
  height: 280px;

}

/* Main card (chairperson) image size */
.main-card .leader-img {
  height: 300px;
}

.main-card {
  height: 320px;
}

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

/* === Center (Chairperson) Highlight === */
.leader-card:nth-child(2) {
  transform: scale(1.05);
  z-index: 5;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 99, 174, 0.25);
  position: relative;
}

.leader-card:nth-child(2)::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(135deg, #0063ae, #ffa500);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.85;
  transition: all 0.4s ease;
}

.leader-card:nth-child(2):hover::before {
  filter: brightness(1.2);
  box-shadow: 0 0 35px rgba(0, 99, 174, 0.45);
}

/* === Overlay === */
.leader-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 77, 0.9);
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  overflow: hidden;
}

.leader-card:hover .leader-overlay {
  bottom: 0;
}

.leader-overlay p {
  font-size: 0.8rem;
  margin-bottom: 1px;
  line-height: 1.3;
  color: #e0e0e0;
}

/* === View More Button === */
.view-more {
  display: inline-block;
  padding: 4px 8px;
  background: linear-gradient(90deg, #0063ae, #004b88);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 99, 174, 0.3);
}

/* === Info === */
.leader-info {
  padding: 15px 12px 18px;
  text-align: center;
  overflow: hidden;
}

.leader-info h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #002b5b;
  margin-bottom: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leader-info p {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === New Leadership Grid Layout === */
.leadership-grid-new {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: stretch;
  margin-bottom: 40px;
}

.leadership-team-column {
  display: block;
  background: #ffffff;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.leadership-members-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.leadership-message-column {
  display: flex;
  align-items: stretch;
}

.leadership-message-column .chairperson-message-card {
  flex: 1;
}

@media (max-width: 1200px) {
  .leadership-members-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Left: Chairperson Image Card */
.chairperson-image-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.chairperson-image-card .chairperson-content {
  background: #ffffff !important;
}

.chairperson-image-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.chairperson-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  border: 0;
  border-radius: 0;
  margin: 0;
  display: block;
}

.chairperson-image-card:hover .chairperson-image-wrapper img {
  transform: scale(1.03);
}

.chairperson-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffa901e8;
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  overflow: hidden;
}

.chairperson-image-card:hover .chairperson-overlay {
  bottom: 0;
}

.chairperson-overlay p {
  font-size: 0.8rem;
  margin-bottom: 1px;
  line-height: 1.3;
  color: #ffffff;
}

.chairperson-content {
  padding: 15px 12px 18px;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff !important;
  position: relative;
  z-index: 5;
  width: 100%;
  box-sizing: border-box;
  /* min-height: 100px; */
}

.chairperson-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #002b5b;
  margin: 0 0 6px 0;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 0 2px 4px rgba(0, 43, 91, 0.15);
  letter-spacing: 0.3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chairperson-designation {
  font-size: 0.95rem;
  color: #0063ae;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Middle: Chairperson Message Card */
.chairperson-message-card {
  grid-column: 3;
  grid-row: 1;
  background: #fff;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 480px;
}

.message-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 1px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e3f2fd;
}

.message-preview-container {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 4px;
}

.message-preview-container:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Preview Letter Styling - Complete HTML in smaller format to fit full message */
.message-preview-letter {
  width: 100%;
  height: 100%;
  background: #FDEBD0;
  /* Match modal background */
  padding: 15px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  /* Hide overflowing text */
  font-family: 'Georgia', serif;
  /* Match font */
}

.message-preview-letter::-webkit-scrollbar {
  display: none;
}

.preview-letter-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 2px solid #0D2C5C;
  /* Add border */
}

.preview-letter-title-wrapper {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.preview-letter-title-new {
  font-size: 1.1rem;
  /* Scaled down font size */
  font-weight: 900;
  color: #002b5b;
  margin: 0;
  font-family: 'Momo Trust Display', sans-serif;
  /* Match font */
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
}

.preview-pencil-icon {
  font-size: 1rem;
  /* Scaled down */
  position: absolute;
  top: 75%;
  /* Adjusted position */
  /* right: -5px;  */
  transform: translateY(-50%);
}

.preview-chairperson-photo {
  flex-shrink: 0;
  margin-left: 10px;
}

.preview-chairperson-img {
  width: 50px;
  /* Scaled down image */
  height: 50px;
  border-radius: 50%;
  border: 2px solid #0D2C5C;
  /* Match border color */
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.preview-letter-divider {
  display: none;
  /* Remove the old divider */
}

.preview-letter-content {
  margin-top: 10px;
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  /* max-height: 120px; */
  /* REMOVED to show full content */
}

/* Add a fade-out effect for truncated text */
.preview-letter-content::after {
  display: none;
  /* REMOVED fade effect */
}

.preview-letter-text {
  font-size: 0.4rem;
  /* Further reduced font size */
  line-height: 1.3;
  color: #3a3a3a;
  text-align: justify;
}

.preview-letter-intro {
  font-size: 0.5rem;
  /* Scaled down intro font size */
  font-style: italic;
  font-weight: bold;
  color: #0d2c5c;
  margin-bottom: 0.4em;
}

.preview-letter-paragraph {
  margin-bottom: 0.4em;
}

.preview-letter-signature {
  margin-top: 10px;
  text-align: left;
}

.preview-signature-wishes {
  font-family: 'Brush Script MT', cursive;
  font-size: 0.7rem;
  /* Scaled down */
  color: #333;
  margin: 0;
}

.preview-signature-name {
  font-weight: bold;
  font-size: 0.6rem;
  /* Scaled down */
  color: #0D2C5C;
  margin: 1px 0;
}

.preview-signature-title {
  font-size: 0.5rem;
  /* Scaled down */
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Right Column: Members */
.members-column {
  grid-column: 5;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 480px;
  min-height: 480px;
}

.member-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.member-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.member-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

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

.member-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffa500de;
  color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  overflow: hidden;
}

.member-card:hover .member-overlay {
  bottom: 0;
}

.member-overlay p {
  font-size: 0.8rem;
  margin-bottom: 1px;
  line-height: 1.3;
  color: #004b88;
}

.member-info {
  padding: 4px 12px 15px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.member-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #002b5b;
  margin: 0 0 6px 0;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 0 2px 4px rgba(0, 43, 91, 0.15);
  letter-spacing: 0.3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-info p {
  font-size: 0.95rem;
  color: #0063ae;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Chairperson Modal - Letter Style === */
.chairperson-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.chairperson-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.chairperson-modal.active .modal-backdrop {
  opacity: 1;
}

.modal-content-wrapper {
  position: relative;
  z-index: 10001;
  width: 100%;
  max-width: 900px;
  max-height: 95vh;
  transform: translateY(-50px);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
  opacity: 0;
  overflow: visible;
}

.chairperson-modal.active .modal-content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

/* Letter Container */
.letter-container {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  perspective: 2000px;
  overflow: hidden;
}

.letter-paper {
  width: 100%;
  max-width: 850px;
  padding: 35px 40px;
  padding-top: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 40px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  transform-style: preserve-3d;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(90vh - 40px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform-origin: top center;
  z-index: 5;
  flex: 1;
  min-height: 0;

  /* Hide scrollbar but keep scrolling functionality */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */

  /* Scroll-like rounded edges */
  border-radius: 12px;

  /* Light peach background - matches image */
  background-color: #ffe5d4;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.01) 2px,
      rgba(0, 0, 0, 0.01) 4px);

  /* Remove any glossy effects - completely matte */
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-filter: none;

  /* Initial state - rolled up, hidden under the roll */
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transform: translateY(-20px);
  opacity: 0;
}

.letter-paper::-webkit-scrollbar {
  display: none;
  /* WebKit browsers (Chrome, Safari, Edge) */
}

.chairperson-modal.active .letter-paper {
  /* Scroll unroll effect - rolling out from top - smooth continuous animation */
  animation: scrollRollUnfold 2.5s cubic-bezier(0.4, 0.0, 0.2, 1) both;
}

@keyframes scrollRollUnfold {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transform: translateY(-20px);
    opacity: 0;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  5% {
    clip-path: polygon(0 0, 100% 0, 100% 30px, 0 30px);
    transform: translateY(-18px);
    opacity: 0.15;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
  }

  12% {
    clip-path: polygon(0 0, 100% 0, 100% 60px, 0 60px);
    transform: translateY(-16px);
    opacity: 0.25;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  20% {
    clip-path: polygon(0 0, 100% 0, 100% 100px, 0 100px);
    transform: translateY(-12px);
    opacity: 0.4;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  30% {
    clip-path: polygon(0 0, 100% 0, 100% 150px, 0 150px);
    transform: translateY(-8px);
    opacity: 0.55;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  42% {
    clip-path: polygon(0 0, 100% 0, 100% 220px, 0 220px);
    transform: translateY(-5px);
    opacity: 0.7;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }

  55% {
    clip-path: polygon(0 0, 100% 0, 100% 300px, 0 300px);
    transform: translateY(-3px);
    opacity: 0.82;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  68% {
    clip-path: polygon(0 0, 100% 0, 100% 400px, 0 400px);
    transform: translateY(-1px);
    opacity: 0.9;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
  }

  80% {
    clip-path: polygon(0 0, 100% 0, 100% 500px, 0 500px);
    transform: translateY(0px);
    opacity: 0.96;
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
  }

  90% {
    clip-path: polygon(0 0, 100% 0, 100% 600px, 0 600px);
    transform: translateY(0px);
    opacity: 0.99;
    border-bottom-left-radius: 47px;
    border-bottom-right-radius: 47px;
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0px);
    opacity: 1;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }
}

.letter-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  width: 2px;
  height: 100%;
  background: rgba(0, 43, 91, 0.1);
  opacity: 0.3;
  z-index: 1;
}


/* Letter Header */
.letter-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* margin-bottom: 12px; */
  /* padding-bottom: 12px; */
}

.letter-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.letter-title-new {
  font-size: 2.2rem;
  font-weight: 700;
  color: #002b5b;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.letter-pencil-icon {
  font-size: 1.8rem;
  color: #ffc107;
  display: inline-block;
  margin-left: 3px;
  position: relative;
  z-index: 2;
}

.letter-chairperson-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: visible;
  margin-left: 6px;
  position: relative;
  z-index: 1;
}

.letter-chairperson-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.letter-divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  margin-bottom: 1px;
}

/* Letter Content */
.letter-content {
  margin: 25px 0;
  text-align: left;
  line-height: 1.9;
  color: #333;
}

.letter-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05rem;
  color: #2c3e50;
  text-align: justify;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.letter-intro {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #002b5b;
  margin-bottom: 1px;
  text-align: left;
  line-height: 1.9;
}

.letter-paragraph {
  margin-bottom: 12px;
  text-indent: 0;
  line-height: 1.9;
  color: #2c3e50;
  text-align: justify;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Letter Signature */
.letter-signature {
  margin-top: 30px;
  text-align: left;
  /* padding-top: 18px; */
}

.signature-wishes {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: #2c3e50;
  margin-bottom: 1px;
}

.signature-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002b5b;
  margin-bottom: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.signature-title {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 43, 91, 0.2);
  border-radius: 50%;
  font-size: 28px;
  color: #002b5b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-weight: 300;
}

.modal-close-btn:hover {
  background: #002b5b;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  border-color: #002b5b;
  box-shadow: 0 4px 12px rgba(0, 43, 91, 0.3);
}

/* === Responsive === */
@media (max-width: 992px) {
  .leadership-grid-new {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
    align-items: stretch;
  }

  .leadership-team-column {
    padding: 18px;
    border-radius: 24px;
  }

  .leadership-members-row {
    grid-template-columns: 1fr;
  }

  .chairperson-image-wrapper {
    height: 450px;
  }

  .chairperson-image-card {
    min-height: auto;
    border-radius: 18px;
  }

  .chairperson-message-card {
    height: auto;
    border-radius: 18px;
    padding: 18px;
  }

  .members-column {
    flex-direction: row;
    height: auto;
  }

  .member-image-wrapper {
    height: 180px;
  }

  .modal-content-wrapper {
    max-width: 95%;
    padding: 8px;
  }

  .letter-paper {
    padding: 25px 30px;
    min-height: 500px;
  }

  .letter-title-new {
    font-size: 1.6rem;
  }

  .letter-header-new {
    flex-direction: column;
    gap: 15px;
  }

  .letter-chairperson-photo {
    width: 80px;
    height: 80px;
    margin-left: 0;
    margin-top: 10px;
  }

  .letter-pencil-icon {
    font-size: 1.4rem;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ---------------------------------------- India Map Section -------------------------------------------- */
.india-map-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 50px 5%;
  margin: 40px 0;
}

.india-map-container {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #005fa8;
}

.map-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #004b88;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #005fa8;
}

.map-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* padding: 20px; */
  background: transparent;
  border-radius: 8px;
}

.map-image-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.india-map-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  /* filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(1500%) hue-rotate(195deg) brightness(1.1) contrast(1.1); */
}


@media (max-width: 768px) {
  .india-map-section {
    padding: 30px 3%;
    margin: 30px 0;
  }

  .india-map-container {
    padding: 25px 15px;
  }

  .map-section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .map-wrapper {
    /* padding: 15px; */
  }

}

/* In Focus Map Container Styles */
.infocus-container {
  height: 100%;
  border: 1px solid #e9ecef;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.infocus-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.infocus-map-container {
  width: 100%;
  margin: 5px 0;
  flex: 1;
  min-height: 160px;
  position: relative;
  display: flex;
  align-items: stretch;
  /*Changed from center to stretch*/
  justify-content: center;
  background: transparent;
  height: 100%;
  /* Ensure it fills parent */
}

.infocus-map-container .map-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  /* max-height: 220px; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.infocus-map-container .india-map-image {
  width: 100%;
  height: auto;
  /* max-height: 220px; */
  margin-bottom: 0px;
  object-fit: contain;
  display: block;
}

@keyframes mapFadeBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.map-fade-blink {
  animation: mapFadeBlink 4s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .infocus-map-container {
    min-height: 160px;
  }

  .infocus-map-container .map-image-container {
    max-height: 200px;
  }

  .infocus-map-container .india-map-image {
    max-height: 200px;
  }

}

.view-header {
  display: none;
}

.collab-description {
  font-size: 13px;
  color: #555;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
  line-height: 1.5;
  padding: 0 14px 14px;
  margin-top: 0;
  flex: 1;
}

.collab-description p {
  margin: 0;
  padding: 0;
}

/* Increased font sizes for What's New and other sections */
.news-banner-content p {
  font-size: 0.95rem !important;
  line-height: 1.5;
  color: #333;
}

.whts-box p {
  font-size: 1.15rem;
}

.collab-description {
  font-size: 0.95rem;
  /* Increased from 13px */
}

/* ------------------------------------------------------------------------- */
/* FIX: Force full height for nested Drupal containers in Home Page Cards    */
/* This ensures Jitender, What's New, and InFocus cards all align perfectly  */
/* ------------------------------------------------------------------------- */

/* 1. Jitender Card specific fix */
.region-jitender-content,
.region-jitender-content .block-block-content,
.region-jitender-content .field--name-body,
.region-jitender-content .field__item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure the inner Jitender card fills the available space */
.region-jitender-content .jitender-card {
  height: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* 2. In Focus Card specific fix */
.region-in-focus,
.region-in-focus .views-element-container,
.region-in-focus .view,
.region-in-focus .view-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure the Map container inside In Focus fills height */
.region-in-focus .infocus-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Distribute header/map/button */
}

/* 3. What's New Card specific fix (Just in case) */
.region-what-s-news,
.region-what-s-news .views-element-container,
.region-what-s-news .view,
.region-what-s-news .view-content,
.region-what-s-news .news-section {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.region-what-s-news .news-wrapper {
  flex-grow: 1;
  /* Ensure list fills space */
}

/* ------------------------------------------------------------------------- */
/* CRITICAL FIX: Force Home Page Cards to Equal Height (Aggressive Override) */
/* ------------------------------------------------------------------------- */

/* 1. Jitender Card Hierarchy */
div.region-jitender-content,
div.region-jitender-content div.block,
div.region-jitender-content div.field,
div.region-jitender-content div.field__item {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Ensure inner card occupies full space */
div.region-jitender-content .jitender-card {
  height: 100% !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  /* Fix flex overflow */
}

/* Ensure content wrapper stretches */
div.region-jitender-content .jitender-content-wrapper {
  height: 100% !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Make the image/top section fill remaining space above the fixed message */
div.region-jitender-content .jitender-section {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background-color: #fff;
  /* Fallback background */
}

/* 2. What's New Card Hierarchy */
div.region-what-s-news,
div.region-what-s-news .views-element-container,
div.region-what-s-news .view,
div.region-what-s-news .view-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

div.region-what-s-news .news-section {
  height: 100% !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

div.region-what-s-news .news-wrapper {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 3. In Focus Card Hierarchy */
div.region-in-focus,
div.region-in-focus .views-element-container,
div.region-in-focus .view,
div.region-in-focus .view-content {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

div.region-in-focus .infocus-content {
  height: 100% !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between;
}

/* Map specific adjustments */
div.infocus-map-container {
  height: 100% !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* -------------------------------------------------------------------- */
/* FINAL OVERRIDE: TARGET ROOT CARD AND IMAGE FLEX                      */
/* -------------------------------------------------------------------- */

/* Force the OUTERMOST Jitender Card to be a flex container */
/* This targets the card directly inside the col-lg-4 if it matches this class */
.col-lg-4>.jitender-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Force innermost content wrappers to stretch completely */
.jitender-card .jitender-content-wrapper {
  height: 100% !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.jitender-card .jitender-section {
  flex-grow: 1 !important;
  flex-basis: 0 !important;
  /* Start from 0 to force fair spacing/growth */
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
}

.jitender-card .jitender-image-wrapper {
  flex-grow: 1 !important;
  height: auto !important;
  /* Rely on flex-grow, not percentage */
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.jitender-card .jitender-image {
  object-fit: cover !important;
  height: 100% !important;
  width: 100% !important;
  flex-grow: 1 !important;
}

/* Ensure message section compresses */
.jitender-card .jitender-message-section {
  flex-grow: 0 !important;
  flex-basis: auto !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

/* -------------------------------------------------------------------- */
/* FINAL OVERRIDE: TARGET WHAT'S NEW CARD FLEX STACK                    */
/* -------------------------------------------------------------------- */

/* Force the OUTERMOST What's New Box to be a flex container */
.col-lg-5>.whts-box {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

/* Force the Region to grow */
.whts-box .region-what-s-news {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Force the intermediate Drupal wrappers to grow */
.whts-box .region-what-s-news .block,
.whts-box .region-what-s-news .views-element-container,
.whts-box .region-what-s-news .views-element-container>div,
/* Target generic div */
.whts-box .region-what-s-news .view,
.whts-box .region-what-s-news .view-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Force the inner News Section to grow */
.whts-box .news-section {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Force the list wrapper to take available space */
.whts-box .news-wrapper {
  flex-grow: 1 !important;
  height: 100% !important;
  /* Force explicit 100% then let flex handle it */
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-bottom: none !important;
  /* Move border to bottom of container if needed */
}

/* Move border to the bottom of the news wrapper or track */
.whts-box .news-banner-track {
  flex-grow: 1 !important;
}

/* Ensure footer stays at bottom but doesn't grow */
.whts-box .news-footer {
  flex-shrink: 0 !important;
  margin-top: auto !important;
  width: 100%;
}


.map-wrapper {
  min-height: auto !important;

}

/* ===========================================
   DYNAMIC INDIA MAP STYLES
   =========================================== */
.map-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Height constraint to prevent clipping */
  height: 190px;
  width: 100%;
  position: relative;
  overflow: visible !important;
  margin-bottom: 15px;
  margin-top: 10px;
}

/* Force Map Colors - Darkish Theme Blue */
.map-wrapper svg path {
  fill: #1a3c5e !important;
  stroke: #ffffff;
  stroke-width: 0.5px;
  transition: fill 0.3s ease;
}

.map-wrapper svg path:hover {
  fill: #2daae1 !important;
}

/* SVG Constraints */
.map-wrapper svg {
  height: 100% !important;
  width: auto !important;
  max-width: 100%;
  overflow: visible !important;
  display: block;
}

/* SVG Dot Styles */
.map-dot-svg {
  fill: #ff9933;
  /* Theme Orange */
  cursor: pointer;
  /* Center transform origin on the dot itself for pulse */
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0.9;
  animation: svgPulse 2s infinite ease-in-out;
}

@keyframes svgPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}


a[href*="/user/password"] {
  display: none !important;
}

/* New Ticker Badge - Premium Style */
.header-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffb700 0%, #ff8800 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-right: 12px;
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: badgeFade 2s infinite ease-in-out;
}

.header-new-badge i {
  font-size: 0.75rem;
  color: #fff;
}

/* Shine effect */
.header-new-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: badgeShine 3s infinite;
}

@keyframes badgeFade {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.95);
  }
}

@keyframes badgeShine {
  0% {
    left: -100%;
  }

  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* -------------------------------------------------------------------- */
/* FINAL OVERRIDE: TARGET IN FOCUS CARD FLEX STACK (ADDED FIX)          */
/* -------------------------------------------------------------------- */

/* Force the OUTERMOST In Focus Card to be a flex container */
.col-lg-3>.infocus-container {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

/* Force the Region to grow */
.infocus-container .region-in-focus {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Force intermediate Drupal wrappers to grow */
.infocus-container .region-in-focus .block,
.infocus-container .region-in-focus .views-element-container,
.infocus-container .region-in-focus .views-element-container>div,
.infocus-container .region-in-focus .view,
.infocus-container .region-in-focus .view-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Force the inner Content to grow */
.infocus-container .infocus-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

/* Circular Opinion Cards for Home Page - Isolated Styles (Ignore Equal Height Fixes) */
.home-opinion-card {
  flex: 0 0 calc(25% - 15px) !important;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  padding: 0;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  /* Explicitly ignore equal height force */
  min-height: 0 !important;
  min-width: 275px;
}

.home-opinion-card-content {
  flex-grow: 0 !important;
  /* Prevent stretching */
  flex-shrink: 0 !important;
  margin: 5px 15px !important;
  height: auto !important;
}

.home-opinion-card-content p:empty {
  display: none !important;
}

.home-opinion-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #0063ae;
}

.home-opinion-card img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  margin: 20px auto 12px !important;
  border: 3px solid #e0e0e0 !important;
  background: #f5f5f5 !important;
  transition: all 0.3s ease !important;
}

.home-opinion-card:hover img {
  border-color: #0063ae !important;
  transform: scale(1.05) !important;
}

.home-opinion-card h3 {
  font-size: 1.1rem !important;
  color: #003b73 !important;
  margin: 0 !important;
  padding: 0 1.25rem 0.25rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
}

.home-opinion-card p {
  font-size: 1.05rem !important;
  color: #555 !important;
  margin: 0px 0.7rem 0.7rem !important;
  padding: 0 1.25rem 1.25rem !important;
  line-height: 1.5 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: none !important;
  /* Explicit ignore flex-grow */
  text-align: center !important;
}

.home-opinion-card-link {
  color: #0063ae !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 15px 0px !important;
  margin-top: auto !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  border-top: 1px solid #e9ecef !important;
}

.home-opinion-card-link:hover {
  color: #004d99 !important;
}

/* What's New Vertical Scroll Animation */
@keyframes scrollBannersVertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}