@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Disable body scroll */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins";
    background-color: #f3f3f3;
    overflow-x: hidden;
}

header {
    background-color: #F9F9F9;
    /* height: 123px; */
    height: auto;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04);
}

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}


.hdr-wrpr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 15px;
}

/* Nav Collapse */
.nav-collapse {
    display: flex;
    align-items: center;
    gap: 160px;
}

.nav-collapse ul {
    list-style: none;
    display: flex;
    gap: 80px;
    margin: 0;
    padding: 0;
}

.nav-links {
    position: relative;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    text-wrap: nowrap;
}

.nav-links::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #7BC043;
    transition: width 0.3s ease;
}

.nav-links.active {
    color: #7BC043;
}

.nav-links:hover::after {
    width: 100%;
}

.nav-links:hover {
    color:  #7BC043;
}



/* Button */
.primary-btn {
    background-color: #7BC043;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-wrap: nowrap;
}

/* Hamburger Toggler */
.nav-toggler {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.nav-toggler span {
    height: 3px;
    width: 25px;
    background: #333;
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .nav-collapse {
        position: absolute;
        top: 97px;
        right: 0;
        background-color: #F9F9F9;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        padding: 20px 40px;
    }

    .nav-collapse.active {
        display: flex;
    }

    .nav-collapse ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .nav-btn {
        margin-top: 20px;
    }

    .nav-toggler {
        display: flex;
    }

    /* Hamburger animation */
    .nav-toggler.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggler.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggler.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}



/* about sec */

.about-sec {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.title {
    text-align: center;
    margin-top: 37px;
}

.about-row {
    display: flex;
    gap: 39px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1430px;
}

.col-50 {
    flex: 0 0 48%;
    max-width: 42%;
}


.image-grid {
    position: relative;
    display: inline-block;
    /* width: 100%; */
    max-width: 100%;
    margin: 0 auto;
    /* max-width: 558px; */
}

.large-img {
    position: relative;
    display: block;
    max-width: 558px;
    /* max-height: 550px; */
    flex: 2;
    margin: 0 auto;
    max-width: 95%;
}

.small-imgs {
    position: absolute;
    bottom: 0;
    right: 3px;
    padding: 7px;
    background: white;
    /* border: 10px solid white; */
    border-radius: 15px;

    /* max-height: 222px; */
    max-width: 50%;
}

.image-grid img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* Content Styles */
.sub-heading {
    font-size: 35px;
    color: #252525;
    margin-bottom: 12px;
}

.main-heading {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 109px;
    line-height: 1.4;
}

.main-heading .highlight {
    color: #7BC043;
}

.about-para {
    color: #252525B2;
    font-size: 20px;
    font-weight: 400;
    line-height: 35px;
    margin-bottom: 16px;
}

.about-para-p {
    font-size: 23px;
}

.phone-number {
    color: #7BC043;
    text-decoration: none;
    font-weight: 600;
}

.primary-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #7BC043;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
    text-wrap: nowrap;
}

/* Responsive */
/* @media screen and (max-width : 1024px) {
     .small-imgs {
    position: absolute;
    bottom: 0;
    right: 5px;
    max-height: 222px;
    max-width: 222px;
}
} */

@media screen and ( max-width :426px ) {
     /* .small-imgs{
        max-width: 136px;
     } */
}
 @media (max-width: 768px) {
    .about-row {
        flex-direction: column;
        margin-top: -55px;
    }

    .main-heading {
    font-size: 27px;
    font-weight: 400;
    margin-bottom: 94px;
    line-height: 1.4;
}

    /* .small-imgs{
        max-width: 222px;
    } */

    @media screen and ( max-width : 557px ) {
    .about-para{
    font-size: 17px;
}
   
 /* .small-imgs {
        max-width: 157px;
    } */
}

    @media screen and ( max-width : 375px ) {
    .about-para-p {
    font-size: 20px;
}
/* .small-imgs {
        max-width: 113px;
    } */

}

    .col-50 {
        max-width: 100%;
    }

    .image-grid {
        flex-direction: column;
    }

    .small-imgs {
        flex-direction: row;
    }

}  




/* our-team section */


.our-team {
    padding: 80px 0;
    background-color: #f9f9f9;
    margin-top: -100px;
}

.team-title {
    text-align: center;
    margin-bottom: 40px;
}

.team-title .highlight {
    color: #65b741;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: -50px;
}

.doctor-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    width: 334px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);
}

.doctor-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 16px;
}


.sub{
    font-size: 27px;
    color: #252525;
    margin-bottom: 12px;
}

.main {
    font-size: 27px;
    font-weight: 400;
    margin-bottom: 109px;
    line-height: 1.4;
}
.doctor-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: #777;
    margin-bottom: 12px;
}

.btn-appointment {
    display: inline-block;
    background-color: #65b741;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    text-wrap: nowrap;
}

.btn-appointment:hover {
    background-color: black;
}

.btn-wrapper {
    text-align: center;
    margin-top: 40px;
}


.primary-btn:hover {
    background-color: #0c2003;
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        /* flex-direction: column; */
        align-items: center;
        margin-top: -75px;
    }

    .doctor-card {
        width: 90%;
        max-width: 300px;
    }
}

  /* our reviews section */

.testimonials {
    padding: 50px 0;
    background-color: #f9f9f9;
    margin-top: -50px;
}

.testimonial-title {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-title .highlight {
    color: #65b741;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: left;
    min-height: 307px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.sub-head {
    font-size: 27px;
    color: #252525;
    margin-bottom: 12px;
}

.main-head {
    font-size: 27px;
    font-weight: 400;
    margin-bottom: 109px;
    line-height: 1.4;
}

.testimonial-text {
    color: #555;
    font-size: 14px;
    /* margin-bottom: 30px; */
}

.stars {
    color: #65b741;
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 30px;
}


@media screen and ( max-width :576px ) {
    .testimonial-title {
    text-align: center;
    margin-top: -65px;
}
}


@media screen and ( max-width : 426px ){
       

.testimonial-card {
    background: #fff;
    min-height: 450px;
    /* min-height: 100%; */
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: left;
}
}
@media screen and ( max-width : 375px ){
       

.testimonial-card {
    background: #fff;
    min-height:412px;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: left;
}
}






.patnr-sec {
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-logo img {
        max-width: 150px;
        max-height: 150px;
    }

    .hero-row {
        flex-direction: column;
        text-align: center;
    }

    .col-50 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .circle-img {
        left: -72px;
        bottom: -20px;
        width: 50%;
    }

    .main-img {
        max-width: 90%;
    }
}



.footer {
    background: #f9f9f9;
    padding: 40px 20px;
    font-family: sans-serif;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-box {
    color: #333;
}

.col-20 {
    flex: 1 1 20%;
    min-width: 200px;
}

.footer-box h4 {
    color: #5cbe4a;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.footer-box p,
.footer-box li,
.footer-box a {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-decoration: none;
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 10px;
    flex: 1 1 70%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-form button {
    background-color: #5cbe4a;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1 25%;
}

  .f-button:hover{
    background-color: black;
}

.footer-box ul li a:hover{
    color:  #5cbe4a;
}
.footer-3 :hover{
    color: #5cbe4a;
}

.f-button{
   background-color: #5cbe4a;
    color: white;
    text-align: center;
    /* width: 100%; */
    /* display: inline-block; */
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1 25%;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 18px;
    color: #000;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #5cbe4a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 991px) {
    .col-20 {
        flex: 1 1 45%;
    }
}

@media (max-width: 576px) {
    .col-20 {
        flex: 1 1 100%;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 13px;
  }
}