.logo-custom {
    width: 3%;
    /* Atur lebar sesuai keinginan */
    height: auto;
    /* Menjaga rasio agar tidak gepeng */
    object-fit: contain;
    /* Memastikan gambar tidak terpotong */
}

.logo-wrapper {
    display: flex;
    /* Membuat isi berjejer ke samping */
    align-items: center;
    /* Membuat tulisan rata tengah secara vertikal dengan logo */
    gap: 15px;
    /* Memberi jarak antara logo dan tulisan */
    /* Mencegah tulisan turun ke bawah/menumpuk */
    white-space: nowrap;
    /* Memastikan kontainer bisa meluas mengikuti panjang tulisan */
    width: max-content;
    /* Opsional: Jika ingin memberi batas maksimal agar tidak menabrak menu lain */
    max-width: 30px;
}

.logo-text {
    font-size: 26px;
    /* Ukuran tulisan */
    font-weight: bold;
    /* Ketebalan tulisan */
    color: #ffffff;
    /* Warna tulisan (sesuaikan dengan tema) */
    /* Tambahkan ini pada class tulisan Anda agar teks tidak terpotong */
    display: inline-block;
    flex-shrink: 0;
    /* Mencegah tulisan "tercekik" saat ruang sempit */
}

/* Tambahan agar gambar logo tidak terlalu besar */
.logo-wrapper img {
    height: 100px;
    /* Sesuaikan tinggi logo agar pas dengan tulisan */
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Jarak dipersempit sedikit untuk layar kecil */
    white-space: nowrap;
    overflow: hidden;
    /* Mencegah elemen keluar jalur */
}

/* Untuk layar HP (di bawah 768px) */
@media (max-width: 768px) {
    .logo-wrapper {
        /* Membatasi lebar agar tidak menabrak tombol menu di kanan */
        max-width: 70%;
        gap: 8px;
    }

    .logo-wrapper img {
        /* Kecilkan logo sedikit agar hemat ruang */
        height: 50px !important;
        width: auto;
    }

    .logo-text {
        /* Kecilkan ukuran font di HP */
        font-size: 20px;
        /* Jika tulisan kepanjangan, akan jadi titik-titik (...) daripada menabrak menu */
        text-overflow: ellipsis;
        overflow: hidden;
        flex-shrink: 0;
        /* Izinkan teks mengalah jika ruang sangat sempit */
    }
}

/* 1. Background Section About */
#about {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

/* Overlay agar teks tetap terbaca jelas jika background terlalu terang/kontras */
#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.850);
    /* Sesuaikan angka 0.8 untuk tingkat transparansi */
    z-index: -1;
}

/* 2. Styling Logo dan Efek Glow */
.logo-glow-wrapper {
    position: relative;
    display: inline-block;
    padding: 15px;
    margin-left: 70px;
    /* Menggeser logo ke kanan */
    transition: all 0.4s ease;
}

.custom-logo {
    max-width: 100%;
    height: auto;
    /* Efek Glow: Warna #f39c12 biasanya menyesuaikan warna emas/kuning bawaan template Armado */
    filter: drop-shadow(0 0 20px rgba(243, 157, 18, 0.8));
    animation: pulseGlow 3s infinite alternate;
}

/* Animasi cahaya berdenyut (Glow) */
@keyframes pulseGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.5));
    }

    to {
        filter: drop-shadow(0 0 35px rgba(243, 156, 18, 0.9));
    }
}

/* 3. Penyesuaian Mobile */
@media (max-width: 991px) {
    .logo-glow-wrapper {
        margin-left: 0;
        /* Kembalikan ke tengah jika di mobile */
        display: block;
        text-align: center;
    }

    #about {
        background-attachment: scroll;
        /* Mencegah lag pada browser mobile */
    }
}




/* ==========================================================================
   KADIS DARI MASA STYLE (FINALIZE)
   ========================================================================== */
.section-kadis-custom {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1;
}

/* Overlay Gelap */
.section-kadis-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 0;
}

.section-kadis-custom .container {
    position: relative;
    z-index: 1;
}

