/* Reset and body layout */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  background: linear-gradient(120deg, #37b863 0%, #085f43 100%), url('../images/natural_background.jpg') no-repeat center center fixed;
  background-size: cover;
  background-blend-mode: overlay;
  display: flex; flex-direction: column;
}

/* Header & Navigation */
header {
  background: rgba(8,95,67,0.87);
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  border-bottom: 3px solid #37b863;
  box-shadow: 0 2px 15px #040c0911;
  backdrop-filter: blur(4px);
}
header h1 {
  color: #37b863;
  font-size: 2.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
nav {
  margin-top: 1rem;
}
nav a {
  color: #fff;
  background: rgba(41,150,51,0.85);
  padding: 0.6rem 1.2rem;
  margin: 0 0.32rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 500;
  box-shadow: 0 2px 10px #1b834c1a;
  transition: background 0.2s, color 0.2s;
}

main {
  max-width: 940px;
  margin: 2.2rem auto 1rem auto;
  padding: 2.4rem 2rem 1rem 2rem;
  flex: 1;
}

/* Blurred Glass Section Card */
section {
  background: rgba(44,150,61,0.31);
  color: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 8px 28px 0 #1e683f45;
  padding: 2rem 2rem 1.2rem 2rem;
  margin-bottom: 2.2rem;
  font-size: 1.17rem;
  line-height: 1.7;
  backdrop-filter: blur(11px) saturate(125%);
  border: 2px solid rgba(44,150,61,0.18);
  position: relative;
  z-index: 1;
}
section::after {
  content: "";
  position: absolute;
  left: 8px; top: 10px; right: 8px; bottom: 10px;
  border-radius: 1.1rem;
  pointer-events: none;
  z-index: -1;
  box-shadow: 0 2px 16px #40e16115, 0 8px 22px #0003;
}
section h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #085f4342;
}
section ul {
  list-style-type: disc;
  padding-left: 1.3rem;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
section ul li {
  margin-bottom: 0.65rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 8px #085f4322;
}
section a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

footer {
  width: 100%;
  text-align: center;
  padding: 1.3rem 0 1rem 0;
  background: rgba(8,95,67,0.97);
  color: #e1e1e1;
  font-size: 1.08rem;
  border-top: 2px solid #37b863;
  margin-top: auto;
  box-shadow: 0 -2px 16px #040c090d;
  position: relative;
  backdrop-filter: blur(6px);
}

/* Responsive styling for mobile */
@media (max-width: 700px) {
  main {padding: 1.1rem 0.4rem;}
  header h1 {font-size: 1.25rem;}
  nav a {font-size: 0.96rem; padding: 0.42rem 0.7rem;}
  section {padding: 1.1rem 0.7rem; font-size: 1.01rem;}
  section h2 {font-size: 1.22rem;}
}

.doctor-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center; /* Center horizontally */
  text-align: center; /* Center text inside */
  background: rgba(44,150,61,0.3);
  padding: 1.8rem 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 8px 28px #1e683f45;
  margin-bottom: 2.5rem;
}

.doctor-photo {
  width: 180px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 6px 20px #1548226e;
  flex-shrink: 0;
  margin: 0 auto; /* Center image horizontally */
}

.doctor-info {
  flex: 1 1 320px;
  color: #fff;
}
.doctor-info h2 {
  margin-bottom: 0.3rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-shadow: 0 1px 8px #0b3d17;
}
.doctor-info p {
  font-size: 1.14rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
  text-shadow: 0 1px 6px #0b3d1760;
}

@media (max-width: 600px) {
  .doctor-profile {
    flex-direction: column;
    align-items: center; /* center on small screens */
  }
  .doctor-photo {
    width: 140px;
    margin: 0 auto 1rem auto;
  }
}

.videos-section {
  padding: 2rem 2rem 3rem 2rem;
  background: rgba(44,150,61,0.25);
  border-radius: 1.4rem;
  box-shadow: 0 7px 30px #1a5d2d60;
  margin: 2rem auto;
  max-width: 1080px;
  color: #fff;
  text-align: center;
}

.videos-section h2 {
  font-size: 2.2rem;
  letter-spacing: 2.5px;
  margin-bottom: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 12px #0a3e1322;
}

.video-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.video-box {
  background: #237340cc;
  border-radius: 1.15rem;
  padding: 1rem 1.3rem 1.6rem 1.3rem;
  box-shadow: 0 4px 18px #01481d80;
  max-width: 340px;
  flex: 1 1 300px;
}

.video-box h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-shadow: 0 1px 9px #06330ecc;
}

video {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 16px #03320caa;
  cursor: pointer;
  outline: none;
}

video:focus, video:hover {
  box-shadow: 0 0 12px #1fc75a, 0 0 20px #1fc75a;
  outline: none;
}
