* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2E9FD8;
    --primary-green: #76C757;
    --primary-purple: #6B4C9A;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
nav {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d44 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section .logo {
    height: 50px;
    width: auto;
}

.company-name {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green), var(--primary-purple));
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    transition: background 0.3s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section with Slider - FIXED HEIGHT SEPERTI HERO UMUMNYA */
.hero {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 70px;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 450px;
    /* Default height */
    background: transparent;
    margin: 0;
    padding: 0;
}

/* Visibility Control */
.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 65px;
    }

    .hero-slider {
        min-height: auto;
    }

    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }

    .hero-slider-container.mobile-view {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-slider-container.mobile-view .hero-slide {
        position: relative;
        width: 100%;
        height: auto;
    }

    .hero-slider-container.mobile-view .hero-slide:not(.active) {
        position: absolute;
        top: 0;
        left: 0;
    }

    .hero-slider-container.mobile-view .hero-slide-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center center;
        display: block;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* FIXED: Style untuk IMG tag - COVER tanpa posisi absolut */
.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0;
    padding: 0;
}

/* Hero Slider Buttons */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: blue;
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 300;
    padding: 0;
    line-height: 1;
}

.hero-slider-btn svg {
    display: none;
}

.hero-slider-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--primary-green);
}

.hero-slider-btn.prev {
    left: 20px;
}

.hero-slider-btn.prev::before {
    content: '‹';
}

.hero-slider-btn.next {
    right: 20px;
}

.hero-slider-btn.next::before {
    content: '›';
}

.hero-slider-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-indicator.active {
    background: white;
    transform: scale(1.4);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

/* Section Styling */
section {
    padding: 80px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section#home {
    padding: 0;
    max-width: none;
    margin: 0;
}

/* Why Choose Us Section */
#why-us {
    background: white;
    padding: 80px 2rem;
    max-width: 1400px;
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.why-us-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.why-us-text p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.divider-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

/* FIXED: Tetap 2 kolom untuk layout yang rapi */
.why-us-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box i {
    font-size: 2rem;
    color: white;
}

/* Style khusus untuk icon image ISO */
.feature-icon-box.feature-icon-image {
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.feature-icon-box.feature-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Bikin logo jadi putih */
}

.feature-item h3 {
    color: var(--dark-bg);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Statistics Counter Section */
#statistics {
    background: #f8f9fa;
    padding: 80px 2rem;
    position: relative;
    overflow: hidden;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2dd4bf;
    line-height: 1;
}

.stat-plus {
    font-size: 3rem;
    font-weight: 800;
    color: #2dd4bf;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--dark-bg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green), var(--primary-purple));
}

/* Services Section - Parallax Banner GESER KE KANAN */
#layanan {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
    /* UBAH: center container */
    width: 100%;
    /* UBAH: full width dulu */
    max-width: 1400px;
    /* TAMBAH: batas maksimal */
}


#layanan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/layanan-bg.jpg');
    background-size: cover;
    background-position: center center;
    /* PENTING: pastikan center center */
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.layanan-banner {
    position: relative;
    z-index: 1;
    min-height: 350px;
    /* Tinggi lebih besar */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 2rem;
    /* Padding lebih besar */
    width: 100%;
}

.layanan-banner-text {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.3;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    max-width: 1200px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* Review Section */
#nilai {
    background: var(--light-bg);
}

/* Contact Section */
#kontak {
    background: var(--light-bg);
}

/* ==================== PROGRAM PELATIHAN TERDEKAT SECTION ==================== */

#pelatihan-terdekat {
    background: white;
    padding: 80px 2rem;
}

.pelatihan-terdekat-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pelatihan-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Filter Section */
.pelatihan-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.filter-select,
.filter-input {
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 159, 216, 0.1);
}

.filter-select {
    background: white;
    cursor: pointer;
}

