/* ===== HERO SECTION ===== */
.news-hero {
  position: relative;
  background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
  padding: 0 0;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/news/news-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.news-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.news-bg-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.news-bg-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.news-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.news-hero-left h1 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.news-hero-left p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* ===== BADGE ===== */
.news-badge {
  display: inline-block;
  background: linear-gradient(135deg, #29b9ed, #2563eb);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

/* ===== TOP NEWS HIGHLIGHT ===== */
.news-highlight {
  padding: 80px 0;
  background: #f8f9fa;
}

.news-highlight-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.news-highlight-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 103, 218, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.news-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 103, 218, 0.15);
}

.news-highlight-image {
  position: relative;
  overflow: hidden;
}

.news-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-highlight-card:hover .news-highlight-image img {
  transform: scale(1.05);
}

.news-highlight-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

.news-highlight-content {
  padding: 50px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #64748b;
}

.news-meta i {
  color: #0067da;
  margin-right: 6px;
}

.news-highlight-content h2 {
  font-size: 32px;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.news-highlight-content p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 25px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: flex-start;
}

.news-read-more:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 103, 218, 0.3);
  color: #fff;
}

/* ===== LATEST NEWS SECTION ===== */
.news-latest {
  padding: 80px 0;
  background: #fff;
}

.news-latest-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.news-section-title h2 {
  font-size: 40px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.news-section-title p {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
}

.news-latest .news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  margin-bottom: 50px;
  align-items: start;
  width: 100%;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
  margin-right: auto;
}

.news-card:hover {
  border-color: #0067da;
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 103, 218, 0.15);
}

.news-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.news-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.news-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-content .news-meta {
  margin-bottom: 15px;
}

.news-card-content h3 {
  font-size: 20px;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card-content p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0067da;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.news-card-link:hover {
  gap: 12px;
  color: #0d214f;
}

/* ===== PAGINATION ===== */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.news-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: #fff;
  color: #475569;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.news-page-btn:hover {
  border-color: #0067da;
  color: #0067da;
  transform: translateY(-2px);
}

.news-page-active {
  background: linear-gradient(135deg, #0067da, #0d214f);
  color: #fff;
  border-color: transparent;
}

.news-page-active:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .news-latest .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .news-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .news-hero-left h1 {
    font-size: 36px;
  }

  .news-highlight-card {
    grid-template-columns: 1fr;
  }

  .news-highlight-content {
    padding: 30px;
  }
  
  .news-read-more {
    display: none;
  }

  .news-highlight-content h2 {
    font-size: 24px;
  }

  .news-section-title h2 {
    font-size: 32px;
  }

  .news-latest .news-grid {
    grid-template-columns: 1fr !important;
  }

  .news-card {
    max-width: 100%;
  }

  .news-pagination {
    flex-wrap: wrap;
  }
}