:root {
    --primary: #820000;
    --primary-dark: #6d0000;
    --primary-light: #a12828;
    --secondary: #FFD700;
    --secondary-dark: #dfbd00;
    --secondary-light: #ffdf4d;
    --white: #FFFFFF;
    --light: #F8F9FA;
    --gray: #E9ECEF;
    --dark: #212529;
    --text: #343a40;
    --border: #DEE2E6;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.outline-btn {
    background-color: var(--secondary);
    color: var(--light);
}

.outline-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.secondary-btn {
    background-color: var(--secondary);
    color: var(--dark);
    border: 2px solid var(--secondary);
}

.secondary-btn:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    display: flex;
    justify-content: space-around;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 1rem 0;
    display: none;
    z-index: 1000;
    
}

.dropdown-content a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    box-shadow: -5px 0 15px var(--shadow);
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header img{
    width: 100px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
    display: block;
    padding: 1rem;
    color: var(--text);
    font-size: 1rem;
}

.mobile-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-dropdown-content {
    background-color: var(--light);
    display: none;
}

.mobile-dropdown-content a {
    padding-left: 2rem;
    font-size: 0.9rem;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

.career-paths {
    background-color: var(--light);
}

.career-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.career-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-image2 {
    height: 70px;
    overflow: hidden;
}

.card-image2 img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
    margin: 0 auto;
}

.career-card:hover .card-image img {
    transform: scale(1.1);
}

.career-card h3 {
    color: var(--primary);
    padding: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary);
}

.career-card p {
    padding: 1rem;
    color: var(--text);
    font-size: 0.9rem;
}

/* Certificate Section */
.certificate-section {
    background-color: var(--primary);
    color: var(--white);
}

.certificate-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.certificate-text {
    flex: 1;
}

.certificate-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.certificate-text h2 span {
    color: var(--secondary);
}

.certificate-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.certificate-features {
    margin-bottom: 2rem;
}

