﻿/* Reset and Base */

body {
  font-family: 'Poppins', sans-serif !important;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('https://source.unsplash.com/1600x600/?hospital,healthcare') center/cover no-repeat;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay {
  background-color: rgb(130 39 35);
  padding: 40px;
  text-align: center;
  color: white;
  width: 100%;
}
.overlay h1 {
  font-size: 3rem;
}
.overlay p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* News Container */
.news-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}
.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.news-card:hover {
  transform: translateY(-5px);
}
.news-card img {
  width: 100%;
  height: auto;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #2c3e50;
}
.card-content .date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}
.card-content p {
  font-size: 1rem;
}


.logo-footer {
  max-width: 800px;
  animation: fadeInLeft 1.5s ease-out;
  background: rgba(255, 255, 255, 0.9);
/* Optional: dark overlay for readability */
  padding: 20px;
  border-radius: 10px;
}