/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* CONTAINER */
.container {
  width: 90%;
  margin: auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* NAV FLEX */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  color: #0077b6;
}

/* NAV MENU */
.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu ul li {
  margin: 0 15px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* HOVER UNDERLINE */
.nav-menu ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #0077b6;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

/* BUTTON */
.btn {
  background: #0077b6;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #005f8e;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    text-align: center;

    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
  }

  .nav-menu.active {
    max-height: 300px;
    padding: 20px 0;
  }

  .nav-menu ul {
    flex-direction: column;
  }

  .nav-menu ul li {
    margin: 10px 0;
  }

  .nav-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* HERO */
.hero {
  padding: 100px 0;
  background: linear-gradient(to right, #e6f2ff, #ffffff);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.hero-text p {
  color: #555;
  margin-bottom: 25px;
}

/* BUTTONS */
.btn-outline {
  border: 2px solid #0077b6;
  color: #0077b6;
  padding: 10px 18px;
  border-radius: 6px;
  margin-left: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #0077b6;
  color: #fff;
}

/* IMAGE */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

.hero-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  /* IMAGE FIRST */
  .hero-image {
    order: -1;
    margin-bottom: 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btn-outline {
    margin-left: 0;
  }
}

/* TRUST SECTION */
.trust {
  background: #0077b6;
  padding: 60px 0;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.trust-card h3 {
  font-size: 30px;
  margin-bottom: 5px;
}

.trust-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* HOVER */
.trust-card {
  transition: 0.3s;
}

.trust-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* DOCTOR SECTION */
.doctor {
  padding: 80px 0;
  background: #fff;
}

.doctor-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* IMAGE */
.doctor-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.doctor-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
}

.doctor-image img:hover {
  transform: scale(1.05);
}

/* TEXT */
.doctor-text {
  flex: 1;
}

.doctor-text h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.designation {
  color: #0077b6;
  font-weight: 600;
  margin-bottom: 10px;
}

/* RATING */
.rating {
  margin-bottom: 15px;
  font-size: 16px;
}

.rating span {
  color: #555;
  margin-left: 5px;
}

/* DESCRIPTION */
.description {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* SPECIALIZATION TAGS */
.specialization {
  margin-bottom: 20px;
}

.specialization span {
  display: inline-block;
  background: #e6f2ff;
  color: #0077b6;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 5px;
  font-size: 13px;
}

@media (max-width: 768px) {

  .doctor-content {
    flex-direction: column;
    text-align: center;
  }

  .specialization span {
    margin: 5px 3px;
  }

}

/* SERVICES */
.services {
  padding: 80px 0;
  background: #f8fbff;
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-title p {
  margin-bottom: 40px;
  color: #555;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.service-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

/* ICON */
.service-card i {
  font-size: 28px;
  color: #0077b6;
  margin-bottom: 15px;
}

/* TEXT */
.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

/* HOVER EFFECT */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 480px) {

  .services-grid {
    grid-template-columns: 1fr;
  }

}

/* APPOINTMENT */
.appointment {
  padding: 80px 0;
  background: linear-gradient(to right, #f0f8ff, #ffffff);
}

.appointment-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* TEXT */
.appointment-text {
  flex: 1;
}

.appointment-text h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

.appointment-text p {
  margin-bottom: 20px;
  color: #555;
}

.appointment-text ul li {
  margin-bottom: 10px;
}

/* FORM */
.appointment-form {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.appointment-form form {
  display: flex;
  flex-direction: column;
}

/* INPUTS */
.appointment-form input,
.appointment-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: #0077b6;
}

/* BUTTON FULL WIDTH */
.appointment-form .btn {
  width: 100%;
}

@media (max-width: 768px) {

  .appointment-content {
    flex-direction: column;
    text-align: center;
  }

  .appointment-text ul {
    padding-left: 0;
  }

}

/* TESTIMONIALS */
.testimonials {
  padding: 80px 0;
  background: #f8fbff;
  text-align: center;
}

/* GRID */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

/* STARS */
.stars {
  color: #ffc107;
  margin-bottom: 10px;
  font-size: 18px;
}

/* TEXT */
.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  color: #0077b6;
  font-size: 14px;
}

/* HOVER */
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.footer {
  background: #111;
  color: #fff;
  padding-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-info {
  flex: 1;
}

.footer-info h3 {
  margin-bottom: 15px;
  color: #0077b6;
}

.footer-map {
  flex: 1;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  background: #000;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  font-size: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 999;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* PULSE EFFECT */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp {
  animation: pulse 2s infinite;
}