@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap");

@keyframes news2FadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes news2GlobeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes news2Float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes news2Shine {
  0% { left: -60%; }
  30%, 100% { left: 130%; }
}

@keyframes news2UnderlineGrow {
  0% { width: 0; }
  100% { width: 54px; }
}

@keyframes news2ShimmerLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.news2 {
  width: 100%;
  background:
    repeating-linear-gradient(0deg, rgba(212, 162, 76, 0.05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(30, 58, 95, 0.05) 0 1px, transparent 1px 30px),
    linear-gradient(160deg, #e4ecff 0%, #e9eefb 30%, #eeeaf7 55%, #f2e9e3 80%, #f0e2d4 100%);
  padding: 60px 48px 80px;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

.news2__inner {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

/* ---------- decorative gold globe (bottom-left) ---------- */
.news2__globe {
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(212, 162, 76, 0.3), rgba(212, 162, 76, 0) 65%),
    repeating-linear-gradient(0deg, rgba(212, 162, 76, 0.16) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(212, 162, 76, 0.16) 0 1px, transparent 1px 8px);
  -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 72%);
  mask-image: radial-gradient(circle, #000 60%, transparent 72%);
  animation: news2GlobeSpin 40s linear infinite, news2Float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.news2__globe::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 162, 76, 0.28);
}

/* ---------- badge ---------- */
.news2__badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(28px);
}

.news2--visible .news2__badge {
  animation: news2FadeInUp 0.7s ease forwards;
  animation-delay: 0.1s;
}

.news2__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, #f0c37a, #d4a24c);
  color: #1e3a5f;
  border-radius: 6px;
  flex-shrink: 0;
}

.news2__badge-text {
  color: #1e3a5f;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  padding-left: 10px;
  border-left: 2px solid #d4a24c;
}

/* ---------- filter tabs ---------- */
.news2__tabs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 44px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(28px);
}

.news2--visible .news2__tabs {
  animation: news2FadeInUp 0.7s ease forwards;
  animation-delay: 0.2s;
}

.news2__tab {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(212, 162, 76, 0.3);
  color: #28407c;
  font-size: 13.5px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.news2__tab:hover {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(30, 58, 95, 0.25);
  transform: translateY(-2px);
}

.news2__tab--active {
  background: linear-gradient(145deg, #1e3a5f, #2d5480);
  border-color: #d4a24c;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(30, 58, 95, 0.22), 0 0 0 3px rgba(212, 162, 76, 0.16);
}

.news2__tab--active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a24c;
  box-shadow: 0 0 8px 2px rgba(212, 162, 76, 0.6);
}

/* ---------- main grid ---------- */
.news2__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.75fr 2fr;
  gap: 40px;
  align-items: start;
}

/* ---------- left column ---------- */
.news2__left {
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
}

.news2--visible .news2__left {
  animation: news2FadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.news2__heading {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  color: #1e3a5f;
  margin: 0 0 12px 0;
  padding-top: 4px;
  overflow: visible;
  letter-spacing: -0.3px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.news2__underline {
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d4a24c, #f0c37a, #d4a24c, #1e3a5f);
  background-size: 200% 100%;
  margin-bottom: 20px;
}

.news2--visible .news2__underline {
  animation: news2ShimmerLine 3s ease-in-out infinite;
}

.news2__para {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5568;
  margin: 0 0 28px 0;
}

.news2__btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1e3a5f;
  font-size: 14.5px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  border: 1.5px solid rgba(212, 162, 76, 0.4);
  border-radius: 10px;
  padding: 13px 22px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.news2__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.6s ease;
}

.news2__btn:hover::before {
  left: 130%;
}

.news2__btnIcon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.news2__btn:hover {
  background: linear-gradient(145deg, #1e3a5f, #2d5480);
  color: #ffffff;
  border-color: #d4a24c;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(30, 58, 95, 0.28);
}

.news2__btn:hover .news2__btnIcon {
  transform: translateX(4px);
}

/* ---------- news cards ---------- */
.news2__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news2__card {
  position: relative;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 162, 76, 0.25);
  border-radius: 16px;
  padding: 14px 14px 20px;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
}

.news2__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a5f, #d4a24c, #f0c37a, #d4a24c, #1e3a5f);
  background-size: 200% 100%;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.news2__card:hover::before {
  opacity: 1;
  animation: news2ShimmerLine 2.5s linear infinite;
}

.news2--visible .news2__card {
  animation: news2FadeInUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.1s + 0.4s);
}

