/*
Theme Name: Tema PTUN
Author: Kamu
Version: 1.0
*/
/* HILANGKAN BACKGROUND ABU-ABU */
/* PAKSA SEMUA BACKGROUND PUTIH */
body,
.page,
.site,
.site-content,
.container,
.wrap {
    background: #fff !important;
}

body.customize-preview .header {
    min-height: auto;
}

.container {
    background: transparent !important;
}

.page-id-61 {
    background: #fff !important;
}

.custom-logo {
    max-height: 150px;
    width: 40%;
}

.header .judul {
    font-size: 28px;      /* ukuran utama (site name) */
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #FFFFFF;
    font-family: Poppins,sans-serif
}

/* baris kedua (description) */
.header .judul br + * {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}

/* NAVBAR */

/* NAVBAR NORMAL */
.navbar {
    background: #f57c00; /* ORANGE */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
  }

  /* MENU */
  .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 16px; /* 🔥 lebih besar */
    padding: 12px 18px; /* 🔥 lebih lega */
    letter-spacing: 0.3px;
  }

  /* jarak antar menu */
.navbar-nav .nav-item {
    margin: 0 5px;
}

/* hover effect */
.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}


  /* DROPDOWN */
  .dropdown-menu {
    background: #fff;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }
  
  .dropdown-menu .dropdown-item {
    color: #333;
    font-size: 16px;
    padding: 8px 18px;
  }
  
  /* SUBMENU (LEVEL 2, 3, dst) */
  .dropdown-menu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
  }
  
  /* SHOW ON HOVER (desktop) */
  .nav-item:hover > .dropdown-menu {
    display: block;
  }

  /* posisi submenu ke kanan */
.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

/* tampil saat hover */
.dropdown-menu > li:hover > .submenu {
    display: block;
}

.dropdown-menu .dropdown-toggle {
    display: flex;
    align-items: center;
} 

/* GANTI jadi panah kanan */
.dropdown-menu .dropdown-toggle::after {
    content: "›" !important;
    border: none !important;
    background: none !important;
    font-size: 18px;
    margin-left: 10px;
}

.dropdown-menu .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-menu .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* dropdown utama hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}
/* biar sejajar semua */
.navbar-nav .nav-link {
    padding: 10px 15px;
    line-height: normal;
}

/* POSISI DI KIRI */
.icon-bar {
    position: fixed;
    top: 50%;
    left: 15px; /* 🔥 kasih jarak dari kiri */
    transform: translateY(-50%);
    z-index: 999;
}

/* ICON STYLE */
.icon-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 8px 0; 
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* WARNA */
.icon-bar .facebook {
    background: #3b5998;
}
.icon-bar .instagram {
    background: #e4405f;
}
.icon-bar .youtube {
    background: #ff0000;
}

/* HOVER EFFECT */
.icon-bar a:hover {
    transform: scale(1.1);
}

.slider-bg img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section-mini-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #f4f7ff;
    border: 1px solid rgba(14, 41, 205, 0.25);
    color: #0e29cd;

    padding: 10px 18px;
    border-radius: 30px;

    font-size: 20px;      /* 🔥 lebih besar */
    font-weight: 800;     /* 🔥 lebih tebal */

    margin-bottom: 18px;

    letter-spacing: 0.3px;
}

.section-mini-header i {
    font-size: 18px;
}

/* container dots */
.owl-dots {
    text-align: center;
    margin-top: 10px;
}

/* tombol dot */
.owl-dot {
    display: inline-block;
    margin: 0 4px;
}

/* bentuk dot */
.owl-dot span {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: #cfcfcf;
    transition: all 0.3s ease;
}

/* active dot */
.owl-dot.active span {
    background: #0e29cd;
    width: 22px;
    border-radius: 10px;
}


/* CARD */
.service-card {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #0d47a1;
    border: 5px solid #ff7f00;
    border-radius: 12px;

    padding: 14px;

    text-decoration: none;
    transition: all 0.25s ease;

    height: 110%;
}

/* HOVER EFFECT */
.service-card:hover {
    background: #ff7f00;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 5px solid #0d47a1;
}

/* ICON */
.service-card .icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* TEXT */
.service-card .content h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffff;
}

.service-card .content p {
    margin: 0;
    font-size: 12px;
    color: #ffff;
    line-height: 1.4;
}
/* ================= SIDEBAR ================= */
.single-content {
    line-height: 1.8;
    font-size: 16px;
}

.sidebar .widget-box {
    margin-bottom: 20px;
}

/* ================= FOOTER ================= */
#footer {
    background: #0d47a1;
    color: #fff;
    padding-top: 60px;
}

/* BOX */
.footer-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

/* garis kecil bawah title */
.footer-box h3::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -8px;
}

/* TEXT */
.footer-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

/* LIST */
.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 8px;
}

.footer-box ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* SOCIAL */
.social a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social a:hover {
    transform: translateY(-3px);
}

/* MAP */
.footer-box iframe {
    width: 100%;
    border-radius: 8px;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

/* ================= WAVE FOOTER ================= */
.footer-wave {
    position: relative;
    width: 100%;
    line-height: 0;
    margin-bottom: -1px;
    transform: rotate(180deg); /* 🔥 INI YANG MEMBALIKKAN WAVE */
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-wave .shape-fill {
    fill: #0d47a1; /* sama dengan warna footer */
}


@media (max-width: 43em) {
    header {
        background-size:auto;
        height: auto;
    }

    header img.header-logo {
        width: 70%
    }

    header .header-title {
        left: -40px
    }

    header .header-title .title {
        font-size: 10px
    }

    header .header-title .address {
        font-size: 8px
    }

    .dropdown-menu {
        width: 100%
    }

    .dropdown-menu li {
        position: relative
    }

    .dropdown-menu .submenu-left {
        right: 100%;
        left: auto
    }

    .section-infomation .sidebar-information {
        padding-left: 0
    }

    .section-content .slogan-row {
        display: none
    }

    .section-content .mod-link .link-desc {
        margin-left: -50px
    }

    footer#footer .footer-top .footer-contact {
        margin-bottom: 20px
    }

    footer#footer .footer-top .footer-links {
        margin-bottom: 20px
    }

    footer#footer .footer-bottom {
        text-align: center
    }

    footer#footer .footer-bottom .copy {
        font-size: 12px
    }

    footer#footer .footer-bottom .sosmed {
        width: 100%;
        display: block;
        padding: 0 auto
    }
}

@media (min-width: 43em) and (max-width:62em) {
    header img.header-logo {
        width:80%
    }

    header .header-title {
        left: -40px
    }

    header .header-title .title {
        font-size: 12px
    }

    header .header-title .address {
        font-size: 10px
    }

    .section-infomation .sidebar-information {
        padding-left: 0
    }

    .section-content .slogan-row {
        display: none
    }

    .section-content .mod-link .link-desc {
        margin-left: -70px
    }

    footer#footer .footer-top .footer-contact {
        margin-bottom: 15px
    }

    footer#footer .footer-top .footer-links {
        margin-bottom: 15px
    }
}

@media (min-width: 82em) {
    nav.navbar .container-fluid .navbar-nav>li:hover {
        background-color:#0e29cd
    }

    nav.navbar .container-fluid .navbar-nav>li:hover>ul {
        display: block
    }

    .dropdown-menu li {
        position: relative
    }

    .dropdown-menu .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px
    }

    .dropdown-menu .submenu-left {
        right: 100%;
        left: auto
    }

    .dropdown-menu>li:hover {
        background-color: #fc9905
    }

    .dropdown-menu>li:hover>.submenu {
        display: block
    }
}
