:root {
    --primary-blue: #005E86;
    --secondary-blue: #0A1C43;
    --accent-yellow: #F8C300;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}
/* Navbar */
.navbar {
    background: var(--secondary-blue) !important;
}
.navbar .nav-link,
.navbar-brand {
    color: white !important;
}
.navbar .nav-link:hover {
    color: var(--accent-yellow) !important;
}
/* Hero Section */
.hero-content p.fw-bold {
    color: var(--accent-yellow);
}
.hero-content h1 {
    color: #fff;
}
.hero-overlay {
    background: rgba(0, 23, 43, 0.55); /* secondary-blue transparent */
}
/* Section Title */
.section-title {
    color: var(--primary-blue);
    font-weight: bold;
}
/* About Section Image Shadow */
/* .logo-card img {
    border: 4px solid var(--primary-blue);
} */
/* Visi Misi */
#visi {

    background-size: contain; /* agar motif tidak terlalu besar */
    position: relative;
    overflow: hidden;
}
#visi::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgb(255, 255, 255),rgba(255, 255, 255, 0.933), rgba(255,255,255,0.85),rgba(255, 255, 255, 0));
    /* backdrop-filter: blur(3px); */
    z-index: 0;
}
#visi h2, h4 {
    color: var(--primary-blue) !important;
}
#visi ul li::marker {
    color: var(--accent-yellow);
}
#visi .card:hover {
    box-shadow: 0 10px 25px rgba(0, 94, 134, 0.25);
}
/* Pengurus */
.pengurus-info h5 {
    color: var(--accent-yellow);
}
.pengurus-info p {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}
/* Our Service */
#service h2, h5 {
    color: var(--primary-blue);
}
#service .btn.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}
#service .btn.btn-primary:hover {
    background: var(--secondary-blue);
}

/* Contact Info */
#contactInfo {
    background: var(--secondary-blue) !important;
}
#contactInfo h4,
#contactInfo h5 {
    color: var(--accent-yellow);
}
.social-circle {
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    color: #fff;
    text-decoration: none;
}
.social-circle:hover {
    background: #F8C300;
    border-color: #F8C300;
    color: #000; /* warna ikon */
    transform: scale(1.07);
}
/* Footer */
.footer {
    background: var(--primary-blue) !important;
    color: white;
}
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    color: white;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}
.hero-content {
    /* text-align: left !important; */
    max-width: 800px;
    margin-left: 5%;
    z-index: 3;
    /* position: relative; */
}
/* Visi Misi */
#visi .card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#visi .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
#visi .bg-icon {
    font-size: 8rem;
    color: rgba(27, 48, 85, 0.08); /* biru gelap transparan */
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 1;
    pointer-events: none;
}
#visi h4 {
    color: var(--secondary-blue);
}
#visi ul li::marker {
    color: #f1c40f;
}
/* END VISI MISI */
/* Section Title */
.section-title {
    margin-bottom: 40px;
    text-align: center;
}
/* Pengurus */
.team-img {
    width: 100%;
    border-radius: 12px;
}
/* Footer */
.footer {
    background: #06264b;
    color: white;
    padding: 30px 0;
}
/* ANIMASI GATE LEFT & RIGHT */
.gate-left {
    opacity: 1;
    transform: translateX(-300px);
    transition: all 1.5s ease-out;
}
.gate-right {
    opacity: 1;
    transform: translateX(300px);
    transition: all 1.5s ease-out;
}
.gate-left.show {
    opacity: 1;
    transform: translateX(90px); /* dari jauh kiri masuk ke tengah */
}
.gate-right.show {
    opacity: 1;
    transform: translateX(-90px); /* dari jauh kanan masuk ke tengah */
}
/* Fade Up Animation */
.fade-title, .fade-card {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease-out;
}
.fade-title.show, .fade-card.show {
    opacity: 1;
    transform: translateY(0);
}
/* Pengurus Styles */
.pengurus-card {
    position: relative;
    width: 363px;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}
.pengurus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pengurus-info {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: white;
    z-index: 3;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}
