@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* =====================================================
   DIDACTUM - GANTI WARNA SAJA, TANPA UBAH LAYOUT
   ===================================================== */

/* Background hero biru menjadi orange-kuning */
.hero-section {
    background: linear-gradient(
        135deg,
        #f58220 0%,
        #f9a825 45%,
        #ffc928 100%
    ) !important;
}

/* Header/navbar biru menjadi orange gelap */
#header,
#header.header-scrolled {
    background: #c65f08 !important;
    background-color: #c65f08 !important;
}

/* Warna menu header tetap putih */
#header a,
#header .nav-link,
#header .navbar a,
#header .navbar a:focus {
    color: #ffffff !important;
}

/* Icon header tetap putih */
#header i,
#header .fa,
#header .bi {
    color: #ffffff !important;
}



/* =====================================================
   DIDACTUM CUSTOM MENU BLOCK
   Horizontal Menu Layout + Font Awesome Icons + Button
   ===================================================== */

.didactum-custom-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
    margin: 30px 0;
}

.didactum-menu-card {
    background: #ffffff;
    border: 1px solid #f1d7a2;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.didactum-menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    border-color: #f58220;
}


/* =====================================================
   Judul Card
   ===================================================== */

.didactum-menu-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    border-bottom: 3px solid #f58220;
}


/* Icon besar pada judul card */
.didactum-menu-card h3 i,
.didactum-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58220 0%, #ffc928 100%);
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(245, 130, 32, 0.28);
    transition: all 0.3s ease;
}

.didactum-menu-card:hover h3 i,
.didactum-menu-card:hover .didactum-icon {
    background: #c65f08;
    color: #ffffff !important;
    transform: scale(1.06);
}


/* =====================================================
   List Menu
   ===================================================== */

.didactum-menu-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.didactum-menu-card ul li {
    margin-bottom: 9px;
}

.didactum-menu-card ul li a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #333333 !important;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.didactum-menu-card ul li a:hover {
    color: #f58220 !important;
    padding-left: 6px;
    text-decoration: none !important;
}


/* Icon kecil Font Awesome pada item menu */
.didactum-list-fa {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #fff3df;
    color: #f58220 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid #ffd39c;
    transition: all 0.3s ease;
}

.didactum-menu-card ul li a:hover .didactum-list-fa {
    background: #f58220;
    color: #ffffff !important;
    border-color: #f58220;
}


/* =====================================================
   Commitment Card
   ===================================================== */

.didactum-commitment p {
    margin: 0 0 10px 0;
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   Tombol Download Template
   ===================================================== */

.didactum-commitment a.didactum-template-btn,
.didactum-menu-card a.didactum-template-btn,
a.didactum-template-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px !important;
    padding: 11px 18px !important;
    background: linear-gradient(135deg, #f58220 0%, #ffc928 100%) !important;
    background-color: #f58220 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    border: 1px solid #f58220 !important;
    box-shadow: 0 8px 18px rgba(245, 130, 32, 0.28) !important;
    transition: all 0.3s ease !important;
}

.didactum-commitment a.didactum-template-btn:hover,
.didactum-menu-card a.didactum-template-btn:hover,
a.didactum-template-btn:hover {
    background: #c65f08 !important;
    background-color: #c65f08 !important;
    border-color: #c65f08 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(198, 95, 8, 0.35) !important;
}

/* Icon pada tombol download */
.didactum-template-btn i {
    color: #ffffff !important;
    font-size: 14px;
}


/* =====================================================
   Responsive Tablet
   ===================================================== */

@media screen and (max-width: 1024px) {
    .didactum-custom-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   Responsive Mobile
   ===================================================== */

@media screen and (max-width: 600px) {
    .didactum-custom-menu {
        grid-template-columns: 1fr;
    }

    .didactum-menu-card {
        padding: 22px 20px;
    }

    .didactum-menu-card h3 {
        font-size: 17px;
    }
}




/* =====================================================
   FONT AWESOME ICON OTOMATIS TANPA TAG <i>
   ===================================================== */

/* Icon judul card */
.didactum-menu-card h3::before {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f58220 0%, #ffc928 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: FontAwesome !important;
    font-size: 15px;
    font-weight: normal;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(245, 130, 32, 0.28);
}

/* ABOUT THE JOURNAL */
.didactum-menu-card:nth-child(1) h3::before {
    content: "\f02d"; /* book */
}

/* POLICIES */
.didactum-menu-card:nth-child(2) h3::before {
    content: "\f132"; /* shield */
}

/* AUTHORS */
.didactum-menu-card:nth-child(3) h3::before {
    content: "\f044"; /* edit */
}

/* OUR COMMITMENT */
.didactum-menu-card:nth-child(4) h3::before {
    content: "\f058"; /* check-circle */
}

.didactum-menu-card:hover h3::before {
    background: #c65f08;
    color: #ffffff !important;
    transform: scale(1.06);
    transition: all 0.3s ease;
}

/* =====================================================
   DIDACTUM CUSTOM FOOTER
   Orange Yellow Modern Footer
   ===================================================== */

.didactum-footer-custom {
    width: 100%;
    margin-top: 40px;
    background: linear-gradient(135deg, #c65f08 0%, #f58220 45%, #ffc928 100%);
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.08);
}

/* Map */
.didactum-footer-map {
    width: 100%;
    background: #ffffff;
    padding: 10px;
}

.didactum-footer-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0 !important;
    border-radius: 14px;
    filter: grayscale(10%) saturate(110%);
}

/* Content */
.didactum-footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 0.9fr;
    gap: 24px;
    padding: 34px 36px;
}

