body {
    height: 100vh;
    font-family: "Barlow", serif;
    display: flex;
    flex-direction: column;
    margin: 0; /* Menjaga agar tidak ada margin default */
    height: 100%;
    background-color: #EDF8F9;
}

nav {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10; /* Memastikan navbar tetap berada di atas konten lain */
    
    ul{
    display: flex;
    gap: 32px;
    cursor: pointer;
    font-weight: 700;
    }
}



.hero{
    background: #EDF8F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px ;
    padding: 12px 12px;
}

.left{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 20px;
    margin: auto;
    align-items: center;
    max-width: 683px;
    position: relative;

    h1{
        font-size: 56px;
        color: #2E5070;
        font-weight: 600;
    }

    p{
        font-size: 20px;
        font-weight: 400;
    }

    img{
        align-self: flex-start;
    }
}

.Services{
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    background-color: #C6EAE3;
    padding: 20px 20px;
    gap: 40px;
    align-items: center;

    .our{
        color: #2E5070;
        font-size: 64px;
        font-weight: 900;
    }
}

.full-card{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.card{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    max-height: 800px;
    background-color: white;
    padding: 10px 10px;
    gap: 30px;
    border-radius: 20px;
    
    img{
        max-width: 398px;
        max-height: 320px;
    }

    h1{
        font-size: 32px;
        font-weight: 600;
        color: #2E5070;
        
    }

    button{
        height: 60px;
        background-color:  #95BB6F;
        border-radius: 20px;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }
}

button:hover{
    background-color: green;
}

li:hover{
    color:#015073;
}

.services-hover:hover{
    color:black;
}

.atas-all{
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding: 20px 40px;
    align-items: center;

    p{
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
        letter-spacing: 0%;
    }
}

.atas-about-kiri{
    display: flex;
    justify-content: center;
    padding: 20px;

     h2{
        font-size: 64px;
        font-weight: 900;
        color: #2E5070;

    } 
}

.doctor-bima{

    img{
        max-width: 800px;
    }
}

.all-bima{
    display: flex;
    align-items: center;
    padding: 22px 20px;
    gap: 20px;
}

.kanan{
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.doctor-gemilang{

    img{
        max-width: 800px;
    }
}

.contact{
    background-image: url("/Img/bg-img-contact.png");
    display: flex;
    align-items: center;
    padding: 20px 20px;
    gap:24px;
    background-size: cover;
}

.kiri-contact{
    background-color: white;
    border-radius: 12px;
    width: 450px;
    height: 600px;
    gap: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    h3{
        font-size: 32px;
        color: #2E5070;
        font-weight: 600;
    }

    .atas{
        font-weight: 700;
        color: #2E5070;
        margin: 5px 5px;
    }

    .bawah{
        margin: 5px 5px;
    }

}

.kanan-contact{
    background-color: white;
    border-radius: 12px;
    width: 450px;
    height: 600px;
    gap: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    h3{
        font-size: 32px;
        color: #2E5070;
        font-weight: 600;
    }
}

.Testimonials{
    display: flex;
    background-color: #C6EAE3;
    padding: 36px 20px;
    gap: 30px;

    h2{
        font-size: 64px;
        color: #2E5070;
        line-height: 76.8px;
        font-weight: 900;
        padding: 20px 20px;
    }
}

.left-testi{
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    width: 450px;
    height: 260px;
    padding: 32px;
    gap: 32px;

    img{
        width: 40px;
        height: 30px;
    }

    .kata-kata{
        font-weight: 400;
        font-size: 18px;
        line-height: 26px;
    }

    .nama-testi{
        font-weight: 700;
        font-size: 18px;
        line-height: 26px;
        color: #2E5070;
    }
}

.right-testi{
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    width: 450px;
    height: 230px;
    padding: 32px;
    gap: 32px;

    img{
        width: 40px;
        height: 30px;
    }

    .kata-kata{
        font-weight: 400;
        font-size: 18px;
        line-height: 26px;
    }

    .nama-testi{
        font-weight: 700;
        font-size: 18px;
        line-height: 26px;
        color: #2E5070;
    }
}

footer{
    background-image: url(/Img/paw-pattern\ 1.png);
    background-color: #2E5070;
    color: white;
}

.footer{
    display: flex;
    justify-content: space-between; 
    padding:32px;
    gap: 32px;
}

.footer-services{
    display: flex;
    flex-direction: column;

    ul{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        font-weight: 400;
        font-size: 20px;
        line-height: 30px;
        cursor: pointer;
    }
}

.contact-footer{
    gap: 12px;
    display: flex;
    flex-direction: column;
    width: 250px;
    
    p{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        font-weight: 400;
        font-size: 20px;
        line-height: 30px;
    }
}

.follow{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 12px;
    gap:20px;

    icon-follow{
        display: flex;
        gap: 20px;
    }
}

.garis{
    background-color: white;
    height: 1px;
    width: 100%;
}

.akhir{
    padding: 50px;
}

/* General Mobile Layout */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Slightly smaller text for mobile */
    }

    /* Adjusting the Navbar */
    nav {
        padding: 10px 20px;
    }
    
    nav ul {
        display: flex;
        flex-direction: column; /* Stack the navbar items vertically on mobile */
        gap: 10px;
        font-size: 16px;
    }
    
    .hero {
        flex-direction: column; /* Stack the hero section content vertically */
        gap: 20px;
        padding: 20px;
    }

    .left {
        max-width: 100%; /* Ensure it takes up full width */
        text-align: center;
    }

    .left img {
        width: 100%; /* Hero image should scale with the screen width */
        height: auto;
    }

    .Services {
        padding: 10px 20px;
    }

    .full-card {
        flex-direction: column; /* Stack the service cards vertically */
        gap: 20px;
    }

    .card {
        max-width: 100%; /* Allow the cards to take full width */
        padding: 20px;
    }

    .card img {
        width: 100%;
        height: auto;
    }

    .About .atas-all {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .doctor-bima, .doctor-gemilang {
        flex-direction: column; /* Stack images and text vertically */
        text-align: center;
    }

    .doctor-bima img, .doctor-gemilang img {
        max-width: 100%;
        height: auto;
    }

    .contact {
        flex-direction: column; /* Stack the contact info vertically */
        gap: 20px;
        background-size: cover;
    }

    .kiri-contact, .kanan-contact {
        width: 100%; /* Full width on mobile */
        height: auto;
    }

    .Testimonials {
        flex-direction: column; /* Stack the testimonials vertically */
        gap: 20px;
    }

    .left-testi, .right-testi {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    footer {
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }

    .footer-services, .contact-footer, .follow {
        flex-direction: column;
        align-items: center;
    }

    .follow {
        gap: 10px;
    }
    
    .garis {
        display: none; /* Hide the white line divider on mobile */
    }
}
