/* ===== COMPANY PROFILE MODULE ===== */
html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;   /* Hilangkan scroll horizontal */
    overflow-y: auto;     /* Tetap bisa scroll normal */
}

::-webkit-scrollbar {
    display: none;
}


.section-compro {
    min-height: 100vh;   /* ini kuncinya */
    width: 100%;

    background: url("gambar-2.jpg") no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#company-profile-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
    color: whitesmoke;
    
}

.company-logo {
    text-align: center;
    margin-bottom: 30px;
    background: transparent;
}

.company-logo img {
    width: 340px;
    height: 300px;
    border-radius: 12px;
    
}

.company-info-section h2 {
    font-size: 2.5rem;
    color: rgba(2, 65, 148, 0.808);
    color: yellow;
}


.company-info-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: whitesmoke;
        
}

.legality,
.thankyou_bro,
.org-structure,
.shareholders,
.compro-gallery {
    margin-bottom: 20px;
    text-align: center;
    color: whitesmoke;
}

.thankyou_2 img,
.compro-gallery img,
.company-kppj img,
.company-legality img,
.legality img,
.org-image img,
.shareholders-images img,
.compro-gallery .gallery img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);  
}

.thankyou_bro{
    text-align: center;
    font-size: 1.5rem;
}

/* Shareholders images wrapper */
.shareholders-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Gallery */
.compro-gallery .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    flex-direction: column;
    
}

/* Responsive */
@media (max-width: 768px) {
    .shareholders-images {
        flex-direction: column;
    }
    .compro-gallery .gallery {
        flex-direction: column;
        
    }
}

/* TOMBOL BACK TO WEBSITE DARI COMPRO */
.compro-back {
    position: fixed;
    top: 20px;
    left: 5px;
    z-index: 9999;
}


.btn-back {
    display: inline-block;
    padding: 10px 18px;
    background: rgb(245, 245, 42);
    /* background: #1e7f3b; */
    color: red;
    /* color: #fff; */
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.699);
}

.btn-back:hover {
    background: #f70808;
    color: blue;
}


/* ========================= */
/* 🎬 VIDEO MODULE FINAL */
/* ========================= */

/* TOMBOL VIDEO */
.compro-video-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;

    transform: scale(0.95);
    transition: transform 0.1s ease;
    transition: background 0.5s ease;
}

.btn-video {
    margin-top: -1px;
    margin-right: -18px;
    
    padding: 12px 18px;
    background: rgb(131, 4, 131);
    color: whitesmoke;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 130px;

    transform: scale(0.95);
    transition: transform 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.699);
}

.btn-video:hover {
    font-weight: bolder;
    background: blue;
    color: rgb(248, 85, 85);
    transform: scale(0.95);
    transition: transform 0.5s ease;
}


/* ========================= */
/* POPUP VIDEO FULLSCREEN */
/* ========================= */
.video-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;

    /* display: flex; */
    justify-content: center;
    align-items: center;
    flex-direction: column;

    padding: 15px;
    overflow-y: auto;

    /* pointer-events: none; */
}

/* AKTIF */
.video-menu.active {
    display: flex;
    /* pointer-events: auto; */
}

/* ========================= */
/* TITLE */
/* ========================= */
.video-menu h3 {
    color: yellow;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    font-style: italic;
}

/* ========================= */
/* LIST VIDEO */
/* ========================= */
.video-menu ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* 🔥 penting biar responsif */
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-bottom: 20px;
    margin-left: -20px;
}

.video-menu li {
    list-style: none;
    background-color: rgb(223, 5, 223);
    padding: 10px 16px;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-style: italic;
    text-align: center;

    min-width: 150px; /* 🔥 biar konsisten PC */
}

.video-menu li:hover {
    background: aqua;
    color: black;
    font-style: normal;
    /* font-weight: bold; */
}

/* ========================= */
/* CARD VIDEO (SUPER CENTER FIX) */
/* ========================= */
.video-card {
    width: 100%;
    max-width: 700px;   /* 🔥 FIX ukuran PC */

    margin: 0 auto;

    background: linear-gradient(135deg,
        rgba(255,255,255,0.6),
        rgba(255,0,0,0.5),
        rgba(0,128,0,0.5),
        rgba(0,0,255,0.5),
        rgba(0,0,0,0.5)
    );

    padding: 15px;
    border-radius: 15px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.6);

    display: flex;
    justify-content: center;
    align-items: center;
}

/* VIDEO */
.video-card video {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    background: black;
}

/* ========================= */
/* CLOSE BUTTON */
/* ========================= */
.close-video {
    position: fixed;
    top: 20px;
    right: 30px;

    font-size: 18px;
    background: red;
    color: white;
    border: none;

    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 999999;
}

/* ========================= */
/* 📱 MOBILE RESPONSIVE FINAL */
/* ========================= */
@media (max-width: 768px) {

    /* LIST JADI VERTIKAL */
    .video-menu ul {
        /* flex-direction: column; /* 🔥 ini kunci HP */
        align-items: center;
        left: -25px;
    }

    .video-menu li {
        margin-left: -5px;
        list-style: none;
        width: 25%;
        min-width: unset; /* 🔥 reset dari PC */
        font-size: 0.8rem;
        padding: 10px;
    }

    /* CARD */
    .video-card {
        margin-left: -15px;
        width: 97%;
        max-width: 100%;
        padding: 10px;

        transform: scale(0.95);
        transition: transform 0.1s ease;
        transition: background 0.5s ease;
    }



    /* VIDEO */
    .video-card video {
        max-height: 45vh;
    }

    /* CLOSE */
    .close-video {
        top: 15px;
        right: 15px;
        font-size: 16px;
    }
}