/* Card */
.didactum-footer-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.didactum-footer-card h3 {
    margin: 0 0 12px 0;
    padding-bottom: 9px;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    border-bottom: 3px solid #f58220;
}

.didactum-footer-card p {
    margin: 0 0 10px 0;
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
}

.didactum-footer-card a {
    color: #c65f08 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.didactum-footer-card a:hover {
    color: #f58220 !important;
    text-decoration: underline !important;
}

/* License badge */
.didactum-license-badge {
    display: inline-block;
    margin-top: 8px;
}

.didactum-license-badge img {
    display: inline-block;
    max-width: 90px;
    height: auto;
}

/* Stats */
.didactum-footer-stats {
    text-align: center;
}

.didactum-footer-stats img {
    display: inline-block;
    margin: 8px auto 12px auto;
    max-width: 100%;
    height: auto;
}

.didactum-stats-link {
    display: inline-block;
    margin-top: 8px;
    padding: 9px 16px;
    background: linear-gradient(135deg, #f58220 0%, #ffc928 100%);
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(245, 130, 32, 0.28);
}

.didactum-stats-link:hover {
    background: #c65f08;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Responsive tablet */
@media screen and (max-width: 1024px) {
    .didactum-footer-content {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
}

/* Responsive mobile */
@media screen and (max-width: 600px) {
    .didactum-footer-custom {
        border-radius: 14px 14px 0 0;
    }

    .didactum-footer-map iframe {
        height: 180px;
    }

    .didactum-footer-content {
        padding: 22px 16px;
        gap: 18px;
    }

    .didactum-footer-card {
        padding: 20px 18px;
    }

    .didactum-footer-card h3 {
        font-size: 16px;
    }

    .didactum-footer-card p {
        font-size: 14px;
    }
}

/* =====================================================
   ICON KECIL PADA ITEM MENU
   ===================================================== */

.didactum-menu-card ul li a::before {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #fff3df;
    color: #f58220 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: FontAwesome !important;
    font-size: 12px;
    font-weight: normal;
    border: 1px solid #ffd39c;
    transition: all 0.3s ease;
}

.didactum-menu-card ul li a:hover::before {
    background: #f58220;
    color: #ffffff !important;
    border-color: #f58220;
}


/* ABOUT THE JOURNAL item icons */
.didactum-menu-card:nth-child(1) ul li:nth-child(1) a::before {
    content: "\f0c0"; /* users */
}

.didactum-menu-card:nth-child(1) ul li:nth-child(2) a::before {
    content: "\f1da"; /* history */
}

.didactum-menu-card:nth-child(1) ul li:nth-child(3) a::before {
    content: "\f007"; /* user */
}

.didactum-menu-card:nth-child(1) ul li:nth-child(4) a::before {
    content: "\f1c0"; /* database */
}

.didactum-menu-card:nth-child(1) ul li:nth-child(5) a::before {
    content: "\f0d6"; /* money */
}


/* POLICIES item icons */
.didactum-menu-card:nth-child(2) ul li:nth-child(1) a::before {
    content: "\f13e"; /* unlock */
}

.didactum-menu-card:nth-child(2) ul li:nth-child(2) a::before {
    content: "\f1f9"; /* copyright */
}

.didactum-menu-card:nth-child(2) ul li:nth-child(3) a::before {
    content: "\f002"; /* search */
}

.didactum-menu-card:nth-child(2) ul li:nth-child(4) a::before {
    content: "\f0a1"; /* bullhorn */
}

.didactum-menu-card:nth-child(2) ul li:nth-child(5) a::before {
    content: "\f0e3"; /* gavel */
}


/* AUTHORS item icons */
.didactum-menu-card:nth-child(3) ul li:nth-child(1) a::before {
    content: "\f093"; /* upload */
}

.didactum-menu-card:nth-child(3) ul li:nth-child(2) a::before {
    content: "\f140"; /* bullseye */
}

.didactum-menu-card:nth-child(3) ul li:nth-child(3) a::before {
    content: "\f0d6"; /* money */
}

.didactum-menu-card:nth-child(3) ul li:nth-child(4) a::before {
    content: "\f15c"; /* file-text */
}

.didactum-menu-card:nth-child(3) ul li:nth-child(5) a::before {
    content: "\f021"; /* refresh */
}


/* Icon pada tombol Download Template */
.didactum-template-btn::before {
    content: "\f019";
    font-family: FontAwesome !important;
    margin-right: 8px;
    font-weight: normal;
}


/* =====================================================
   COLOR OVERRIDE - TOSKA TUA & TOSKA MUDA
   Tempel di PALING BAWAH CSS LAMA
   ===================================================== */

:root {
    --toska-tua: #00695c;
    --toska: #00897b;
    --toska-muda: #4db6ac;
    --toska-soft: #e0f2f1;
    --toska-border: #80cbc4;
}

/* Hero */
.hero-section {
    background: linear-gradient(
        135deg,
        var(--toska-tua) 0%,
        var(--toska) 45%,
        var(--toska-muda) 100%
    ) !important;
}

/* Header */
#header,
#header.header-scrolled {
    background: var(--toska-tua) !important;
    background-color: var(--toska-tua) !important;
}

/* Card */
.didactum-menu-card {
    border-color: var(--toska-border) !important;
}

.didactum-menu-card:hover {
    border-color: var(--toska) !important;
}

.didactum-menu-card h3 {
    border-bottom-color: var(--toska) !important;
}

/* Icon judul */
.didactum-menu-card h3 i,
.didactum-icon,
.didactum-menu-card h3::before {
    background: linear-gradient(
        135deg,
        var(--toska-tua) 0%,
        var(--toska-muda) 100%
    ) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 105, 92, 0.28) !important;
}

.didactum-menu-card:hover h3 i,
.didactum-menu-card:hover .didactum-icon,
.didactum-menu-card:hover h3::before {
    background: var(--toska-tua) !important;
}

/* Link hover */
.didactum-menu-card ul li a:hover {
    color: var(--toska) !important;
}

/* Icon kecil */
.didactum-list-fa,
.didactum-menu-card ul li a::before {
    background: var(--toska-soft) !important;
    color: var(--toska) !important;
    border-color: var(--toska-border) !important;
}

.didactum-menu-card ul li a:hover .didactum-list-fa,
.didactum-menu-card ul li a:hover::before {
    background: var(--toska) !important;
    color: #ffffff !important;
    border-color: var(--toska) !important;
}

/* Tombol download */
.didactum-commitment a.didactum-template-btn,
.didactum-menu-card a.didactum-template-btn,
a.didactum-template-btn {
    background: linear-gradient(
        135deg,
        var(--toska-tua) 0%,
        var(--toska-muda) 100%
    ) !important;
    background-color: var(--toska) !important;
    border-color: var(--toska) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 105, 92, 0.28) !important;
}

