﻿@charset "UTF-8";


:root {
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 992px;
}

body {
    overflow-x: hidden;
}

/* Video Background Styles */
.landing-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.landing-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Header Styles */
.landing-header {
    position: relative;
    z-index: 2;
    padding: 1rem 0;
    background-color: white;
}

.header-logo img {
    transition: all 0.3s ease;
}

/* Hero Section */
.landing-hero {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

/* Job Vacancy Section */
#job-vacancy {
    margin-top: 2rem;
    padding-top: 3rem;
    background: white;
    position: relative;
    margin-bottom: 4rem;
}

/* Contact Section */
#contact-us {
    padding: 2rem 0;
}

/* Mobile Menu */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

/* Form Elements */
.select2-container--bootstrap5 .select2-selection {
    min-height: 40px;
    padding: 0.375rem 0.75rem;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__arrow {
    height: 45px;
}

.select2-container--bootstrap5 .select2-dropdown {
    border: 1px solid #ced4da;
}

/* DataTable Adjustments */
#kt_jobs_table th, #kt_jobs_table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Breakpoints */
@@media (max-width: 1199.98px) {
    .landing-header .container {
        padding: 0 15px;
    }
}

@@media (max-width: 991.98px) {
    .landing-video-container {
        height: 80vh;
        min-height: 500px;
    }

    .header-logo img {
        max-height: 40px !important;
    }

    .landing-header .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    #kt_landing_menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: all 0.3s ease;
        flex-direction: column !important;
        padding-top: 3rem;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
    }

        #kt_landing_menu.show {
            left: 0;
        }

    .menu-item {
        width: 100%;
        margin-bottom: 0;
    }

    .menu-link {
        padding: 1rem !important;
        display: block;
        border-bottom: 1px solid #eee;
    }

    .flex-equal.text-end {
        margin-left: 0.5rem !important;
    }
}

@@media (max-width: 767.98px) {
    .landing-video-container {
        height: 70vh;
        min-height: 400px;
    }

    h1.text-white {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    #job-vacancy {
        padding-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .card-body .row {
        flex-direction: column;
    }

    .card-body .col-md-4,
    .card-body .col-md-3,
    .card-body .col-md-2 {
        width: 100%;
        margin-bottom: 1rem;
    }

    #kt_jobs_table th,
    #kt_jobs_table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
        /* Hide less important columns on mobile */
        #kt_jobs_table th:nth-child(6),
        #kt_jobs_table td:nth-child(6),
        #kt_jobs_table th:nth-child(7),
        #kt_jobs_table td:nth-child(7),
        #kt_jobs_table th:nth-child(8),
        #kt_jobs_table td:nth-child(8) {
            display: none;
        }
    /* Contact section adjustments */
    #contact-us .col-lg-6 {
        margin-bottom: 1.5rem;
    }

    #contact-us .fs-2 {
        font-size: 1.5rem !important;
    }

    #contact-us .fs-4 {
        font-size: 1rem !important;
    }
    /* Button adjustments */
    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

@@media (max-width: 575.98px) {
    .landing-video-container {
        height: 60vh;
        min-height: 350px;
    }

    h1.text-white {
        font-size: 1.5rem !important;
    }

    .flex-equal.text-end {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

        .flex-equal.text-end .btn {
            width: 100%;
        }
}

.button-group {
    display: flex;
    justify-content: flex-end;
}

    .button-group .btn {
        margin-left: 8px; /* Jarak untuk desktop */
    }

@@media (max-width: 768px) {
    .button-group .btn {
        margin-left: 4px; /* Jarak lebih kecil untuk mobile */
    }
}

/* SweetAlert Modal Adjustments */
@@media (max-width: 767.98px) {
    .swal2-container {
        width: 95% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .swal2-popup {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
    }

    .swal2-html-container {
        max-height: 60vh;
        overflow-y: auto;
    }
}

.menu-link.nav-link.active {
    color: #009EF7 !important;
}
