/* ========== RESET & GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* Container for consistent spacing */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #cc0000;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #a30000;
}

/* ========== HEADER ========== */
header {
  background: #003366;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

header h1 {
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  color: white;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav a:hover,
nav a.active {
  background: #cc0000;
}

/* ========== HERO SECTIONS ========== */
.hero {
  background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)), url('../images/hospital-banner.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* ========== SECTIONS ========== */
section {
  padding: 60px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: #003366;
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service {
  background: white;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service:hover {
  transform: translateY(-5px);
}

/* Doctor Grid */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.doctor {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.doctor:hover {
  transform: translateY(-5px);
}

.doctor img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.doctor h3 {
  color: #003366;
  margin-bottom: 5px;
}

.doctor p {
  color: #555;
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #003366;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-post {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.blog-post h3 {
  margin-bottom: 10px;
  color: #cc0000;
}

.blog-post p {
  margin-bottom: 10px;
  color: #444;
}

/* Contact Page */
.contact-form {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  width: 100%;
  background: #003366;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #002244;
}

/* ========== FOOTER ========== */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 25px 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

footer p {
  margin: 5px 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
/* Contact Banner */
.contact-banner {
  text-align: center;
  padding: 60px 20px;
  background: #e6f0ff;
  color: #003366;
}

.contact-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Contact Info */
.contact-details {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.contact-details p {
  margin: 8px 0;
  color: #444;
}

/* Map */
.map {
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
}

.map h2 {
  margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
  padding: 40px 20px;
  background: #fff;
  max-width: 600px;
  margin: auto;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #cc0000;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px;
  background: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #cc0000;
}
/* Customers Banner */
.customers-banner {
  text-align: center;
  padding: 60px 20px;
  background: #fff0f0;
  color: #003366;
}

.customers-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  padding: 40px 20px;
  background: #f9f9f9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-style: italic;
  color: #444;
}

.testimonial h3 {
  margin-top: 15px;
  font-size: 1rem;
  font-style: normal;
  color: #cc0000;
  text-align: right;
}
/* Team Banner */
.team-banner {
  text-align: center;
  padding: 60px 20px;
  background: #e6f2ff;
  color: #003366;
}

.team-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Team Members */
.team {
  padding: 40px 20px;
  background: #f9f9f9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.team-member {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-member h3 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
  color: #cc0000;
}

.team-member p {
  color: #555;
  font-size: 0.95rem;
}
/* Blog Banner */
.blog-banner {
  text-align: center;
  padding: 60px 20px;
  background: #f0f9f9;
  color: #003366;
}

.blog-banner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Blog Posts */
.blog-posts {
  padding: 40px 20px;
  background: #f9f9f9;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.blog-post {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.blog-post img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.blog-post h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #cc0000;
}

.blog-post p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.blog-post a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.blog-post a:hover {
  text-decoration: underline;
}
