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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f5f5f5;
    color:#222;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
}

section{
    width:100%;
    padding:90px 0;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

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

header{
    position:sticky;
    top:0;
    z-index:999;
    width:100%;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.navbar{
    width:min(1200px,92%);
    margin:auto;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    height:60px;
}

#navMenu{
    display:flex;
    list-style:none;
    gap:35px;
}

#navMenu a{
    color:#222;
    font-weight:600;
    transition:.3s;
}

#navMenu a:hover{
    color:#d62828;
}

.btn-nav{
    background:#d62828;
    color:#fff;
    padding:13px 28px;
    border-radius:40px;
    font-weight:700;
}

.mobile-btn{
    display:none;
}

.hamburger{
    display:none;
    font-size:32px;
    cursor:pointer;
}

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

.hero{
    width:min(1200px,92%);
    margin:auto;
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.hero-left,
.hero-right{
    flex:1;
}

.subtitle{
    color:#d62828;
    font-weight:700;
    letter-spacing:2px;
}

.hero h1{
    font-size:72px;
    font-family:'Oswald',sans-serif;
    line-height:1;
    margin:15px 0;
}

.hero h1 span{
    color:#d62828;
}

.line{
    width:120px;
    height:5px;
    background:#d62828;
    border-radius:30px;
    margin:25px 0;
}

.hero h3{
    margin-bottom:20px;
}

.hero-button{
    display:flex;
    gap:18px;
    margin-top:35px;
}

.btn-red,
.btn-outline{
    padding:15px 32px;
    border-radius:40px;
    font-weight:700;
}

.btn-red{
    background:#d62828;
    color:#fff;
}

.btn-outline{
    border:2px solid #d62828;
    color:#d62828;
}

/* =======================
   TITLE
======================= */

.services-title,
.advantages-title{
    text-align:center;
    margin-bottom:20px;
}

.services-title h2,
.advantages-title h2{
    font-size:42px;
    font-family:'Oswald',sans-serif;
}

.section-text{
    max-width:850px;
    margin:auto;
    text-align:center;
    color:#666;
}

/* =======================
   CARD
======================= */

.service-grid,
.advantages-grid{
    margin-top:50px;
    display:grid;
    gap:30px;
}

.service-grid{
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}

.advantages-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.service-card,
.adv-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover,
.adv-card:hover{
    transform:translateY(-8px);
}

.service-card h3,
.adv-card h3{
    color:#d62828;
    margin-bottom:15px;
}

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

.footer{
    width:100%;
    background:#181818;
    color:#fff;
    padding:70px 0 35px;
    margin:0;
}

.footer .container{
    width:min(1200px,92%);
    margin:auto;
    text-align:center;
}

.footer-logo{
    width:90px;
    margin:0 auto 20px;
}

.footer h3{
    font-size:40px;
    margin-bottom:10px;
}

.footer-tagline{
    color:#bbb;
    margin-bottom:30px;
}

.footer-info{
    margin-bottom:35px;
}

.footer-info p{
    margin:12px 0;
}

.footer-button{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.footer-button a{
    padding:15px 30px;
    border-radius:50px;
    color:#fff;
    font-weight:700;
}

.footer-wa{
    background:#25D366;
}

.footer-map{
    background:#d62828;
}

.footer-copy{
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:25px;
    color:#999;
}

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

@media(max-width:900px){

.hero{
    flex-direction:column;
    text-align:center;
    padding-top:40px;
}

.hero h1{
    font-size:52px;
}

.line{
    margin:25px auto;
}

.hero-button{
    justify-content:center;
}

.hamburger{
    display:block;
}

.btn-nav{
    display:none;
}

.mobile-btn{
    display:block;
}

#navMenu{
    position:absolute;
    left:0;
    top:80px;
    width:100%;
    background:#fff;
    display:flex;
    flex-direction:column;
    text-align:center;
    max-height:0;
    overflow:hidden;
    transition:.4s;
    gap:0;
}

#navMenu li{
    padding:18px;
}

#navMenu.active{
    max-height:500px;
}

}

@media(max-width:600px){

.hero h1{
    font-size:42px;
}

.services-title h2,
.advantages-title h2{
    font-size:34px;
}

.footer h3{
    font-size:32px;
}

.footer-button{
    flex-direction:column;
    align-items:center;
}

.footer-button a{
    width:100%;
    max-width:280px;
}

}
/* ===== Perbaikan ukuran hero di HP ===== */

.hero-right{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-right img{
    width:100%;
    max-width:500px;
    height:auto;
    object-fit:contain;
}

@media (max-width:900px){

.hero{
    gap:20px;
}

.hero-right{
    margin-top:20px;
}

.hero-right img{
    width:90%;
    max-width:380px;
    height:auto;
}