/* =====================================================
   GLOBAL
===================================================== */

:root{
    --navbar-height: 90px;
    --primary: #ff7a00;
    --secondary: #00bcd4;
    --dark: #081b5a;
    --light-bg: #f4f7ff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background: var(--light-bg);
    padding-top: var(--navbar-height);
    overflow-x: hidden;
    color: #222;
}

section{
    position: relative;
    z-index: 1;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}


/* =====================================================
   BUTTON
===================================================== */

.btn-orange{
    display: inline-flex;
    align-items: center;

    padding: 14px 28px;

    border-radius: 50px;

    background: linear-gradient(to right,#ff7a00,#ff9900);

    color: #fff;

    text-decoration: none;
    font-weight: 700;

    transition: .35s;

    box-shadow: 0 10px 30px rgba(255,122,0,0.25);
}

.btn-orange:hover{
    transform: translateY(-4px);
    color: #fff;
}

/* =====================================================
   HERO CAROUSEL HOME
===================================================== */

.carousel,
.carousel-inner,
.carousel-item,.hero-slide{
    position: relative;
    height: 90vh;
}

.hero-slide img{
    width:100%;
    height:90vh;
    object-fit:cover;
}

.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:absolute;
    top:50%;
    left:8%;

    transform:translateY(-50%);

    z-index:10;

    text-align:left;

    max-width:700px;
}

.hero-content h1{
    font-size:60px;
    font-weight:700;
    color:#ffffff;
    text-shadow:0 4px 20px rgba(0,0,0,.5);
    margin-bottom:20px;
    text-align:left;
}

.hero-content p{
    font-size:20px;
    line-height:1.8;
    color:rgba(255,255,255,.9);
    text-shadow:0 2px 10px rgba(0,0,0,.4);
    text-align:left;
}

.btn-orange{
    background:#ff9800;
    color:#fff;
    border:none;
    padding:12px 28px;
    border-radius:50px;
    font-weight:600;
}

.btn-orange:hover{
    background:#e68900;
    color:#fff;
}



/* ARROW */

.carousel-control-prev,
.carousel-control-next{
    width: 60px;
    height: 60px;

    top: 50%;
    transform: translateY(-50%);

    background: rgba(0,0,0,0.35);

    border-radius: 50%;

    transition: .3s;
}

.carousel-control-prev{
    left: 20px;
}

.carousel-control-next{
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover{
    background: rgba(255,122,0,0.9);
}

/* =====================================================
   SECTION TITLE
===================================================== */

.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 44px;
    font-weight: 800;
    color: var(--secondary);
}

.section-title p{
    margin-top: 10px;
    color: #666;
    font-size: 17px;
}

/* =====================================================
   CARD
===================================================== */

.card-box,
.news-card,
.journal-card,
.gallery-card{
    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: .35s;
}

.card-box:hover,
.news-card:hover,
.journal-card:hover,
.gallery-card:hover{
    transform: translateY(-8px);
}

/* =====================================================
   ABOUT
===================================================== */

.about-section,
.vision-section,
.visi-misi{
    padding: 90px 0;
}

.about-text{
    color: #444;
    line-height: 1.9;
}

/* =====================================================
   STRUKTUR ORGANISASI
===================================================== */

.tree-wrapper{
    display: flex;
    justify-content: center;
}

.tree,
.tree ul{
    padding-top: 20px;
    position: relative;
}

.tree li{
    list-style: none;
    text-align: center;
    padding: 20px 10px 0;
    position: relative;
}

.tree li::before,
.tree li::after{
    content: '';

    position: absolute;
    top: 0;

    width: 50%;
    height: 20px;

    border-top: 2px solid #bbb;
}

.tree li::before{
    right: 50%;
}

.tree li::after{
    left: 50%;
    border-left: 2px solid #bbb;
}

.tree li:only-child::before,
.tree li:only-child::after{
    display: none;
}

.tree ul ul::before{
    content: '';

    position: absolute;

    top: 0;
    left: 50%;

    height: 20px;

    border-left: 2px solid #bbb;
}

.node{
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    min-width: 170px;

    padding: 14px 18px;

    background: #fff;

    border-radius: 14px;

    font-weight: 600;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);

    transition: .3s;
}

