body {
  font-family: "Plus Jakarta Sans", sans-serif;
}
.section-campus {
  background: url("../images/webinar/webinar.webp") no-repeat center center;
  background-size: cover;
  height: 600px;
  position: relative;
}
.section-campus:after {
  position: absolute;
  content: "";
  background: url("../images/webinar/wave.webp") no-repeat center center;
  bottom: 0;
  z-index: 9;
  width: 100%;
  height: 145px;
}
.heading-wraper {
  position: relative;
}
.reveal-text span {
  color: #dcdcdc;
  display: inline-block;
  transition: color 0.2s linear;
}
.heading-wraper .main-head h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.heading-wraper .main-head p {
  font-size: 16px;
  margin: 0;
  letter-spacing: 0.3px;
  margin-top: 20px;
}
.heading-wraper svg {
  width: 100px;
  height: 65px;
  margin-top: 24px;
  position: absolute;
  top: 0%;
  left: 17%;
  overflow: visible;
  transform: translate(-50%, -50%);
}
.heading-wraper svg path {
  stroke: #ffcd4d;
  stroke-width: 8px;
  fill: none;
  stroke-dasharray: 1500;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slider-content {
  padding-top: 150px;
}
.hide {
  display: none !important;
}
#upcoming-webinars-container,
#past-webinars-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dateandtime {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 15px;
  color: #333;
  margin-bottom: 25px;
  margin-top: 10px;
  font-size: 11px;
}
.dateandtime p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.webinar-tabs {
  border-bottom: 2px solid #ddd;
}
.webinar-tabs .nav-link {
  border: none;
  color: #555;
  font-weight: 500;
  padding: 10px 20px;
  position: relative;
  font-size: 18px;
  transition: color 0.3s ease;
}
/* Hover effect */
.webinar-tabs .nav-link:hover {
  color: #000;
}
/* Active tab */
.webinar-tabs .nav-link.active {
  color: #000;
}
/* 🔥 Animated underline */
.webinar-tabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0%;
  height: 3px;
  background: #000;
  transition: all 0.35s ease;
  transform: translateX(-50%);
}
/* Expand animation on active */
.webinar-tabs .nav-link.active::after {
  width: 100%;
}
/* Optional: hover preview animation */
.webinar-tabs .nav-link:hover::after {
  width: 100%;
}
/* Select2 Styling */
/* Wrapper */
.upcoming-webinars-filter {
  min-width: 180px;
}
/* Select2 container full width */
.upcoming-webinars-filter .select2-container {
  width: 100% !important;
}
/* Main box */
.select2-container--default .select2-selection--single {
  height: 40px;
  border: none;
  border-bottom: 2px solid #333;
  border-radius: 0;
  display: flex;
  align-items: center;
  padding: 0 30px 0 0; /* space for arrow */
  background: transparent;
}
/* Text alignment */
.select2-container--default .select2-selection__rendered {
  line-height: normal;
  padding-left: 0;
  color: #333;
  font-size: 15px;
}
/* Arrow fix */
.select2-container--default .select2-selection__arrow {
  height: 100%;
  right: 0;
  width: 25px;
}
/* Custom arrow style */
.select2-container--default .select2-selection__arrow b {
  border-color: #333 transparent transparent transparent;
  border-width: 5px 5px 0 5px;
}
/* Focus effect */
.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-bottom: 2px solid #fecd46;
}
/* Dropdown */
.select2-container--default .select2-selection--single {
  border-width: 0 0px 2px 0px !important;
  border-radius: 0 !important;
}
/* Option hover */
.select2-results__option--highlighted {
  background-color: #fecd46 !important;
  color: #000 !important;
}
.futureWebinar {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 200px 1fr; /* better than 75/25 */
  gap: 24px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  /* softer border */
  transition:
    transform 300ms ease,
    filter 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease;
  border: 2px solid transparent;
}
/* ✨ Hover effect */
.futureWebinar:hover,
.previousWebinar:hover {
  border: 2px solid rgba(0, 0, 0, 0.08);
}
.futureWebinar .webinar-card-image img {
  border-radius: 10px;
}
.futureWebinar .webinar-content .webinar-card-content p,
.previousWebinar .webinar-content .webinar-card-content p {
  font-size: 12px;
  margin-bottom: 10px !important;
}
.futureWebinar .webinar-content .webinar-card-content h4,
.previousWebinar .webinar-content .webinar-card-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.futureWebinar .webinar-content h3,
.previousWebinar .webinar-content h3 {
  font-size: 16px;
  font-weight: 600;
}
.futureWebinar .webinar-card {
  display: flex;
  flex-direction: column;
}
.futureWebinar .webinar-card .webinar-card-content,
.previousWebinar .webinar-card .webinar-card-content {
  margin-top: 10px;
}
.futureWebinar .webinar-card .webinar-card-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
/* 🔥 Important: normalize SVG icons */
.dateandtime svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px); /* fine alignment */
}
.lpu-btn-webinar {
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #000000;
  background: #fecd46;
  text-decoration: none;
  transition:
    color 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid #fecd46;
  font-size: 14px;
}
.lpu-btn-webinar:hover {
  background: #231f20 !important;
  color: #fff !important;
  border: 1px solid #231f20 !important;
}
#past-webinars-container .webinar-content-image {
  display: none;
}
.previousWebinar {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr; /* better than 75/25 */
  gap: 24px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.previousWebinar .dateandtime {
  display: none;
}
#pagin,
#pagin1 {
  display: flex;
  gap: 3px;
  margin-top: 15px;
}
#pagin li a,
#pagin1 li a {
  padding: 3px 8px;
  background: #fecd46;
  color: #000;
}
#pagin li a.current,
#pagin li a:hover,
#pagin1 li a.current,
#pagin1 li a:hover {
  background: #000;
  color: #fff;
}
/* Card */
.custom-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 36px;
}

