@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
body {
  font-family: "Inter", 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: #2ecc97;
  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: #0a6e8a;
  padding: 10px 12px;
  border-radius: 15px;
}
.doctor-name {
  font-size: 18px;
  font-weight: 800;
}
.work {
  font-size: 12px;
  font-weight: 600;
  color: #1d7993;
}
nav {
  background: #f0f7f4;
}
.nav-item {
  font-size: 16px;
  font-weight: 600;
}
.book {
  font-size: 16px;
  font-weight: 600;
  background: #2ecc9a;
  padding: 12px 25px;
  border-radius: 30px;
}
.hero-book {
  font-size: 16px;
  font-weight: 600;
  background: #2ecc9a;
  padding: 12px 25px;
  border-radius: 30px;
}
.mobile-book {
  display: none;
}
.nav-container {
  padding: 15px 20px;
}

/* Hero Section */
.hero-section {
  height: 540px;
  background: url("../images/hero-bg.png") no-repeat center center/cover;
}
.hero-section .container {
  padding-top: 80px;
}
.contact-us {
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 30px;
}

.hero-sub-head span {
  color: white;
  background: #275856;
  padding: 15px 25px;
  border: 1px solid #077e86;
  border-radius: 30px;
}
.hero-content {
  color: white;
}
.main-head {
  font-size: 48px;
  font-weight: 800;
}
/* About US Section */
.about-section {
  padding: 50px 0;
  background: #f8fdff;
}
.about-img {
  width: 520px;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.about-title {
  color: #0a6e8a;
  font-size: 16px;
  font-weight: 600;
  background-color: #eaf6fb;
  padding: 10px 20px;
  border-radius: 30px;
}
.feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.fa-check {
  font-size: 12px;
  color: white;
  background-color: #2ecc9a;
  padding: 10px 20px 10px 10px;
  border-radius: 30px;
}
.about-subhead {
  color: #2ecc9a;
  font-weight: 600;
}
.view-more-btn {
  background-color: #0a6e8a;
  padding: 15px 30px;
  border-radius: 30px;
}
.treatment-marquee{
    background:#f8fdff;
}

.section-tag{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:#e8f8f4;
    color:#0A6E8A;
    font-weight:600;
}

.section-title{
    color:#1A2B3C;
    font-weight:700;
    font-size:42px;
}

.section-desc{
    max-width:650px;
    margin:auto;
    color:#666;
}

.marquee{
    overflow:hidden;
    position:relative;
    width:100%;
    padding:15px 0;
}

.marquee::before,
.marquee::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
}

