/* =========================================================
   DANLIRIS CAREER PORTAL - FOOTER MODERN FINAL
   Dipakai untuk HTML:
   <footer class="footer-modern mt-5">
========================================================= */


/* =========================================================
   1. FOOTER WRAPPER UTAMA
   Mengatur background utama footer, warna tulisan umum,
   lebar footer, dan jarak footer dari konten atas.
========================================================= */

.footer-modern {
    width: 100%;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
    padding: 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #d1d5db;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    overflow: hidden;
}


/* =========================================================
   2. AREA ISI FOOTER
   HTML sobat memakai class Bootstrap py-5.
   Bagian ini mengecilkan padding supaya footer tidak terlalu tinggi.
========================================================= */

.footer-modern > .container.py-5 {
    padding-top: 40px !important;
    padding-bottom: 32px !important;
}


/* =========================================================
   3. BRAND / IDENTITAS FOOTER
   Mengatur judul "Danliris Career Portal"
   dan badge kecil "Grow With Us".
========================================================= */

.footer-modern .footer-brand {
    margin-bottom: 16px;
}

.footer-modern .footer-brand h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.footer-modern .footer-brand span {
    display: inline-block;
    font-size: 12px;
    color: #facc15;
    background: rgba(250, 204, 21, 0.10);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.4px;
}


/* =========================================================
   4. DESKRIPSI FOOTER
   Mengatur paragraf penjelasan di kolom pertama.
========================================================= */

.footer-modern .footer-desc {
    max-width: 390px;
    margin-bottom: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   5. JUDUL KOLOM FOOTER
   Mengatur judul seperti Quick Links, Business Units, Contact.
========================================================= */

.footer-modern .footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    letter-spacing: 0.2px;
}

/* Garis kuning kecil di bawah judul kolom */
.footer-modern .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: #facc15;
    border-radius: 10px;
}


/* =========================================================
   6. LINK FOOTER
   Mengatur daftar link Quick Links dan Business Units.
========================================================= */

.footer-modern .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-modern .footer-links li {
    margin-bottom: 9px;
}

.footer-modern .footer-links a {
    display: inline-block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.22s ease;
}

.footer-modern .footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}


/* =========================================================
   7. SOCIAL MEDIA ICON
   Mengatur icon Facebook, Instagram, LinkedIn.
========================================================= */

.footer-modern .footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-modern .footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.22s ease;
}

.footer-modern .footer-social a i {
    font-size: 14px;
    line-height: 1;
}

.footer-modern .footer-social a:hover {
    background: #facc15;
    color: #111827;
    transform: translateY(-2px);
}


/* =========================================================
   8. CONTACT FOOTER
   Mengatur bagian alamat, nama perusahaan, dan recruitment.
========================================================= */

.footer-modern .footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.footer-modern .footer-contact i {
    width: 17px;
    min-width: 17px;
    margin-top: 4px;
    color: #facc15;
    font-size: 14px;
}

.footer-modern .footer-contact span {
    color: #cbd5e1;
}


/* =========================================================
   9. FOOTER BOTTOM / COPYRIGHT
   Mengatur bagian paling bawah footer.
========================================================= */

.footer-modern .footer-bottom {
    width: 100%;
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 14px 0;
    color: #9ca3af;
    font-size: 13px;
}

.footer-modern .footer-bottom strong {
    color: #ffffff;
    font-weight: 700;
}


/* =========================================================
   10. RESET JARAK BAWAH
   Supaya tidak ada celah putih setelah footer.
========================================================= */

.footer-modern + * {
    margin-top: 0 !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   11. RESPONSIVE TABLET
   Mengatur footer untuk layar tablet.
========================================================= */

@media (max-width: 991.98px) {
    .footer-modern > .container.py-5 {
        padding-top: 36px !important;
        padding-bottom: 30px !important;
    }
}


/* =========================================================
   12. RESPONSIVE MOBILE
   Mengatur tampilan footer di HP agar rapi di tengah.
========================================================= */

@media (max-width: 767.98px) {
    .footer-modern {
        text-align: center;
        margin-top: 28px !important;
    }

    .footer-modern > .container.py-5 {
        padding-top: 32px !important;
        padding-bottom: 26px !important;
    }

    .footer-modern .footer-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-modern .footer-title {
        margin-top: 6px;
    }

    .footer-modern .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-modern .footer-social {
        justify-content: center;
    }

    .footer-modern .footer-links a:hover {
        transform: none;
    }

    .footer-modern .footer-contact p {
        justify-content: center;
        text-align: left;
    }
}

/* =========================================================
   DANLIRIS CAREER PORTAL - HOME PAGE FINAL STYLE
   Untuk memperbaiki tampilan navbar, hero, search, dan job list
========================================================= */


/* =========================================================
   1. ROOT COLOR
========================================================= */

:root {
    --primary: #005BAA;
    --primary-dark: #003F7D;
    --secondary: #00A7E1;
    --secondary-dark: #007DB3;
    --dark: #111827;
    --muted: #6B7280;
    --light: #F8FAFC;
    --soft: #F4F9FF;
    --border: #E5EEF6;
}


/* =========================================================
   2. GLOBAL RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: #ffffff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   3. BUTTON STYLE
========================================================= */

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #ffffff;
}

