/*================================================== Notice  section Start */
.section-padding {
  padding: 40px 0px;
}
.notice-section {
  overflow: hidden;
}
.notice-section .notice-ard-wrapper .notice-card:first-child {
  margin-top: 17px !important;
}
.notice-section .container {
  position: relative;
  z-index: 10;
}
.notice-section .section-title {
  font-size: 22px;
  padding: 10px;
}
.notice-section .section-title::after,
.notice-section .section-title::before {
  display: inline-block;
  width: 15% !important;
  overflow: hidden;
}
.notice-section .video-gallery-video {
  padding-top: 29px;
}
.notice-section-sub-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 19px;
  border-bottom: 2px solid #8cd4ff;
  position: relative;
  z-index: 20;
}

.notice-ard-wrapper::-webkit-scrollbar-track {
  background-color: #ddd !important;
}
.notice-ard-wrapper {
  scrollbar-color: #fefdfd #ddd !important;
  scrollbar-width: thin;
  max-height: 396px;
  overflow: auto;
  margin: 0 auto;
}
@media (min-width: 767px) {
  .notice-ard-wrapper {
    width: 85%;
  }
}
.notice-card {
  width: 99%;
  margin: auto;
  background: #ffffff;
  border-radius: 4px !important;
  z-index: 20;
  box-shadow: 0px 0px 5px 1px #dddddd !important;

  overflow: hidden;
  transition: all 500ms ease;

  background: url(../../images/noticecardbg.svg);
  background-size: cover;
  background-position: bottom;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: bgPan 30s ease-in-out infinite;
}
@keyframes bgPan {
  0% {
    background-position: center bottom;
  }
  50% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;
  }
}
/* ? */
/* =========================
   HOVER – ELEGANT LIFT
   ========================= */
.notice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

/* =========================
   OPTIONAL SOFT OVERLAY
   ========================= */
.notice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.25)
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above overlay */
.notice-card > * {
  position: relative;
  z-index: 1;
}
/* ? */
.features__shape {
  width: auto !important;
  display: inline-block !important;
  max-width: 100%;
  height: auto;
  position: absolute;
  right: 24px;
  bottom: 0px;
  z-index: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 500ms ease;
}
.notice-card:hover .features__shape {
  opacity: 0.6;
  transform: translateY(0%);
}
/* .notice-card-date-box {
  background: #fff;
  border-radius: 4px 0px 0px 4px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-shadow: 0px 0px 5px 1px #dddddd !important;
}

.notice-publish-date {
  min-height: 60px;
  height: 100%;
  color: #000000;
  font-weight: 600;
  font-size: 38px;
  background-color: #e50c37;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}
.notice-publish-time {
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 0px;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #1d253a;
  font-size: 12px;
  transition: all 0.3s ease-in-out;
  padding: 4.5px 5px;
}
.notice-card:hover .notice-publish-date {
  color: #fff;
  background-color: #1d253a;
}
.notice-card:hover .notice-publish-time {
  background-color: #e50c37;
  color: #ffffff;
} */
/* ! */
/* =========================
   NOTICE DATE BOX – FINAL
   ========================= */

