/* ----------------------------news  hero css----------------------------  */



.news-events-banner {
  position: relative;
  padding: 100px 0 !important;
  background-size: cover;
  background-position: center;
}

.news-events-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 37 74), rgb(27 101 175 / 20%));
}

.news-events-banner__container {
  position: relative;
}

.news-events-banner__content h2 {
  color: #ffffff;
  margin-top: 40px;
  font-size: 45px;
  text-align: center;
  text-transform: capitalize;
}

.news-events-banner__content p {
  color: #ffffff;
  font-size: 16px;
  padding-top: 10px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}





/* --------------------------blog section css start----------------------------------------- */

.vt-news-section-wrapper {
  margin: 60px auto;

  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.vt-news-section-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.vt-news-section-wrapper > * {
  position: relative;
  z-index: 2;
}


.vt-news-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.vt-news-item-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.vt-news-item-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
  transition: left 0.5s ease;
}

.vt-news-item-card:hover::before {
  left: 0;
}

.vt-news-item-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vt-news-media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
  position: relative;
}

.vt-news-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 12px;
}

.vt-news-item-card:hover .vt-news-media-frame img {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
}


.vt-news-info-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vt-news-main-headline {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: rgb(0, 0, 0);
  margin: 0 0 15px 0;
  overflow: hidden;
}

.vt-news-post-description {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  font-weight: 400;
  color: rgb(133, 133, 133);
  margin: 0 0 15px 0;
  overflow: hidden;
}

.vt-news-post-date {
  font-size: 12px;
  color: #8e8e93;
  margin-top: auto;
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(142, 142, 147, 0.1);
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  transition: all 0.3s ease;
}

.vt-news-item-card:hover .vt-news-post-date {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  transform: scale(1.05);
}


.vt-news-bottom-line {
  border: none;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #667eea,
    #764ba2,
    transparent
  );
  margin-bottom: 40px;
  border-radius: 2px;
}

/* Pagination Styling */
.vt-news-pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.vt-news-page-num,
.vt-news-page-arrow {
  text-decoration: none;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 400;
  position: relative;
  overflow: hidden;
}

.vt-news-page-num::before,
.vt-news-page-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: black;
  bottom: 0;
  background: linear-gradient(
    30deg,
    #de9f17 2%,
    #cf9a15 31%,
    #fff68a 68%,
    #ffcf45 96%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.vt-news-active-page {
  background: linear-gradient(
    30deg,
    #de9f17 2%,
    #cf9a15 31%,
    #fff68a 68%,
    #ffcf45 96%
  );
  color: #000000 !important;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.vt-news-page-num:not(.vt-news-active-page):hover::before,
.vt-news-page-arrow:hover::before {
  opacity: 1;
}

.vt-news-page-num:not(.vt-news-active-page):hover,
.vt-news-page-arrow:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vt-news-page-num span,
.vt-news-page-arrow span {
  position: relative;
  z-index: 1;
}


@media (max-width: 992px) {
  .vt-news-article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .vt-news-section-wrapper {
    padding: 40px 20px;
    margin: 40px auto;
  }
}

@media (max-width: 600px) {
  .vt-news-article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vt-news-main-headline {
    font-size: 15px;
  }
  .vt-news-pagination-bar {
    gap: 5px;
    padding: 12px 20px;
  }
  .vt-news-page-num,
  .vt-news-page-arrow {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }
  .vt-news-section-wrapper {
    padding: 30px 15px;
    margin: 30px auto;
    border-radius: 15px;
  }
}


@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.vt-news-item-card:nth-child(odd) {
  animation: float 6s ease-in-out infinite;
}

.vt-news-item-card:nth-child(even) {
  animation: float 6s ease-in-out infinite reverse;
}
