﻿/* HEADER */
.vision-badge {
  width: 46px;
  height: 46px;
 
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a2a3a;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

/* CARD */
.news-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  height: 100%;
  border: 3px solid rgb(2, 117, 137);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease;
}

/* TITLE */
.news-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: #1a2a3a;
  margin-bottom: 14px;
}

/* SECTION HEADING */
.news-section h5 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #5c6b7a;
  line-height: 1.7;
}

/* IMAGE – TRUE 100% COVER */
.news-img-wrapper {
  width: 100%;
  height: 450px;
  border-radius: 14px;
  background-size: contain; /* Shows full image without cropping */
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-color: #f8fafc; /* Adds background for letterbox areas */
}

/* HOVER */
.news-card:hover {
  transform: translateY(-10px);
}

/* ANIMATION */
.news-item {
  opacity: 0;
  transition: all 0.8s ease;
}

.from-left {
  transform: translateX(-70px);
}
.from-right {
  transform: translateX(70px);
}
.from-bottom {
  transform: translateY(70px);
}

.news-item.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* TABLET */
@media (max-width: 992px) {
  .news-img-wrapper {
    height: 350px;
  }

  .vision-title {
    font-size: 24px;
  }

  .news-section h5 {
    font-size: 16px;
  }
}

/* MOBILE LANDSCAPE / SMALL TABLET */
@media (max-width: 768px) {
  .news-img-wrapper {
    height: 280px;
  }

  .news-card h3 {
    font-size: 14px;
  }
}

/* MOBILE PORTRAIT */
@media (max-width: 576px) {
  .news-img-wrapper {
    height: 300px; /* Increased from 190px to 300px */
  }

  .vision-title {
    font-size: 20px;
  }

  .news-card {
    padding: 12px;
  }

  .news-card h3 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .news-section h5 {
    font-size: 14px;
    padding: 0 10px;
  }
}

/* SMALL MOBILE */
@media (max-width: 400px) {
  .news-img-wrapper {
    height: 250px;
  }
}