.notice-card-date-box {
  background: #ffffff;
  border-radius: 8px 0 0 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* =========================
   DATE (DAY)
   ========================= */
.notice-publish-date {
  height: 100%;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.02em;

  background: linear-gradient(
    135deg,
    #1e3a8a,
    #2563eb
  ); /* Royal academic blue */

  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.4s ease;
}

/* =========================
   MONTH + YEAR
   ========================= */
.notice-publish-time {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  background: linear-gradient(
    135deg,
    #0f172a,
    #1e293b
  ); /* Deep university navy */

  color: #e5e7eb;

  padding: 3px 0px;
  text-align: center;

  transition: all 0.4s ease;
}

/* =========================
   HOVER EFFECT – PREMIUM
   ========================= */
.notice-card:hover .notice-card-date-box {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

/* Elegant color shift */
.notice-card:hover .notice-publish-date {
  background: linear-gradient(135deg, #6366f1, #3b82f6); /* Blue → Indigo */
}

.notice-card:hover .notice-publish-time {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #ffffff;
}

/* =========================
   MICRO INTERACTION
   ========================= */
.notice-card:hover .notice-publish-date,
.notice-card:hover .notice-publish-time {
  filter: saturate(1.15) brightness(1.05);
}

/* !  */
.notice-card-date-box-overflow {
  width: 25px;
  height: 25px;
  background: #fff473;
  top: -23px;
  left: 50%;
  transform: translate(-50%) rotate(222deg);
  color: #ffffff;
  display: inline-block;
  border-radius: 0% 50% 50% 50%;
}
.notice-card-date-box-overflow i {
  color: #cd3818;
}
.notice-section
  .notice-ard-wrapper
  .notice-card
  .notice-card-date-box-overflow {
  top: -16px;
}
.notice-card-info {
}
.notice-card-title {
  font-size: 15px;
  font-weight: 600;
  padding-right: 5px;
  margin: 0;
}
/* .notice-card-title a {
  color: #3b4167;
  line-height: 1.5;
  font-size: 13.5px;
  position: relative;
}
.notice-card-title a:hover {
  color: #030f51;
} */
.notice-card-title a {
  color: #3b4167;
  font-size: 15px;
  line-height: 1.18;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
  height: 38px;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b4167, #030f51);
  transition: width 0.35s ease;
}

.notice-card-title a:hover {
  color: #030f51;
}

.notice-card-title a:hover::after {
  width: 100%;
}

.notice-card-read-more {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: solid 1px;
  cursor: pointer;
}

/*================================================== Notice  section end */
@media (max-width: 576px) {
  .notice-publish-date {
    font-size: 33px;
  }
  .notice-publish-time {
    font-size: 9.5px;
    padding: 2px 0px;
    letter-spacing: unset;
  }
  .notice-ard-wrapper {
    padding: 0 !important;
  }
  .notice-card {
    width: 100%;
  }
  .notice-card-info {
    padding: 0 !important;
  }
}
.noticevect1 {
  bottom: -5px;
  left: -20px;
  animation: floatX 9s ease-in-out infinite;
}
@keyframes floatX {
  0%,
  100% {
    transform: translateY(0%) translateX(0);
  }
  50% {
    transform: translateY(0%) translateX(-40px);
  }
}
.dotdotvector2 {
  top: -5px;
  right: 0px;
  z-index: -1;
  animation: shakeY 12s ease-in-out infinite;
}
/*? Notice Devider */
.notice-divider-wrapper {
  position: relative;
}

/* MAIN CYBER DIVIDER */
.notice-glow-divider {
  position: absolute;
  top: 110px;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    #bffcff 20%,
    #4cc9ff 50%,
    #bffcff 80%,
    transparent 100%
  );
  opacity: 0.9;
  z-index: 1;
}

.notice-glow-divider::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(180, 245, 255, 0.9),
    transparent
  );
  animation: cyberScan 6s ease-in-out infinite;
}

@keyframes cyberScan {
  0% {
    top: -30%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    top: 120%;
    opacity: 0;
  }
}
.notice-glow-divider::after {
  content: "";
  position: absolute;
  inset: -6px; /* controls glow spread */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(76, 201, 255, 0.9) 50%,
    transparent 100%
  );
  filter: blur(6px);
  opacity: 0.4;
  z-index: -1;
  animation: cyberFlash 3.2s ease-in-out infinite;
}
@keyframes cyberFlash {
  0% {
    opacity: 0.15;
    filter: blur(5px);
  }

  25% {
    opacity: 0.6;
    filter: blur(7px);
  }

  50% {
    opacity: 0.35;
    filter: blur(6px);
  }

  75% {
    opacity: 0.7;
    filter: blur(8px);
  }

  100% {
    opacity: 0.15;
    filter: blur(5px);
  }
}
