body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo img {
  height: 70px; 
  width: auto;
  margin-left: 1px;
}

/* Header */
.header {
  background-color: #576ff5; 
  color: white;
  padding: 10px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  font-size: 24px;
  margin-left: 20px;
}

.hospital-name {
  font-size: 80px;
  font-weight: bold;
  flex: 1;
  text-align: center;
}

/* Navigation Bar */
.navbar {
  background-color: #0f0202;
  overflow: hidden;
}

.navbar ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

.navbar ul li {
  margin: 0 10px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  padding: 20px 30px;
  display: block;
}

.navbar ul li a:hover {
  background-color: #0c0101;
}

/* Main Content */
.main-content {
  padding: 20px;
}

.featured-section {
  display: flex;
  margin-bottom: 20px;
}




.text-block {
  flex: 1;
  background-color: #f4f4f4;
  padding: 20px;
  display: flex;
  align-items: center;
}

.wide-section {
  background-color: #eee;
  padding: 20px;
  margin-bottom: 20px;
}

.grid-section {
  display: flex;
  justify-content: space-between;
}



/* Footer */
.footer {
  background-color: #576ff5;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-section {
  flex: 1;
  padding: 10px;
}

.footer-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section p, .footer-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style-type: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #222;
  padding: 10px;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffcc00;
  text-decoration: none;
}

.img-small
{
  position: relative;
  width: 1000px;
  margin: 0px 5cm;


}

/* Mobile inquiries start */


@media (max-width: 768px) {
  body {
      padding: 10px; 
  }

  h1, h2, p {
      font-size: 16px; 
  }

  .navbar ul {
      flex-direction: column; 
      align-items: center;
  }

  .navbar ul li {
      margin-bottom: 10px; 
  }

  .navbar ul li a {
      padding: 10px 20px; 
  }

  /* Header adjustments */
  .hospital-name {
      font-size: 40px; 
  }

  .logo img {
      height: 50px;
  }

  /* Main content section adjustments */
  .featured-section {
      flex-direction: column; 
  }

  .featured-section img {
      width: 100%; 
      height: auto;
  }

  .grid-section {
      flex-direction: column; 
      align-items: center;
  }

  .grid-section img {
      width: 100%; 
      max-width: 100%; 
  }

  /* Footer adjustments */
  .footer-content {
      flex-direction: column; 
      text-align: center;
  }

  .footer-section {
      margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hospital-name {
      font-size: 32px; 
  }

  .navbar ul li a {
      font-size: 14px; 
      padding: 8px 15px; 
  }

  .text-block {
      padding: 10px; 
  }

  .img-small {
      width: 100%; 
      margin: 0; 
  }
}