.node.root{
    background: linear-gradient(135deg,#0d6efd,#00bcd4);
    color: #fff;
}

.node:hover{
    transform: translateY(-5px);
}

/* =====================================================
   FOOTER
===================================================== */

.footer{
    background: linear-gradient(135deg,#081b5a,#0d2c8d);

    color: #fff;

    padding: 70px 0 25px;

    margin-top: 80px;

    position: relative;

    overflow: hidden;
}

.footer::before{
    content: '';

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    top: -140px;
    right: -120px;

    background: rgba(255,255,255,0.04);
}

.footer-brand{
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 20px;
}

.footer-logo{
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.footer-small{
    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}

.footer-brand-text h4{
    font-size: 17px;
    font-weight: 800;
}

.footer-desc{
    color: #ddd;
    line-height: 1.8;
}

.footer-title{
    font-size: 22px;
    font-weight: 700;

    margin-bottom: 20px;
}

.footer-links,
.footer-contact{
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li{
    margin-bottom: 12px;
    color: #ececec;
}

.footer-contact i{
    color: var(--primary);
    margin-right: 10px;
}

.footer-bottom{
    width: 100%;
    text-align: center;

    margin-top: 35px;
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p{
    margin: 0;

    color: rgba(255,255,255,0.78);

    font-size: 14px;
}

/* =====================================================
   HALAMAN KEGIATAN
===================================================== */

.kegiatan-hero{
    min-height: 85vh;

    display: flex;
    align-items: center;

    padding: 120px 0 100px;

    background:
        linear-gradient(
            rgba(10,20,40,0.78),
            rgba(10,20,40,0.78)
        ),
        url('../images/slide1.jpg');

    background-size: cover;
    background-position: center;

    position: relative;
}

.kegiatan-content{
    max-width: 760px;

    color: white;

    position: relative;

    z-index: 2;
}

.kegiatan-badge{
    display: inline-block;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    padding: 10px 20px;

    border-radius: 50px;

    font-size: 14px;

    margin-bottom: 25px;
}

.kegiatan-content h1{
    font-size: 64px;

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 25px;
}

.kegiatan-content p{
    font-size: 18px;

    line-height: 1.9;

    color: rgba(255,255,255,0.88);

    margin-bottom: 35px;
}

.btn-kegiatan{
    display: inline-block;

    padding: 16px 35px;

    background: linear-gradient(135deg,#ff8c00,#ffb347);

    color: white;

    text-decoration: none;

    border-radius: 50px;

    font-weight: 600;

    transition: .4s;

    box-shadow: 0 10px 25px rgba(255,140,0,0.3);
}

.btn-kegiatan:hover{
    transform: translateY(-5px);
    color: #fff;
}

/* SECTION */

.section-kegiatan{
    padding: 100px 0;
}

/* GRID */


.kegiatan-grid{
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(340px, 1fr));

    gap: 30px;

    align-items: stretch;
}

/* CARD */


.kegiatan-card{
    background: #fff;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

    transition: 0.35s ease;

    height: 100%;

    display: flex;

    flex-direction: column;
}


.kegiatan-card:hover{
    transform: translateY(-8px);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.12);
}


/* IMAGE */

.card-image{
    position: relative;

    width: 100%;

    height: 240px;

    overflow: hidden;

    background: #f4f6fb;
}

.card-image img{
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.kegiatan-card:hover .card-image img{
    transform: scale(1.08);
}

/* BADGE */

.card-badge{
    position: absolute;

    top: 18px;

    left: 18px;

    background: linear-gradient(135deg,#00b4db,#0083b0);

    color: #fff;

    padding: 8px 18px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(0,0,0,0.15);
}
/* CONTENT */

.card-content{
    padding: 30px;

    display: flex;

    flex-direction: column;

    flex: 1;
}

.card-content h3{
    font-size: 30px;

    font-weight: 700;

    line-height: 1.35;

    margin-bottom: 18px;

    color: #0b132b;
}

.card-content p{
    color: #5b6475;

    line-height: 1.9;

    font-size: 16px;

    margin-bottom: 25px;
}

/* BUTTON */

.btn-detail{
    display: inline-block;

    padding: 12px 25px;

    border-radius: 50px;

    background: #f1f5f9;

    color: #0f172a;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-detail:hover{
    background:
        linear-gradient(
            135deg,
            #ff8c00,
            #ffb347
        );

    color: white;
}

/* =========================================
INFO
========================================= */

.kegiatan-info{
    margin-top: auto;
}

.info-item{
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: #667085;

    font-size: 15px;
}

.info-item i{
    color: #f59e0b;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:768px){

    .card-content{
        padding: 24px;
    }

    .card-content h3{
        font-size: 24px;
    }

    .card-image{
        height: 220px;
    }

}

/* =====================================================
   KEGIATAN PAGE
===================================================== */

.kegiatan-hero{
    min-height: 85vh;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(8,15,30,0.75),
            rgba(8,15,30,0.75)
        ),
        url('../images/slide1.jpg');

    background-size: cover;
    background-position: center;

    padding: 120px 0 100px;
}

.kegiatan-content{
    max-width: 760px;
    color: white;
}

.kegiatan-badge{
    display: inline-block;

    padding: 10px 20px;

    border-radius: 50px;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    margin-bottom: 25px;

    font-size: 14px;
}

.kegiatan-content h1{
    font-size: 65px;
    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 25px;
}

.kegiatan-content p{
    font-size: 18px;

    line-height: 1.9;

    color: rgba(255,255,255,0.85);

    margin-bottom: 35px;
}

/* BUTTON */

.btn-kegiatan{
    display: inline-block;

    padding: 15px 35px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #ff7a00,
            #ffb347
        );

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-kegiatan:hover{
    transform: translateY(-5px);
    color: white;
}

/* SECTION */

.section-kegiatan{
    padding: 100px 0;
}

/* TITLE */

.section-title{
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2{
    font-size: 50px;
    font-weight: 800;

    color: #00bcd4;

    margin-bottom: 15px;
}

.section-title p{
    color: #666;
    font-size: 18px;
}

/* CARD */

.kegiatan-card{
    background: white;

    border-radius: 25px;

    overflow: hidden;

    transition: .4s;

    height: 100%;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.kegiatan-card:hover{
    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* IMAGE */

.card-image{
    position: relative;
    overflow: hidden;
}

.card-image img{
    width: 100%;
    height: 250px;

    object-fit: cover;

    transition: .5s;
}

.kegiatan-card:hover img{
    transform: scale(1.08);
}

/* BADGE */

.card-badge{
    position: absolute;

    top: 20px;
    left: 20px;

    background:
        linear-gradient(
            135deg,
            #00bcd4,
            #2196f3
        );

    color: white;

    padding: 8px 18px;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 600;
}

/* CONTENT */

.card-content{
    padding: 30px;
}

.card-content h3{
    font-size: 28px;

    margin-bottom: 15px;

    color: #111827;
}

.card-content p{
    color: #64748b;

    line-height: 1.8;

    margin-bottom: 25px;
}

/* BUTTON */

.btn-detail{
    display: inline-block;

    padding: 12px 25px;

    border-radius: 50px;

    background: #f1f5f9;

    color: #111827;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-detail:hover{
    background:
        linear-gradient(
            135deg,
            #ff7a00,
            #ffb347
        );

    color: white;
}

/* MOBILE */

@media(max-width:768px){

    .kegiatan-content h1{
        font-size: 40px;
    }

    .section-title h2{
        font-size: 35px;
    }

}

/* LOGIN BUTTON */

.login-btn{

    border-radius:14px;

    padding:10px 24px;

    font-weight:600;

    transition:0.3s;

    border:2px solid white;
}

.login-btn:hover{

    background:#ff9800;

    border-color:#ff9800;

    color:white;
}




/* ========================= */
/* PROFILE PAGE FIX */
/* ========================= */

.profile-page{

    min-height:100vh;

    margin-top:70px;

    padding-top:70px !important;
}

.page-section,
.visi-page,
.struktur-page,
.pengabdian-page{

    padding-top:60px;
}

/* ========================= */
/* PROFILE FIX FINAL */
/* ========================= */

.profile-container{

    margin-top:140px;
}

/* ========================= */
/* GLOBAL PAGE WRAPPER */
/* ========================= */

.page-wrapper{

    min-height:100vh;

    padding-top:70px;

    padding-bottom:80px;
}

.table-hover tbody tr:hover {
    transform: scale(1.01);
    transition: 0.2s;
}

.news-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.btn-orange{
    background:#ff9800;
    color:#fff;
    border:none;
    border-radius:30px;
}

.btn-orange:hover{
    background:#e68900;
    color:#fff;
}

.hero-content h1{
    color:#fff !important;
    font-size:60px;
    font-weight:700;
    line-height:1.2;
    text-shadow:0 4px 15px rgba(0,0,0,.5);
}

.hero-content p{
    color:rgba(255,255,255,.95) !important;
}



/* =====================================
   HALAMAN TENTANG LPPM
===================================== */

.page-hero{
    min-height:100vh;

    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url('../images/hero.jpg');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    padding-top:120px;
    padding-bottom:80px;
}

.page-overlay{
    min-height:100vh;
}

.content-card{
    background:rgba(255,255,255,0.95);

    backdrop-filter:blur(8px);

    border-radius:20px;

    padding:40px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);
}

.content-card h1{
    color:#081b5a;
    font-weight:700;
    margin-bottom:20px;
}

.content-card p{
    line-height:1.9;
    color:#444;
}

/* ==================================================
   NAVBAR GLASSMORPHISM LPPM
================================================== */

:root{
    --navbar-height: 90px;
    --primary: #ff9800;
}

/* ==========================
   NAVBAR DEFAULT (GAMBAR 1)
========================== */

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;

    background: rgba(70, 78, 95, 0.55);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255,255,255,.08);

    transition: all .4s ease;

    z-index: 9999;
}

/* ==========================
   NAVBAR SAAT SCROLL
   (GAMBAR 2)
========================== */

.navbar.scrolled{
    background: rgba(5,18,60,.96);

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.25);
}

/* ==========================
   CONTAINER
========================== */

.navbar .container-fluid{
    padding-left: 50px;
    padding-right: 50px;
}

/* ==========================
   BRAND
========================== */

.navbar-brand{
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img{
    height: 58px;
}

.brand-subtitle{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.brand-title{
    color: #ffb020;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

/* ==========================
   MENU
========================== */

.navbar-nav{
    align-items: center;
    gap: 8px;
}

.navbar .nav-link{
    color: #fff !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    padding: 8px 10px !important;

    transition: .3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active{
    color: var(--primary) !important;
}

/* ==========================
   DROPDOWN GELAP
========================== */

.dropdown-menu{
    background: rgba(18,25,45,.97);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 14px;

    padding: 8px;

    min-width: 240px;
}

/* TEKS DROPDOWN TERANG */

.dropdown-item{
    color: #f8fafc !important;

    font-size: 13px;
    font-weight: 500;

    border-radius: 10px;

    padding: 10px 14px;

    transition: .25s;

    
}

.dropdown-item:hover{
    background: rgba(255,152,0,.15);
    color: #ffb020 !important;
}

.dropdown-divider{
    border-color: rgba(255,255,255,.08);
}

/* ==========================
   WEBSITE KAMPUS
========================== */

.btn-orange{
    background: linear-gradient(
        135deg,
        #ff9800,
        #ff7a00
    );

    color: white !important;

    border: none;

    border-radius: 30px;

    padding: 10px 22px !important;

    font-size: 15px;
    font-weight: 600;

    box-shadow:
        0 0 25px rgba(255,152,0,.25);
}

/* ==========================
   LOGIN
========================== */

.login-btn{
    border-radius: 14px;

    padding: 10px 20px !important;

    font-size: 15px;
    font-weight: 600;
}

/* ==========================
   HERO OFFSET
========================== */

body{
    padding-top: 90px;
}

/* ==========================
   MOBILE
========================== */

@media(max-width:992px){

    .navbar{
        min-height: 90px;
        height: auto;
    }

    .navbar .container-fluid{
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-nav{
        margin-top: 15px;
    }
}

/* Desktop */

@media (min-width: 992px){

    .navbar .dropdown:hover .dropdown-menu{
        display: block;
        margin-top: 0;
        animation: fadeDropdown .2s ease;
    }

}

@keyframes fadeDropdown{

    from{
        opacity: 0;
        transform: translateY(8px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
   NAV LINK EFFECT
========================== */

.navbar .nav-link{
    position: relative;

    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;

    padding: 8px 10px !important;

    transition: .3s;
}

/* Garis bawah */

.navbar .nav-link::before{
    content: '';

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 3px;

    background: #ff9800;

    border-radius: 20px;

    transition: width .35s ease;
}

/* Hover */

.navbar .nav-link:hover{
    color: #ff9800 !important;
}

.navbar .nav-link:hover::before{
    width: 100%;
}

/* Active */

.navbar .nav-link.active{
    color: #ff9800 !important;
}

.navbar .nav-link.active::before{
    width: 100%;
}