.pengurus-card:hover .overlay {
    opacity: 1;
}
/* Fade From Bottom Sequential */
.fade-pengurus {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.9s ease-out;
}
.fade-pengurus.show {
    opacity: 1;
    transform: translateY(0);
}
#serviceViewport {
    overflow: hidden;
}
#serviceTrack {
    transition: transform 400ms cubic-bezier(.22,.9,.32,1);
}
.service-card {
    width: calc((100% - 2rem) / 3); /* show 3 items with 1rem gap (gap:1rem) */
    min-width: calc((100% - 2rem) / 3);
    box-sizing: border-box;
}
#serviceTrack {
    gap: 1rem;
}
.service-img-wrapper {
    overflow: hidden;
    height: 220px;
    border-radius: 12px;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img {
    transform: scale(1.08);
}
.btn[disabled] {
    opacity: 0.45;
    pointer-events: none;
}
/* Partner */
.partner-wrapper {
    width: 100%;
    overflow: hidden;
}
.partner-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
}
.partner-item {
    width: 154px;
    height: 152px;
    object-fit: cover;
}
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
@media (max-width: 900px) {
    .service-card { width: 80%; min-width: 80%; }
}
@media (max-width: 991px) {
    /* Navbar */
    .navbar-brand img {
        height: 60px;
    }
    /* Hero */
    .hero {
        height: auto;
        padding: 120px 20px 80px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
        text-align: center !important;
    }
    /* ABOUT Section */
    #about .row {
        margin: 0 !important;
    }
    #about img {
        width: 80% !important;
        margin: 0 auto;
    }
    /* Visi Misi */
    #visi .card {
        margin-bottom: 20px;
    }
    /* Pengurus */
    .pengurus-card {
        width: 100% !important;
        height: auto;
    }
    .pengurus-img {
        height: 350px;
    }
    /* Service Carousel - tampil 1 item */
    .service-card {
        width: 90% !important;
        min-width: 90% !important;
        margin: 0 auto;
    }
}
/* ================================
RESPONSIVE LAYAR KECIL
================================ */
@media (max-width: 576px) {
    /* ===== HERO ===== */
    .hero {
        height: 100vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-content {
        margin: 0 auto !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    .hero h1 {
        font-size: 1.7rem !important;
        line-height: 1.3;
    }
    .hero p, .hero h5 {
        font-size: 1rem !important;
    }
    /* ===== ABOUT ===== */
    #about img {
        width: 100% !important;
        height: auto !important;
    }
    /* #about .gate-left,
    #about .gate-right {
        transform: none !important;
        opacity: 1 !important;
    } */
    /* ===== VISI MISI ===== */
    #visi .card {
        margin-bottom: 20px;
    }
    #visi .bg-icon {
        font-size: 3.5rem !important;
        right: 5px;
        bottom: 5px;
    }
    /* ===== PENGURUS ===== */
    .pengurus-card {
        width: 100% !important;
        height: auto !important;
    }
    .pengurus-img {
        width: 100% !important;
        height: 260px !important;
        object-fit: cover;
    }
    .pengurus-info h5 {
        font-size: 1rem;
    }
    /* ===== SERVICE (carousel) ===== */
    .service-card {
        width: 100% !important;
        min-width: 100% !important;
    }
    /* ===== PARTNER SLIDER ===== */
    .partner-item {
        width: 110px !important;
        height: 110px !important;
        object-fit: contain !important;
    }
    /* ===== CONTAINER ===== */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .gate-left {
        transform: translateX(-80px); /* lebih kecil agar tidak keluar layar */
    }
    .gate-right {
        transform: translateX(80px);
    }

    .gate-left.show,
    .gate-right.show {
        transform: translateX(0); /* masuk normal */
    }
}

p,a,i {
    font-family: 'Montserrat', sans-serif;
}
h1,h2,h3,h4,h5{
    font-family: 'Cinzel', serif;
}
.btn-gold {
    background: linear-gradient(135deg, #f8d348, #e6b400);
    padding: 12px 32px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: 0.3s;
    color: #0A1C43;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffe27c, #f2c94c);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}
    .swal2-container {
        z-index: 9999999 !important;
    }
