*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body{
  font-family: poppins,sans-serif;
}
/*MAIN HEADING*/

:root{
--primary-color: #2a9d8f;
--accent-color:#FFB703;
--dark-text:#212529;
--light-text:#f8f9fa;
--mild-dark-text: #264653;
}



header {
  
  background:#2a9d8f;
  max-width: 100%;
  z-index: 1000;
}
header ul li a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: #F9F9F9;
}
.contact-banner {
  display: flex;
  justify-content: space-around;
  padding: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #F9F9F9;
  list-style-type: none;
}

/*NEW NAVBAR GOES HERE*/
.nav-bar{
    position: sticky;
    top: -1px;
    z-index: 1000;
}
nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  color: var(--light-text-color);
  padding: 15px 20px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: bold;
  
}
.logo a {
  text-decoration: none;
  color: #212529;
  cursor: pointer;
}
.brand{
    color: #FFB703;
    /* background-color: #c1121f; */
    border-radius: 6px;
}
.city{
    font-size: 1.3rem;
    letter-spacing: .3rem;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: #212529;
  font-weight: 600;
  text-decoration: none;
  padding: 10px;
  display: block;
}

.nav-links li a.active,
.nav-links li a[href*="#"]:not([href="#"]):visited {
  border-bottom: 2px solid #9e2a2b;
}

.nav-links li a.active,
.nav-links ul li a.active,
.nav-links li.has-submenu > a.active,
.nav-links li a:hover,
.nav-links ul li a:hover {
  border-bottom: 1px solid #9e2a2b;
}

.nav-links li:hover > ul {
  display: block;
  transition: all .8s ease-in;
}

.nav-links ul {
  display: none;
  position: absolute;
  background-color: #f8f9fa;
  top: 100%;
  left: 0;
  list-style: none;
  min-width: 180px;
  z-index: 999;
  transition: all .8s ease-in;
}

.nav-links ul li a {
  padding: 10px;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #212529;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/*******************************CONTACT FLOATING BUTTON**********************************/
.contact-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 999;
}
.fa-whatsapp{
  color: #25D366;
  font-size: 2rem;
}
.fa-calendar-check{
  font-size: 1.8rem;
}

.contact-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* background-color: #2a9d8f; */
  background-color: #df7373;
  color: white;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-btn:hover {
  /* background-color: #21867c; */
  background-color: #da5552;
}

.phone-btn,
.whatsapp-btn,
.appointment-btn
 {
  text-decoration: none;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

.contact-wrapper.active .phone-btn,
.contact-wrapper.active .whatsapp-btn,
.contact-wrapper.active .appointment-btn
{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
/*******   FLOATING BUTTON ENDS *************/


/*NEW SHOW CASE SECTION*/
.show-case{
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7)

}
.show-case-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap-reverse;
  padding:20px;
}

.show-case-text h1{
    font-size: 3rem;
    color: #fabc2a;
    line-height: 1.2;
    letter-spacing: .1rem;
    padding-bottom: 20px;
}
.show-case-text h4{
    font-size: 1.7rem;
    color: #f2edeb;
    letter-spacing: .1rem;
    max-width: 600px;
    padding-right: 113px;
}
.show-case-text h4 span{
  color:#F4A261;
}

.show-case-img {
  flex: 1;
  max-width: 425px;
}

.show-case-img img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
.show-case-button{
    margin-top: 30px;
}
.show-case-cta a{
  font-size: 1.1rem;
  font-weight: 700;
  
  text-decoration: none;
  color: var(--dark-text);
}
.show-case-cta {
  display: inline-block;
  padding: 1rem 1.5rem;
  background-color: #fabc2a;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.show-case-cta:hover {
  background-color: var(--mild-dark-text);
  columns: var(--light-text);
}
/*APPOINTMENT FEATURES CARDS */

.message-action-section {
  max-width: 1400px;
  margin: auto;
  background-color: #0079ff;
  color: #fff;
  padding: 75px 20px 40px;
  text-align: center;
  margin-top: 40px;
  border-radius: 30px;
}

.message-action-section .container {
  max-width: 1000px;
  margin: auto;
 
}

.section-title {
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* .card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
} */

.feature-card {
  background: #ffffff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 20px;
  align-items: center;
  
}


.feature-card .card-image {
  max-width: 50%;
  border-radius: 10px;
}

.feature-card2{
    position: relative;
    top: 80px;

}
.card-content {
  text-align: left;
  max-width: 500px;
  padding: 60px;
}

.card-label {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0079ff;
  margin-bottom: 10px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .card-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }

  .feature-card {
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  /* .feature-card:nth-child(2) {
    flex-direction: row-reverse;
  } */

  .card-content {
    flex: 1;
  }

  .card-image {
    max-width: 300px;
    flex-shrink: 0;
  }
}

/*SERVICES CARDS (YELLOW & BLUE)*/
.services-section {
  padding: 60px 20px;
  margin-top: 70px;
 
}
.service-section-head{
  max-width: 1200px;
  margin: 0 auto 50px;
}
.service-section-head h3{
  font-size: 2.3rem;
}
.service-section-head p{
  font-size: 1.2rem;
}
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1400px;
  margin: auto;
}

.service-box {
  flex: 1;
  min-width: 300px;
  border-radius: 30px;
  padding: 30px 70px;
}

.yellow-box {
  background-color: #FFF4A4;
}

.green-box {
  background-color: #4361ee;
  color: #fff;
}

.service-box h4 {
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 5px;
}

.green-box h4 {
  color: #FFF6F6;
}

.service-box h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: #333;
}

.green-box h2 {
  color: #FFF6F6;
}

details {
  margin-bottom: 20px;
  
}

summary {
font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

summary img {
  width: 50px;
  height: 50px;
}

details p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #444;
}