.btn-dark {
    background-color: #1F2937;
    border-color: #1F2937;
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #111827;
    border-color: #111827;
    color: #ffffff;
}


/* =========================================================
   4. MAIN WRAPPER
   Wrapper putih utama dari header.ejs
========================================================= */

.container-xxl.bg-white.p-0 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   5. NAVBAR
   Atas transparan, saat scroll menjadi biru solid
========================================================= */

.danliris-navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 74px;
    z-index: 99999;
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.35s ease;
}

.danliris-navbar .navbar-brand {
    height: 74px;
    display: flex;
    align-items: center;
}

.danliris-navbar .navbar-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.danliris-navbar .navbar-nav .nav-link {
    margin-right: 24px;
    padding: 26px 0;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 8px rgba(0, 31, 72, 0.65);
    transition: all 0.3s ease;
}

.danliris-navbar .navbar-nav .nav-link:hover,
.danliris-navbar .navbar-nav .nav-link.active {
    color: #ffffff !important;
}

/* Tombol kanan navbar saat transparan */
.danliris-navbar .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 31, 72, 0.20);
}

.danliris-navbar .btn-primary:hover {
    background: #eef7ff;
    border-color: #eef7ff;
    color: var(--primary-dark);
}

/* Saat scroll navbar berubah biru */
.danliris-navbar.navbar-scrolled {
    background: rgba(0, 91, 170, 0.96) !important;
    box-shadow: 0 8px 25px rgba(0, 31, 72, 0.22) !important;
    backdrop-filter: blur(8px);
}

.danliris-navbar.navbar-scrolled .navbar-nav .nav-link {
    color: #ffffff !important;
    text-shadow: none !important;
}

.danliris-navbar.navbar-scrolled .btn-primary {
    background: #00A7E1;
    border-color: #00A7E1;
    color: #ffffff;
    box-shadow: none;
}

/* Halaman selain home langsung pakai navbar biru */
body.inner-page .danliris-navbar {
    background: rgba(0, 91, 170, 0.96) !important;
    box-shadow: 0 8px 25px rgba(0, 31, 72, 0.22) !important;
}

body.inner-page .danliris-navbar .navbar-nav .nav-link {
    color: #ffffff !important;
    text-shadow: none !important;
}


/* =========================================================
   6. HERO SECTION
   Bagian gambar utama halaman home
========================================================= */

.danliris-hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 25, 62, 0.08), rgba(0, 25, 62, 0.08)),
        url("/img/carousel-1.jpg") center center / cover no-repeat;
    overflow: hidden;
}

/* Overlay biru di atas gambar */
.danliris-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 23, 51, 0.88) 0%,
        rgba(0, 74, 139, 0.58) 48%,
        rgba(0, 167, 225, 0.18) 100%
    );
    z-index: 1;
}

