/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Top bar */
.top-bar {
  background: #f2eae2;
  color: rgb(19, 16, 16);
  display: flex;
  justify-content: space-between;
  padding: 8px 50px;
  font-size: 14px;
  flex-wrap: wrap;
  text-align: center;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #009688;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #009688;
}

.btn {
  background: #009688;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #00796b;
}
/* ✅ Responsive Navbar */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column; /* সব নিচে নিচে যাবে */
    text-align: center;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }

  .btn {
    margin-top: 15px;
  }
}

/* Section title */

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-top: 80px;   /* 👈 উপরে gap */
  margin-bottom: 10px;
  color: #2c3e50;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #777;
  margin-bottom: 40px;
}

/* Doctors Grid */
.doctors {
  margin-bottom: 120px; 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

/* Doctor Card */
.doctor-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.12);
}

/* Doctor Image */
.doctor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 4px solid #f1f1f1;
  transition: border 0.3s ease;
}

.doctor-card:hover img {
  border: 4px solid #007bff;
}

/* Doctor Info */
.doctor-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #2c3e50;
}

.doctor-info .role {
  font-size: 15px;
  color: #007bff;
  margin: 5px 0;
}

.doctor-info .desc {
  font-size: 14px;
  color: #555;
  margin: 10px 0;
  line-height: 1.5;
}

/* Social Icons */
.social {
  display: flex;
  gap: 12px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social a:hover {
  background: #007bff;
  color: #fff;
}



.faq-section {
  
  text-align: center;
  padding: 20px 10px;
  background: rgb(223, 223, 248);
  margin-top: 30px;
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.faq-subtitle {
  color: #666;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #008080;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f0fdfd;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 15px 0;
  color: #444;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}




















/* Footer */
.footer {
  background: #98d0eb;
  padding: 50px 20px 20px;
  color: #444;
  font-family: Arial, sans-serif;
  margin-top: 60px;  /* 🔥 উপরের gap */
}


.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h3, .footer h4 {
  font-weight: bold;
  margin-bottom: 15px;
  color: #222;
}

.footer p {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  color: #555;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #00bcd4;
}

/* Newsletter */
.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  padding: 10px;
  border: 1px solid #ccc;
  flex: 1;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  background: #00bcd4;
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #008c9e;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 14px;
}

.footer-bottom a {
  color: #00bcd4;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .newsletter {
    flex-direction: column;
  }

  .newsletter input {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .newsletter button {
    border-radius: 4px;
    width: 100%;
  }
}
