/* =====================================
   RESET
===================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

img {
  max-width: 100%;
  height: auto;
}


/* =====================================
   BANNER
===================================== */

.banner-image {
  width: 100%;
  background: #f6efe6;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.banner-image img {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: auto;
}


/* =====================================
   MENU
===================================== */

.main-menu {
  background: #eee;
  display: flex;
  justify-content: center;
}

#menuLinks {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Links */
#menuLinks a,
.dropbtn {
  padding: 14px 18px;
  text-decoration: none;
  color: #1f3c88;
  font-weight: bold;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content.mobile-open {
  display: block;
}

.dropdown-content a {
  padding: 12px 15px;
  font-weight: normal;
  display: block;
}

.dropdown-content a:hover {
  background: #f2f2f2;
}

/* Desktop hover ONLY for mouse devices */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}


/* =====================================
   MOBILE MENU
===================================== */

@media (max-width: 1023px) {

  #menuLinks {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 10px 0;
  }

  .dropbtn {
    width: 100%;
    text-align: left;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
  }

  .dropdown-content a {
    padding-left: 25px;
  }
}


/* =====================================
   SLIDER
===================================== */

.slider {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}


/* =====================================
   CONTENT
===================================== */

.content {
  max-width: 760px;
  margin: auto;
  padding: 30px 20px;
}

h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.3;
}

h2 {
  margin-top: 30px;
  color: #1f3c88;
  line-height: 1.4;
}


/* Doctor section */

.intro-doctor {
  display: flex;
  gap: 30px;
  align-items: center;
}

.intro-doctor img {
  width: 220px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.intro-text p {
  margin-bottom: 12px;
}

.doctor-photo {
  max-width: 300px;
  width: 100%;
  margin-bottom: 20px;
}


/* =====================================
   SERVICES CARDS
===================================== */

.services-wrapper {
  display: grid;
  gap: 30px;
}

.service-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
}

.service-card h1 {
  margin-top: 0;
  color: #1f3c88;
}

.service-card ul {
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 6px;
}


/* =====================================
   FOOTER
===================================== */

footer {
  background: #ddd;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}


/* =====================================
   MOBILE CONTENT
===================================== */

@media (max-width: 768px) {

  .content {
    padding: 20px 15px;
  }

  .intro-doctor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-doctor img {
    width: 180px;
  }

  .doctor-photo {
    max-width: 220px;
  }

  h1 {
    font-size: 22px;
  }

  .slider {
    height: 200px;
  }

}