.news2__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: news2Shine 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.5s + 1.5s);
}

.news2__card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 162, 76, 0.6);
  box-shadow: 0 24px 46px rgba(30, 58, 95, 0.18), 0 0 34px 3px rgba(212, 162, 76, 0.24);
}

.news2__cardImageWrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.news2__cardImageWrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 58, 95, 0) 55%, rgba(30, 58, 95, 0.35) 100%);
  pointer-events: none;
}

.news2__cardImage {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition: transform 0.6s ease;
}

.news2__card:hover .news2__cardImage {
  transform: scale(1.08);
}

.news2__cardTitle {
  position: relative;
  z-index: 2;
  font-size: 17px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 8px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.news2__cardDesc {
  position: relative;
  z-index: 2;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b6472;
  margin: 0 0 14px 0;
}

.news2__cardLine {
  position: relative;
  z-index: 2;
  display: block;
  width: 26px;
  height: 2px;
  background: #d4a24c;
  border-radius: 2px;
  margin-bottom: 14px;
}

.news2__cardFooter {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.news2__cardDate {
  font-size: 12.5px;
  color: #8792a3;
  font-weight: 500;
}

.news2__cardReadMore {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #d4a24c;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: gap 0.25s ease, color 0.25s ease;
}

.news2__cardReadMore::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: #1e3a5f;
  transition: width 0.3s ease;
}

.news2__cardReadMore:hover::after {
  width: 100%;
}

.news2__cardReadMore:hover {
  gap: 8px;
  color: #1e3a5f;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1300px) {
  .news2 {
    padding: 60px 36px 80px;
  }

  .news2__heading {
    font-size: 27px;
  }
}

@media (max-width: 1200px) {
  .news2 {
    padding: 56px 28px 64px;
  }

  .news2__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .news2__left {
    text-align: center;
  }

  .news2__underline {
    margin: 0 auto 20px auto;
  }

  .news2__para {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .news2__tabs {
    justify-content: center;
    margin-top: 4px;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .news2__tab {
    font-size: 12px;
    padding: 9px 12px;
    flex-shrink: 1;
    min-width: 0;
  }

  .news2__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) and (min-width: 851px) {
  .news2__tabs {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .news2__tab {
    font-size: 11px;
    padding: 8px 8px;
  }
}

@media (max-width: 900px) {
  .news2 {
    padding: 48px 20px 60px;
  }

  .news2__heading {
    font-size: 25px;
  }

  .news2__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .news2__tabs {
    gap: 10px;
    margin-bottom: 36px;
  }

  .news2__tab {
    font-size: 13px;
    padding: 9px 16px;
  }
}

@media (max-width: 768px) {
  .news2 {
    padding: 44px 18px 52px;
  }

  .news2__badge {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    display: flex;
  }

  .news2__heading {
    font-size: 23px;
  }

  .news2__para {
    font-size: 14.5px;
  }

  .news2__cardImageWrap {
    height: 160px;
  }

  .news2__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .news2__cardTitle {
    font-size: 14.5px;
  }

  .news2__cardDesc {
    font-size: 12px;
  }

  .news2__tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }

  .news2__tab {
    font-size: 13px;
    padding: 10px 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 700px) {
  .news2__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .news2__cardTitle {
    font-size: 16px;
  }

  .news2__cardDesc {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .news2 {
    padding: 40px 14px 48px;
  }

  .news2__heading {
    font-size: 21px;
    margin-top: 4px;
  }

  .news2__tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .news2__tab {
    font-size: 12.5px;
    padding: 8px 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .news2__btn {
    width: 100%;
    justify-content: center;
  }

  .news2__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news2__cardImageWrap {
    height: 190px;
  }

  .news2__globe {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: -40px;
  }
}

@media (max-width: 400px) {
  .news2 {
    padding: 32px 10px 40px;
  }

  .news2__heading {
    font-size: 19px;
  }

  .news2__para {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .news2__tab {
    font-size: 12px;
    padding: 7px 12px;
  }

  .news2__cardImageWrap {
    height: 170px;
  }

  .news2__cardTitle {
    font-size: 15.5px;
  }

  .news2__cardDesc {
    font-size: 12.5px;
  }

  .news2__globe {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: -30px;
  }
}