/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.topbar{
    background:#002B5C;
    color:white;
    padding:8px 0;
    font-size:14px;
}

body{
    font-family:Arial, sans-serif;
}

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
    box-shadow:0 2px 15px rgba(0,0,0,.1);
    z-index:999;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo a{
    text-decoration:none;
    font-size:24px;
    font-weight:700;
    color:#003366;
}

.nav-menu{
    list-style:none;
    display:flex;
    gap:30px;
}

.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:200px;
    background:#ffffff;
    list-style:none;
    box-shadow:0 10px 25px rgba(0,0,0,.15);

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:.3s ease;

    border-radius:10px;
    overflow:hidden;
}

.dropdown-menu li{
    width:100%;
}

.dropdown-menu a{
    display:block;
    padding:14px 20px;
    color:#333;
    text-decoration:none;
}

.dropdown-menu a:hover{
    background:#f4f8ff;
    color:#0056b3;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav-menu a{
    text-decoration:none;
    color:#333;
    font-weight:600;
}

.nav-menu a:hover{
    color:#0056b3;
}

.page-banner{
    margin-top:80px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#333;
    line-height:1.7;
}

/* ==========================
   VARIABLES
========================== */

:root{
    --primary:#004AAD;
    --secondary:#0066CC;
    --navy:#002B5C;
    --gold:#D4AF37;
    --light:#F8FAFC;
    --dark:#1E293B;
}

/* ==========================
   CONTAINER
========================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* NAVBAR */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(12px);
    z-index:999;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo img{
    height:60px;
}

.nav-menu{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-menu a{
    text-decoration:none;
    color:var(--dark);
    font-weight:500;
    transition:.3s;
}

.nav-menu a:hover{
    color:var(--primary);
}

/* TOMBOL */

.btn-primary{
    background:var(--primary);
    color:white;
    padding:14px 30px;
    border-radius:8px;
    text-decoration:none;
    transition:.3s;
    display:inline-block;
    
}

.btn-primary:hover{
    background:var(--navy);
}

.btn-outline{
    border:2px solid white;
    color:white;
    padding:14px 30px;
    border-radius:8px;
    text-decoration:none;
    margin-left:10px;
}

/* HERO SECTION */

.hero{
    position:relative;
    height:100vh;

    background:
    url('../img/hero/hero.jpg')
    center center/cover;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,43,92,.75),
        rgba(0,74,173,.75)
    );
}

.hero-content{
    position:relative;
    z-index:10;
    color:white;
}

.hero h1{
    font-size:4rem;
    margin:20px 0;
}

.hero h3{
    font-size:2rem;
    margin:15px 0;
}

.hero p{
    font-size:1.2rem;
    max-width:700px;
    margin:auto;
}

.hero{
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-200px;
    right:-150px;
}

/* HAMBURGER MENU HP */
.hamburger{
    display:none;
    cursor:pointer;
}

.hamburger span{
    display:block;
    width:25px;
    height:3px;
    margin:5px;
    background:#004AAD;
}

/* PRODUK UNGGULAN */

.products{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:2.5rem;
    color:var(--navy);
}

.product-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;
}

.card{
    background:white;
    padding:40px;
    border-radius:15px;
    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,74,173,.08);

    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
    
}

.card i{
    font-size:3rem;
    color:var(--primary);
    margin-bottom:20px;
}

/* STATISTIK */

.stats{
    background:var(--primary);
    color:white;

    padding:80px 0;
}

.stats-grid{
    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    text-align:center;
}

.stats h2{
    font-size:3rem;
}

/* BERITA */

.news{
    padding:100px 0;
}

.news-grid2{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:20px;
}

.news-card2{
    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.news-card2 img{
    width:100%;
    height:400px;
    object-fit:cover;
}

.news-card2 h1{
    padding:20px;
    text-align:center;
    color: #002B5C
}

.news-card2 h3{
    padding:10px;
    text-align:center;
    color: #002B5C
}

.news-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;
}

.news-card{
    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.news-card h3{
    padding:20px;
}

.cta{
    padding:120px 0 140px;
    text-align:center;
    background:#f8fafc;
}

/* FOOTER */

footer{
    background:var(--navy);

    color:white;

    padding:80px 0;
}

.footer-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:50px;
}

footer ul{
    list-style:none;
}

footer li{
    margin-bottom:10px;
}

/* WHATSAPP */
/* .whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;

    width:60px;
    height:60px;

    background:#25D366;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;

    font-size:30px;

    z-index:999;
} */

/* ANIMASI SCROLL */
.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:.8s;
}

.fade-up.show{
    opacity:1;
    transform:none;
}

/* RESPONSIVE MOBILE */

@media(max-width:768px){

.nav{
    position:absolute;
    top:80px;
    left:-100%;
    width:100%;
    background:white;
    transition:.4s;
}

.nav.active{
    left:0;
}

.nav-menu{
    flex-direction:column;
    padding:30px;
}

.hamburger{
    display:block;
}

.hero h1{
    font-size:2.2rem;
}

.stats-grid{
    grid-template-columns:1fr 1fr;
}

}

/* PROFIL */