/* Teks Putih agar kontras dengan overlay gelap */
.kadis-rank-text,
.kadis-name-text,
.kadis-quote-box,
.about-description {
    color: #ffffff !important;
}

.kadis-rank-text {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
}

.kadis-name-text {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
}

.kadis-quote-box {
    font-style: italic;
    border-left: 4px solid #f39c12;
    padding-left: 20px;
    margin-bottom: 25px;
}

/* --- PENGATURAN GAMBAR DESKTOP --- */
.about-thumb-3-1 img {
    position: relative;
    left: 50px;
    /* Geser kanan di desktop */
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    border-radius: 10px;
}

/* --- PERBAIKAN FOTO DESKTOP --- */
.kadis-desktop-column .about-thumb-3-1 {
    position: relative;
    max-width: 700px;
    /* Batasi lebar maksimal foto di layar besar */
    margin-left: 30px;
    z-index: 2;
    margin-bottom: 60px;
    /* Beri jarak bawah agar tidak terlalu mepet dengan teks di bawahnya */
}

.kadis-desktop-column .about-thumb-3-1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    /* Pastikan tidak ada posisi absolute yang membuatnya melayang liar */
    position: relative !important;
    left: 50 !important;
}

/* Efek Halus untuk Elemen Kadis */
.kadis-desktop-column,
.about-content-wrapper-3,
.kadis-mobile-img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s ease;
}

/* Animasi Khusus Gambar agar ada efek 'Floating' sedikit */
.about-thumb-3-1 img {
    animation: fadeInUpCustom 1.2s ease-out;
}

@keyframes fadeInUpCustom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LOGIKA RESPONSIVE (MOBILE & TABLET) --- */
/* Sembunyikan elemen mobile saat di desktop */
@media (min-width: 1200px) {
    .kadis-mobile-img {
        display: none !important;
    }

    /* Memberi jarak aman antara kolom foto dan kolom teks */
    .kadis-desktop-column {
        padding-right: 50px;
    }

    .col-xl-7 {
        padding-left: 30px;
    }
}

/* Pengaturan Layar di bawah 1200px (Termasuk HP) */
@media (max-width: 1199px) {

    /* Sembunyikan kolom foto samping asli */
    .kadis-desktop-column {
        display: none !important;
    }

    /* Paksa container teks jadi urutan ke bawah */
    .about-content-wrapper-3 {
        display: flex;
        flex-direction: column;
    }

    /* Gambar Mobile di Tengah */
    .kadis-mobile-img {
        display: block !important;
        order: 2;
        /* Berada di bawah judul (order 1 ada di HTML) */
        margin: 25px auto;
        text-align: center;
        width: 100%;
    }

    .kadis-mobile-img img {
        max-width: 70%;
        height: auto;
        left: 0 !important;
        /* Reset geseran desktop */
        position: static !important;
        /* Agar tidak menimpa teks */
    }

    /* Judul di atas */
    .bd-section-title-wrapper {
        order: 1;
    }

    /* Quote & Deskripsi di bawah gambar */
    .about-sp,
    .about-description {
        order: 3;
    }
}




/* ==========================================================================
   KADIS DARI MASA STYLE
   ========================================================================== */
   
.team-thumb {
    position: relative;
    width: 100%;
    /* Rasio 389:444 dari ViewBox SVG Anda */
    aspect-ratio: 400 / 600; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: visible !important; 
}

.thumb-bg-svg {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.thumb-bg-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.img-kadis-final {
    width: 85% !important;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    z-index: 2;
    transform: translateY(-30px);
}

.team-content {
    z-index: 3;
     width: 70% !important;
    height: 30%;
}


#kadis_lalu {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#kadis_lalu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.850);
    z-index: -1;
}






/* ==========================================================================
   PERSONNELS STYLE (FINALIZE)
   ========================================================================== */

/* Styling Gambar & Bingkai */
.img-personel {
    position: absolute;
    width: 90%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: all 0.4s ease;
    background-color: rgba(87, 87, 87, 1); 
    padding: 15px;
    position: relative;
    z-index: 1;
}