.marquee::before{
    left:0;
    background:linear-gradient(to right,#f8fdff 10%,transparent);
}

.marquee::after{
    right:0;
    background:linear-gradient(to left,#f8fdff 10%,transparent);
}

.marquee-content{
    display:flex;
    width:max-content;
    animation:scroll 70s linear infinite;
}

.marquee:hover .marquee-content{
    animation-play-state:paused;
}

.marquee-content span{
    display:flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    margin:0 12px;
    padding:12px 22px;
    border-radius:50px;
    background:#fff;
    border:1px solid #d8ece5;
    color:#1A2B3C;
    font-weight:600;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    transition:.3s;
}

.marquee-content span:hover{
    background:#2ECC9A;
    color:#fff;
    transform:translateY(-3px);
}

@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

@media(max-width:768px){

.section-title{
    font-size:30px;
}

.marquee-content span{
    padding:10px 18px;
    font-size:14px;
    margin:0 8px;
}

.marquee-content{
    animation-duration:90s;
}

}
.treatment-page-area{
    background:#f8fdff;
}

.treatment-page-heading{
    max-width:760px;
    margin:auto;
}

.treatment-page-badge{
    display:inline-block;
    background:#E7F8F3;
    color:#0A6E8A;
    padding:10px 22px;
    border-radius:40px;
    font-weight:600;
    font-size:15px;
}

.treatment-page-heading h2{
    font-size:44px;
    font-weight:700;
    color:#1A2B3C;
}

.treatment-page-heading p{
    color:#6d7b88;
    font-size:17px;
    line-height:30px;
}

.treatment-box-item{
    background:#fff;
    border-radius:18px;
    border:1px solid #edf3f7;
    text-align:center;
    padding:35px 20px;
    transition:.35s;
    height:100%;
    position:relative;
    overflow:hidden;
}

.treatment-box-item::before{
    content:"";
    position:absolute;
    width:100%;
    height:5px;
    left:0;
    top:0;
    background:#2ECC9A;
    transform:scaleX(0);
    transition:.35s;
}

.treatment-box-item:hover::before{
    transform:scaleX(1);
}

.treatment-box-item:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.treatment-box-icon{
    width:75px;
    height:75px;
    margin:auto;
    border-radius:50%;
    background:#EAF8F4;
    color:#2ECC9A;
    font-size:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.35s;
}

.treatment-box-item:hover .treatment-box-icon{
    background:#2ECC9A;
    color:#fff;
    transform:rotateY(180deg);
}

.treatment-box-item h5{
    margin-top:25px;
    font-size:19px;
    font-weight:600;
    color:#1A2B3C;
    line-height:28px;
}

@media(max-width:991px){

.treatment-page-heading h2{
    font-size:36px;
}

}

@media(max-width:767px){

.treatment-page-heading h2{
    font-size:30px;
}

.treatment-box-item{
    padding:28px 18px;
}

}
.video-section {
  padding: 50px 0;
  background-color: #0a6e8a;
}
.video-title {
  color: #0a6e8a;
  font-size: 16px;
  font-weight: 600;
  background-color: #f8fdff;
  padding: 10px 20px;
  border-radius: 30px;
}
.why-choose-us-section {
  padding: 50px 0;
  background-color: #eaf6fb;
}
.choose-us-title {
  color: #0a6e8a;
  font-size: 16px;
  font-weight: 600;
  background-color: #f8fdff;
  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: 40px;
  color: #2ecc9a;
  background-color: #e6f9f3;
  padding: 20px 55px 20px 20px;
  border-radius: 20px;
}
.testimonials-section {
  background-color: #f8fdff;
  padding: 50px 0;
}
.testimonials-title {
  color: #0a6e8a;
  font-size: 16px;
  font-weight: 600;
  background-color: #eaf6fb;
  padding: 10px 20px;
  border-radius: 30px;
}
.star i {
  color: #2ecc9a;
}
.patient i {
  padding: 20px 40px 20px 25px;
  background: #eaf6fb;
  border-radius: 50%;
  color: #1d7993;
  font-size: 20px;
  font-weight: 700;
}
.p-name {
  line-height: 0.5;
}
.review {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
footer {
  background-color: #0a6e8a;
  padding: 60px 60px 20px 60px;
}
ul li {
  line-height: 2.5;
}
ul li a {
  text-decoration: none;
  color: #f0f7f4;
}
footer p {
  color: #f0f7f4;
}
footer .staff-snake {
  background-color: #2ecc9a;
}
footer .work,
h4 {
  color: #f0f7f4;
}
footer i {
  color: #2ecc9a;
}
footer .container {
  border-bottom: 1px solid white;
  padding-bottom: 20px;
}
.footer-bottom p a {
  text-decoration: none;
  color: #2ecc9a;
}
.breadcrumb-section {
  height: 200px;
  background: url("../images/hero-bg.png") no-repeat center center/cover;
}
.breadcrumb-section p a {
  text-decoration: none;
  color: white;
}
.breadcrumb-section p span {
  color: #2ecc97;
}
.breadcrumb span {
  font-weight: 600;
  color: white;
  background: #275856;
  padding: 10px 25px;
  border: 1px solid #077e86;
  border-radius: 30px;
}
.about-sec-2 {
  padding: 40px 0;
  background: #f8fdff;
}
.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: #0a6e8a;
}
.cont-2 {
  margin-top: 20px;
}
.circle-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}
.abt-para-1 {
  font-weight: 600;
  color: #2ecc97;
}
.expertise-section {
  padding: 50px 0;
  background: #eaf6fb;
}
.expertise-title {
  color: #0a6e8a;
  font-size: 16px;
  font-weight: 600;
  background-color: #f8fdff;
  padding: 10px 20px;
  border-radius: 30px;
}
.expertise-card {
  background-color: white;
  padding: 20px 25px;
  border-radius: 20px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.expertise-card i {
  font-size: 40px;
  color: #2ecc9a;
  background-color: #e6f9f3;
  padding: 20px 55px 20px 20px;
  border-radius: 20px;
}
.qualify-section {
  padding: 50px 0;
  background: #f8fdff;
}
.qualify {
  margin-top: 30px;
  border-bottom: 1px solid rgb(238, 235, 235);
}
.qualify-title {
  color: #0a6e8a;
  font-size: 16px;
  font-weight: 600;
  background-color: #eaf6fb;
  padding: 10px 20px;
  border-radius: 30px;
}
.qualify i {
  font-size: 40px;
  color: #2ecc9a;
  background-color: #e6f9f3;
  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: #0a6e8a;
  padding: 15px 30px;
  border-radius: 30px;
}
.clinic-info {
  background-color: #eaf6fb;
  color: #0a6e8a;
  padding: 40px 30px;
  border-radius: 15px;
}
.clinic-info h4 {
  color: #0b4555;
}
.clinic-add p {
  line-height: 1.3;
}
.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;
}
/* 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: auto;
    padding-bottom: 40px;
  }
  .hero-section .container {
    padding-top: 40px;
  }
  .main-head {
    font-size: 26px;
  }
  .hero-content p {
    font-size: 14px;
  }
  .hero-sub-head span {
    padding: 10px 15px;
    font-size: 12px;
  }
  .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 ul 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: 12px;
  }
  .choose-card {
    margin-bottom: 20px;
  }
  .review {
    margin-bottom: 20px;
  }
  footer {
    background-color: #0a6e8a;
    padding: 30px 30px 20px 30px;
  }
  footer .doctor-name {
    font-size: 14px !important;
  }
}

/* Treatment Mobile Slider */
.slider-controls {
  display: none;
}

@media (max-width: 767px) {
  #treatmentMobileSlider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  
  #treatmentMobileSlider::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }

  #treatmentMobileSlider > div {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .slider-controls {
    display: flex !important;
  }
  
  .slider-controls .btn {
    background: #2ecc9a;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
  }
  
  .slider-controls .btn:hover {
    background: #0a6e8a;
    color: white;
  }
}
