@media (max-width: 1000px) {
  .hero-section {
    height: 70vh;
  }

  .africa-mask {
    width: 90%;
    height: 90%;
  }

  .hero-overlay h1 {
    font-size: var(--font-xl);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
    margin-bottom: 0.6rem;
  }

  .hero-overlay p {
    font-size: var(--font-md);
    line-height: var(--lh-normal);
    color: var(--color-body);
    margin-top: 0.5rem;
  }

  /* Newspaper */
   .hero-section {
    overflow: visible !important;
  }

  .newspaper-card-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 0;
    z-index: 10;
    transform: translateY(72%); /* lowered slightly from 65% */
  }

  .newspaper-carousel {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .newspaper-card {
    width: 100%;
    max-width: 360px;
    height: 480px;
    padding: 22px 18px 28px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }

  .newspaper-card h3 {
    font-size: var(--font-lg);
    color: var(--color-heading);
    font-weight: var(--fw-semibold);
  }

  .newspaper-card p {
    font-size: var(--font-base);
    line-height: var(--lh-normal);
    color: var(--color-body);
  }

  /* About Card */
  .about-card-section {
    padding: 70px 20px;
    margin-top: 450px;
  }
  
  .about-card {
    width: 100%;
    padding: 35px 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .about-card h3 {
    font-size: var(--font-lg);
    color: var(--color-heading);
    font-weight: var(--fw-semibold);
  }

  .about-card p {
    font-size: var(--font-base);
    line-height: var(--lh-loose);
  }

  .about-button {
    width: 100%;
    padding: 14px 0;
    font-size: var(--font-md);
    font-weight: var(--fw-semibold);
    color: #fff;
    background-color: var(--color-heading);
    border: none;
    border-radius: 10px;
    transition: background 0.3s ease;
  }

  .about-button:hover {
    background-color: #02135c;
  }
}

/* Responsive Fix for Tablet Devices 750px to 1000px */
@media (min-width: 750px) and (max-width: 1000px) {

  .hero-section {
    height: 70vh;
    overflow: visible !important;
  }

  .africa-mask {
    width: 90%;
    height: 90%;
  }

  .hero-overlay h1 {
    font-size: var(--font-xl);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
    margin-bottom: 0.6rem;
  }

  .hero-overlay p {
    font-size: var(--font-md);
    line-height: var(--lh-normal);
    color: var(--color-body);
    margin-top: 0.5rem;
  }

  /* Newspaper Card Section */
  .newspaper-card-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;

    /* Raise newspaper card higher on screen */
    transform: translateY(42%);
  }

  .newspaper-carousel {
    width: 90%;
    display: flex;
    justify-content: center;
  }

  .newspaper-card {
    width: 100%;
    max-width: 360px;
    height: 480px;
    padding: 22px 18px 28px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .newspaper-card h3 {
    font-size: var(--font-lg);
    color: var(--color-heading);
    font-weight: var(--fw-semibold);
  }

  .newspaper-card p {
    font-size: var(--font-base);
    line-height: var(--lh-normal);
    color: var(--color-body);
  }

  /* About Card Section */
  .about-card-section {
    padding: 80px 20px;

    /* Push the about card lower so it clears the newspaper */
    margin-top: 580px;
  }

  .about-card {
    width: 100%;
    padding: 35px 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .about-card h3 {
    font-size: var(--font-lg);
    color: var(--color-heading);
    font-weight: var(--fw-semibold);
  }

  .about-card p {
    font-size: var(--font-base);
    line-height: var(--lh-loose);
  }

  .about-button {
    width: 100%;
    padding: 14px 0;
    font-size: var(--font-md);
    font-weight: var(--fw-semibold);
    color: #fff;
    background-color: var(--color-heading);
    border: none;
    border-radius: 10px;
    transition: background 0.3s ease;
  }

  .about-button:hover {
    background-color: #02135c;
  }
}

/* 1024px wide devices with tall height look like mobile */
@media (width: 1024px) and (min-height: 820px) {

  .hero-section {
    height: 70vh;
    overflow: visible !important;
  }

  /* Newspaper card lowered slightly */
  .newspaper-card-section {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
    transform: translateY(40%);
  }

  .newspaper-carousel {
    width: 92%;
    display: flex;
    justify-content: center;
  }

  /* Reduced newspaper height */
  .newspaper-card {
    width: 100%;
    max-width: 350px;
    height: 420px;
    padding: 18px 16px 24px;
  }

  /* About card raised higher */
  .about-card-section {
    padding: 60px 20px;
    margin-top: 480px;
  }

  .about-card {
    width: 100%;
    padding: 32px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .about-button:hover {
    background-color: #02135c;
  }
}

