/* Hero section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 420px;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  max-width: 1400px;
  margin: auto;
  padding: 80px 40px;
}

.hero-text h1 {
  font-size: 60px;
  font-weight: 700;
}

.hero-subtitle {
  margin-top: 12px;
  font-size: 16px;
  opacity: 0.9;
}

.hero-card {
  margin-top: 100px;
  max-width: 1400px;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.card-left {
  flex: 1.35;
  padding: 10px 30px 10px 50px;
}

.card-left h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 30px;
}

.card-quote {
  font-size: 15px;
  color:rgba(4, 1, 114, 1);
  margin-bottom: 70px;
}

.card-desc {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
  max-width: 700px;
}

.card-footer {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  width: 100%;
}

.read-btn {
  background:rgba(210, 0, 7, 1);
  color:rgba(255, 255, 255, 1);
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.read-btn:hover {
  background: #c80000;
}

.card-date {
  font-size: 13px;
  color: #777;
}

.card-right {
  flex: 1;
  height: 100%;
}

.card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 32px 32px 0; 
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-card {
    flex-direction: column;
  }

  .card-left {
    padding: 28px;
  }

  .card-right {
    height: 320px;
  }

  .card-right img {
    border-radius: 0 0 24px 24px;
  }

  .card-desc {
    max-width: 100%;
  }
}
/* Articles Section */
.articles-section {
  padding: 20px 80px;
  font-family: "Poppins", sans-serif;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.articles-header h2 {
  font-size: 36px;
  font-weight: 700;
}

.articles-header p {
  font-size: 15px;
  color: rgba(4, 1, 114, 1);
  margin-top: 6px;
}

.articles-tabs {
  display: flex;
  gap: 12px;
}

.tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: #f2f2f2;
  font-size: 15px;
  cursor: pointer;
}

.tab.active {
  background: rgba(4, 1, 114, 1);
  color: #fff;
}

.la-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.la-card {
  position:relative;
  display: flex;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.la-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

.hidden-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.show-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.la-img {
  width: 220px;
  object-fit: cover;
}

.la-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.la-content h3 {
  font-size: 18px;
  font-weight: 600;
  color:rgba(4, 1, 114, 1);
  margin-bottom: 10px;
}

.la-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.la-date {
  font-size: 12px;
  color: #888;
}

.la-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 16px;
  border-radius: 30px;
  background: #e60000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  z-index: 2;
}

.la-btn:hover {
  background: #c80000;
}

.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.load-more-btn {
  background:rgba(4, 1, 114, 1);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-bottom: 30px;
}

.load-more-btn:hover {
  background: #06064a;
}

/* LAPTOPS (≤1200px) */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 52px;
  }

  .hero-card {
    margin-top: 80px;
  }

  .articles-section {
    padding: 40px 60px;
  }
}

/* =========================
   TABLETS (≤992px)
========================= */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 46px;
  }

  .hero-card {
    flex-direction: column;
  }

  .card-left {
    padding: 32px;
  }

  .card-footer {
    margin-top: 40px;
  }

  .card-right {
    height: 320px;
  }

  .card-right img {
    border-radius: 0 0 32px 32px;
  }

  .articles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .la-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE LARGE (≤768px) */
@media (max-width: 768px) {
  .hero-content {
    padding: 60px 20px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .card-left h2 {
    font-size: 28px;
  }

  .card-desc {
    font-size: 16px;
  }

  .articles-section {
    padding: 20px;
  }

  .articles-header h2 {
    font-size: 30px;
  }

  .articles-tabs {
    flex-wrap: wrap;
  }

    .la-card {
    flex-direction: column;
  }

  .la-img {
    width: 100%;
    height: 220px;
  }
  
  .la-btn {
    bottom: 12px;
    right: 12px;
    font-size: 12px;
    padding: 7px 14px;
  }
}

/* MOBILE SMALL (≤480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 32px;
  }

  .card-left h2 {
    font-size: 24px;
  }

  .card-desc {
    font-size: 15px;
  }

  .card-quote {
    font-size: 14px;
  }

  .la-content h3 {
    font-size: 16px;
  }

  .la-desc {
    font-size: 13px;
  }

  .la-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .load-more-btn {
    font-size: 14px;
    padding: 8px 22px;
  }
}

/* TABLETS (iPad / iPad Pro) */
@media (max-width: 1100px) and (min-width: 901px) {

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding: 60px 32px;
  }

  .hero-text h1 {
    font-size: 46px;
  }

  .hero-card {
    margin-top: 60px;
    border-radius: 28px;
  }

  .card-left {
    padding: 32px 28px;
  }

  .card-left h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .card-quote {
    margin-bottom: 30px;
    font-size: 14px;
  }

  .card-desc {
    font-size: 16px;
    line-height: 1.6;
  }

  .card-footer {
    margin-top: 40px;
  }

  .card-right img {
    border-radius: 0 28px 28px 0;
  }

  /* Articles spacing fix */
  .articles-section {
    padding: 40px 48px;
  }

  .la-grid {
    grid-template-columns: 1fr;
  }

  .la-img {
    width: 240px;
  }
}
