/* ===== MAIN CONTAINER ===== */
.news-container {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0a3d62;
    line-height: 1.6;
    background: #f4f7fb; /* soft techy background */
    padding-bottom: 60px;
  }
  
  /* ===== HERO ===== */
  .hero {
    position: relative;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #e0f0ff 0%, #ffffff 100%);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 80, 150, 0.1);
    overflow: hidden;
  }
  
  .hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0a3d62;
    letter-spacing: 1px;
  }
  
  .hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: #1c4e8b;
    line-height: 1.7;
  }
  
  /* ===== SUBSCRIBE SECTION ===== */
  .subscribe-section {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 12px 30px rgba(0, 80, 150, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .subscribe-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 80, 150, 0.12);
  }
  
  .subscribe-section h2 {
    font-size: 2.2rem;
    color: #0a3d62;
    margin-bottom: 15px;
  }
  
  .subscribe-section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #1c4e8b;
  }
  
  .subscribe-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .subscribe-form input[type="email"] {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #a3c0e2;
    font-size: 1rem;
    width: 250px;
    max-width: 90%;
    transition: all 0.3s ease;
  }
  
  .subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #0a84ff;
    box-shadow: 0 0 12px rgba(10, 132, 255, 0.3);
  }
  
  .subscribe-form button {
    padding: 14px 30px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #0a84ff, #00c3ff);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .subscribe-form button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #0670d6, #00b2e6);
  }
  
  /* ===== NEWS CARDS ===== */
  .news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .news-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 80, 150, 0.08);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 80, 150, 0.12);
  }
  
  .news-card .news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }
  
  .news-card:hover .news-image img {
    transform: scale(1.05);
  }
  
  .news-card h3 {
    font-size: 1.4rem;
    color: #0a3d62;
    margin-bottom: 10px;
  }
  
  .news-card p {
    font-size: 1.1rem;
    color: #1c4e8b;
    line-height: 1.5;
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }
    .subscribe-section h2 { font-size: 2rem; }
    .news-card h3 { font-size: 1.3rem; }
  }
  
  @media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .subscribe-section h2 { font-size: 1.8rem; }
    .news-card .news-image img { height: 150px; }
  }
  
  @media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .subscribe-section h2 { font-size: 1.5rem; }
    .subscribe-form input[type="email"] { width: 100%; }
    .subscribe-form button { width: 100%; }
  }
  
  /* ===== LARGE SCREENS (1400px+) ===== */
  @media (min-width: 1400px) {
    .hero h1 { font-size: 4rem; }
    .hero p { font-size: 1.5rem; }
    .subscribe-section h2 { font-size: 2.5rem; }
    .subscribe-section p { font-size: 1.3rem; }
    .news-card h3 { font-size: 1.8rem; }
    .news-card p { font-size: 1.2rem; }
    .subscribe-form input[type="email"] { font-size: 1.1rem; padding: 16px 20px; }
    .subscribe-form button { font-size: 1.1rem; padding: 16px 35px; }
  }
  

  .news-cards {
    display: flex !important;         /* force flex layout */
    justify-content: center !important; /* center horizontally */
    align-items: center;
    width: 100% !important;           /* full width */
    padding: 60px 20px;
    margin: 0 auto;
}

.news-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 80, 150, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;      /* take full container width */
    max-width: 1000px; /* cap card width */
    margin: 0 auto;   /* center within flex container */
}
.news-image img {
  height: auto !important;
}
.news-card-image {
  width: 100%;
  height: 180px;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background: #e2e8f0; /* light grey */
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}