/* Tinggi isi hero */
.min-vh-hero {
    min-height: 100vh;
    padding-top: 90px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

/* Konten kiri hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    background: rgba(0, 91, 170, 0.28);
    border: 1px solid rgba(0, 167, 225, 0.55);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    border-radius: 999px;
    text-transform: uppercase;
}

.hero-title {
    color: #ffffff;
    font-size: 58px;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 14px rgba(0, 31, 72, 0.45);
}

.hero-text {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0, 31, 72, 0.35);
}

.hero-actions .btn {
    border-radius: 50px;
    padding: 13px 26px;
    font-size: 15px;
}

.hero-actions .btn-outline-light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.65);
}

.hero-actions .btn-outline-light:hover {
    color: var(--primary);
    background: #ffffff;
    border-color: #ffffff;
}


/* =========================================================
   7. HERO HIGHLIGHTS
   Angka 51+, 5,500+, 29 dibuat jadi kartu kecil
========================================================= */

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-highlights div {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.hero-highlights strong {
    display: block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-highlights span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.35;
}


/* =========================================================
   8. HERO CARD KANAN
   Kartu "Find Your Career Path"
========================================================= */

.hero-card {
    position: relative;
    z-index: 2;
    padding: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(0, 31, 72, 0.30);
}

.hero-card-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.hero-card h4 {
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 14px;
}

.hero-card p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.hero-card-list {
    margin-top: 18px;
}

.hero-card-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    color: var(--dark);
    font-weight: 600;
}

.hero-card-list i {
    color: var(--primary);
}


/* =========================================================
   9. SEARCH JOB SECTION
========================================================= */

.career-search {
    position: relative;
    z-index: 5;
    margin-top: -45px;
    padding: 0 0 60px;
    background: #ffffff;
}

.search-panel {
    padding: 30px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(0, 39, 83, 0.14);
}

.search-heading {
    margin-bottom: 22px;
}

.search-heading span {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.search-heading h4 {
    color: var(--dark);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 0;
}

.search-panel .form-label {
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.search-panel .form-control,
.search-panel .form-select {
    min-height: 50px;
    border-radius: 12px;
    border: 1px solid #dce9f4;
    color: var(--dark);
    font-size: 14px;
}

.search-panel .form-control:focus,
.search-panel .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 91, 170, 0.12);
}

.search-panel .btn {
    min-height: 50px;
    border-radius: 12px;
}


/* =========================================================
   10. SECTION COMMON
========================================================= */

.section-padding {
    padding: 80px 0;
    background: #ffffff;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
}

.section-heading span {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading h2 {
    color: var(--dark);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}


/* =========================================================
   11. JOB LIST CARD
========================================================= */

.job-list {
    display: grid;
    gap: 20px;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 38px rgba(0, 39, 83, 0.07);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(0, 39, 83, 0.12);
}

.job-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.job-logo-text {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: rgba(0, 91, 170, 0.12);
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-info h5 {
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 8px;
}

.job-info p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 14px;
}

.job-info span {
    margin-left: 14px;
}

.job-action {
    text-align: right;
}

.job-action small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   12. RESPONSIVE TABLET
========================================================= */

@media (max-width: 991.98px) {
    .danliris-navbar {
        min-height: 65px;
        background: rgba(0, 91, 170, 0.96) !important;
        box-shadow: 0 8px 25px rgba(0, 31, 72, 0.18) !important;
    }

    .danliris-navbar .navbar-brand {
        height: 65px;
    }

    .danliris-navbar .navbar-logo {
        width: 40px;
        height: 40px;
    }

    .danliris-navbar .navbar-nav {
        background: rgba(0, 91, 170, 0.98);
        padding: 10px 0;
    }

    .danliris-navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    .min-vh-hero {
        min-height: auto;
        padding: 125px 0 80px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-text {
        font-size: 16px;
    }

    .career-search {
        margin-top: 0;
        padding: 45px 0;
        background: var(--soft);
    }

    .search-panel {
        padding: 24px;
    }

    .section-padding {
        padding: 65px 0;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-action {
        width: 100%;
        text-align: left;
    }
}


/* =========================================================
   13. RESPONSIVE MOBILE
========================================================= */

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-highlights {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-highlights div {
        width: 100%;
    }

    .search-heading h4 {
        font-size: 22px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .job-info {
        align-items: flex-start;
    }

    .job-info span {
        display: block;
        margin-left: 0;
        margin-top: 6px;
    }
}
/* =========================================================
   FIX CONTENT TERTIMPA NAVBAR
   Navbar fixed, jadi inner page perlu jarak atas
========================================================= */

/* Reset aman */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Home page tidak perlu padding top karena hero memang berada di bawah navbar transparan */
body.home-page {
    padding-top: 0 !important;
}

/* Halaman selain home perlu turun agar tidak tertimpa navbar */
body.inner-page {
    padding-top: 75px !important;
}

/* Navbar fixed */
.danliris-navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
}

/* Jika ada page header, jangan terlalu mepet */
body.inner-page .page-header,
body.inner-page .section-padding:first-of-type,
body.inner-page main:first-of-type {
    margin-top: 0 !important;
}

/* Mobile navbar lebih pendek */
@media (max-width: 991.98px) {
    body.inner-page {
        padding-top: 65px !important;
    }
}
