.main-banner {
  position: relative;
  max-height: 100%;
  overflow: hidden;
  margin-bottom: -7px;
}

#bg-video {
    min-width: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#bg-video::-webkit-media-controls {
    display: none !important;
}
.headline-section {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(to right, rgba(54, 82, 165, 0.8), rgba(0, 0, 0, 0.6)), 
               no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  filter: brightness(0.9) contrast(1.1); /* Softens the image contrast */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4); /* Adds depth */
}

.headline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(54, 82, 165, 0.8), rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(3px); /* Blurs the image slightly */
  z-index: 0;
}

.headline-overlay {
  padding: 20px;
  position: relative;
  z-index: 1;
}

.headline-text {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Soft shadow for readability */
}

.headline-subtext {
  font-size: 1.3rem;
  margin-top: 15px;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* program cards */
/* program cards - softened colors */
.card-red {
  --card-bg-color-1: #E87C7C; /* Softer Red */
}

.card-orange {
  --card-bg-color-1: #FCD465; /* Softer Orange */
}

.card-blue {
  --card-bg-color-1: #5A7EC4; /* Softer Blue */
}

.card-purple {
  --card-bg-color-1: #A26BAE; /* Softer Purple */
}

.card-darkblue {
  --card-bg-color-1: #4B4BA3; /* Softer Dark Blue */
}


.card-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Ensures equal height */
  gap: 20px;
  margin: 40px auto;
  width: 100%;
}
.slide-title {
  font-size: 25px;
  text-align: center;
  color:white;
  font-weight: 600;
  margin-top: 5px;
}

.slide-heading {
  font-size: 17px;
  text-align: center;
  margin-bottom: 5px;
  color: #ffffff;
  font-weight: 600;
}
.swiper-slide {
  width: 100%;
  height: auto; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: white;
  text-align: center;
border-radius: 10% 30% 10% 30%;
  overflow: hidden;
  padding: 0 0 30px 0;
  z-index: 1;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px, rgba(0, 0, 0, 0.1) 0px 10px 15px;
  background: var(--card-bg-color-1);
}

