
html, body {
  max-width: 100%;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden ;
}

.hero-content {
  padding: 0 1.5rem; /* reduce from 3rem */
}

iframe {
  display: block;
  max-width: 100%;
}


/* Hero Section */
.hero {
  background: linear-gradient(135deg, #7ae6db 0%, #009688 100%), url('https://source.unsplash.com/800x600/?doctor,portrait') no-repeat center center/cover;
  color: white;
  padding: 5rem 1rem;
  border-radius: 0 0 60px 60px;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #daedeb 0%,  100%);
  opacity: 0.85;
  border-radius: 0 0 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 3rem;
}

.hero-text {
  flex: 1 1 350px;
}

.hero-text h1 {
  font-weight: 900;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero-text h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  color: #e0e6ff;
}

.btn-appointment {
  background-color: #2c1581;
  color: #212529;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  user-select: none;
}

.btn-appointment:hover,
.btn-appointment:focus {
  background-color: #e0a800;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.hero-image {
  flex: 1 1 300px;
  max-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Contact Section */
.contact-title {
  margin: 3rem 0 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  text-align: center;
}

.contact-info i {
  color: #0d6efd;
  font-size: 1.5rem;
  margin-right: 12px;
  min-width: 24px;
  text-align: center;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.3);
}
.icons1 i{
  color: #1ba496;
}
.btn-primary {
  background-color:#017d71;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0b5ed7;
  
  outline: none;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #212529;
}
/* ===================== */
 /* Contact Section */
    .contact-info {
      background: #ffffff;
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
     .contact-info:hover{
      background-color:#b5f8f1 ;
     }
/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .hero-text, 
  .hero-image {
    max-width: 100%;
    flex: unset;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text h3 {
    font-size: 1.1rem;
  }
  
  .hero-text p {
    max-width: 100%;
  }
}