.page-banner{
    background:linear-gradient(135deg,#003366,#0056b3);
    color:white;
    text-align:center;
    padding:160px 0 100px;
}

.page-banner h1{
    font-size:3rem;
    margin-bottom:15px;
}

.page-section{
    padding:80px 0;
}

.tabungan-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

@media(max-width:992px){
    .tabungan-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .tabungan-grid{
        grid-template-columns:1fr;
    }
}

.bg-light{
    background:#f8fafc;
}

.page-section h2{
    color:#003366;
    margin-bottom:25px;
}

.visi-misi li{
    margin-bottom:15px;
}

.legal-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.legal-card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.struktur-box{
    margin-top:30px;
    padding:40px;
    background:#f8fafc;
    border-radius:12px;
    text-align:center;
    line-height:2;
    font-weight:600;
}
/* ========================================
   FIX INDEX.HTML BPR ARTHA KANJURUHAN
======================================== */

/* HERO BUTTON */

.hero-btn{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

/* ABOUT SHORT */

.about-short{
    padding:100px 0;
    text-align:center;
    background:#ffffff;
}

.about-short p{
    max-width:900px;
    margin:auto;
    font-size:18px;
    color:#555;
}

/* REGULATION SECTION */

.regulation{
    padding:100px 0;
    background:#f8fafc;
    text-align:center;
}

.regulation h2{
    color:#003366;
    margin-bottom:20px;
}

.regulation p{
    max-width:800px;
    margin:auto;
    margin-bottom:40px;
}

.regulation-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.regulation-box div{
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.regulation-box div:hover{
    transform:translateY(-8px);
}

/* FOOTER */

footer h3,
footer h4{
    margin-bottom:20px;
}

footer p,
footer li{
    color:#d9d9d9;
}

footer a{
    color:#d9d9d9;
    text-decoration:none;
}

footer a:hover{
    color:white;
}

/* CTA FIX */

.cta h2{
    color:#003366;
    margin-bottom:20px;
}

.cta p{
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
}

/* PRODUCT CARD */

.card h3{
    margin-bottom:15px;
    color:#003366;
}

.card p{
    color:#666;
}

/* NEWS CARD */

.news-card{
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-10px);
}

.news-card h3{
    padding:20px;
    color:#003366;
}

/* LOGO */

.logo img{
    height:60px;
    width:auto;
    display:block;
}

/* BUTTON HUBUNGI KAMI DI HEADER */

.nav-container .btn-primary{
    padding:12px 22px;
    font-size:14px;
}

/* MOBILE */

@media(max-width:768px){

    .hero-btn{
        flex-direction:column;
        align-items:center;
    }

    .hero-btn a{
        width:220px;
        text-align:center;
    }

    .nav-container .btn-primary{
        display:none;
    }

    .regulation-box{
        grid-template-columns:1fr;
    }

    .footer-grid{
        gap:30px;
        text-align:center;
    }
}

/* TABUNGAN */

/* ==================================
   PRODUCT TABLE
================================== */

.product-table{
    width:100%;
    border-collapse:collapse;
    margin-top:30px;
    background:white;
}

.product-table th{
    background:#003366;
    color:white;
    padding:15px;
}

.product-table td{
    padding:15px;
    border:1px solid #ddd;
}

.product-table tr:nth-child(even){
    background:#f8fafc;
}

/* ==================================
   BERITA PAGE
================================== */

.news-card p{
    padding:0 20px 20px;
    color:#666;
    line-height:1.7;
}

.news-card .btn-primary{
    margin:0 20px 20px;
    display:inline-block;
}

/* ==================================
   CONTACT PAGE
================================== */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-info{
    background:#f8fafc;
    padding:35px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.contact-info h3{
    color:#003366;
    margin-bottom:20px;
}

.contact-info p{
    margin-bottom:15px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-family:'Poppins',sans-serif;
}

.contact-form textarea{
    resize:vertical;
}

.map-section{
    padding:0 0 100px;
}

.map-section iframe{
    border-radius:15px;
}

@media(max-width:768px){

    .contact-grid{
        grid-template-columns:1fr;
    }

}

/* ==================================
   ARTICLE / DETAIL BERITA
================================== */

.article{
    max-width:900px;
    margin:auto;
}

.article h2{
    color:#003366;
    margin-bottom:15px;
}

.article-date{
    color:#777;
    margin-bottom:25px;
}

.article img{
    width:100%;
    border-radius:15px;
    margin-bottom:30px;
}

.article p{
    margin-bottom:20px;
    text-align:justify;
}

@media(max-width:768px){

    .dropdown-menu{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        display:block;
        background:#f8fafc;
        margin-top:10px;
    }

    .dropdown-menu a{
        padding:10px 20px;
    }

}

.logo a{
    display:block;
    text-decoration:none;
}

.logo img{
    display:block;
}

/* ==================================
   404 PAGE
================================== */

.error-page{
    text-align:center;
    max-width:700px;
    margin:auto;
}

.error-page h2{
    color:#003366;
    margin-bottom:20px;
}

.error-page p{
    color:#666;
    margin-bottom:30px;
}

.page-banner h1{
    font-size:4rem;
}

/* ==================================================
   PAGINATION BERITA
================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    text-decoration: none;

    background: #f4f4f4;

    color: #333;

    transition: 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #0066cc;
    color: #fff;
}

/* =========================
   SEARCH BERITA
========================= */

.search-news{
    width:100%;
    padding:12px;
    margin-bottom:25px;
}

/* =========================
   PAGINATION
========================= */

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
}

.pagination button{
    padding:10px 15px;
    border:none;
    cursor:pointer;
}

.pagination button:hover{
    opacity:.8;
}

/* =========================
   KATEGORI
========================= */

.kategori{
    font-size:12px;
    font-weight:600;
    color:#0066cc;
}

/* ==========================================
   DETAIL BERITA
========================================== */

.detail-news{
    max-width: 900px;
    margin: 0 auto;
}

.detail-news-image{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 25px;
}

.detail-news h1{
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.detail-news .tanggal{
    color: #777;
    margin-bottom: 20px;
}

.detail-news-content{
    line-height: 1.9;
    font-size: 16px;
}

.detail-news-content p{
    margin-bottom: 18px;
}

.detail-news-content img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.detail-news-content table{
    width: 100%;
    overflow-x: auto;
    display: block;
}

.detail-news-content iframe{
    max-width: 100%;
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width:768px){

    .detail-news{

        padding: 0 15px;

    }

    .detail-news h1{

        font-size: 26px;

    }

    .detail-news-content{

        font-size: 15px;
        line-height: 1.8;

    }

}

/* =========================
   DETAIL ASET
========================== */

.detail-aset{
    max-width:900px;
    margin:auto;
}

.detail-aset-image{
    width:100%;
    border-radius:12px;
    margin-bottom:25px;
}

.detail-aset-content h1{
    margin-bottom:15px;
}

.harga-aset{
    color:#002B5C;
    margin-bottom:20px;
}

.detail-aset-content p{
    margin-bottom:10px;
    line-height:1.8;
}

/* =========================
   MOBILE
========================== */

@media(max-width:768px){

    .detail-aset{
        padding:0 15px;
    }

    .detail-aset-content h1{
        font-size:28px;
    }

}

/* =========================
   INFO JUAL BELI
========================== */

.search-news{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
}

.pagination button{
    padding:10px 15px;
    border:none;
    cursor:pointer;
}

.pagination button:hover{
    opacity:.8;
}

/* ==========================================
   DETAIL ASET
========================================== */

.detail-aset{
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
}

.detail-aset-image{
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-bottom: 30px;
}

.detail-aset-content{
    line-height: 1.8;
}

.detail-aset-content h2{
    font-size: 36px;
    margin-bottom: 15px;
    color: #002B5C;
}

.harga-aset{
    font-size: 30px;
    color: #0a7c3b;
    margin-bottom: 20px;
}

.detail-aset-content p{
    margin-bottom: 12px;
}

.detail-aset-content hr{
    margin: 25px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* ==========================================
   INFO ASET
========================================== */

.info-aset{
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.info-aset p{
    margin-bottom: 10px;
}

/* ==========================================
   TOMBOL
========================================== */

.detail-aset .btn-primary,
.detail-aset .btn-secondary{
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
}

.btn-secondary{
    background: #f0f0f0;
    color: #333;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px){

    .detail-aset{
        padding: 0 15px;
    }

    .detail-aset-content h2{
        font-size: 28px;
        line-height: 1.4;
    }

    .harga-aset{
        font-size: 24px;
    }

    .detail-aset-content{
        font-size: 15px;
    }

    .info-aset{
        padding: 15px;
    }

    .detail-aset .btn-primary,
    .detail-aset .btn-secondary{

        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;

    }

}

/* ==========================================
   EXTRA SMALL DEVICE
========================================== */

@media (max-width: 480px){

    .detail-aset-content h2{
        font-size: 24px;
    }

    .harga-aset{
        font-size: 20px;
    }

}

.status-tersedia{
    display:inline-block;
    background:#e8f7ec;
    color:#198754;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.status-terjual{
    display:inline-block;
    background:#fdeaea;
    color:#dc3545;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

/* ==========================================
   KONTAK
========================================== */

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.contact-card,
.office-card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.office-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.map-container{

    overflow:hidden;
    border-radius:12px;
}

.contact-form{
    max-width:700px;
    margin:auto;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-family:inherit;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

    .contact-grid,
    .office-grid{
        grid-template-columns:1fr;
    }

}

/* ==========================================
   FLOATING SOCIAL MEDIA ICON
========================================== */

.floating-social{
    position:fixed;
    right:20px;
    bottom:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
    z-index:9999;
}

.social-icon{
    width:55px;
    height:55px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    transition:.3s;
}

.social-icon:hover{
    transform:translateY(-3px);
}

.social-icon img{
    width:30px;
    height:30px;
    object-fit:contain;
}

/* MOBILE */

@media(max-width:768px){

    .floating-social{
        right:15px;
        bottom:15px;
    }

    .social-icon{
        width:50px;
        height:50px;
    }

    .social-icon img{
        width:26px;
        height:26px;
    }

}