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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #F2FDFF;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    z-index: 10;
    padding: 5px;
}

.logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    object-fit: contain;
    background-color: #cbffff;
    border-radius: 50%;
    padding: 5px;
}

.logo h2,
.logo span {
    font-family: "Poppins";
    font-size: 1.5rem;
    color: white;
}

.hero-social {
    background-image: url(/assets/social-donation.jpg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
    color: white;
    font-family: "Montserrat";
}

.hero-social h1 {
    margin-top: 1.5rem;
    font-size: 2.5rem;
    padding: 0;
    font-family: "Montserrat";
    font-weight: 800;
    text-shadow: 1px 1px 3px #002944;
    color: #0ff;
    animation: slideInRight 2s;
}

.hero-social p {
    width: 60%;
    font-family: "Poppins";
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 2px #28608e;
    line-height: 1.4rem;
    animation: fadeIn 2s;
}

.hero-social .route {
    display: flex;
    margin: 1rem 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-family: "Poppins";
    animation: slideInLeft 2s;
}

.hero-social .route a {
    font-size: 14px;
    font-weight: 400;
    color: white;
    transition: 0.4s ease-in-out;
    border-bottom: 1px solid rgba(0, 255, 255, 0);
}

.hero-social .route i {
    color: #00FFFF;
    font-size: 14px;
    font-weight: 400;
}

.hero-social .route a:hover {
    border-bottom: 1px solid #00FFFF;
    color: #cbffff;
}

.hero-social .route span {
    color: #00FFFF;
    font-size: 14px;
    font-weight: 400;
    text-shadow: 1px 1px 3px black;
}

.main-swiper-social{
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    row-gap: 20px;
    margin-top: 5rem;
}

.main-swiper-social h1{
    font-family: "Montserrat";
    font-weight: 800;
    font-size: 2rem;
    color: #0E1836;
    text-align: center;
}

.swiper-container-social{
    display: flex;
    width: 70%;
    align-items: center;
}

.swiper-social, .swiper-social2{
    width: 100%;
    height: 100%;
}

.swiper-slide{
    width: 100%;
    overflow: hidden;
    background-color: #c5ccda;
    padding: 2rem;
    border-radius: 10px;
    cursor: grab;
}

.content img{
    width: 50%;
    object-fit: cover;
    border-radius: 10px;
}

.content{
    display: flex;
    gap: 25px;
}

.text-content{
    position: relative;
    display: grid;
    grid-auto-flow: dense;
    row-gap: 15px;
    grid-template-rows: 1fr 5fr 0fr 1fr;
}

.text-content h2{
    font-family: "Montserrat";
    font-size: 1.5rem;
    font-weight: 700;
    color: #002944;
}

.text-content p{
    font-family: "Poppins";
    font-size: 1rem;
}

.button-prev i,
.button-next i,
.button-prev-2 i,
.button-next-2 i {
    font-size: 1.5rem;
    border: 2px solid #0E1836;
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    background-color: #B6CFFF;
    transition: transform 0.3s ease;
}

.button-prev i:hover,
.button-next i:hover,
.button-prev-2 i:hover,
.button-next-2 i:hover {
    transform: scale(0.9);
}

.donation-now{
    justify-content: center;
    width: 100%;
    align-items: center;
    font-family: "Montserrat";
    margin-top: 7rem;
    padding: 1.5rem;
}

.donation-now h1{
    font-size: 2rem;
    font-weight: 800;
    color: #0E1836;
    text-align: center;
    margin-bottom: 1rem;
}

.donation-nursinghome{
    justify-content: center;
    align-items: center;
    background-color: #c5ccda;
    width: 80%;
    margin: auto;
    padding: 2rem;
    border-radius: 15px;
}

.donation-nursinghome .text-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.donation-nursinghome .text-row h2{
    color: #002944;
    font-size: 1.5rem;
    font-weight: 800;
}

.donation-nursinghome .text-row p{
    font-family: "Poppins";
    font-size: 1rem;
    font-weight: 400;
    color: #0E1836;
}

.donation-nursinghome .text-row .text-row-button{
    align-items: center;
}

.donation-nursinghome .text-row .text-row-button button{
    outline: none;
    border: 1px solid #F2FDFF;
    font-family: "Poppins";
    font-size: 1rem;
    padding: 0.3rem 0.8rem;
    color: #F2FDFF;
    background-color: #4DABF7;
    display: flex;
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s;
}

.donation-nursinghome .text-row .text-row-button button:hover{
    background-color: #4396da;
    transition: 0.3s;
}

.content-nursinghome{
    display: flex;
    padding: 10px;
    scroll-behavior: smooth;
    overflow-x: scroll;
    scrollbar-color: black;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.part-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 0 50%;
    align-items: center;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 5px 5px 10px rgba(40, 96, 142, 0.7);
}

.part-content .gambar-part img{
    width: 100%;
    border-radius: 15px;
    box-shadow: 3px 3px 9px #0E1836;
}

.part-content .text-part-content{
    position: relative;
    display: grid;
    gap: 20px;
}

.part-content .text-part-content h2{
    font-size: 1.25rem;
    font-weight: 700;
    color: #0E1836;
}

.part-content .text-part-content p{
    font-family: "Poppins";
    font-size: 1;
    font-weight: 400;
    color: #0E1836;
}

.part-content .text-part-content button{
    outline: none;
    border: none;
    font-size: 1rem;
    background-color: #4DABF7;
    padding: 0.5rem 0;
    border-radius: 10px;
    font-family: "Poppins";
    color: #F2FDFF;
    cursor: pointer;
    transition: 0.3s;
}

.part-content .text-part-content button:hover{
    background-color: #4396da;
    transition: 0.3s ease-in-out;
}

.footer{
    background: linear-gradient(to bottom, #F2FDFF, #3362cc);
    padding: 5rem 5rem 2rem 5rem;
    font-family: "Poppins";
    margin-top: 7rem;
    overflow: hidden;
}

.footer-column{
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    text-align: justify;
    color: #0E1836;
    justify-content: space-around;
    gap: 50px;
}

.footer-column-one{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer h1{
    font-size: 2rem;
    font-weight: 800;
    color: #0E1836;
}

.footer p{
    font-size: 1rem;
    font-weight: 500;
    color: #0E1836;
}

.footer-column-one p:nth-child(3){
    font-size: 1.5rem;
}

.footer-column-kritik{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column-kritik .input-kritik{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    background-color: #e4e4e4;
    border: 1px solid #0E1836;
    border-radius: 0 5px 5px 0;
}

.footer-column-kritik .input-kritik input{
    padding: 8px;
    outline: none;
    border: none;
    background-color: white;
    width: 100%;
    border-right: 1px solid #0E1836;
}

.footer-column-kritik .input-kritik input::placeholder{
    color: rgba(14, 24, 54, 0.5);
    font-family: "Montserrat";
    font-size: 1rem;
    align-items: center;
}

.footer-column-kritik .input-kritik button{
    white-space: nowrap;
    font-size: 1rem;
    font-family: "Poppins";
    font-weight: 500;
    outline: none;
    border: none;
    background-color: #e4e4e4;
    padding: 0 10px;
    cursor: pointer;
    color: #0E1836;
    transition: 0.3s;
}

.footer-column-kritik .input-kritik button:hover{
    color: #28608e;
    transition: 0.3s ease-in-out;
}

.footer-column-contact{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column-contact .kontak-link{
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.footer-column-contact .kontak-link a{
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #0E1836;
    gap: 5px;
    font-size: 1rem;
    font-weight: 400;
    transition: 0.3s;
}

.footer-column-contact .kontak-link a:hover{
    color: #2f5abf;
    transition: 0.3s ease-in-out;
}

.footer-column-contact .kontak-link a i{
    font-size: 1.25rem;
}

.footer-bottom{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10rem;
    justify-content: space-between;
}

.footer-bottom .medsos-icon{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.footer-bottom .medsos-icon a{
    align-items: center;
    justify-content: center;
}

.footer-bottom .medsos-icon a i{
    padding: 8px;
    color: #dbdbdb;
    border: 1px solid #0E1836;
    border-radius: 50px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-bottom .medsos-icon a i:hover{
    background-color: #2e3958;
    transition: 0.3s ease-in-out;
}

.footer-bottom .footer-copyright{
    display: flex;
    flex-direction: column;
}

.footer-bottom .footer-copyright p{
    font-size: 1rem;
    font-weight: 400;
}


@media only screen and (max-width: 1165px) {
    html {
        font-size: 85%;
    }

    .swiper-container-social{
        display: flex;
        width: 80%;
        align-items: center;
    }

    .hero-social p {
        width: 80%;
        font-family: "Poppins";
        font-size: 1rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.85);
        text-shadow: 1px 1px 2px #28608e;
        line-height: 1.4rem;
    }

}

@media only screen and (max-width: 830px) {
    html {
        font-size: 90%;
    }

    .nama {
        display: flex;
    }

    .nama h3{
        font-family: "Poppins";
        font-weight: 700;
        color: #0E1836;
    }

    .nama span{
        color: #28608e;
    }

    .content{
        justify-content: center;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }

    .text-content{
        position: relative;
        display: grid;
        grid-auto-flow: dense;
        row-gap: 15px;
    }

    .content img{
        width: 100%;
        height: 40vh;
        object-fit: cover;
        border-radius: 10px;
    }

    .swiper-container-social{
        width: 90%;
    }

    .donation-nursinghome{
        width: 100%;
    }

    .donation-nursinghome .text-row{
        flex-wrap: wrap;
    }

    .footer {
        padding: 3rem 2rem 2rem 2rem;
    }

    .footer-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column-one, 
    .footer-column-kritik,
    .footer-column-contact {
        align-items: center;
    }

    .footer-column-kritik .input-kritik {
        flex-direction: column;
        align-items: stretch;
        border-radius: 5px;
    }

    .footer-column-kritik .input-kritik input {
        border-right: none;
        border-bottom: 1px solid #0E1836;
        width: 100%;
    }

    .footer-column-kritik .input-kritik button {
        width: 100%;
        padding: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        margin-top: 5rem;
        text-align: center;
    }

    .footer-bottom .medsos-icon {
        justify-content: center;
    }
}

@media only screen and (max-width: 450px) {
    html {
        font-size: 75%;
    }

    .navbar .navbar-nav {
        width: 60%;
    }

    .nama{
        display: none;
    }

    .button-prev, .button-next, .button-prev-2, .button-next-2{
        display: none;
    }

}