/* =====================================
   SCROLL ANIMATION GLOBAL
===================================== */

/* DEFAULT */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-zoom {
    opacity: 0;
    transition: all 1s ease;
    will-change: transform, opacity;
}

/* DARI BAWAH */
.reveal {
    transform: translateY(80px);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* DARI KIRI */
.reveal-left {
    transform: translateX(-80px);
}

.reveal-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* DARI KANAN */
.reveal-right {
    transform: translateX(80px);
}

.reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* DARI ATAS */
.reveal-up {
    transform: translateY(-80px);
}

.reveal-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ZOOM */
.reveal-zoom {
    transform: scale(0.8);
}

.reveal-zoom.show {
    opacity: 1;
    transform: scale(1);
}
/* =========================
   GLOBAL FONT (FIX UTAMA)
========================= */
body {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 400;
    color: #222;
    overflow-x: hidden;
}

body, p, li, a, div {
    font-weight: 400 !important;
}

/* =========================
   HEADING DEFAULT
========================= */
h1, h2 {
    font-weight: 700;
}

h3, h4, h5, h6 {
    font-weight: 600;
}

/* =========================
   SECTION
========================= */
.section {
    padding: 70px 20px;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
}

.hero .carousel-item {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel {
    cursor: grab;
}

.carousel:active {
    cursor: grabbing;
}

/* =========================
   OVERLAY
========================= */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    padding: 20px;
}

.overlay-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    gap: 30px;
}

.overlay-text {
    max-width: 600px;
}

.overlay-text span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* =========================
   CARD
========================= */
.card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

/* =========================
   TEAM
========================= */
.team-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.team-scroll::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: 250px;
    flex: 0 0 auto;
    text-align: center;
}

.team-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.team-img:hover {
    transform: scale(1.05);
}

/* =========================
   CONTACT
========================= */
.contact-box {
    background: #fff;
    border-top: 3px solid #0d6efd;
    border-radius: 5px;
}

.contact-box h5 {
    font-weight: 600;
    color: #333;
}

.contact-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* =========================
   MODAL
========================= */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.modal-content-box {
    margin-top: 50px;
    color: white;
}

.image-modal img {
    width: 200px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #111;
    color: #aaa;
    padding: 25px 10px;
    text-align: center;
}

/* =========================
   SERVICE
========================= */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* =========================
   BRAND
========================= */
.logo-gif {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(
        120deg,
        #0d6efd 0%,
        #4facfe 30%,
        #ffffff 50%,
        #4facfe 70%,
        #0d6efd 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* =========================
   REVEAL ANIMATION
========================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease;
}

.reveal-left.show {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease;
}

.reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* =========================
   NAVBAR
========================= */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.85) !important;
    backdrop-filter: blur(10px);
    padding-top: 5px;
    padding-bottom: 5px;
}

/* =========================
   POPUP
========================= */
#popupContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.popup-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.popup-content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* =========================
   PARTNERS
========================= */
.partners {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: auto;
}

.partner-grid img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.partner-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overlay-content {
        flex-direction: column;
        text-align: center;
    }

    .team-img {
        width: 100%;
        height: 300px;
    }
/* Modal Glass */
.login-glass{
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 25px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);
}

/* Input */
.login-input{
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #dbe3ec;
    transition: .3s;
}

.login-input:focus{
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
}

/* Button */
.login-btn{
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: .3s;
}

.login-btn:hover{
    transform: translateY(-2px);
}

/* Popup Animation */
.modal.fade .modal-dialog{
    transform: scale(.9);
    transition: .25s ease;
}

.modal.show .modal-dialog{
    transform: scale(1);
}
}
