/* #157347 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  
}

body {
  background: #f7f7f7;
  color: #222;
  line-height: 1.6;
}
.navbar {
  position: relative;       /* stays at top */
  top: 0;                /* align to top */
  left: 0;
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  padding: 10px 20px;
  background-color: #fff; /* adjust as needed */
  width: 100%;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px; /* space between logo and image */
}

.logo {
  height: 100px; /* adjust size */
}

.doctor-img {
  height: 150px; /* keep aligned with logo */
  border-radius: 50%; /* optional: circular image */
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.menu a:hover {
  color: #6BAE75;
} 




.page-container{
      text-align: left;
    padding: 10px 10px;
    margin-top: 1px;
    line-height: 22px;
    font-size: 14px;
    position: relative;
    box-shadow: 1px 2px 15px #48484833;
    background: var(--theme-color);
    overflow: hidden;
    word-break: break-word;
    z-index: 1;
    /* color: #fff; */
}
.hero {
  /* min-height: 600px; */
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 20px;
  /* display: flex; */
  /* flex-direction: row; */
}

.overlay {
  /* min-height: 600px; */
  /* background: rgba(0, 0, 0, 0.45); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color:#355e3b;
  text-align: center;
  padding: 0px;
  position: relative;
}
.overlay image{
  width: 100%;
  height: 20%;
  /* display: block; */
}
.discover{
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 100%;
  background: transparent;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  
}

.overlay h1 {
  font-size: 28px;
  max-width: 1000px;
  margin-bottom: 20px;
  color: #224427;
}

.speciality {
  font-size: 18px;
  max-width: 1000px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #224427;

}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn,
button {
  background: #6BAE75;
  color: #fff;
  border: none;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
   transition: box-shadow 0.3s ease;
}

.secondary {
  background: #6BAE75;
 
}

/* Define up-down animation */
    @keyframes upDown {
      0%   { transform: translateY(0); }
      50%  { transform: translateY(-6px); }
      100% { transform: translateY(0); }
    }

    /* Apply animation on hover */
    .btn:hover {
      animation: upDown 0.5s ease-in-out;
      box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }

.section {
  padding: 50px 40px;
}

.section h1,
.section h2 {
  margin-bottom: 20px;
  color: #6BAE75;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  height: 100%;
  
  
}
.card-grid img{
  width: 80%;
  padding: 5px;
}
.card,
.admin-card {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.card h4 {
  display: flex;
  gap: 1rem;
  margin-top: 14px;
  color: #6BAE75;
  height: 50px;
  align-items: center;
   margin-top: 1.5rem
}

.about p {
  max-width: 100%;
  font-size: 18px;
}

#contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.info-block {
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #fff;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
   
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin: 5px 10px;
  padding: 20px;
  width: 90%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #1ebe5d;
}

.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.main-logo{
  display: flex;
  flex-direction: row;
 
}
footer {
  background: #6BAE75;
  color: #fff;
  text-align: center;
  padding: 18px;
  margin-top: 20px;
}

.form-section {
  max-width: 1000px;
  margin: auto;
  /* margin-top:10px ; */
}

.form-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-box input,
.form-box textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-list {
  margin-top: 30px;
}

.admin-card {
  margin-bottom: 20px;
}

.admin-card h3 {
  color: #6BAE75;
  margin-bottom: 10px;
}

.action-row {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.delete-btn {
  background: #c62828;
}

.note-box {
  background: #fff3cd;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

#loginMessage,
#blogMessage,
#serviceMessage,
#appointmentStatus {
  font-weight: bold;
  color: #6BAE75;
  margin-top: 10px;
}

.hidden-badge {
  display: inline-block;
  background: #999;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-top: 10px;
}

@media (max-width: 1500px) {
  .card-grid {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }
.contact-container{
    display: flex;
    flex-direction: column;
    flex-wrap: ;
  }
  .overlay h1 {
    font-size: 32px;
  }

  .speciality {
    font-size: 18px;
  }

  /* .navbar {
    padding: 18px 20px;
    display: flex;
    flex-direction: row;
  } */

  .section {
    padding: 35px 20px;
  }
}