/* Inputs */
/* Base input style (keep yours) */
.custom-form .form-control {
  background: #f5f7f8;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}
/* 🔥 SELECT2 SINGLE */
.custom-form .select2-container--default .select2-selection--single {
  background: #f5f7f8 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  height: 48px; /* match input height */
  display: flex;
  align-items: center;
  padding: 0 12px;
}
/* Text inside */
.custom-form .select2-container--default .select2-selection__rendered {
  line-height: normal !important;
  padding-left: 0 !important;
  color: #333;
}
/* Arrow */
.custom-form .select2-container--default .select2-selection__arrow {
  height: 100%;
  right: 10px;
}
/* 🔥 MULTIPLE SELECT */
.custom-form .select2-container--default .select2-selection--multiple {
  background: #f5f7f8 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  min-height: 48px;
  padding: 6px 8px;
}
/* Tags */
.custom-form .select2-selection__choice {
  background: #e9ecef !important;
  border: none !important;
  border-radius: 4px;
  padding: 2px 6px;
}
/* 🔥 FOCUS STATE (IMPORTANT) */
.custom-form
  .select2-container--default.select2-container--focus
  .select2-selection--single,
.custom-form
  .select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border-color: #0d6efd !important;
  background: #fff !important;
  box-shadow: none !important;
}
/* Dropdown */
.custom-form .form-control:focus {
  border-color: #0d6efd;
  background: #fff;
  box-shadow: none;
}
/* Labels */
.custom-form .form-label {
  font-weight: 500;
  color: #333;
}
/* Checkbox */
.custom-form .form-check-label {
  font-size: 14px;
  color: #555;
}
@media (max-width: 1200px) {
  .futureWebinar {
    grid-template-columns: 150px 1fr;
  }
}
@media (max-width: 992px) {
  .slider-content {
    padding-top: 0;
  }
  .section-campus::after {
    display: none;
  }
  #upcoming-webinars-container,
  #past-webinars-container {
    grid-template-columns: 1fr;
  }
  .section-campus {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 50px 0;
  }
  .section-campus::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/webinar/webinar.webp") center/cover no-repeat;
    filter: blur(8px); /* 🔥 blur amount */
    transform: scale(1.1); /* prevent edges cut */
    z-index: 0;
  }
  .section-campus {
    height: auto;
    background: transparent;
  }
}
@media (max-width: 600px) {
  .section-campus {
   padding: 80px 20px;
  }
  .heading-wraper .main-head h1 {
    font-size: 28px;
  }
  #upcoming-webinars-container {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .futureWebinar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px; /* add spacing */
  }
  .webinar-content-image {
    width: 100%;
  }
  .webinar-tabs .nav-link {
    padding: 10px;
    font-size: 17px;
  }
  .futureWebinar .webinar-card-image img {
    border-radius: 10px;
    width: 100%;
  }
}
