/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: YAEp1GBiByE_0, auto;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    /* Prevents horizontal scrolling at body level */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.header {
    background-color: rgba(255, 251, 240, 255);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 18vh !important;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 39px 0;
}

.logo {
    position: relative;
    top: 20px;
}

.logo img {
    width: 15vw !important;
    height: auto !important;
    max-width: 150px;
    position: relative;
    top: -20px;
    left: -65px;
}

.nav {
    display: flex;
    gap: 110px;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1f2937;
}

.btn-primary {
    background-color: #a0b998;
    color: rgb(0, 0, 0);
    border: none;
    padding: 16px 36px;
    border-radius: 25px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #a0b998;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* xl scren size css for desktop  */
@media screen and (min-width: 1920px) and (max-width: 1920px) and (min-height: 1080px) and (max-height: 1080px) {
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 63px 0 !important;
    }

    .header {
        background-color: rgba(255, 251, 240, 255);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
        height: 18vh !important;
    }
}

/* Hero Section */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .btn-secondary {
        width: 42% !important;
        font-size: 20px;
        left: 0;
    }
}

.hero {
    background: #539247;
    color: white;
    border-radius: 40px 40px 0 0;
    min-height: 500px;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .btn-secondary {
        position: relative;
        left: 142px;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    height: 91vh;
    width: 100%;
}

.hero-text {
    flex: 1;
    width: 100%;
}

.hero-title {
    font-size: 105px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #f9fafb;
    text-align: center;
}

.btn-secondary {
    background-color: #f9fafb;
    color: #000000;
    border: none;
    padding: 12px 32px;
    border-radius: 39px;
    font-weight: 400;
    font-size: 25px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background-color 0.3s ease;
    width: auto;
    /* Prevent fixed width issues */
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

.social-icon img {
    width: 65px;
    height: 65px;
    position: relative;
    left: 0;
    /* Removed fixed positioning to avoid overflow */
}

.social-icon {
    display: flex;
    justify-content: center;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.hero-bg-circle {
    position: absolute;
    background-color: #cadfa1;
    z-index: 1;
}

.hero-img {
    z-index: 2;
    position: relative;
}

@media (min-width: 992px) {
    .hero-img {
        width: 240%;
        height: 102vh;
        z-index: 1;
        position: relative;
        top: 41px;
        right: 81px;
        /* max-width: 450px; */
    }

    .hero-bg-circle {
        position: absolute;
        width: 500px;
        top: 210px;
        height: 549px;
        background-color: #cadfa1;
        border-radius: 48%;
        z-index: 1;
        border-top-left-radius: 30%;
        border-bottom-right-radius: 49%;
        border-top-right-radius: 30%;
        max-width: 100%;
    }

}

/* xl size of desktop css   */
@media screen and (min-width: 1920px) and (max-width: 1920px) and (min-height: 1080px) and (max-height: 1080px) {
    .hero-title {
        font-size: 10em;
        font-weight: 400;
        line-height: 1.1;
        margin-bottom: 32px;
        color: #f9fafb;
        text-align: center;
        position: relative;
        left: -25%;
    }

    .btn-secondary {
        background-color: #f9fafb;
        color: #000000;
        border: none;
        padding: 27px 50px;
        border-radius: 39px;
        font-weight: 400;
        font-size: 25px;
        cursor: pointer;
        margin-bottom: 16px;
        transition: background-color 0.3s ease;
        width: auto;
        position: relative;
        left: -1%;
    }

    .social-icon {
        display: flex;
        justify-content: center;
        position: relative;
        left: -27%;
        gap: 40px;
    }

    .hero-img {
        width: auto;
        height: 100vh;
        z-index: 1;
        position: relative;
        top: 41px;
        right: 204px;
    }
}

/* holistic care section  */
.care-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}

/* Left Section */
.care-left {
    flex: 1 1 400px;
    text-align: center;
}

.care-left h1 {
    font-size: 5rem !important;
    color: #539247;
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: YAEtfuYOYZQ_0, auto;
}

.doctors-img {
    max-width: 100%;
    height: auto;
}

/* Right Grid */
.care-right {
    flex: 1 1 500px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    border-radius: 60px;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    padding: 20px;
    padding-left: 28px;
    padding-top: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px !important;
    position: relative;
    text-align: left !important;
    overflow: hidden;
}

.service-card img {
    position: absolute;
    right: 10px;
    top: 40px;
    bottom: 10px;
    max-height: 75%;
    border-radius: 12px;
}

.service-card span {
    z-index: 2;
    position: relative;
}

/* Background colors */
.chronic {
    background: #e1c340;
}

.elderly {
    background: #6085d6;
}

.nursing {
    background: #64898d;
}

.gda {
    background: #f6ba61;
}

.dialysis {
    background: #fa9d64;
}

.icu {
    background: #da80f4;
}

/* Responsive */
@media (max-width: 992px) {
    .care-left h1 {
        font-size: 2rem !important;
    }

    .service-card {
        height: 160px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .care-section {
        flex-direction: column;
    }

    .care-right {
        grid-template-columns: 1fr;
    }

    .care-left h1 {
        font-size: 3rem !important;
    }

    .service-card {
        border-radius: 60px;
        color: #fff;
        font-size: 25px;
        font-weight: 600;
        padding: 20px;
        padding-left: 35px;
        display: flex;
        padding-top: 26px;
        flex-direction: column;
        justify-content: space-between;
        height: 135px !important;
        position: relative;
        width: 338px;
        text-align: left !important;
        overflow: hidden;
    }
}

/* xl size of desktop  */


@media screen and (min-width: 1920px) and (max-width: 1920px) and (min-height: 1080px) and (max-height: 1080px) {
    .doctors-img {

        max-width: 100%;
        height: 60vh;
        position: relative;
        top: 47px;

    }

    .care-left h1 {
        font-size: 7rem !important;
        color: #539247;
        line-height: 1.3;
        margin-bottom: 20px;

    }

    .service-card {
        border-radius: 60px;
        color: #fff;
        font-size: 2.2rem;
        font-weight: 600;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 250px !important;
        position: relative;
        text-align: left !important;
        overflow: hidden;
    }

    .care-right {
        gap: 40px !important;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fffbf0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 6em;
    font-weight: 400;
    color: #539247;
    margin-bottom: 16px;
    margin-top: -78px;
    word-spacing: -4px;
}

.section-subtitle {
    font-size: 25px;
    color: #000000;
    max-width: 70%;
    margin: 0 auto;
    line-height: 35px;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
}

.services-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.services-card:hover {
    transform: scale(1.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.services-card:hover .service-icon {
    background-color: #10B981;
    color: white;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

/* xl size of desktop css   */
@media screen and (min-width: 1920px) and (max-width: 1920px) and (min-height: 1080px) and (max-height: 1080px) {
    .doctor-group img {
        width: 87vw !important;
        height: 77vh !important;
        position: relative !important;
        top: 23vh !important;
        left: -63px !important;
    }

    .text-left h1 {
        font-size: 7em !important;
        margin-bottom: 58vh !important;
        position: relative !important;
        left: 104px !important;
    }

    .text-right p {
        position: relative !important;
        margin-bottom: 20vh !important;
        left: -83px !important;
        font-size: 2.2em !important;
    }
}

/* Team Section */
.hero-section {
    background-color: #6b9e61;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    color: white;
    height: 114vh;
    overflow: hidden;
}

.text-left h1 {
    font-size: 55px;
    margin-bottom: 443px;
    position: relative;
    left: 106px;
}

@media (min-width: 992px) {
    .text-right p {
        position: relative;
        bottom: 249px !important;
        left: -50px;
        font-size: 17px;
    }

    .footer-bottom h1 {
        position: relative;
        top: 248px;
    }

}

@media (min-width: 992px) {
    .care-card {
        padding: 31px;
        border-radius: 12px;
        transition: transform 0.3s ease;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        width: 120% !important;
        max-height: 175%;
        height: 175%;



    }

    .care-card-img {
        height: 64px;
        position: relative;
        top: 66px !important;
        margin-top: -42px;
        width: 100%;
        height: 76px;
        object-fit: contain;
        border-radius: 6px;
        right: 27px;
    }
}

@media (max-width: 768px) {
    .text-right p {
        font-size: 16px;
        margin-bottom: 20px;
        right: 0;
        text-align: center;
        position: relative;
        top: 10px;
        left: -2px;
    }

}

.doctor-group img {
    width: 937px;
    height: 633px;
    position: relative;
    top: 103px;
    left: -63px;
    max-width: 100%;
    /* Ensure it fits within container */
}

/* Care Section */

/* Testimonial Section */
@media (max-width: 768px) {
    .testimonial-section {
        margin-top: -24px !important;
    }
}

.testimonial-section {
    background-color: #6b9e61;
    color: white;
    text-align: center;
    position: relative;
    padding: 100px 20px 80px;
    overflow: hidden;
}

.testimonial-section h2 {
    font-size: 48px;
    margin-bottom: 60px;
    z-index: 2;
    position: relative;
}

.circle-bg {
    position: absolute;
    top: 254px;
    left: 50%;
    transform: translateX(-50%);
    width: 915px;
    height: 361px;
    background-color: #cadfa1;
    border-radius: 50%;
    z-index: 0;
    max-width: 100%;
    /* Ensure it fits within viewport */
}

.testimonial-wrapper {
    display: flex;
    justify-content: center;
    gap: 96px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
    width: 100%;
}

.testimonial-card {
    background-color: #FEF9EF;
    color: black;
    width: 310px;
    padding: 73px 22px 49px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 100%;
    /* Prevent overflow */
}

.avatar {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 4px solid #6A9F4D;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background-color: #fff;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h3 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fffbf0;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-title {
    font-size: 41px;
    font-weight: 500;
    color: #539247;
}

.contact-phone {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-box {
    background-color: #cadfa1;
    padding: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    /* Prevent overflow */
}

.phone-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.phone-number {
    color: #000000;
    font-weight: 600;
    font-size: 18px;
}

/* Footer */
.footer {
    background-color: #6c9d5c;
    color: white;
    text-align: center;
    padding: 40px 20px 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 40px;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 53px;
    font-size: 20px;
    font-weight: 400;
}

.footer-ellipse {
    background-image: url('assets/images/footer-bg.png');
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
}

.footer-ellipse .leaf-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.footer-ellipse h2 {
    font-size: 37px;
    margin-bottom: 15px;
    font-weight: 400;
    color: black;
}

.footer-ellipse p {
    text-align: center !important;
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: -36px;
    color: #000000;
    width: 22%;
    position: relative;
    left: 39%;
    max-width: 100%;
    /* Prevent overflow */
}

.footer-bottom h1 {
    font-size: 40px;
    color: #ffffff;
    position: relative;
    left: -33%;
}

.footer-bottom span {
    font-weight: bold;

}

/* Responsive Design */
@media (max-width: 768px) {

    /* Header */
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .logo img {
        width: 100px !important;
        height: auto !important;
        top: 0;
        left: 0;
        max-width: 100%;
    }


    @media (max-width: 768px) {
        .hamburger {
            display: block;
            align-self: flex-end;
            margin-bottom: -3px;
            position: relative;
            top: -21px;
        }
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .nav.active {
        display: flex;
    }

    .button-icon {
        width: 100%;
        margin-top: -20px;
    }

    @media (max-width: 768px) {
        .btn-primary {
            width: 40%;
            padding: 12px;
            font-size: 12px;
            position: relative;
            left: 146px;
            bottom: 61px;
            top: -39px;
        }
    }

    /* Hero */
    .hero-content {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 60px;
    }

    .btn-secondary {
        width: 88%;
        font-size: 20px;
        left: 0;

    }

    .social-icon img {
        left: 0;
    }

    .hero-image-wrapper {
        max-width: 100%;
        margin-top: -52px;
    }

    .hero-img {
        width: auto;
        height: 64vh;
        position: relative;
        right: 36%;
    }

    .hero {
        background: #539247;
        color: white;
        border-radius: 40px 40px 0 0;
        /* min-height: 438px; */
        overflow: hidden;
        height: 110vh;
    }


    .hero-bg-circle {
        width: 300px;
        height: 355px;
        border-radius: 58%;
        border-top-left-radius: 35%;
        border-bottom-right-radius: 52%;
        border-top-right-radius: 32%;
        max-width: 100%;
    }

    /* Services */
    .section-title {
        font-size: 6vh;
        margin-top: -40px;

    }

    .section-subtitle {
        font-size: 18px;
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Team */
    .hero-section {
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .text-left h1 {
        font-size: 40px;
        margin-bottom: 20px;
        left: 0;
        text-align: center;
    }

    .doctor-group img {
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
    }

    /* Care */
    .care-content {
        flex-direction: column;
    }

    .care-title {
        font-size: 50px;
    }

    .care-main-img {
        width: 100%;
        height: 55vh;
        top: -56px;
        left: 32px;
    }

    .care-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .card-emergency {
        width: 100%;
        height: auto;
    }

    /* Testimonial */
    .testimonial-section h2 {
        font-size: 36px;
        position: relative;
        top: 81px;
    }

    .testimonial-section {
        margin-top: -55px;
    }

    .testimonial-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 52px;
        position: relative;
        top: 70px;
    }

    .testimonial-card {
        width: 90%;
        margin-bottom: 40px;
    }

    .circle-bg {
        width: 100%;
        height: 300px;
        top: 100px;
    }

    /* Contact */
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .phone-box {
        padding: 40px;
        margin-top: 20px;
        width: 100%;
    }

    /* Footer */

    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-ellipse p {
        width: 80%;
        left: 10%;
    }

    .footer-bottom h1 {
        left: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* Tablet Adjustments */
    .hero-content {
        gap: 30px;
    }

    .hero-title {
        font-size: 80px;
    }

    .btn-secondary {
        font-size: 20px;
    }

    .hero-img {
        width: 120%;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .care-grid {
        gap: 30px;
    }

    .doctor-group img {
        width: 80%;
        height: auto;
    }

    .testimonial-wrapper {
        gap: 50px;
    }

    .contact-phone {
        margin-left: 20px;
    }

    .footer-ellipse p {
        width: 50%;
        left: 25%;
    }
}