body {
    font-family: 'Poppins', sans-serif;
          overflow-x: hidden;
  }

  
  /* Base animation */
  .animate{
    opacity:0;
    transform:translateY(40px);
    transition:all 0.8s ease;
  }
  
  /* Active state */
  .animate.show{
    opacity:1;
    transform:translateY(0);
  }
  
  /* Animations */
  
  .fade-up{
    transform:translateY(40px);
  }
  
  .fade-left{
    transform:translateX(-40px);
  }
  
  .fade-right{
    transform:translateX(40px);
  }
  
  .zoom-in{
    transform:scale(0.8);
  }
  
  .zoom-in.show{
    transform:scale(1);
  }
  a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
  }
  
  a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #9e7e69 !important;
    font-family: var(--heading-font);
  }
  /* ===================== NAVBAR ===================== */
  .navbar {
    padding: 6px 0;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar-brand {
    font-weight: 700;
    font-size: 22px;
    color:#1a5ea4;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: red;
}

.nav-link {
    font-weight: 500;
    margin-left: 20px;
    color: #9e7e69;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover underline animation */
.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #9e7e69;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color:black;
}

/* Active link */
.nav-link.active {
    color: black;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280,136,123,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Mobile nav link spacing */
@media(max-width: 991px) {
    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* Topbar scroll hide (NEW but UI unchanged) */
.topbar{
    transition: transform 0.3s ease;
}

.topbar.hide-topbar{
    transform: translateY(-100%);
}


  /*--------------------------------------------------------------
  # Global Footer
  --------------------------------------------------------------*/
  .footer {
    color: var(--default-color);
    background-color: var(--background-color);
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
    font-size: 14px;
    position: relative;
  }
  
  .footer .footer-top {
    padding-top: 50px;
  }
  
  .footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 25px;
  }
  
  .footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
  }
  
  .footer .footer-about .logo span {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  .footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
  }
  
  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
  }
  
  .footer .footer-links {
    margin-bottom: 30px;
  }
  
  .footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
  }
  
  .footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  .footer .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  .footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
  }
  
  .footer .footer-links ul a:hover {
    color: var(--accent-color);
  }
  
  .footer .footer-contact p {
    margin-bottom: 5px;
  }
  
  .footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
  
  .footer .copyright p {
    margin-bottom: 0;
  }
  
  .footer .credits {
    margin-top: 8px;
    font-size: 13px;
  }
  
  
  
  /*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
  }
  
  .scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
  }
  
  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
  }
  
  /*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Page Titles & Breadcrumbs
  --------------------------------------------------------------*/
  .page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
  }
  
  .page-title .heading {
    padding: 80px 0;
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  }
  
  .page-title .heading h1 {
    font-size: 38px;
    font-weight: 700;
  }
  
  .page-title nav {
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    padding: 20px 0;
  }
  
  .page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }
  
  .page-title nav ol li+li {
    padding-left: 10px;
  }
  
  .page-title nav ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
  }
  
  /*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
  section,
  .section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 72px;
    overflow: clip;
  }
  
  @media (max-width: 1199px) {
  
    section,
    .section {
      scroll-margin-top: 60px;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
  .section-title {
    text-align: center;
    padding-bottom: 36px;
    position: relative;
  }
  
  .section-title h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
  }
  
  .section-title h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
  }
  
  .section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
  
  .section-title p {
    margin-bottom: 0;
  }
  
  /*--------------------------------------------------------------
  # Hero Section
  --------------------------------------------------------------*/
  
  
  
  /*--------------------------------------------------------------
  # About Section
  --------------------------------------------------------------*/
  .about .content h3 {
    font-size: 2rem;
    font-weight: 700;
  }
  
 
  
  /* Icon style */
.stats i {
  color: #9e7e69; /* #1a5ea4 icon */
  background-color: white;
  width: 60px;
  height: 60px;
  font-size: 24px;
  border-radius: 50%;
  border: 2px solid #9e7e69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* top: 30px; */
  z-index: 2;
  transition: all 0.4s ease;
}

/* Card box */
.condition-box {
  background: transparent;
  position: relative;
  width: 100%;
}

/* Main white card */
.stats .stats-item {
  background-color: #ffffff;
  margin-top: -30px;
  padding: 40px 30px 30px 30px;
  width: 100%;
  text-align: center;
  border-radius: 10px;

  /* Shadow */
  box-shadow: 0px 8px 25px rgba(0,0,0,0.08);

  /* #1a5ea4 border */
  border: 2px solid #e6f4f5;

  transition: all 0.4s ease;
}

/* Title */
.test1{
  color:#1a5ea4;
  font-weight:600;
}

/* Hover Effect */
.condition-box:hover .stats-item{

  border-color:#9e7e69;

  /* animated shadow */
  box-shadow: 0px 15px 35px rgba(9,119,136,0.25);

  transform: translateY(-8px);
}