.didactum-commitment a.didactum-template-btn:hover,
.didactum-menu-card a.didactum-template-btn:hover,
a.didactum-template-btn:hover {
    background: var(--toska-tua) !important;
    background-color: var(--toska-tua) !important;
    border-color: var(--toska-tua) !important;
}

/* Footer */
.didactum-footer-custom {
    background: linear-gradient(
        135deg,
        var(--toska-tua) 0%,
        var(--toska) 45%,
        var(--toska-muda) 100%
    ) !important;
}

.didactum-footer-card h3 {
    border-bottom-color: var(--toska) !important;
}

.didactum-footer-card a {
    color: var(--toska-tua) !important;
}

.didactum-footer-card a:hover {
    color: var(--toska) !important;
}

.didactum-stats-link {
    background: linear-gradient(
        135deg,
        var(--toska-tua) 0%,
        var(--toska-muda) 100%
    ) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 105, 92, 0.28) !important;
}

.didactum-stats-link:hover {
    background: var(--toska-tua) !important;
}

/* =====================================================
   FIX DROPDOWN / SUB-MENU HEADER
   Agar teks submenu tidak putih di background terang
   ===================================================== */

/* Kotak dropdown */
#header .dropdown-menu,
#header .navbar .dropdown-menu,
.navbar .dropdown-menu {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
}

/* Teks submenu */
#header .dropdown-menu a,
#header .dropdown-menu .dropdown-item,
#header .navbar .dropdown-menu a,
#header .navbar .dropdown-menu .dropdown-item,
.navbar .dropdown-menu a,
.navbar .dropdown-menu .dropdown-item {
    color: #111111 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
}

/* Hover submenu */
#header .dropdown-menu a:hover,
#header .dropdown-menu .dropdown-item:hover,
#header .navbar .dropdown-menu a:hover,
#header .navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu a:hover,
.navbar .dropdown-menu .dropdown-item:hover {
    color: #ffffff !important;
    background: #f58220  !important;
    text-decoration: none !important;
}
