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;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-section {
    width: 50%;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-section h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-section form {
    display: flex;
    flex-direction: column;
}

.form-section label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-section input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-section button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.form-section button:hover {
    background-color: #555;
}

/* 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;
}


/* 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;
  }
}