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: #050101;
    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: #555;
}

/* Main Content */
.main-content {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.doctors-section {
    width: 90%;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.doctor-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
}


.doctor-image {
    width: 50%;
    height: 50%;
}

.doctor-name {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.doctor-specialty {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* 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;
}


@media (max-width : 992px){
 
    .doctor-grid {
        grid-template-columns: 1fr;
    }
    
}


/* 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;
  }
}