#body1
{
    background-image: url('/images/blur-hospital.jpg');
    background-repeat: no-repeat;
    background-size: 1400px 600px;
}

/* Base Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0077b6;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  height: 80px;
  z-index: 1000;
}
#logo{
  height: 80px;
  width: 80px;
  border-radius: 50%;
}
.logo a {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  text-decoration: none;
}
#tab{
  background-color: white;
  border-radius: 6px;
  color: #0056b3;
  padding: 5px;
  display: inline-block;
  transition: transform 0.3s ease; 
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.head{
  height: 15px;
  margin-left: 540px;
  font-size: 60px;
  
}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
#tab:hover{
   text-decoration: none;
   transform: scale(1.05);
}
.nav-links li a:hover {
  text-decoration: underline;
}


.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Hidden checkbox */
#menu-toggle {
  display: none;
}
#slogan
{
    font-family: cursive;
    font-size: 70px;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    color: rgb(98, 54, 54);
}
#appoint-btn {
  position: relative;
  top: 40px;
  left: 45%;
  transform: translateX(-50%);
  z-index: 1000; 
}


#appoint-btn button {
  padding: 10px 20px;
  background-color: #007bff; 
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
a{
    text-decoration: none;
}
#appoint-btn button:hover {
  background-color: #0056b3;
}
#body2 {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f7fc;
}

.appointment-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.appointment-left {
  flex: 1;
  min-width: 300px;
  text-align: center;
  padding: 20px;
}

.appointment-left img {
  width: 800px;
  max-width: 450px;
  height: 400px;
  border-radius: 40%;
  
}

.appointment-right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: white;
  padding: 40px;
  margin: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.appointment-right h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #2c3e50;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 18px;
}

label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #3498db;
  outline: none;
}

button {
  margin-top: 20px;
  padding: 12px;
  font-size: 1rem;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #2980b9;
  transform: scale(1.02);
}


@media (max-width: 768px) {
  .appointment-section {
    flex-direction: column;
    padding: 20px;
  }

  .head{
    font-size: 40px;
    margin-left: 30px;
  }
  .appointment-left, .appointment-right {
    max-width: 90%;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0077b6;
    flex-direction: column;
    width: 100%;
    display: none;
  }

  .nav-links li {
    text-align: center;
    padding: 12px 0;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }
  .body1 {
    padding-top: 80px;
  }

  #slogan {
    font-size: 1.5rem;
  }

  #appoint-btn button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

#body3 {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f7f7f7;
}


header {
  background-color: #b9d9f4;
  color: white;
  text-align: center;
  padding: 40px 20px;
  color: black;
}


.about {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  background-color: white;
}

.about img {
  max-width: 100%;
  width: 400px;
  height: auto;
  border-radius: 10px;
  margin-right: 30px;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  margin-top: 0;
  color: #333;
}


.mission {
  padding: 30px 20px;
  background-color: #eef5f9;
}

.mission h2 {
  color: #71b9f7;
  margin-top: 0;
}


footer {
  text-align: center;
  background-color: #9ad0ff;
  color: black;
  padding: 20px;
  font-size: 14px;
}
#doctors{
  display: flex;
  flex-wrap: wrap;
  margin-top: 80px;
  justify-content: space-evenly;
  
}
#doctors-item{
  height: 350px;
  width: 243px;
  border: 1px solid rgb(29, 2, 147);
  border-radius: 5px;
  margin: 10px 15px 10px 15px;
  background-image: linear-gradient(45deg,rgb(79, 167, 229),rgba(255, 133, 80, 0.971));
  
}
#doctors-item:hover {
   transform: scale(1.01);
   background-color: rgba(90, 33, 95, 0.902);
}
#dr-img{
  height: 200px;
  width: 200px;
  padding: 20px;
  border-bottom: 2px dotted rgb(0, 0, 0);
  margin: auto;
}
#card-tit{
  text-align: center;
  font-weight: bold;
}

#card-desc {
  max-height: 0;
  overflow: hidden;
  text-align: center;
  font-weight: bolder;
  transition: max-height 0.3s ease-in-out;
}

#doctors-item:hover #card-desc {
  max-height: 20px; 
}

.main-heading {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  padding: 40px 20px 20px;
}

.service-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 5%;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  gap: 40px;
  flex-wrap: wrap;
}

.service-strip.reverse {
  flex-direction: row-reverse;
}

.service-strip img {
  width: 45%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-text {
  flex: 1;
  min-width: 250px;
}

.service-text h2 {
  margin: 0 0 15px;
  color: #1c3c61;
  font-size: 1.8rem;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}


@media screen and (max-width: 768px) {
  .service-strip,
  .service-strip.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .service-strip img {
    width: 90%;
  }
}