/* Table Wrapper */
.pelatihan-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Pelatihan Table */
.pelatihan-table {
    width: 100%;
    border-collapse: collapse;
}

.pelatihan-table thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
}

.pelatihan-table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    user-select: none;
}

.pelatihan-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.pelatihan-table tbody tr {
    transition: all 0.3s;
}

.pelatihan-table tbody tr:hover {
    background: rgba(46, 159, 216, 0.05);
}

.pelatihan-table tbody tr:last-child td {
    border-bottom: none;
}

/* Sort Icon */
.sort-icon {
    cursor: pointer;
    margin-left: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.sort-icon:hover {
    opacity: 1;
}

/* Pelatihan Table Cells */
.pelatihan-nama {
    font-weight: 600;
    color: var(--dark-bg);
    min-width: 250px;
}

.pelatihan-jenis {
    min-width: 150px;
}

.pelatihan-jadwal {
    color: #666;
    min-width: 180px;
}

.pelatihan-aksi {
    text-align: center;
    min-width: 100px;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-kemnakerri {
    background: rgba(46, 159, 216, 0.15);
    color: var(--primary-blue);
}

.badge-bnsp {
    background: rgba(107, 76, 154, 0.15);
    color: var(--primary-purple);
}

.badge-offshore {
    background: rgba(118, 199, 87, 0.15);
    color: var(--primary-green);
}

.badge-pjk3 {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

/* Daftar Button */
.btn-daftar-pelatihan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-width: 90px;
}

.btn-daftar-pelatihan:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 159, 216, 0.3);
}

.btn-daftar-pelatihan:active {
    transform: translateY(0);
}

/* ==================== ARTIKEL SECTION - FIXED JUDUL TERPOTONG ==================== */
#artikel {
    background: white;
    padding: 80px 2rem;
}

.artikel-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-more:hover {
    background: var(--primary-blue);
    color: white;
}

.artikel-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    padding: 0 80px;
}

.artikel-slider {
    position: relative;
    overflow: hidden;
}

