@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

body {
  background-color: #fdfaf6;
  color: #4a2e11;
  font-family: "Jost", sans-serif;
}

/* Navbar*/
.logo {
  line-height: 0.3;
}

.nav-link {
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 0;
  height: 3px;
  background: #c28b3a;
  transition: width 0.4s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

.staff-snake {
  font-size: 20px;
  color: white;
  background: #764a1b;
  padding: 10px 12px;
  border-radius: 15px;
}

.doctor-name {
  font-size: 18px;
  font-weight: 800;
}

.work {
  font-size: 12px;
  font-weight: 600;
  color: #764a1b;
}

nav {
  background: rgba(240, 247, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-item {
  font-size: 16px;
  font-weight: 600;
}

.book {
  font-size: 16px;
  font-weight: 600;
  background: #c28b3a;
  padding: 12px 25px;
  border-radius: 30px;
}

.hero-book {
  font-size: 16px;
  font-weight: 600;
  background: #c28b3a;
  padding: 12px 25px;
  border-radius: 30px;
}

.mobile-book {
  display: none;
}

.nav-container {
  padding: 15px 20px;
}

/* Hero Section */
.hero-section {
  height: 640px;
}

.hero-section .container {
  padding-top: 50px;
}

.contact-us {
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 30px;
}

.hero-sub-head span {
  font-size: 14px;
  color: white;
  background: #5c3a15;
  padding: 8px 20px;
  border: 1px solid #623d16;
  border-radius: 30px;
}

.hero-content {
  color: white;
}

.hero-content p {
  font-size: 18px;
}

.main-head {
  font-size: 48px;
  font-weight: 800;
}

/* About US Section */
.about-section {
  padding: 50px 0;
  background: #fdfaf6;
}

.about-img {
  width: 520px;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.about-title {
  color: #764a1b;
  font-size: 16px;
  font-weight: 600;
  background-color: #f5ecdf;
  padding: 10px 20px;
  border-radius: 30px;
}

.about-title-2 {
  background: #fdfaf6;
}

.appointment-sec {
  background: #fdfaf6 !important;
}

.feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.fa-check {
  font-size: 12px;
  color: white;
  background-color: #c28b3a;
  padding: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-subhead {
  color: #c28b3a;
  font-weight: 600;
}

.view-more-btn {
  background-color: #c28b3a;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
}

.video-section {
  padding: 50px 0;
  background-color: #764a1b;
}

.video-title {
  color: #764a1b;
  font-size: 16px;
  font-weight: 600;
  background-color: #fdfaf6;
  padding: 10px 20px;
  border-radius: 30px;
}

.why-choose-us-section {
  padding: 50px 0;
  background-color: #f5ecdf;
  position: relative;
  z-index: 10;
}

.choose-us-title {
  color: #764a1b;
  font-size: 16px;
  font-weight: 600;
  background-color: #fdfaf6;
  padding: 10px 20px;
  border-radius: 30px;
}

.choose-card {
  background-color: white;
  padding: 45px 25px;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  height: 300px;
  overflow: hidden;
}

.choose-card i {
  font-size: 24px;
  color: #c28b3a;
  background-color: #f5ecdf;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

/* Testimonials Section Redesign */
.testimonials-section {
  background-color: #fdfaf6;
  padding: 80px 0;
}

.testimonials-title {
  color: #764a1b;
  font-size: 16px;
  font-weight: 600;
  background-color: #f5ecdf;
  padding: 10px 25px;
  border-radius: 30px;
  display: inline-block;
}

.review-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.quote-icon-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 80px;
  color: rgba(46, 204, 154, 0.1);
  z-index: -1;
  transition: all 0.4s ease;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 110, 138, 0.15);
  border-color: #c28b3a;
}

.review-card:hover .quote-icon-bg {
  color: rgba(46, 204, 154, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.review-text {
  font-size: 16px;
  line-height: 1.7;
  color: #6c4419;
  margin-bottom: 30px;
  font-style: italic;
}

.patient-avatar {
  width: 50px;
  height: 50px;
  font-size: 18px;
  background-color: #f5ecdf;
  color: #c28b3a;
}

.star i {
  color: #ffc107;
  font-size: 14px;
}

/* Testimonials Slider for Mobile Responsive View */
.testimonials-slider-container {
  position: relative;
  width: 100%;
}

.testimonials-controls {
  display: none !important;
}

@media (max-width: 767.98px) {
  .testimonials-slider-container {
    overflow: hidden;
    padding: 10px 0;
  }

  .testimonials-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }

  .testimonial-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box;
  }

  .testimonials-controls {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
  }

  .slider-btn {
    background-color: #c28b3a;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(46, 204, 154, 0.2);
    transition: all 0.3s ease;
  }

  .slider-btn:hover {
    background-color: #764a1b;
    color: white;
    box-shadow: 0 4px 10px rgba(10, 110, 138, 0.3);
  }

  .slider-btn i {
    font-size: 16px;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0d1bc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .slider-dot.active {
    background-color: #c28b3a;
    width: 20px;
    border-radius: 4px;
  }
}

/*=============================================
=            Footer Area CSS            =
=============================================*/
.footer-area {
  background: linear-gradient(135deg, #2d1c0a 0%, #2d1c0a 100%);
  padding: 80px 0 0 0;
  color: #e0d1bc;
  position: relative;
  overflow: hidden;
}

.footer-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c28b3a, #764a1b);
}

.footer-widget .widget-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
}

.footer-widget .widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: #c28b3a;
  border-radius: 2px;
}

.footer-desc {
  line-height: 1.8;
  margin-bottom: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links .social-icon:hover {
  background: #c28b3a;
  color: #fff;
  transform: translateY(-3px);
  border-color: #c28b3a;
  box-shadow: 0 5px 15px rgba(46, 204, 154, 0.4);
}

/* Footer Links */
.footer-links li {
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links li a {
  color: #e0d1bc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links li a::before {
  content: '\f101';
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
  font-size: 12px;
  color: #c28b3a;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
}

.footer-links li a:hover {
  color: #c28b3a;
  transform: translateX(5px);
}

.footer-links li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Info */
.contact-info-list .icon-box {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(46, 204, 154, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c28b3a;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
  background: #c28b3a;
  color: #fff;
}

.contact-info-list .info-content p {
  color: #e0d1bc;
  font-size: 15px;
  line-height: 1.6;
}

.contact-info-list .info-content a:hover {
  color: #c28b3a !important;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
  color: #b59e82;
  font-size: 14px;
}

.credit-text {
  color: #b59e82;
  font-size: 14px;
}

.developer-link {
  color: #c28b3a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.developer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.text-theme {
  color: #c28b3a;
}

.fs-7 {
  font-size: 14px;
}

.breadcrumb-section {
  height: 200px;
  background: url("../images/breadcrumb.png") no-repeat bottom center/cover;
}

.breadcrumb-section p a {
  text-decoration: none;
  color: white;
}

.breadcrumb-section p span {
  color: #c28b3a;
}

.breadcrumb span {
  font-weight: 600;
  color: white;
  background: #5c3a15;
  padding: 10px 25px;
  border: 1px solid #623d16;
  border-radius: 30px;
}

.about-sec-2 {
  background: #f5ecdf;
}

/* .about-sec-2 .cont-1 {
  border-bottom: 1px solid rgb(190, 186, 186);
} */

.about-sec-2 .cont-2 span {
  font-size: 32px;
  font-weight: 700;
  color: #764a1b;
}

.cont-2 {
  margin-top: 20px;
}

.circle-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}

.abt-para-1 {
  font-weight: 600;
  color: #c28b3a;
}

.expertise-section {
  padding: 50px 0;
  background: #f5ecdf;
}

.expertise-title {
  color: #764a1b;
  font-size: 16px;
  font-weight: 600;
  background-color: #fdfaf6;
  padding: 10px 20px;
  border-radius: 30px;
}

.expertise-card {
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 29px 0px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 10px 30px 0px;
}

.expertise-icon {
  flex-shrink: 0;
}

.expertise-icon i {
  font-size: 28px;
  color: #c28b3a;
  background-color: #f5ecdf;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.qualify-section {
  padding: 50px 0;
  background: #fdfaf6;
}

.qualify {
  margin-top: 30px;
  border-bottom: 1px solid rgb(238, 235, 235);
}

.qualify-title {
  color: #764a1b;
  font-size: 16px;
  font-weight: 600;
  background-color: #f5ecdf;
  padding: 10px 20px;
  border-radius: 30px;
}

.qualify i {
  font-size: 40px;
  color: #c28b3a;
  background-color: #f5ecdf;
  padding: 20px 55px 20px 20px;
  border-radius: 20px;
}

form {
  background-color: white;
  padding: 40px 30px;
  border-radius: 15px;
}

input,
textarea {
  padding: 15px;
  border-radius: 15px;
  border: 1px solid lightgray;
  width: 100%;
  margin-bottom: 10px;
}

.appoint-btn {
  background-color: #764a1b;
  padding: 15px 30px;
  border-radius: 30px;
}

.clinic-info {
  background-color: #f5ecdf;
  color: #764a1b;
  padding: 40px 30px;
  border-radius: 15px;
}

.clinic-info h4 {
  color: #4a2e11;
}

.clinic-add p {
  line-height: 1.2;
}

.ph-icon {
  background-color: white;
  padding: 15px;
  border-radius: 15px;
}

.ph-num {
  line-height: 0.6;
}

.error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  height: 14px;
  /* fixed height */
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

.input-error {
  border: 1px solid #dc3545 !important;
}

#successMessage {
  color: green;
  margin-top: 15px;
  font-weight: 600;
}

/* --- New Premium Redesign Styles --- */
/* Top Header */
.top-header-bg {
  background-color: #764a1b;
  padding: 10px 0;
  font-size: 14px;
}
.display-4{
  font-size: 34px;
}

.top-header {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.top-header a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-header a:hover {
  color: #c28b3a;
}

.top-header i {
  color: #c28b3a;
}

/* Pulsing Badge for Hero */
.hero-section {
  position: relative;
  /* ensure absolute children position relative to this */
}

.hero-badge {
  position: absolute;
  top: 15%;
  right: 15%;
  background: white;
  padding: 15px;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.hero-badge h3 {
  color: #764a1b;
  font-weight: 800;
  font-size: 32px;
  margin: 0;
  line-height: 1;
}

.hero-badge span {
  font-size: 14px;
  color: #4a2e11;
  font-weight: 600;
}

.hero-badge .small {
  font-size: 10px;
  color: #7e501d;
}

.circle-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(46, 204, 154, 0.6);
  border-radius: 50%;
  animation: pulse 2s infinite ease-out;
  pointer-events: none;
}

.circle-pulse.delay1 {
  animation-delay: 0.5s;
}

.circle-pulse.delay2 {
  animation-delay: 1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.fade-left {
  transform: translateX(-50px);
}

.reveal.fade-right {
  transform: translateX(50px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Redesigned Card Hover */
.choose-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
}

.choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #fdfaf6 100%);
  z-index: -1;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(10, 110, 138, 0.15);
  border-color: #c28b3a;
}

.choose-card:hover::before {
  opacity: 1;
}

.choose-card i {
  transition: all 0.4s ease;
}

.choose-card:hover i {
  background-color: #c28b3a;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* Testimonials redesign (moved above) */

/* Media Queries */
@media (min-width: 576px) and (max-width: 768px) {
  .nav-container {
    max-width: 100%;
    padding: 15px 10px;
  }

  .book {
    display: none;
  }

  .mobile-book {
    display: block;
  }

  .about-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .choose-card {
    margin-bottom: 20px;
  }

  .review {
    margin-bottom: 20px;
  }
}

@media (min-width: 320px) and (max-width: 575px) {
  .hero-section {
    height: 60vh;
    /* Reduced from 90vh to fit content better on mobile */
    padding-bottom: 0;
  }

  .hero-section .container {
    padding-top: 90px; /* Clear space for the floating navbar */
    padding-left: 20px; /* Reduced from 50px to prevent narrow text wraps */
    padding-right: 20px;
  }

  /* Ensure caption content is centered properly on mobile */
  .carousel-caption {
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
  }

  .carousel-item {
    height: 100%; /* Make carousel item match the hero-section height exactly */
  }
  .hero-overlay{
      height: 100% !important; /* Make overlay match the hero-section height exactly */
  }

  .main-head {
    font-size: 24px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 15px !important;
  }

  .hero-sub-head span {
    padding: 8px 15px;
    font-size: 11px;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .about-title,
  .choose-us-title,
  .video-title,
  .testimonials-title,
  .expertise-title,
  .qualify-title {
    font-size: 14px;
  }

  .review p {
    font-size: 14px;
  }

  h2 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h4 {
    font-size: 18px;
  }

  .footer-area .footer-links li {
    font-size: 14px;
  }

  p {
    font-size: 14px;
  }

  .about-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .about-subhead {
    font-size: 16px;
  }

  .about-section p {
    font-size: 14px;
  }

  .feature-item span {
    font-size: 14px;
  }

  .book {
    display: none;
  }

  .mobile-book {
    display: block;
  }

  .hero-book {
    font-size: 11px;
  }

  .contact-us {
    font-size: 12px;
  }

  .doctor-name {
    font-size: 14px;
  }

  .work {
    font-size: 11px;
  }

  .choose-card {
    margin-bottom: 20px;
  }

  .review {
    margin-bottom: 20px;
  }

  .footer-area {
    padding: 40px 0 10px 0;
  }

  .footer-area .doctor-name {
    font-size: 14px !important;
  }
}
 

@media (max-width: 767px) {
  .expertise-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
  }

  .expertise-slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .expertise-slider::-webkit-scrollbar {
    display: none;
  }

  .slider-controls .btn {
    background-color: #f5ecdf;
    color: #c28b3a;
    border: 1px solid #c28b3a;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .slider-controls .btn:hover,
  .slider-controls .btn:active {
    background-color: #c28b3a;
    color: white;
  }

  .expertise-slider>div {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
  }

  .expertise-slider .offset-md-3 {
    margin-left: 0 !important;
  }
}

/* --- Modern Navbar Styles --- */
.modern-nav {
  position: sticky;
  top: 15px;
  z-index: 1030;
  margin: 0 auto;
  max-width: 1320px;
  width: 95%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(10, 110, 138, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.modern-nav-container {
  padding: 0 !important;
}

.nav-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.staff-snake-modern {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #c28b3a 0%, #764a1b 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 5px 15px rgba(46, 204, 154, 0.3);
}

.logo-text-modern .doctor-name-modern {
  font-size: 18px;
  font-weight: 800;
  color: #764a1b;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-text-modern .clinic-name-modern {
  font-size: 11px;
  font-weight: 600;
  color: #c28b3a;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.modern-nav-links .nav-item {
  padding: 0 10px;
}

.modern-nav-links .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #5a3814 !important;
  padding: 8px 0 !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.modern-nav-links .nav-link::after {
  bottom: 0;
}

.modern-nav-links .nav-link:hover,
.modern-nav-links .nav-link.active {
  color: #764a1b !important;
}

.modern-nav-links .nav-link.active {
  color: #c28b3a !important;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-right: 1px solid #f5ecdf;
  padding-right: 15px;
}

.nav-phone-icon {
  width: 36px;
  height: 36px;
  background: #f5ecdf;
  color: #764a1b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-phone-text .small {
  font-size: 10px;
  color: #a07342;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-phone-text strong {
  font-size: 14px;
  color: #764a1b;
}

.modern-book-btn {
  background: linear-gradient(135deg, #764a1b 0%, #4a2e11 100%);
  color: white !important;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(10, 110, 138, 0.2);
  transition: all 0.3s ease;
}

.modern-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(10, 110, 138, 0.3);
}

.custom-toggler {
  border: none;
  font-size: 24px;
  color: #764a1b;
}

.custom-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991px) {
  .modern-nav {
    border-radius: 0px;
    padding: 10px;
    width: 100%;
    top: 0;
  }

  .modern-nav-links {
    margin-top: 20px !important;
    text-align: center;
  }
  
  .modern-nav-links .nav-link {
    display: inline-block;
  }

  .nav-contact {
    border-right: none;
    margin-bottom: 15px;
    justify-content: center;
  }
}

/* --- End Modern Navbar Styles --- */

/* --- Custom Why Choose Us Tabs --- */
.why-choose-custom-tabs .nav-pills {
  margin-bottom: 0 !important;
  padding-bottom: 35px !important;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.why-choose-custom-tabs .nav-pills::-webkit-scrollbar {
  display: none;
}

.why-tab-btn {
  background-color: white !important;
  border: 1px solid #c28b3a !important;
  border-radius: 20px !important;
  padding: 20px 10px !important;
  color: #4a2e11 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  min-height: 120px;
}

.why-tab-btn:hover {
  box-shadow: 0 10px 20px rgba(46, 204, 154, 0.2);
}

.why-tab-btn.active {
  background-color: white !important;
  color: #4a2e11 !important;
  box-shadow: 0 15px 30px rgba(46, 204, 154, 0.25);
  border: 2px solid #c28b3a !important;
}

/* Arrow pointing up from the content box */
.why-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #c28b3a;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.why-tab-btn.active::before {
  content: '';
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 14px solid white;
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.why-choose-custom-tabs:hover .why-tab-btn.active::after,
.why-choose-custom-tabs:hover .why-tab-btn.active::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.why-icon i {
  font-size: 32px;
  color: #c28b3a;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.why-tab-btn.active .why-icon i {
  transform: scale(1.1);
}

.why-title {
  font-weight: 700;
  font-size: 15px;
}

.why-choose-custom-tabs {
  position: relative;
}

.why-tab-content-container {
  border: 2px solid #c28b3a;
  border-radius: 20px;
  padding: 30px;
  background-color: white;
  box-shadow: 0 15px 30px rgba(46, 204, 154, 0.1);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.why-choose-custom-tabs:hover .why-tab-content-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.why-tab-content-container p {
  color: #6c4419;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .why-choose-custom-tabs .nav-pills {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .why-choose-custom-tabs .nav-item {
    flex: 0 0 100% !important;
    scroll-snap-align: center;
  }

  .why-tab-content-container {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    transform: translateY(0);
    margin-top: 20px;
  }
}

@media (max-width: 320px) {
  .hero-sub-head span {
    font-size: 9px;
  }
}

/* --- About Us Page Premium Redesign CSS --- */

/* Breadcrumb Premium Styling */
.breadcrumb-section.d-flex {
  height: 320px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url("../images/breadcrumb.png") no-repeat center center/cover !important;
  padding-top: 90px;
}

.breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(118, 74, 27, 0.5) 0%, rgba(194, 139, 58, 0.2) 100%);
  z-index: 1;
}

.breadcrumb-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c28b3a;
  background: rgba(46, 204, 154, 0.1);
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(46, 204, 154, 0.25);
  text-transform: uppercase;
}

.text-theme {
  color: #c28b3a !important;
}

.text-white-30 {
  color: rgba(255, 255, 255, 0.3);
}

/* Meet the Doctor Redesign Styles */
.about-doctor-showcase {
  max-width: 500px;
  margin: 0 auto;
  z-index: 1;
}

.doctor-portrait {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 30px;
  border-bottom-right-radius: 80px; /* soft custom curve */
  transition: transform 0.5s ease;
  z-index: 2;
  position: relative;
}

.about-doctor-showcase:hover .doctor-portrait {
  transform: scale(1.02);
}

.doctor-pattern-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#c28b3a 20%, transparent 20%);
  background-size: 10px 10px;
  opacity: 0.4;
  z-index: 0;
}

.doctor-border-accent {
  position: absolute;
  bottom: -15px;
  left: -15px;
  right: 15px;
  top: 15px;
  border: 3px solid rgba(10, 110, 138, 0.2);
  border-radius: 30px;
  border-bottom-right-radius: 85px;
  z-index: 0;
  transition: all 0.5s ease;
}

.about-doctor-showcase:hover .doctor-border-accent {
  bottom: -22px;
  left: -22px;
  border-color: rgba(46, 204, 154, 0.4);
}

.doctor-badge-floating {
  position: absolute;
  bottom: 25px;
  right: -25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 204, 154, 0.2);
  padding: 18px 25px;
  border-radius: 20px;
  z-index: 3;
  transition: all 0.4s ease;
}

.about-doctor-showcase:hover .doctor-badge-floating {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(10, 110, 138, 0.15) !important;
}

.badge-icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(46, 204, 154, 0.15);
  color: #c28b3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.about-title-tag {
  font-size: 12px;
  font-weight: 700;
  color: #764a1b;
  background-color: #f5ecdf;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.doctor-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c28b3a, #764a1b);
  border-radius: 2px;
}

.abt-credentials-box {
  background: #fdfaf6;
  border-left: 4px solid #c28b3a;
  padding: 12px 20px;
  border-radius: 4px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Philosophy Section Styles */
.philosophy-section {
  background: #f5ecdf;
  overflow: hidden;
}

.philosophy-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 204, 154, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-card {
  background: white;
  border: 1px solid rgba(10, 110, 138, 0.05);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(10, 110, 138, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.philosophy-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #c28b3a;
  transition: all 0.4s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 110, 138, 0.1);
  border-color: rgba(46, 204, 154, 0.2);
}

.philosophy-card:hover::after {
  width: 50%;
}

.philosophy-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  background: rgba(46, 204, 154, 0.1);
  color: #c28b3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.4s ease;
}

.philosophy-card:hover .philosophy-icon-box {
  background: #c28b3a;
  color: white;
  transform: scale(1.05) rotate(3deg);
}

/* Redesigned Credentials Styles */
.qualify-section {
  background: #fdfaf6;
}

.credential-card {
  background: white;
  border: 1px solid rgba(10, 110, 138, 0.05);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.credential-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #764a1b;
  transition: background 0.4s ease;
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 110, 138, 0.08);
  border-color: rgba(46, 204, 154, 0.15);
}

.credential-card:hover::before {
  background: #c28b3a;
}

.credential-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #f5ecdf;
  color: #764a1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.credential-card:hover .credential-icon-box {
  background: #f5ecdf;
  color: #c28b3a;
  transform: scale(1.05);
}

.credential-details h5 {
  font-size: 16px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.credential-card:hover .credential-details h5 {
  color: #764a1b !important;
}

.leading-relaxed {
  line-height: 1.7;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .doctor-portrait {
    height: 420px;
  }
  .doctor-badge-floating {
    right: 15px;
    bottom: -15px;
    padding: 12px 20px;
  }
}

@media (max-width: 575px) {
  .breadcrumb-section.d-flex {
    height: 420px !important;
  }
  .doctor-portrait {
    height: 350px;
  }
  .doctor-badge-floating {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 20px;
    max-width: 280px;
  }
  .credential-card {
    flex-direction: column;
    gap: 15px !important;
  }
  .credential-icon-box {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

/* --- Premium Treatment Cards Design --- */
.treatment-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fdfaf6 0%, #f5ecdf 100%);
  position: relative;
}

.treatment-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #764a1b;
  background: rgba(10, 110, 138, 0.08);
  padding: 6px 18px;
  border-radius: 30px;
  display: inline-block;
  text-transform: uppercase;
}

.treatment-card {
  background: #ffffff;
  border: 1px solid rgba(10, 110, 138, 0.05);
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 8px 30px rgba(10, 110, 138, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.treatment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(234, 246, 251, 0.6) 0%, rgba(244, 252, 249, 0.6) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 110, 138, 0.1);
  border-color: rgba(46, 204, 154, 0.25);
}

.treatment-card:hover::before {
  opacity: 1;
}

.treatment-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(46, 204, 154, 0.1);
  color: #c28b3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.treatment-card:hover .treatment-card-icon {
  background: #c28b3a;
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(46, 204, 154, 0.25);
}

.treatment-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #4a2e11;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.treatment-card:hover .treatment-card-title {
  color: #764a1b;
}

.treatment-card-desc {
  font-size: 14px;
  color: #7e501d;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.treatment-card-action {
  font-size: 14px;
  font-weight: 700;
  color: #c28b3a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.treatment-card-action i {
  transition: transform 0.3s ease;
}

.treatment-card-action:hover {
  color: #764a1b;
}

.treatment-card-action:hover i {
  transform: translateX(4px);
}

@media (max-width: 575px) {
  .treatment-card {
    padding: 25px 20px;
  }
  .treatment-card-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  .treatment-card-title {
    font-size: 16px;
  }
}
/* Footer logo visibility fix */
.footer-area img[src*='aaroham-main-logo.png'], footer img[src*='aaroham-main-logo.png'] { filter: brightness(0) invert(1); }

/* Force footer contact links to match footer text color */
.footer-area .contact-item a {
  color: #e0d1bc !important;
}

/* Sticky Navbar Fix */
.nav-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1040;
}
.modern-nav {
  position: relative !important;
}