/* Mengubah Warna Bingkai saat Hover */
.team-costom:hover .img-personel {
    transform: scale(1.05); /* Sedikit zoom agar lebih atraktif */
}

/* Styling Judul (Teks) sebagai Overlay */
.team-titles {
    position: absolute;
    bottom: 7%; /* Mengunci posisi 10% dari bawah container */
    left: 5%;   /* Ke tengah secara horizontal */
    width: 80%;
    height: 30%;
    background: rgba(0, 0, 0, 0.7); /* Background hitam transparan saat hover */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateX(-50%) translateY(20px);
    padding: 20px;
    z-index: 10;
    
    /* Efek Sembunyi Awal */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

/* Menampilkan Teks saat Hover */
.team-costom:hover .team-titles {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Warna teks agar terbaca jelas di atas overlay */
.team-titles h4 a, 
.team-titles .member-designation, 
.team-titles .nrp-text {
    color: #ffffff !important;
}

#team {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

#team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: -1;
}



/* ==========================================================================
   ACTIVITY GALLERY STYLE (FINALIZE)
   ========================================================================== */

/* Menyeragamkan ukuran gambar agar grid tetap presisi */
.operations-area .gallery-thumb img {
    width: 100% !important;
    height: 250px !important;
    /* Tinggi seragam untuk estetika profesional */
    object-fit: cover !important;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

/* Efek Zoom saat Hover pada Gambar */
.operations-area .gallery-single:hover .gallery-thumb img {
    transform: scale(1.1);
}

/* Container utama untuk menjaga overflow */
.operations-area .gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Container Overlay */
.operations-area .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    display: flex;
    /* Gunakan flexbox */
    align-items: flex-end;
    /* Posisi di bawah */
    justify-content: space-between;
    /* Judul kiri, tombol kanan */
    padding: 20px;
    transition: all 0.3s ease-in-out;
    z-index: 5;

}

.gallery-overlay .gallery-content-info {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

.gallery-overlay .gallery-content-info h5 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.operations-area .gallery-single:hover .gallery-overlay {
    opacity: 1;
}

/* Bagian Tombol Action */
.operations-area .gallery-thumb-action {
    z-index: 10;
    /* Pastikan paling atas */
    display: flex;
}

.action-plus-btn {
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.action-plus-btn:hover {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* --- STYLE JOB OPPORTUNITIES --- */
#jops {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
    z-index: 1;
}

/* Membuat overlay agar tulisan terbaca (Putih Transparan) */
#jops::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Atur transparansi di sini */
    z-index: -1;
}

.grid-item.hidden {
    display: none !important;
}

.location-map-footer iframe {
    width: 100% !important;
    /* Memaksa peta memenuhi lebar kontainer */
    height: 200px;
    /* Anda bisa sesuaikan tingginya di sini */
    border-radius: 10px;
    /* Opsional: agar sudutnya melengkung */
}

/*load more style*/
.load-more-btn {
    color: #183d64;
}

/*footer bg style*/
#footer {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}


/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */
.location-map-footer {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.location-map-footer iframe{
    width : 100%;
    height: 260px;
    border:0;
    filter: grayscale(50%) invert(90%) contrast(90%); 
}


/* Kita paksa kotak putihnya mengikuti lebar kolom di layar besar */
@media (min-width: 1200px) {
    .contact-meta-wrapper .meta-item.contact-meta {
        width: 100% !important;     /* Paksa lebar 100% dari kolom bootstrap */
        max-width: 100% !important; /* Hapus batasan lebar maksimal (misal 300px) */
        min-width: 0 !important;    /* Biarkan fleksibel */
        padding: 20px 10px !important; /* Sesuaikan padding agar tidak terlalu sesak */
    }

    .contact-meta-wrapper .row {
        justify-content: center !important; /* Pastikan rata tengah */
    }
    
}

/* Pastikan container luar tidak mencekik kotak di layar super lebar */
@media (min-width: 1600px) {
    
    .contact-meta-wrapper .meta-item-content p a {
        font-size: 23px !important;
    }
    
     .contact-meta-area .container, 
    .footer-area .container {
        max-width: 1520px !important;
    }
    
}