.artikel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.artikel-card {
    flex: 0 0 calc((100% - 6rem) / 4);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.artikel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.artikel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.artikel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.artikel-content {
    padding: 1.5rem;
}

/* Artikel Meta Info */
.artikel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.artikel-category {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.artikel-category i {
    font-size: 0.75rem;
}

.artikel-date {
    color: #999;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.artikel-date i {
    font-size: 0.9rem;
}

/* FIXED: Judul Artikel tidak terpotong */
.artikel-content h3 {
    color: var(--dark-bg);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    /* Hapus min-height yang fixed */
    min-height: auto;
    /* Tampilkan maksimal 3 baris dengan ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
}

.artikel-btn {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.artikel-btn:hover {
    background: var(--primary-blue);
    transform: translateX(5px);
}

/* Artikel Slider Navigation Buttons - SAMA SEPERTI HERO SLIDER */
.artikel-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: blue;
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 300;
    padding: 0;
    line-height: 1;
}

.artikel-slider-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: var(--primary-green);
}

.artikel-slider-btn.prev {
    left: 0;
}

.artikel-slider-btn.next {
    right: 0;
}

/* ==================== PARTNERS SECTION - 3 BARIS HORIZONTAL ==================== */
#partners {
    background: white;
    padding: 80px 2rem;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.partners-row-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.partners-slider-horizontal {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.partners-slider-horizontal:active {
    cursor: grabbing;
}

.partners-track-horizontal {
    display: flex;
    gap: 3rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.partner-item {
    flex: 0 0 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s;
    height: 150px;
    background: #f8f9fa;
    border-radius: 10px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    pointer-events: none;
}

.partner-item:hover img {
    transform: scale(1.1);
}

/* Instagram Feed Section */
#instagram-feed {
    background: var(--light-bg);
    padding: 80px 2rem;
}

.instagram-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.elfsight-app-f68e0c79-08e8-4811-9146-547be3df0337 {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.instagram-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(188, 24, 136, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(188, 24, 136, 0.5);
}

.btn-instagram i {
    font-size: 1.5rem;
}


/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-icon {
    font-size: 1.3rem;
    min-width: 30px;
}

.footer-icon-img {
    width: 24px;
    height: 24px;
    min-width: 24px;
    object-fit: contain;
}

.footer-icon-gmail {
    filter: brightness(0) invert(1);
    /* Khusus Gmail jadi putih */
}

.footer-icon-fa {
    font-size: 1.5rem;
    min-width: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--primary-green);
}

.footer-contact-item p {
    margin: 0;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 0.5rem;
}

/* Footer Bottom - Logo di Kiri Bawah */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Location & Maps */
.footer-location {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s;
}

.footer-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.footer-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.footer-map:hover img {
    transform: scale(1.05);
}

.footer-map a {
    text-decoration: none;
    display: block;
}

.footer-section .mdi-instagram {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.btn-formulir-registrasi {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9998;
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    color: #000;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-formulir-registrasi:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.6);
    background: linear-gradient(135deg, #FFD54F 0%, #FFA726 100%);
}

.btn-formulir-registrasi i {
    font-size: 22px;
}

/* Responsive */
@media (max-width: 1024px) {
    .partner-item {
        flex: 0 0 200px;
        height: 130px;
    }

    .partners-track-horizontal {
        gap: 2rem;
    }

    .partners-container {
        gap: 2.5rem;
    }

    .pelatihan-filters {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }

    .pelatihan-nama {
        min-width: 200px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: #1a1a2e;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
        gap: 2rem;
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .hero-slider {
        height: 450px;
    }

    .hero {
        min-height: 450px;
        margin-top: 70px;
    }

    .hero-slider-btn {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }

    .hero-slider-btn.prev {
        left: 10px;
    }

    .hero-slider-btn.next {
        right: 10px;
    }

    .hero-slider-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    .company-name {
        font-size: 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-info {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .partner-item {
        flex: 0 0 180px;
        height: 120px;
        padding: 1rem;
    }

    .partners-track-horizontal {
        gap: 1.5rem;
    }

    .partners-container {
        gap: 2rem;
    }

    .artikel-slider-container {
        padding: 0 50px;
    }

    .artikel-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Artikel Meta Responsive */
    .artikel-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .artikel-category {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .artikel-date {
        font-size: 0.8rem;
    }

    .artikel-content h3 {
        font-size: 1rem;
        /* Tetap 3 baris maksimal di mobile */
        -webkit-line-clamp: 3;
    }

    .why-us-container {
        grid-template-columns: 1fr;
    }

    .why-us-features {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-plus {
        font-size: 2.4rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .footer-location {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer-map img {
        height: 180px;
    }

    .tabs-navigation {
        flex-direction: column;
        gap: 0.8rem;
    }

    .tab-btn {
        padding: 1rem 1.5rem;
        justify-content: center;
    }

    .tab-icon {
        font-size: 1.5rem;
    }

    .tab-title {
        font-size: 0.9rem;
    }

    .service-poster-box {
        padding: 1.5rem;
    }

    .service-poster-box-small {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .service-poster-small {
        max-height: 300px;
    }

    .btn-detail-service {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .service-lightbox-close {
        right: 20px;
        font-size: 2.5rem;
    }

    .service-lightbox-caption {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
        bottom: 20px;
    }

    .instagram-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .btn-instagram {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .btn-instagram i {
        font-size: 1.3rem;
    }

    #pelatihan-terdekat {
        padding: 60px 1rem;
    }

    .pelatihan-filters {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .pelatihan-table-wrapper {
        border-radius: 10px;
    }

    .pelatihan-table th,
    .pelatihan-table td {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .pelatihan-nama {
        min-width: 150px;
    }

    .pelatihan-jenis {
        min-width: 120px;
    }

    .pelatihan-jadwal {
        min-width: 130px;
    }

    .btn-daftar-pelatihan {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 70px;
    }
}

@media (max-width: 550px) {
    .btn-daftar-pelatihan {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        min-width: 60px;
    }

    .btn-daftar-pelatihan i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hamburger {
        padding: 0.8rem;
        min-width: 60px;
        min-height: 60px;
    }

    .hamburger-line {
        width: 35px;
        height: 5px;
    }

    .nav-links {
        padding-top: 3rem;
        gap: 3rem;
    }

    .nav-links a {
        font-size: 1.4rem;
        padding: 1.5rem;
    }

    .logo-section .logo {
        height: 40px;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .hero-slider-indicators {
        bottom: 15px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }

    section {
        padding: 60px 1rem;
    }

    .service-poster-box {
        padding: 1rem;
    }

    .service-poster {
        max-height: 450px;
    }

    .service-poster-box-small {
        padding: 1rem;
        gap: 1.2rem;
    }

    .service-poster-small {
        max-height: 250px;
    }

    .btn-detail-service {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-detail-service span {
        font-size: 1.1rem;
    }

    .service-lightbox-close {
        right: 15px;
        top: 15px;
        font-size: 2rem;
    }

    .service-lightbox-caption {
        font-size: 1rem;
        padding: 0.6rem 1rem;
        bottom: 15px;
    }

    .service-lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .partner-item {
        flex: 0 0 150px;
        height: 100px;
        padding: 0.8rem;
    }

    .partners-track-horizontal {
        gap: 1rem;
    }

    .partners-container {
        gap: 1.5rem;
    }

    .artikel-slider-container {
        padding: 0 45px;
    }

    .artikel-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    /* Artikel Meta Mobile */
    .artikel-category {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
    }

    .artikel-date {
        font-size: 0.75rem;
    }

    .artikel-content h3 {
        font-size: 0.95rem;
        /* Mobile tetap 3 baris */
        -webkit-line-clamp: 3;
    }

    #pelatihan-terdekat {
        padding: 40px 0.5rem;
    }

    .pelatihan-table-wrapper {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .pelatihan-table th,
    .pelatihan-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    .pelatihan-nama {
        min-width: 120px;
    }

    .pelatihan-jenis {
        min-width: 100px;
    }

    .pelatihan-jadwal {
        min-width: 110px;
        font-size: 0.7rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .btn-daftar-pelatihan {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        min-width: 60px;
    }

    .btn-formulir-registrasi {
        padding: 10px 20px;
        font-size: 14px;
        gap: 8px;
    }

    .btn-formulir-registrasi i {
        font-size: 18px;
    }

    .footer-logo {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-logo p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .stats-container {
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-plus {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .btn-formulir-registrasi {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }

    .btn-formulir-registrasi i {
        font-size: 16px;
    }

    .layanan-banner {
        min-height: 180px;
        padding: 30px 1rem;
    }

    .layanan-banner-text {
        font-size: 1.5rem;
    }
}

/* ==================== JADWAL KEGIATAN - MOBILE RESPONSIVE ==================== */

@media (max-width: 768px) {
    #pelatihan-terdekat {
        padding: 60px 1rem;
    }

    .pelatihan-terdekat-container {
        padding: 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .pelatihan-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* Filter Section */
    .pelatihan-filters {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .filter-group label {
        font-size: 0.9rem;
    }

    .filter-select,
    .filter-input {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Table Wrapper */
    .pelatihan-table-wrapper {
        border-radius: 10px;
        max-height: 600px;
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Table */
    .pelatihan-table {
        min-width: 700px;
        font-size: 0.85rem;
    }

    .pelatihan-table th,
    .pelatihan-table td {
        padding: 0.8rem 0.6rem;
        font-size: 0.85rem;
    }

    .pelatihan-table th {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* Column Widths */
    .pelatihan-nama {
        min-width: 200px;
        font-size: 0.9rem;
    }

    .pelatihan-nama strong {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .pelatihan-jenis {
        min-width: 150px;
        font-size: 0.85rem;
    }

    .pelatihan-jadwal {
        min-width: 120px;
        font-size: 0.85rem;
    }

    .pelatihan-aksi {
        min-width: 100px;
    }

    /* Button Daftar */
    .btn-daftar-pelatihan {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 80px;
        white-space: nowrap;
    }

    /* Scrollbar Hint */
    .pelatihan-table-wrapper::after {
        content: '← Scroll untuk melihat lebih banyak →';
        display: block;
        text-align: center;
        padding: 0.8rem;
        background: #f8f9fa;
        color: #666;
        font-size: 0.8rem;
        font-weight: 500;
        border-top: 1px solid #ddd;
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
    }

    /* Custom Scrollbar */
    .pelatihan-table-wrapper::-webkit-scrollbar {
        height: 6px;
        width: 6px;
    }

    .pelatihan-table-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .pelatihan-table-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
        border-radius: 3px;
    }

    .artikel-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}
}

@media (max-width: 480px) {
    #pelatihan-terdekat {
        padding: 40px 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pelatihan-subtitle {
        font-size: 0.85rem;
    }

    .pelatihan-filters {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .filter-group label {
        font-size: 0.85rem;
    }

    .filter-select,
    .filter-input {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
    }

    .pelatihan-table-wrapper {
        max-height: 500px;
    }

    .pelatihan-table {
        min-width: 650px;
        font-size: 0.8rem;
    }

    .pelatihan-table th,
    .pelatihan-table td {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
    }

    .pelatihan-nama {
        min-width: 180px;
        font-size: 0.85rem;
    }

    .pelatihan-jenis {
        min-width: 130px;
        font-size: 0.8rem;
    }

    .pelatihan-jadwal {
        min-width: 110px;
        font-size: 0.8rem;
    }

    .btn-daftar-pelatihan {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 70px;
    }

    .pelatihan-table-wrapper::after {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
}

/* ==================== NAVBAR - MOBILE RESPONSIVE (UPDATED) ==================== */

@media (max-width: 768px) {
    nav {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        flex-direction: row;
        /* Ubah ke row, bukan column */
        gap: 0.8rem;
        align-items: center;
        justify-content: flex-start;
        /* Logo di kiri */
    }

    .logo-section {
        width: auto;
        /* Ubah dari 100% */
        justify-content: flex-start;
    }

    .logo-section .logo {
        height: 40px;
        width: auto;
    }

    .company-name {
        font-size: 0.85rem;
        text-align: left;
        line-height: 1.2;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.4rem 0;
    }

    .nav-container {
        padding: 0 0.8rem;
        gap: 0.6rem;
    }

    .logo-section .logo {
        height: 35px;
    }

    .company-name {
        font-size: 0.75rem;
    }
}

/* ==================== HERO SLIDER - MOBILE RESPONSIVE ==================== */

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: auto;
    }

    .hero {
        margin-top: 65px;
    }

    .hero-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .hero-slider-btn.prev {
        left: 10px;
    }

    .hero-slider-btn.next {
        right: 10px;
    }

    .hero-slider-indicators {
        bottom: 15px;
        gap: 6px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}



@media (max-width: 480px) {
    .hero {
        position: relative;
        margin: 65px 0 0 0;
        padding: 0;
        overflow: hidden;
        width: 100%;
        height: auto;
        background: transparent;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        background: transparent;
        margin: 0;
        padding: 0;
    }

    .hero-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-slider-btn.prev {
        left: 10px;
    }

    .hero-slider-btn.next {
        right: 10px;
    }

    .hero-slider-indicators {
        bottom: 10px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-indicator {
        width: 8px;
        height: 8px;
    }

    /* Hapus padding/margin section Why Choose Us */
    #why-us {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}