/* =====================================================
   RESET CSS
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#1f2937;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar{
    width:100%;
    padding:25px 80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo{
    font-size:30px;
    font-weight:700;
    color:#111827;
}

.logo span{
    color:#f59e0b;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:35px;
}

.navbar ul li a{
    text-decoration:none;
    color:#374151;
    font-weight:500;
    transition:0.3s;
}

.navbar ul li a:hover{
    color:#f59e0b;
}

/* =====================================================
   HERO SECTION
===================================================== */

.hero{
    width:100%;
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 80px;
}

.hero-text{
    width:45%;
}

.hero-text h1{
    font-size:58px;
    line-height:1.2;
    margin-bottom:20px;
    color:#111827;
}

.hero-text p{
    font-size:18px;
    line-height:1.8;
    color:#6b7280;
    margin-bottom:30px;
}

.button-group{
    display:flex;
    gap:15px;
}

.btn-primary{
    background:#f59e0b;
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    border:2px solid #f59e0b;
    color:#f59e0b;
    text-decoration:none;
    padding:15px 30px;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.btn-secondary:hover{
    background:#f59e0b;
    color:white;
}

.hero-image{
    width:50%;
    text-align:center;
    position:relative;
}

.hero-image img{
    width:650px;
    position:relative;
    z-index:2;
}

/* =====================================================
   LINGKARAN ANIMASI
===================================================== */

.circle{
    width:500px;
    height:500px;
    border:4px dashed rgba(245,158,11,0.35);
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    animation:putar 25s linear infinite;
}

@keyframes putar{
    from{
        transform:translate(-50%,-50%) rotate(0deg);
    }
    to{
        transform:translate(-50%,-50%) rotate(360deg);
    }
}

/* =====================================================
   INFORMASI PENYAKIT
===================================================== */

.informasi{
    padding:100px 80px;
    background:#f9fafb;
}

.informasi h2{
    text-align:center;
    font-size:40px;
    margin-bottom:60px;
}

.card-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s;
}

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

.card h3{
    color:#f59e0b;
    margin-bottom:10px;
}

.card p{
    color:#6b7280;
    line-height:1.8;
}

/* =====================================================
   ACCORDION
===================================================== */

details{
    margin-top:15px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:10px;
}

summary{
    cursor:pointer;
    font-weight:600;
}

details ul{
    margin-top:10px;
    margin-left:20px;
}

details li{
    margin-bottom:5px;
}

/* =====================================================
   TENTANG APLIKASI
===================================================== */

.tentang{
    padding:100px 80px;
    text-align:center;
}

.tentang h2{
    font-size:40px;
    margin-bottom:20px;
}

.tentang p{
    max-width:900px;
    margin:auto;
    color:#6b7280;
    line-height:1.9;
}

/* =====================================================
   TIM PENGEMBANG
===================================================== */

.team-grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.member{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.member:hover{
    transform:translateY(-5px);
}

.member i{
    font-size:60px;
    color:#f59e0b;
    margin-bottom:15px;
}

.member h4{
    color:#111827;
}

/* =====================================================
   FOOTER
===================================================== */

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:40px;
}

footer h3{
    margin-bottom:10px;
}

footer p{
    color:#d1d5db;
    margin-top:10px;
}

/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media(max-width:992px){

    .navbar{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        flex-direction:column;
        text-align:center;
        padding:50px 20px;
    }

    .hero-text{
        width:100%;
    }

    .hero-image{
        width:100%;
        margin-top:30px;
    }

    .hero-image img{
        width:100%;
        max-width:450px;
    }

    .hero-text h1{
        font-size:38px;
    }

    .circle{
        width:350px;
        height:350px;
    }

    .informasi,
    .tentang{
        padding:80px 20px;
    }
}