/* Top Bar */
.top-bar {
  background-color: #8CC63F;
  /* Green from logo */
  font-size: 14px;
  padding: 5px 0;
  text-align: center;
  color: #fff;
}

/* Navbar base fix */
.navbar {
  padding: 6px 0;
}

/* Brand fix */
.navbar-brand {
  display: flex;
  align-items: center;
}

/* Logo default */
.logo-img {
  height: 100px;
  width: auto;
  max-width: 100%;
}

/* EXACT MOBILE FIX — 412px SAFE */
@media (max-width: 420px) {
  .logo-img {
    height: 80px;
  }

  .navbar {
    padding: 4px 0;
  }
}

/* Very small phones safety */
@media (max-width: 360px) {
  .logo-img {
    height: 45px;
  }
}


/* Navbar link colors */
.navbar .nav-link {
  color: #0D3B66;
  /* Dark blue text from logo */
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: #F7931E;
  /* Orange hover */
}

/* Services Dropdown hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown colors */
.dropdown-menu {
  background-color: #F7931E;
  /* Orange */
}

.dropdown-item {
  color: #fff;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #FFD700;
  /* Yellow hover */
  color: #0D3B66;
  /* Blue text on hover */
}

/* Appointment button */
.btn-appointment {
  background-color: #8CC63F;
  /* Green button */
  color: #fff;
  font-weight: 600;
}

.btn-appointment:hover {
  background-color: #6FAF34;
  /* Darker green on hover */
  color: #fff;
}



.hero-wrapper {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  animation: textFade 1s ease;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  max-width: 700px;
}

.hero-content p {
  margin-top: 10px;
  max-width: 600px;
  font-size: 16px;
}

.hero-btn {
  margin-top: 18px;
  padding: 12px 30px;
  background: #8CC63F;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
}

@keyframes textFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ PERFECT 412px FIX */
@media(max-width:412px) {
  .hero-wrapper {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

.object-fit-cover {
  object-fit: cover;
}

.about-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.about-animate.show {
  opacity: 1;
  transform: translateY(0);
}


.service-card {
  position: relative;
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  border: 1px solid #eee;
  transition: .4s;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #f6be28;
  transition: .4s;
  z-index: 0;
}

.service-card:hover::before {
  bottom: 0;
}

.service-card * {
  position: relative;
  z-index: 1;
}

.service-card i {
  font-size: 40px;
  color: #a4c55f;
  margin-bottom: 15px;
  transition: .4s;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card a {
  text-decoration: none;
  font-weight: 600;
  color: #a4c55f;
}

.service-card:hover i,
.service-card:hover h5,
.service-card:hover p,
.service-card:hover a {
  color: #fff;
}

.review-section {
  padding: 60px 0;
  background: #f4f6f5;
}

.review-card {
  background: #ef7b26;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.review-no {
  width: 48px;
  height: 48px;
  background: #6FAF34;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 15px;
}

.review-card h5 {
  color: #fff;
  font-weight: 700;
}

.review-card p {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
}

.splide__slide {
  padding: 2px;
}

/* ===== MOBILE FIX : 412px ===== */
@media (max-width: 412px) {
  .review-section {
    padding: 40px 0;
  }

  .review-card {
    padding: 22px;
    border-radius: 14px;
  }

  .review-no {
    width: 42px;
    height: 42px;
    font-size: 15px;
    margin-bottom: 12px;
  }

  .review-card h5 {
    font-size: 16px;
    line-height: 1.3;
  }

  .review-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .splide__slide {
    padding: 6px;
  }
}

.feedback-section {
  padding: 60px 0;
  background: #f4f6f5;
}

.feedback-card {
  background: #a5c95f;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feedback-card p {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 15px;
}

.feedback-card h6 {
  font-weight: 700;
  color: #ef7b26;
  text-align: right;
  margin: 0;
}

.slider-buttons button {
  background: #ef7b26;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  margin: 0 10px;
  cursor: pointer;
  transition: 0.3s;
}

.slider-buttons button:hover {
  background: #d66a1f;
}

/* MOBILE FIX */
@media (max-width: 412px) {
  .feedback-section {
    padding: 40px 0;
  }

  .feedback-card {
    padding: 20px;
    border-radius: 14px;
  }

  .feedback-card p {
    font-size: 14px;
  }

  .feedback-card h6 {
    font-size: 14px;
  }

  .slider-buttons button {
    padding: 8px 20px;
    font-size: 14px;
  }
}

.testimonial-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.testimonial-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #ef7b26;
  margin-bottom: 10px;
  font-size: 16px;
}

.nav-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  background: #ef7b26;
  color: #fff;
  cursor: pointer;
  margin-right: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #3e7423;
}

@media(max-width:412px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-card {
    flex: 1 0 100%;
  }
}

.ot-section {
  padding: 70px 20px;
}

.fade-left {
  animation: fadeLeft 1s ease forwards;
}

.fade-right {
  animation: fadeRight 1s ease forwards;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ot-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ot-box {
  background: #f6f9ee;
  border-radius: 30px;
  padding: 60px 25px;
}

.section-title {
  font-weight: 700;
  margin-bottom: 20px;
}

.highlight {
  color: var(--theme);
  font-weight: 600;
}

@media(max-width:768px) {
  .ot-section {
    padding: 40px 15px;
  }

  .ot-box {
    padding: 40px 20px;
  }
}

.img-wrap {
  width: 100%;
  height: 360px;
  /* desktop height */
  border-radius: 16px;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* image perfect fill */
  object-position: center;
  /* center se crop */
}

/* mobile ke liye */
@media(max-width:768px) {
  .img-wrap {
    height: 240px;
  }
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
}

.q {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  border: none;
  background: #f0f8e6;
  cursor: pointer;
  font-size: 20px;
  margin-bottom: 0;
}

.q:hover {
  background: #e1f0b8;
}

.a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fcfdf7;
  transition: 0.3s;
  font-size: 18px;
  line-height: 1.6;
}

.a.show {
  max-height: 300px;
  padding: 18px 20px;
}

.nx-doc-sec {
  padding: 40px 15px
}

.nx-doc-wrap {
  max-width: 1100px;
  margin: auto
}

.nx-doc-card {
  display: flex;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden
}

.nx-doc-text {
  padding: 20px;
  flex: 1
}

.nx-tag {
  color: #0d6efd;
  font-size: 14px
}

.nx-doc-text h3 {
  margin: 5px 0
}

.nx-doc-img {
  width: 35%
}

.nx-doc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

@media(max-width:412px) {
  .nx-doc-card {
    flex-direction: column
  }

  .nx-doc-img {
    width: 100%;
    height: 220px
  }
}

.team-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-img {
  transform: scale(1.1);
}

.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}