* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Mengatur posisi berhenti scroll */
#home {
  scroll-margin-top: 110px;
}

#tentang {
  scroll-margin-top: -50px;
}

#unit {
  scroll-margin-top: 140px;
}

#galeri {
  scroll-margin-top: 220px;
}

#footer {
  scroll-margin-top: 110px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "inter", "montserrat", "poppins", "helvetica", sans-serif;
}

body {
  background: #f1f1f1;
  overflow-x: hidden;
  color: #000;
}
/* ============================= NAVBAR ============================= */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    z-index: 1000;
}

.navbar{
    width:100%;
    height:90px;
    display:flex;
    align-items:center;
    padding:0 30px;
}

.logo{
    flex:1;
}

/* Menu */


.nav-links{
    flex:2;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;

    list-style:none;
    margin:0;
    padding:0;
}

.nav-links li{
    list-style: none;
}

.nav-links li a{
    color: #000 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

.nav-links li a:hover{
    color: #ff9800 !important;
}

/* WhatsApp */

.wa-btn{
    justify-self:end;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:auto;
    padding:10px 18px;

    background:#25D366;
    color:#fff;
    border-radius:30px;

    text-decoration:none;
    font-weight:600;
    white-space:nowrap;
}

.wa-btn img{
    width: 18px;
    height: 18px;
}

.wa-btn:hover{
    background:#1da851;
}
/* ============================= */
/* NAVBAR SCROLL */
/* ============================= */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 90px;
    padding: 0 50px;

    background: transparent;
    transition: all .35s ease;
}

.navbar.scrolled{
    background: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.navbar .nav-links{
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li{
    list-style: none;
}

.navbar .nav-links li a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.navbar.scrolled .nav-links li a{
    color: #222;
}

.navbar .nav-links li a:hover{
    color: #ff9800;
}

.logo img{
    height: 45px;
}

.navbar.scrolled .wa-btn{
    background:#1f8f5f;
}
/* =====================================================
   RESET
===================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fb;
    color:#333;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

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

/* =====================================================
   HEADER ARTIKEL
===================================================== */

.article-header{
    background:#fff;
    padding:140px 20px 50px;
    border-bottom:1px solid #ececec;
}

.article-header .container{
    max-width:1400px;
    margin:auto;
}

.breadcrumb{
    color:#777;
    font-size:14px;
    margin-bottom:20px;
}

.breadcrumb a{
    color:#0d6efd;
}

.breadcrumb span{
    margin:0 5px;
}

.article-header h1{
    font-size:48px;
    color:#1e293b;
    line-height:1.3;
    margin-bottom:25px;
    max-width:900px;
}

.article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    color:#777;
    font-size:15px;
}

.article-meta i{
    color:#0d6efd;
    margin-right:8px;
}

/* =====================================================
   LAYOUT
===================================================== */

.article-layout{

    max-width:1400px;

    margin:60px auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:2.4fr 1fr;

    gap:45px;

    align-items:start;

}

.article-main{
    width:100%;
}

.sidebar{

    position:sticky;

    top:100px;

}

/* =====================================================
   GAMBAR
===================================================== */

.featured-image{

    width:100%;

    height:520px;

    object-fit:cover;

    object-position:center;

    border-radius:15px;

    margin-bottom:40px;

}

/* =====================================================
   ISI ARTIKEL
===================================================== */

.article-content{

    background:#fff;

    padding:45px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.06);

}

.article-content p{

    line-height:2;

    font-size:18px;

    margin-bottom:24px;

    color:#555;

}

.article-content h2{

    margin-top:45px;

    margin-bottom:20px;

    font-size:32px;

    color:#1f2937;

}

/* =====================================================
   CTA
===================================================== */

.article-cta{

    margin-top:40px;

    background:#0d6efd;

    color:#fff;

    border-radius:15px;

    padding:45px;

    text-align:center;

}

.article-cta h2{

    font-size:34px;

    margin-bottom:15px;

}

.article-cta p{

    font-size:17px;

    margin-bottom:30px;

}

.btn-primary{

    display:inline-block;

    background:#fff;

    color:#0d6efd;

    padding:15px 35px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

/* =====================================================
   SIDEBAR
===================================================== */

.widget{

    background:#fff;

    border-radius:15px;

    padding:30px;

    margin-bottom:30px;

    box-shadow:0 5px 20px rgba(0,0,0,.06);

}

.widget h3{

    margin-bottom:20px;

    color:#1f2937;

    font-size:25px;

}

.search-box{

    display:flex;

}

.search-box input{

    flex:1;

    padding:14px 18px;

    border:1px solid #ddd;

    border-right:none;

    border-radius:10px 0 0 10px;

    outline:none;

    font-size:15px;

}

.search-box button{

    width:60px;

    border:none;

    background:#0d6efd;

    color:#fff;

    border-radius:0 10px 10px 0;

    cursor:pointer;

}

.widget ul{

    list-style:none;

}

.widget ul li{

    padding:15px 0;

    border-bottom:1px solid #eee;

}

.widget ul li:last-child{

    border:none;

}

.widget ul li a{

    color:#444;

    transition:.3s;

}

.widget ul li a:hover{

    color:#0d6efd;

}


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

@media(max-width:991px){

.article-layout{

grid-template-columns:1fr;

}

.sidebar{

position:static;

}

.article-header h1{

font-size:36px;

}

.featured-image{

height:350px;

}

}

@media(max-width:768px){

.article-content{

padding:30px;

}

.article-content h2{

font-size:26px;

}

.article-content p{

font-size:16px;

}

.article-header{

padding:120px 20px 40px;

}

.article-header h1{

font-size:30px;

}

.featured-image{

height:260px;

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

.footer{
    background:#0f1118;
    color:#fff;
    margin-top:60px;
}

.footer-container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* TOP */

.footer-top{
    padding:70px 0 50px;
}

.footer-top .footer-container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-logo{
    width:180px;
    margin-bottom:20px;
}

.footer-col h4{
    color:#fff;
    font-size:18px;
    margin-bottom:25px;
    position:relative;
}

.footer-col h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:40px;
    height:2px;
    background:#ff9f1a;
}

.footer-col p{
    color:#bdbdbd;
    line-height:1.8;
    font-size:14px;
}

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#bdbdbd;
    text-decoration:none;
    transition:.3s;
}

.footer-col ul li a:hover{
    color:#ff9f1a;
}

.footer-col i{
    color:#ff9f1a;
    margin-right:8px;
}

/* BOTTOM */

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    padding:20px 0;
}

.footer-bottom-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-copy{
    color:#aaa;
    font-size:14px;
}

.footer-links{
    display:flex;
    gap:25px;
}

.footer-links a{
    color:#aaa;
    text-decoration:none;
}

.footer-links a:hover{
    color:#ff9f1a;
}

/* MOBILE */

@media (max-width:991px){

.footer-top .footer-container{
    grid-template-columns:1fr 1fr;
}

}

@media (max-width:768px){

.footer-top .footer-container{
    display:flex;
    flex-direction:column;
    text-align:center;
}

.footer-col h4::after{
    left:50%;
    transform:translateX(-50%);
}

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

.footer-bottom-inner{
    flex-direction:column;
    gap:15px;
}

.footer-links{
    flex-wrap:wrap;
    justify-content:center;
}

}