.certificate-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.certificate-features li i {
    color: var(--secondary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.certificate-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Training Programs Section */
.training-programs {
    padding: 80px 0;
    background-color: var(--white);
}

.programs-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.program-card {
    display: flex;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-image {
    flex: 1;
    min-height: 300px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    flex: 1;
    padding: 30px;
}

.program-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1rem;
}

.program-benefits h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.program-benefits ul {
    margin-bottom: 25px;
}

.program-benefits li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.program-benefits i {
    color: var(--secondary-color);
}

/* Available Training Section */
.available-training {
    background-color: var(--light);
}

.training-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.training-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.card-image {
    position: relative;
    height: 250px;
}

.training-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.7rem 1rem;
    border-top-right-radius: 10px;
    display: flex;
    flex-direction: column;
}

.training-date span:first-child {
    font-weight: 600;
    font-size: 1.1rem;
}

.training-date span:last-child {
    font-size: 0.9rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.training-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.detail i {
    color: var(--primary);
}

.registration-requirements {
    margin-bottom: 1.5rem;
}

.registration-requirements h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1rem;
}

.registration-requirements ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.registration-requirements li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.card-buttons {
    margin-left: -10px;
    flex-direction: column;
    width: 350px;
    gap: 1rem;
}

/* Why Choose Us Section */
.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .card-icon {
    background-color: var(--primary);
    color: var(--white);
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Maps Section */
.map-container {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.office-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.office-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.office-detail i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.office-detail h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.office-detail p {
    font-size: 0.95rem;
}

/* Corporate Clients Section */
.clients-marquee {
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
}

.clients-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.clients-logos {
    display: flex;
    min-width: 100%;
    justify-content: space-around;
    align-items: center;
}

.client-logo {
    padding: 10px 20px;
    flex: 0 0 auto;
}

.client-logo img {
    max-height: 80px;
    max-width: 200px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Jeda animasi saat di-hover */
.clients-track:hover {
    animation-play-state: paused;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-company p {
    margin: 1rem 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-logo {
    margin-bottom: 1rem;
    height: 50px;
    width: 200px;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info ul li i {
    color: var(--primary);
    margin-top: 5px;
}

.contact-info ul li div {
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    width: 100%;
    position: relative;
    padding: 100px 50px 20px 50px;
}

.hero-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

/* Hero Slider dengan efek mengintip */
.hero-slider {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
    gap: 40px; /* Untuk memberikan jarak antar slide */
}

/* Sembunyikan scrollbar */
.hero-slider::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    min-width: calc(100% - 100px); /* Slider utama sedikit lebih kecil untuk memungkinkan slide berikutnya "mengintip" */
    flex: 0 0 calc(100% - 100px);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    scroll-snap-align: start;
    margin-right: -20px; /* Untuk memastikan slide berikutnya benar-benar terlihat */
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider Controls (dots) */
.slider-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #aaaaaa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #820000;
}

/* awal maintenance-overlay */
#maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.maintenance-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 500px;
    pointer-events: auto;
}

.maintenance-card h1 {
    color: #D71313;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.maintenance-card p {
    color: #333;
    font-size: 1.1rem;
}
/* akhir maintenance-overlay */

/* Media Queries */
@media (max-width: 1200px) {
    .hero-section{
        margin-top: 20px;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .certificate-text h2 {
        font-size: 2.2rem;
    }
    
    .program-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    /* Global font size reduction */
    body {
        font-size: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .certificate-text h2 {
        font-size: 2rem;
    }
    
    .certificate-text p {
        font-size: 1rem;
    }
    
    .certificate-features li {
        font-size: 0.95rem;
    }
    
    .program-content h3 {
        font-size: 1.3rem;
    }
    
    .program-content p {
        font-size: 0.95rem;
    }
    
    .program-benefits h4 {
        font-size: 1rem;
    }
    
    .program-benefits li {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 100px 30px 15px 30px;
    }
    
    .hero-slide {
        min-width: calc(100% - 80px);
        flex: 0 0 calc(100% - 80px);
    }
    
    .certificate-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .card-buttons {
        flex-direction: column;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
    }
    
    .training-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-menu-btn {
        margin-left: 0;
    }
    .navbar .logo {
        width: 80px;
        height: 30px;
    }
    /* More aggressive font size reduction */
    body {
        font-size: 14px;
    }
    .hide-mobile {
    display: none;
  }
    .career-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.career-card {
    flex: 0 0 calc(50% - 10px); /* flex-grow: 0, flex-shrink: 0, flex-basis: calc() */
}
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .certificate-text h2 {
        font-size: 1.8rem;
    }
    
    .certificate-text p {
        font-size: 0.95rem;
    }
    
    .certificate-features li {
        font-size: 0.9rem;
    }
    
    .training-programs {
        padding: 40px 0;
    }
    
    .programs-container {
        gap: 20px;
    }
    
    .program-card {
        flex-direction: column !important; /* Force column layout */
        max-width: 100%;
        display: flex !important;
    }
    
    .program-image {
        flex: 0 0 auto !important; /* Tidak flex, ukuran tetap */
        width: 100% !important;
        height: 200px !important; /* Fixed height */
        min-height: unset !important; /* Reset min-height dari desktop */
        max-height: unset !important; /* Reset max-height */
        order: 1; /* Gambar di urutan pertama */
    }
    
    .program-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block; /* Block display */
    }
    
    .program-content {
        flex: 0 0 auto !important; /* Tidak flex, ukuran tetap */
        width: 100% !important;
        padding: 20px !important;
        order: 2; /* Konten di urutan kedua */
        margin-top: 0 !important; /* Reset margin */
        position: static !important; /* Reset positioning */
    }
    
    .program-content h3 {
        font-size: 1.3rem;
        margin-top: 0 !important;
    }
    
    .program-content p {
        font-size: 0.9rem;
    }
    
    .program-benefits h4 {
        font-size: 1rem;
    }
    
    .program-benefits li {
        font-size: 0.85rem;
    }
    
    .hero-section {
        padding: 100px 15px 15px 15px;
    }
    
    .hero-slide {
        min-width: calc(100% - 60px);
        flex: 0 0 calc(100% - 60px);
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .benefit-card h3 {
        font-size: 1rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .footer-col ul li a {
        font-size: 0.85rem;
    }
    
    .contact-info ul li div {
        font-size: 0.85rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .training-cards {
        grid-template-columns: 1fr;
    }
    
    .career-card h3 {
        font-size: 1.1rem;
    }
    
    .career-card p {
        font-size: 0.85rem;
    }
    
    .maintenance-card h1 {
        font-size: 1.5rem;
    }
    
    .maintenance-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-menu-btn {
        margin-left: 0;
    }
    .navbar .logo {
        width: 80px;
        height: 30px;
    }
    /* Smallest screen font sizes */
    body {
        font-size: 13px;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .certificate-text h2 {
        font-size: 1.5rem;
    }
    
    .certificate-text p {
        font-size: 0.9rem;
    }
    
    .certificate-features li {
        font-size: 0.85rem;
    }
    
    .program-content {
        padding: 20px;
    }
    
    .program-content h3 {
        font-size: 1.1rem;
    }
    
    .program-content p {
        font-size: 0.85rem;
    }
    
    .program-benefits h4 {
        font-size: 0.9rem;
    }
    
    .program-benefits li {
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 80px 10px 10px 10px;
    }
    
    .hero-slide {
        min-width: calc(100% - 40px);
        flex: 0 0 calc(100% - 40px);
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .training-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .detail {
        font-size: 0.8rem;
    }
    
    .registration-requirements h4 {
        font-size: 0.9rem;
    }
    
    .registration-requirements li {
        font-size: 0.8rem;
    }
    
    .benefits-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.benefit-card {
  flex: 1 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  /* Hapus display: inline-block dan margin-right yang lama */
}
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .office-detail h4 {
        font-size: 1rem;
    }
    
    .office-detail p {
        font-size: 0.8rem;
    }
    
    .footer-col h4 {
        font-size: 0.95rem;
    }
    
    .footer-col ul li a {
        font-size: 0.8rem;
    }
    
    .contact-info ul li div {
        font-size: 0.8rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .about-company p {
        font-size: 0.8rem;
    }
    
    .career-card h3 {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .career-card p {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .maintenance-card {
        padding: 20px;
        margin: 10px;
    }
    
    .maintenance-card h1 {
        font-size: 1.3rem;
    }
    
    .maintenance-card p {
        font-size: 0.9rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .dropdown-content a {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .mobile-nav-links a {
        font-size: 0.9rem;
    }
    
    .mobile-dropdown-header {
        font-size: 0.9rem;
    }
    
    .mobile-dropdown-content a {
        font-size: 0.8rem;
    }
    
    .training-date span:first-child {
        font-size: 1rem;
    }
    
    .training-date span:last-child {
        font-size: 0.8rem;
    }
    
    .card-buttons {
        width: 100%;
        margin-left: 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .certificate-content {
        gap: 1.5rem;
    }

    
    .office-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .clients-logos {
        gap: 15px;
    }
    
    .client-logo img {
        max-height: 60px;
        max-width: 150px;
    }
}

@media (max-width: 400px) {
    .navbar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-menu-btn {
        margin-left: 0;
    }
    .navbar .logo {
        width: 80px;
        height: 30px;
    }
    
    /* Extra small devices */
    body {
        font-size: 12px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    .certificate-text h2 {
        font-size: 1.3rem;
    }
    
    .certificate-text p {
        font-size: 0.85rem;
    }
    
    .certificate-features li {
        font-size: 0.8rem;
    }
    
    .program-content {
        padding: 15px;
    }
    
    .program-content h3 {
        font-size: 1rem;
    }
    
    .program-content p {
        font-size: 0.8rem;
    }
    
    .program-benefits h4 {
        font-size: 0.85rem;
    }
    
    .program-benefits li {
        font-size: 0.75rem;
    }
    
    .hero-section {
        padding: 70px 5px 10px 5px;
    }
    
    .hero-slide {
        min-width: calc(100% - 20px);
        flex: 0 0 calc(100% - 20px);
    }
    
    .card-content h3 {
        font-size: 0.9rem;
    }
    
    .detail {
        font-size: 0.75rem;
    }
    
    .registration-requirements h4 {
        font-size: 0.85rem;
    }
    
    .registration-requirements li {
        font-size: 0.75rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .benefit-card h3 {
        font-size: 0.9rem;
    }
    
    .benefit-card p {
        font-size: 0.75rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .office-detail h4 {
        font-size: 0.9rem;
    }
    
    .office-detail p {
        font-size: 0.75rem;
    }
    
    .footer-col h4 {
        font-size: 0.9rem;
    }
    
    .footer-col ul li a {
        font-size: 0.75rem;
    }
    
    .contact-info ul li div {
        font-size: 0.75rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
    
    .about-company p {
        font-size: 0.75rem;
    }
    
    .career-card h3 {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .career-card p {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
    
    .maintenance-card {
        padding: 15px;
        margin: 5px;
    }
    
    .maintenance-card h1 {
        font-size: 1.1rem;
    }
    
    .maintenance-card p {
        font-size: 0.8rem;
    }
    
    .mobile-nav-links a {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .mobile-dropdown-header {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .mobile-dropdown-content a {
        font-size: 0.75rem;
        padding-left: 1.5rem;
    }
    
    .training-date {
        padding: 0.5rem 0.8rem;
    }
    
    .training-date span:first-child {
        font-size: 0.9rem;
    }
    
    .training-date span:last-child {
        font-size: 0.75rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .certificate-content {
        gap: 1rem;
    }
    
    .benefits-cards {
        gap: 1rem;
    }
    
    .career-cards {
        gap: 1rem;
    }
    
    .office-info {
        gap: 1rem;
    }
    
    .footer-content {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .client-logo img {
        max-height: 50px;
        max-width: 120px;
    }
    
    .navbar .container {
        padding: 0 10px;
    }
    
    .logo {
        height: 40px;
    }
    
    .mobile-menu-header img {
        width: 80px;
    }
    
    .footer-logo {
        height: 40px;
        width: 160px;
    }
    
    .social-media a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
    