.slide-btn {
  background: transparent;
  color: var(--card-bg-color-1);
  font-weight: bold;
  font-size: 17px;
  padding: 15px 20px;
  border-radius: var(--border-r-card);
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.slide-btn:hover {
  color: black;
  transform: scale(1.05);
}
.swiper-slide img {
  padding: 10px;
  width: 100%; 
  height: auto; 
  object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
  color: #ffffff; /* Arrow color */
}

.swiper-pagination-bullet {
  background: #0e0d0d; /* Dots color */
}

/* Events Heading */
.events-heading {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

/* Tabs Container */
.event-tabs {
  display: flex;
}

/* Tab Buttons */
.event-tab-btn {
  color: #555;
  font-size: 17px;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  background: none;
  transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.event-tab-btn:hover {
  color:  var(--primary-color);
}

.event-card {
  overflow: hidden;
  box-shadow: 0px 8px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.event-card img {
  height: auto;
  object-fit: cover;
  width: 100%;
}

.event-card .card-body {
  flex-grow: 1; /* Allows the card body to fill remaining space */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card .card-title {
  color:black;
  font-size: 14px;
  margin-bottom: 5px;
}

.event-card p {
  /* font-size: 14px;
  color: #555; */
  margin-bottom: 15px;
}

.event-card .btn {
  display: inline-block;
  padding: 8px 12px;
  margin: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #F5A425;
  transition: all 0.3s ease-in-out;
  clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}
.event-card .btn:hover {
  background:transparent;
  color: #3652A5;
  border: 2px solid #3652A5;
  transform: scale(1.05);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  font-size: medium;
    filter: invert(100%) sepia(100%) saturate(500%) hue-rotate(200deg);
}
.event-detail-card {
  overflow: hidden;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.event-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.event-detail-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.event-detail-card .card-body {
  padding: 20px;
}

.event-detail-card h2 {
  font-size: 25px;
  margin-top: 10px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px; 
  transition: color 0.3s ease-in-out; 
  font-family: "Merriweather", serif; 
  border-left: 20px solid var(--primary-color);
  border-right: 20px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  text-align: center;

}

.event-detail-card p {
  /* font-size: 17px;
  line-height: 1.6; */
  color: var(--text-color);
  text-align: left;
}

.event-detail-card .text-muted {
  font-size: 14px;
  color: #777;
  text-align: right;
  padding: 10px;
}
.notice-box {
  padding: 20px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.notice-controls {
  display: flex;
  justify-content: right;
  gap: 10px;
  margin-bottom: 10px;
}

.notice-btn {
  background: var(--primary-color--);
  color: #171616;
  border: none;
  padding: 6px 10px;
  font-size: 17px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease-in-out; 
  border: 1px solid var(--text-color);
}

.notice-btn:hover {color: white;
  background: var(--primary-color);
}

.notice-content {
  height: 240px;
  overflow: hidden;
  position: relative;
  padding: 10px 15px;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 0.5s ease-in-out;
}

.notice-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease-in-out;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-entry {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.notice-icon {
  color: var(--primary-color--);
  font-size: 17px;
}

.notice-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

.notice-link {
  font-weight: 600;
  color: var(--primary-color--);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.notice-link:hover {
  color: var(--primary-color);
}

.notice-date {
  font-size: 14px;
  color: #777;
}

/* Highlight the latest notice */
.latest-notice {
  font-weight: bold; /* Make the text stand out */
  color: var(--primary-color--); /* Highlight with primary color */
  position: relative;
}

.latest-notice::after {
  content: "NEW";
  font-size: 10px;
  font-weight: bold;
  color: white;
  background: linear-gradient(#e881d3, #e163c8, #8b029d);
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: middle;
}


/* For large screens (desktops) */
@media (max-width: 1200px) {
  .headline-text {
    font-size: 1.8rem;
  }

  .headline-subtext {
    font-size: 1.2rem;
  }

  .applybtn-cta {
    font-size: 1.2rem;
    padding: 12px 25px;
  }

  .card {
    max-width: 340px;
    height: 460px;
  }
  .swiper-slide img {
    width: 50%;
  }
}

/* For tablets (medium screens) */
@media (max-width: 992px) {
  .headline-text {
    font-size: 1.6rem;
  }

  .headline-subtext {
    font-size: 1.1rem;
  }

  .applybtn-cta {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  .card-container {
    flex-wrap: wrap; /* Allows cards to wrap */
    justify-content: center;
  }

  .card {
    max-width: 300px;
    height: 430px;
  }
  .swiper-slide img {
    width: 50%;
  }
}

/* For mobile devices (small screens) */
@media (max-width: 768px) {
  .headline-text {
    font-size: 1.4rem;
  }

  .headline-subtext {
    font-size: 1rem;
  }

  .applybtn-cta {
    font-size: 1rem;
    padding: 8px 18px;
  }
  .event-tabs {
    flex-direction: column;
    align-items: center;
}
.event-tab-btn {
    width: 100%;
    text-align: center;
    border-radius: 5px;
}
.swiper-slide img {
  width: 50%;
}
.wave-content h2 {
  font-size: 2rem;
}

.btn-wave {
  font-size: 1rem;
  padding: 10px 20px;
}
}

/* For very small screens (extra small devices) */
@media (max-width: 576px) {
  .headline-text {
    font-size: 1.2rem;
  }

  .headline-subtext {
    font-size: 0.9rem;
  }

  .applybtn-cta {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .event-detail-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  }

  .event-detail-card h2 {
    font-size: 15px; /* Reduce heading size */
    padding: 8px;
    border-left: 10px solid var(--primary-color);
    border-right: 10px solid var(--primary-color);
  }

  .event-detail-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  .event-detail-card .card-body {
    padding: 15px;
  }
  .swiper-slide img {
    width: 50%;
  }
}
/* wave Section Styling */
.wave-section {
  position: relative;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 74, 173, 0.4), rgba(0, 43, 91, 0.5)), 
              url(../images/home/bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 80px 20px;
  overflow: hidden;
}


/* Top Wave Styling */
.wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave {
  display: block;
  width: 100%;
  height: auto;
}

/* Bottom Wave Styling */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-bottom svg {
  width: 100%;
  height: auto;
}

/* Content Styling */
.wave-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  padding: 50px 20px;
}

.wave-content h2 {
  margin-bottom: 20px;
  line-height: 1.4;
  font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.3px;
    font-family: "Merriweather", serif;
    position: relative;
    padding: 0px 10px;
}

/* Button Styling */
.btn-wave {
  display: inline-block;
  padding: 12px 24px;
  background: #ffcc00;
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-wave:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

