/* global.min.css - merged (main + dashboard + auth + professional) */
/* main.min.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bs-font-sans-serif: 'Poppins', sans-serif;
    --primary-color: #c41e3a;
    --primary-dark: #8b0000;
    --primary-gradient: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    --bg-light: #f8f9fa;
}

body {
    font-family: var(--bs-font-sans-serif);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Navbar overrides */
.navbar {
    background: var(--primary-gradient) !important;
    box-shadow: 0 5px 30px rgba(196, 30, 58, 0.4);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffcccc;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-get-started {
    background: white;
    color: var(--primary-color) !important;
    border-radius: 30px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: transform 0.2s;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-get-started::after { display: none !important; }

/* Hero Section */
.hero-section {
    background: transparent;
    color: #333;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.5);
    color: white;
}

.btn-outline-custom {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Sections */
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Cards (Modul, Template, Dept) */
.custom-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.custom-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.2);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(139, 0, 0, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.custom-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.custom-card ul {
    list-style: none;
    padding-left: 0;
}

.custom-card ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.custom-card ul li::before {
    content: '\F26A'; /* Bootstrap check icon */
    font-family: bootstrap-icons;   
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Checklist Items */
.checklist-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.checklist-item:hover {
    background: rgba(196, 30, 58, 0.05);
    transform: translateX(5px);
}

.checklist-number {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Badges */
.badge-custom {
    padding: 0.4em 0.8em;
    border-radius: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}
.badge-required { background: var(--primary-gradient); color: white; }
.badge-optional { background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%); color: white; }
.badge-info-custom { background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%); color: white; }

/* Department Slots */
.dept-slots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 1rem;
}

.slot-value {
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dashboard Specific Styles */
:root {
    --sinarmas-red: #c41e3a;
    --sinarmas-dark: #8b0000;
}

.bg-sinarmas { background-color: var(--sinarmas-red) !important; }
.text-sinarmas { color: var(--sinarmas-red) !important; }

.card-announcement {
    background: linear-gradient(135deg, #fff9e6 0%, #fffdf5 100%);
    border-left: 5px solid #ff9800;
    margin-bottom: 2rem;
}

.text-orange {
    color: #ff9800 !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--sinarmas-red);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: #6c757d;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 1.5rem;
    border: 0;
}

.table-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

/* auth.min.css */
body {
    background-color: #f8f9fa;
}
.login-card {
    max-width: 400px;
    margin: 100px auto;
}

        /* Reset bare-element saja (spesifisitas netral) — tidak boleh
           mengalahkan utility/komponen Bootstrap seperti .mb-* / .form-control */
        :where(body.landing) h1, :where(body.landing) h2, :where(body.landing) h3,
        :where(body.landing) h4, :where(body.landing) h5, :where(body.landing) h6,
        :where(body.landing) p, :where(body.landing) ul, :where(body.landing) ol,
        :where(body.landing) li, :where(body.landing) figure,
        :where(body.landing) blockquote, :where(body.landing) hr {
            margin: 0;
            padding: 0;
        }

        :root {
            --primary-red: #DC2626;
            --dark-red: #DC2626;
            --light-red: #FFE6E6;
            --white: #FFFFFF;
            --gray-50: #F8F9FA;
            --gray-100: #F1F3F5;
            --gray-200: #E9ECEF;
            --gray-300: #DEE2E6;
            --gray-600: #6C757D;
            --gray-800: #343A40;
            --gray-900: #212529;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
        }

        html {
            scroll-behavior: smooth;
        }
body.landing {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--gray-50);
            color: var(--gray-800);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero, .section-header, .requirements-grid, .modul-grid, .dept-grid, .template-card {
            animation: fadeIn 0.8s ease-out forwards;
        }

        .requirements-grid, .modul-grid, .dept-grid {
            animation-delay: 0.2s;
        }

        /* Container */
body.landing .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navbar - Professional */
body.landing .navbar {
            background: var(--white);
            border-bottom: 3px solid var(--primary-red);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-md);
        }

        .navbar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-box {
            width: 48px;
            height: 48px;
            background: var(--primary-red);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 800;
            font-size: 24px;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-main {
            font-size: 18px;
            font-weight: 700;
            color: var(--gray-900);
            letter-spacing: -0.5px;
        }

        .logo-sub {
            font-size: 11px;
            color: var(--gray-600);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .nav-menu {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-menu a {
            color: var(--gray-800);
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: color 0.2s;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--primary-red);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-red);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--gray-800);
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
            color: var(--white);
            padding: 100px 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 24px;
            letter-spacing: -0.5px;
        }

        .hero p {
            font-size: 20px;
            line-height: 1.8;
            max-width: 750px;
            margin: 0 auto 40px;
            opacity: 0.95;
            font-weight: 400;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
body.landing .btn {
            padding: 16px 36px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 2px solid transparent;
            cursor: pointer;
        }
body.landing .btn-primary {
            background: var(--white);
            color: var(--primary-red);
        }

        .btn-primary:hover {
            background: var(--gray-100);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-outline {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-outline:hover {
            background: var(--white);
            color: var(--primary-red);
        }
body.landing .btn-warning {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
            color: #1a1a1a;
            border: 2px solid #FFD700;
        }

        .btn-warning:hover {
            background: linear-gradient(135deg, #FFC300 0%, #FF8C00 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
        }

        /* Section */
body.landing section {
            padding: 80px 0;
        }

        /* Section with red background */
        section.bg-red {
            background: var(--primary-red);
        }

        section.bg-red .section-title,
        section.bg-red .section-subtitle {
            color: white;
        }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-title {
            font-size: 40px;
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: 20px;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--gray-600);
            max-width: 650px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Modul Cards */
        .modul-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
            margin-bottom: 48px;
        }

        .modul-card {
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
            border-radius: 20px;
            padding: 48px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .modul-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(200, 16, 46, 0.3);
        }

        .modul-icon {
            width: 64px;
            height: 64px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin-bottom: 24px;
        }

        .modul-card h3 {
            font-size: 24px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 16px;
            line-height: 1.3;
        }

        .modul-card p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .modul-list {
            list-style: none;
            margin-bottom: 20px;
        }

        .modul-list li {
            padding: 8px 0;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .modul-list li::before {
            content: '?';
            color: var(--white);
            font-weight: 700;
            font-size: 16px;
        }

        /* Persyaratan Section */
        .persyaratan-section {
            background: white;
        }

        .persyaratan-section .section-title {
            color: var(--gray-900);
        }

        .persyaratan-section .section-subtitle {
            color: var(--gray-600);
        }
body.landing .alert-info {
            background: var(--light-red);
            border-left: 4px solid var(--primary-red);
            padding: 20px 24px;
            border-radius: 8px;
            margin-bottom: 40px;
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .alert-icon {
            font-size: 24px;
            flex-shrink: 0;
        }

        .alert-content strong {
            color: var(--primary-red);
            font-weight: 700;
            display: block;
            margin-bottom: 4px;
        }

        .alert-content p {
            color: var(--gray-700);
            font-size: 14px;
            line-height: 1.6;
            margin: 0;
        }

        .requirements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 48px;
        }

        .requirement-item {
            background: white;
            border: 2px solid var(--gray-200);
            border-radius: 14px;
            padding: 20px;
            display: flex;
            gap: 16px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        }

        .requirement-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(220, 38, 38, 0.18);
            border-color: var(--primary-red);
        }

        .requirement-number {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
            color: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 17px;
            flex-shrink: 0;
            box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
        }

        .requirement-content {
            flex: 1;
        }

        .requirement-content h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 6px;
            line-height: 1.3;
        }

        .requirement-content p {
            font-size: 13px;
            color: var(--gray-600);
            line-height: 1.5;
            margin-bottom: 8px;
        }
body.landing .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .badge-required {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
            color: var(--white);
        }

        .badge-optional {
            background: #FFA500;
            color: var(--white);
        }

        .badge-info {
            background: #0066CC;
            color: var(--white);
        }

        /* Button Dari Perusahaan */
        .btn-perusahaan {
            background: #0ea5e9;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .btn-perusahaan:hover {
            background: #0284c7;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
        }

        /* Notes Box */
        .notes-box {
            background: var(--gray-100);
            border: 2px dashed var(--gray-300);
            border-radius: 12px;
            padding: 32px;
            margin-top: 48px;
        }

        .notes-box h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-red);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .notes-box ul {
            list-style: none;
        }

        .notes-box li {
            padding: 12px 0;
            font-size: 14px;
            color: var(--gray-700);
            line-height: 1.6;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .notes-box li::before {
            content: '??';
            font-size: 16px;
            flex-shrink: 0;
        }

        .notes-box strong {
            color: var(--gray-900);
            font-weight: 600;
        }

        /* Template Section */
        .template-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .template-card {
            background: var(--white);
            border: 2px solid var(--gray-200);
            border-radius: 16px;
            padding: 32px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .template-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
            border-color: var(--primary-red);
        }

        .template-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .template-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 8px;
        }

        .template-card p {
            font-size: 13px;
            color: var(--gray-600);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .btn-download {
            background: var(--primary-red);
            color: var(--white);
            padding: 10px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .btn-download:hover {
            background: var(--dark-red);
            transform: translateY(-2px);
        }

        /* Departemen Section */
        .dept-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }

        .dept-card {
            background: white;
            border: 2px solid transparent;
            border-radius: 16px;
            padding: 24px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
        }

        .dept-card:hover {
            border-color: var(--primary-red);
            box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15);
            transform: translateY(-6px);
        }

        .dept-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin: 0 auto 16px;
            transition: all 0.3s ease;
            box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
        }

        .dept-card h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .dept-card p {
            font-size: 13px;
            color: var(--gray-600);
            line-height: 1.5;
            margin-bottom: 0;
        }

        .dept-quota {
            background: var(--primary-red);
            padding: 14px 20px;
            border-radius: 10px;
            font-size: 14px;
            color: white;
            width: 100%;
            font-weight: 600;
        }

        .dept-quota strong {
            color: white;
            font-weight: 800;
            font-size: 18px;
        }

        /* Contact Section */
        .contact-section {
            background: var(--gray-100);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 32px;
            margin-top: 48px;
        }

        .contact-card {
            background: var(--white);
            border-radius: 12px;
            padding: 32px;
            text-align: center;
            box-shadow: var(--shadow-sm);
        }

        .contact-icon {
            width: 64px;
            height: 64px;
            background: var(--light-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin: 0 auto 16px;
        }

        .contact-card h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 8px;
        }

        .contact-card p {
            font-size: 14px;
            color: var(--gray-600);
            margin-bottom: 8px;
        }

        .contact-value {
            color: var(--primary-red);
            font-weight: 600;
            font-size: 15px;
        }

        /* Footer */
body.landing footer {
            background: var(--gray-900);
            color: var(--white);
            padding: 48px 0 32px;
            text-align: center;
        }

        footer h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        footer p {
            font-size: 14px;
            opacity: 0.8;
            line-height: 1.8;
            margin-bottom: 8px;
        }

        .footer-divider {
            height: 1px;
            background: rgba(255,255,255,0.1);
            margin: 24px 0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero h1 {
                font-size: 32px;
            }

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

            .section-title {
                font-size: 24px;
            }

            .modul-grid {
                grid-template-columns: 1fr;
            }

            .requirements-grid {
                grid-template-columns: 1fr;
            }

            .template-grid {
                grid-template-columns: 1fr;
            }

            .dept-grid {
                grid-template-columns: repeat(2, 1fr) !important; /* Paksa 2 Kolom di HP */
                gap: 10px !important;
            }

            /* Penyesuaian Card Departemen di HP */
            .dept-card {
                padding: 12px !important; /* Padding lebih kecil lagi */
                width: 100% !important;
                min-height: 180px; /* Tinggi minimum agar seragam */
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                border-radius: 12px !important;
            }

            .dept-icon {
                width: 40px !important;
                height: 40px !important;
                font-size: 18px !important;
                margin-bottom: 8px !important;
                margin-left: auto;
                margin-right: auto;
            }

            .dept-card h3 {
                font-size: 12px !important;
                margin-bottom: 4px !important;
                line-height: 1.2 !important;
                height: 30px; /* Fixed height for title alignment */
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .dept-card p {
                font-size: 10px !important;
                line-height: 1.3 !important;
                margin-bottom: 8px !important;
                flex-grow: 1;
            }
            
            .dept-quota {
                padding: 6px 8px !important;
                font-size: 10px !important;
                margin-top: auto !important;
                border-radius: 8px !important;
            }

            .dept-quota strong {
                font-size: 12px !important;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }
body.landing section {
                padding: 40px 0;
            }

            .hero {
                padding: 40px 0;
            }

            /* Sesuaikan dekorasi pada mobile agar tidak offside tapi tetap tampil */
            .decoration-sawit {
                display: block !important;
                width: 120px !important; /* Ukuran diperkecil */
                opacity: 0.4 !important; /* Transparansi agar tidak mengganggu teks */
                z-index: 0 !important;
            }

            .decoration-sawit.left {
                left: -30px !important; /* Posisikan ulang agar masuk layar */
                transform: translateY(-50%) !important;
            }

            .decoration-sawit.right {
                right: -30px !important; /* Posisikan ulang agar masuk layar */
                transform: translateY(-50%) scaleX(-1) !important;
            }
            
            /* KHUSUS HERO (Engineer): Posisikan di bawah agar rata dan rapi */
            .hero .decoration-sawit {
                top: auto !important;
                bottom: -20px !important; /* Duduk di bagian bawah */
                transform: none !important;
                width: 100px !important;
                opacity: 1 !important;
            }

            .hero .decoration-sawit.left {
                left: -20px !important;
            }

            .hero .decoration-sawit.right {
                right: -20px !important;
                transform: scaleX(-1) !important; /* Hanya mirror, tanpa translate vertical */
            }

            /* Pastikan section meng-handle overflow agar tidak ada scroll horizontal */
            .hero, .persyaratan-section {
                overflow-x: hidden; 
                position: relative;
            }

            /* Fix Modal PDF di HP */
body.landing .modal-dialog {
                margin: 0.5rem;
                height: calc(100vh - 1rem) !important;
            }
body.landing .modal-content {
                height: 100%;
            }
body.landing iframe {
                display: block;
                width: 100%;
                height: 100%;
                overflow: scroll !important;
                -webkit-overflow-scrolling: touch;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .requirements-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .modul-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

/* Inline: responsive decorations (dari index.php) */
@media (max-width: 1400px) {
    .download-decoration-wrapper .decoration-sawit.left { left: -150px !important; }
    .download-decoration-wrapper .decoration-sawit.right { right: -150px !important; }
}

@media (max-width: 1200px) {
    .download-decoration-wrapper .decoration-sawit { opacity: 1 !important; }
    .download-decoration-wrapper .decoration-sawit.left { left: -100px !important; }
    .download-decoration-wrapper .decoration-sawit.right { right: -100px !important; }
}

@media (max-width: 992px) {
    .decoration-sawit {
        width: 160px !important;
        opacity: 1 !important;
    }
    .download-decoration-wrapper .decoration-sawit.left { left: -60px !important; }
    .download-decoration-wrapper .decoration-sawit.right { right: -60px !important; }

    .hero .decoration-sawit.left { left: -40px !important; }
    .hero .decoration-sawit.right { right: -40px !important; }
}

@media (max-width: 576px) {
    .decoration-sawit {
        width: 120px !important;
        opacity: 1 !important;
        top: auto !important;
        bottom: 0 !important;
        transform: none !important;
    }

    .decoration-sawit.left {
        left: -30px !important;
    }

    .decoration-sawit.right {
        right: -30px !important;
        transform: scaleX(-1) !important;
    }

    .download-decoration-wrapper .decoration-sawit {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    .download-decoration-wrapper .decoration-sawit.right {
        transform: translateY(-50%) scaleX(-1) !important;
    }
}
/* Inline: custom responsive styles (dari index.php) */
.decor-img { position: absolute; pointer-events: none; z-index: 0; transition: all 0.3s ease; }

.hero-decor { width: 70px; opacity: 0.9; top: -60px; }
.hero-decor.left { left: 10px; }
.hero-decor.right { right: 10px; transform: scaleX(-1); }

@media (min-width: 992px) {
    .hero-decor { width: 250px; opacity: 1; top: 50% !important; }
    .hero-decor.left { left: -100px; transform: translateY(-50%); }
    .hero-decor.right { right: -100px; transform: translateY(-50%) scaleX(-1); }
}

.sawit-decor { width: 100px; opacity: 0.4; top: -20px; }
.sawit-decor.left { left: -20px; }
.sawit-decor.right { right: -20px; transform: scaleX(-1); }

@media (min-width: 992px) {
    .sawit-decor { width: 250px; opacity: 1; top: 0% !important; }
    .sawit-decor.left { left: -330px; transform: translateY(-50%); }
    .sawit-decor.right { right: -330px; transform: translateY(-50%) scaleX(-1); }
}

.floating-badge {
    bottom: 20px; left: -10px; z-index: 3; max-width: 200px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@media (min-width: 768px) {
    .floating-badge { transform: scale(1); bottom: 30px; left: -20px; }
}

@media (max-width: 991px) {
    .intro-visual-wrapper {
        padding-bottom: 2rem;
    }
    .intro-visual-wrapper .swap-trigger.d-inline-block {
        display: block;
        width: 90%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .intro-visual-wrapper #imgBack {
        width: 100% !important;
        transform: rotate(0deg) !important;
    }
    .intro-visual-wrapper #imgFront {
        width: 80% !important;
        bottom: 15px !important;
        right: 15px !important;
        transform: rotate(0deg) !important;
    }
    .intro-visual-wrapper .floating-badge {
        left: 50% !important;
        transform: translateX(-50%) scale(0.9) !important;
        bottom: -15px !important;
        width: max-content;
    }
}
/* Stabilisasi rasio foto intro: tinggi kotak selalu 4:3 agar tidak loncat
   saat swap antar foto yang rasio sumbernya berbeda (object-fit cover = crop,
   file .png/.jpg tidak diubah) */
.intro-visual-wrapper .swap-target {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
/* Inline JS-injected: animations & effects (dari index.php) */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.modul-icon, .dept-icon {
    animation: float 3s ease-in-out infinite;
}

.modul-card:nth-child(1) .modul-icon { animation-delay: 0s; }
.modul-card:nth-child(2) .modul-icon { animation-delay: 0.3s; }
.modul-card:nth-child(3) .modul-icon { animation-delay: 0.6s; }

body.landing .btn {
    position: relative;
    overflow: hidden;
}

body.landing .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.landing .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero h1 { animation: slideInLeft 1s ease-out; }
.hero p { animation: slideInRight 1s ease-out 0.3s both; }
.hero-buttons { animation: slideInLeft 1s ease-out 0.6s both; }
body.landing .section-title { animation: slideInLeft 0.8s ease-out; }
body.landing .badge { animation: pulse 2s ease-in-out infinite; }

.modul-card:hover, .dept-card:hover {
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.5),
                0 0 30px rgba(255, 215, 0, 0.3);
}

.requirement-item:hover {
    box-shadow: 0 12px 24px rgba(200, 16, 46, 0.5),
                0 0 20px rgba(255, 215, 0, 0.2);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red), #a01829);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.swap-target {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.swap-trigger:hover .swap-target {
    transform: scale(1.05) rotate(var(--base-rot)) !important;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
    z-index: 10;
}
.swapping {
    animation: flipSwap 0.6s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}
@keyframes flipSwap {
    0%, 100% { transform: scale(1) rotate(var(--base-rot)); opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Login page */
.login-card { max-width: 450px; margin: 5rem auto; }
.bg-gradient-primary { background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%); }