.green-box details p {
  color: #e8e8e8;
}

details a {
  color: #1e3a8a;
  font-weight: 500;
  text-decoration: none;
}

.green-box details a {
  color: #fff;
  text-decoration: underline;
}

/*BUTTON FUNCTION*/

details summary span {
  display: flex;
  align-items: center;
  transition: transform .3s ease;
}

/* Rotate the icon when <details> is open */
details[open] summary span {
  transform: rotate(-180deg);
}

/* CTA section */
.cta {
  text-align: center;
  margin-top: 70px;
}

.cta h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #222;
}

.cta-btn {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: green;
  background: transparent;
  border: none;
  text-decoration: none;
  border-bottom: 2px solid #000;
  padding: 4px 30px;
  transition: all 0.3s;
}

.cta-btn:hover {
  color: #fff;
  background: #000;
  border-radius: 20px;
}
/*<!--HOW IT WORKS-->*/
.how-it-works {
    max-width: 1200px;
    margin: auto;
}
.how-it-works h2{
font-size: 2.3rem;
padding: 40px 0 40px 80px;
}

.how-it-works-box{
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.how-it-works-box img{
    width: 200px;
    height:185px;
}
.how-it-works-box p{
    font-size: 2rem;
    padding: 40px;
}


/*HOW IT WORKS CARDS SECTION*/
.how-it-works-cards{
  margin-top: 40px;
  z-index: 1000;
}
.steps-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.step-box {
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: var(--dark-text);
  color: #fff;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 18px;
}

.step-icon {
  font-size: 36px;
  color: #00c08b;
  margin: 20px 0 10px;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}
.step-box h3{
  text-align: center;
}

.step-text {
  font-size: 14px;
  color: var(--dark-text);
  line-height: 1.6;
  text-align: left;
  padding-left: 22px;
}

/*COMMUNITY SERVICE*/
.community-service{
    margin-top: 70px;
}
.community-service-container{
    max-width: 1300px;
    margin: auto;
    padding: 90px;
    background:#FAF3DD ;
    border-radius: 30px;
}
.community-service-heading{
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: .3rem;
    padding-bottom: 20px;

}
.community-service-heading-txt{
    font-size: 2.3rem;
    font-weight: 700;
    color: #622C0F;
    margin-left: 90px;
}

.community-service-container2{
    padding: 60px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 30px;
}
.community-service-container2 p{
    font-size: 2rem;
    font-weight: 500;
}
.community-service-container2 img{
    width: 200px;
    height: 200px;
}

/*WHY CHOOSE US SECTION*/
.clinic-section-container{
    display: grid;
    grid-template-columns: 1fr 2fr;
    max-width: 1300px;
    margin: 90px auto;
    border-radius: 30px;
    align-items: center;
    /* background: #62B6CB; */
    background: #1B4650;
    padding: 100px;

}
.clinic-section-txt{
    font-size: 2.3rem;
    color: var(--light-text);
    padding: 0 40px 0 0;
}
.clinic-text h2{
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: .2rem;
}
.clinic-text p{
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--light-text);
    padding: 30px 30px 40px 0;
}

.clinic-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
  font-size: 1.1rem;
  color: white;
  letter-spacing: 0.1em;
}
/*OUR JOURNEY*/
.journey-section {
  padding: 30px 20px;
  text-align: center;
  background-color: #fff;
  font-size: 1.4rem;
}
.journey-section h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.brand-desc{
  max-width: 70%;
  margin: auto;
  margin-bottom: 60px;
}

 .carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  width: fit-content;
  animation: scrollLeft 60s linear infinite;
}
  .carousel-track img:nth-child(even) {
   margin-top: 60px; 
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-img {
  flex: 0 0 auto;
  width: 20vw;
  max-width: 250px;
  max-height: 200px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 8px;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} 

/*APPOINTMENT SECTION*/
.appointment-section {
  background: #F5F5F4;
  margin: 70px;
  padding: 60px 20px;
  border-radius: 30px 30px 0;
}

.appointment-container {
  max-width: 970px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.form-box {
  flex: 1;
  background: var(--optional);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 380px;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-box input,
.form-box textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
}

.form-box button {
  background-color: #81bd8b;
  color: var(--text-color-secondary);
  font-weight: 600;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-box button:hover {
  background-color: #6d9773;
}

.info-box {
  flex: 1;
  color: rgb(27, 27, 27);
  min-width: 300px;
}

.section-tag-appointment {
  font-weight: 600;
  color: black;
  margin-bottom: 5px;
  position: relative;
}

.info-box h2 {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin: 10px 0;
}

.phone {
  font-weight: 700;
  color: black;
}

.info-text {
  max-width: 400px;
  margin: 15px 0 30px;
  line-height: 1.5;
}

.timings {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.timing-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgb(196, 192, 192);
  padding-bottom: 5px;
  font-weight: 500;
}

















/*FOOTER SECTION*/
.footer {
  background-color: #333533;
  color: var(--light-text);
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}
.footer-box h4{
 padding-left: 30px;
 margin-top: 15px;
}
.social-media .fa-brands{
  font-size: 1.2rem;
}
.social-media{
  max-width: 80px;
  display: flex;
  justify-content: space-between;
  margin: 7px 30px 0;
}
.footer-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-box p,
.footer-box ul,
.footer-box li,
.footer-box a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light-text);
  text-decoration: none;
}
.footer-box p {
  padding-left: 30px;
}

.footer-box ul {
  list-style: none;
  padding-left: 32px;
}

.footer-box ul li {
  margin-bottom: 8px;
}

.footer-box a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  text-align: center;
  color: var(--text-color-secondary);
  font-size: 0.9rem;
}
.copyright a {
  color: var(--text-color-secondary);
  font-size: 0.9rem;
}