/* Icon hover animation */
.condition-box:hover i{

  background:#9e7e69;
  color:white;
  border-color:#9e7e69;

  transform:scale(1.1);
}
  /*--------------------------------------------------------------
  # Services Section
  --------------------------------------------------------------*/
  
  
  /*--------------------------------------------------------------
  # Appointment Section
  --------------------------------------------------------------*/
  .appointment .php-email-form {
    width: 100%;
  }
  
  .appointment .php-email-form .form-group {
    padding-bottom: 8px;
  }
  
  .appointment .php-email-form input,
  .appointment .php-email-form textarea,
  .appointment .php-email-form select {
    color: var(--default-color);
    background-color: transparent;
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px !important;
  }
  
  .appointment .php-email-form input:focus,
  .appointment .php-email-form textarea:focus,
  .appointment .php-email-form select:focus {
    border-color: var(--accent-color);
  }
  
  .appointment .php-email-form input::placeholder,
  .appointment .php-email-form textarea::placeholder,
  .appointment .php-email-form select::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
  }
  
  .appointment .php-email-form input,
  .appointment .php-email-form select {
    height: 44px;
  }
  
  .appointment .php-email-form textarea {
    padding: 10px 12px;
  }
  
  .appointment .php-email-form button[type=submit] {
    background: var(--accent-color);
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
  }
  
  .appointment .php-email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
  }
  
  
  
  /*--------------------------------------------------------------
  # Doctors Section
  --------------------------------------------------------------*/
  .doctors .team-member {
    background-color: var(--surface-color);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 5px;
    transition: 0.5s;
    padding: 30px;
    height: 100%;
  }
  
  @media (max-width: 468px) {
    .doctors .team-member {
      flex-direction: column;
      justify-content: center !important;
      align-items: center !important;
    }
  }
  
  .doctors .team-member .pic {
    overflow: hidden;
    width: 160px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .doctors .team-member .pic img {
    transition: ease-in-out 0.3s;
  }
  
  .doctors .team-member:hover {
    transform: translateY(-10px);
  }
  
  .doctors .team-member .member-info {
    padding-left: 6px;
  }
  
  @media (max-width: 468px) {
    .doctors .team-member .member-info {
      padding: 30px 0 0 0;
      text-align: center;
    }
  }
  
  .doctors .team-member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
  }
  
  .doctors .team-member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
  }
  
  /* ORIGINAL DESKTOP CODE (UNCHANGED) */
.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 26;
}

.member-info span {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.member-info span::after {
  content: "";
  position: absolute;
  left: 7%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 40px;
  border-bottom: 2px dashed #1a5ea4;
}


/* MOBILE FIX ONLY */
@media (max-width: 768px) {

  .member-info span::after {
    left: 50%;                 /* center on mobile */
    transform: translateX(-50%);
  }

}
  @media (max-width: 468px) {
    .doctors .team-member span::after {
      left: calc(50% - 3px);
    }
  }
  
  .doctors .team-member p {
    margin: 10px 0 0 0;
    font-size: 14px;
  }
  
  .doctors .team-member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
  }
  
  @media (max-width: 468px) {
    .doctors .team-member .social {
      justify-content: center;
    }
  }
  
  .doctors .team-member .social a {
    background: color-mix(in srgb, var(--default-color), transparent 94%);
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 36px;
    height: 36px;
  }
  
  .doctors .team-member .social a i {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 16px;
    margin: 0 2px;
  }
  
  .doctors .team-member .social a:hover {
    background: var(--accent-color);
  }
  
  .doctors .team-member .social a:hover i {
    color: var(--contrast-color);
  }
  
  .doctors .team-member .social a+a {
    margin-left: 8px;
  }
  
  /*--------------------------------------------------------------
  # Faq Section
  --------------------------------------------------------------*/
  /* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

.faq p {
  color: #555;
}

/* FAQ Accordion Items */
.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid  #dfc1ad; /* #1a5ea4 border */
}

.faq-question {
  background: #fff; /* Collapsed white */
  color:#dfc1ad;       /* #1a5ea4 text */
  font-weight: 500;
  margin: 0;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  border-radius: 10px;
}

.faq-question.active {
  background:#dfc1ad ;  /* Expanded #1a5ea4 */
  color: white !important;       /* White text */
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #f9f9f9;
  padding: 0 20px;
}

.faq-content p {
  margin: 15px 0;
}

/* Toggle Icon Rotation & Color */
.faq-toggle {
  transition: transform 0.3s, color 0.3s;
  color: #dfc1ad; /* Collapsed arrow color */
}

.faq-question.active .faq-toggle {
  transform: rotate(180deg); /* Up arrow */
  color: #fff;               /* Arrow white when expanded */
}



@media (max-width: 576px) {
  .faq-question {
      font-size: 14px;
      padding: 12px 15px;
  }
  .faq-content p {
      font-size: 14px;
  }
}
  
  /*--------------------------------------------------------------
  # Testimonials Section
  --------------------------------------------------------------*/
/* Testimonials Styles */
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 15px;
}

.testimonials .testimonial-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  min-height: auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.testimonials .testimonial-item h4 {
  color: #555;
  font-size: 14px;
  margin: 0 0 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  color: #333;
}

.testimonials .stars i {
  color: #ffc107; /* Gold stars */
  margin: 0 2px;
}

.swiper-pagination-bullet {
  background-color: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #1a5ea4; /* #1a5ea4 */
}

/* Quotes */
.quote-icon-left, .quote-icon-right {
  font-size: 26px;
  color: #1a5ea4;
}
  
  /*--------------------------------------------------------------
  # Gallery Section
  --------------------------------------------------------------*/
 
  /* Gallery Items */
.gallery .gallery-item {
  overflow: hidden;
  padding: 10px; /* Space around each image */
  box-sizing: border-box;
  border-radius: 8px;
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease-in-out;
  border-radius: 8px;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/* Optional: Remove original borders if needed */
.gallery .gallery-item {
  border-right: none;
  border-bottom: none;
}
  /*--------------------------------------------------------------
  # Contact Section
  --------------------------------------------------------------*/
  .contact .info-item+.info-item {
    margin-top: 40px;
  }
  
  .contact .info-item i {
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    /* margin-right: 15px; */
  }
  
  .contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
  }
  
 
  
  
  
  