/* Google translate style */
/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* NAVBAR - ENHANCED MOBILE DESIGN WITH DROPDOWN */
/* Navbar transparan untuk halaman dengan video */
/* Navbar transparan untuk halaman dengan video */
body.has-video .navbar {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

/* Saat scroll melewati video: navbar berubah jadi putih */
body.has-video .navbar.navbar-scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Halaman lain tanpa video langsung putih dari awal */
body:not(.has-video) .navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar:not(.scrolled) .language-selector,
.navbar:not(.scrolled) #google_translate_element .goog-te-combo {
    background-color: transparent !important;
    color: #ccc !important;
}

.navbar:not(.scrolled) #google_translate_element .goog-te-combo option {
    background: #111 !important;
    color: #cbd5e0 !important;
}

.navbar:not(.scrolled) .goog-te-menu-value {
    color: #ffffff !important;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.menu-open {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Default styles for nav-links (desktop by default) */
.nav-links {
    display: flex; /* Default to desktop layout */
    align-items: center;
    gap: 28px;
    /* Reset mobile-specific styles */
    position: static;
    width: auto;
    height: auto;
    background: none !important;
    flex-direction: row;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow-y: visible;
    transform: none;
    transition: none;
    z-index: auto;
}

/* Default styles for mobile toggle (hidden by default) */
.mobile-menu-toggle {
    display: none; /* Default to hidden */
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #3182ce;
    background-color: rgba(49, 130, 206, 0.08);
    transform: translateY(-1px);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #3182ce;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Nav link warna putih (digunakan di atas video hero) */
.navbar.navbar-transparent .nav-link {
    color: #ffffff;
}

.navbar.navbar-transparent .nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Optional: dropdown toggle putih juga */
.navbar.navbar-transparent .dropdown-toggle::after {
    color: #ffffff;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    display: none;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-width: 180px;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    padding: 12px 16px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f7fafc;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f7fafc;
    color: #3182ce;
    padding-left: 20px;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeInDown 0.3s ease;
}

/* Language Selector Styling */
.language-selector {
    position: relative;
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

.language-selector:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Google Translate Custom Styling */
#google_translate_element {
    font-size: 14px;
}

#google_translate_element .goog-te-combo {
    background: transparent;
    border: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    min-width: 80px;
}

#google_translate_element .goog-te-combo:focus {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.2);
}

/* Hide Google Translate branding */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value {
    color: #4a5568 !important;
}

.goog-te-menu-value:before {
    content: "🌐 ";
    margin-right: 4px;
}

/* Mobile Menu Toggle - Enhanced (Always visible by default) */
.mobile-menu-toggle {
    display: flex; /* Selalu tampilkan ikon hamburger secara default */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background-color: rgba(247, 250, 252, 0.95);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2d3748;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #3182ce;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #3182ce;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Content Wrapper for Push Effect */
.content-wrapper {
    transition: transform 0.3s ease;
}

.content-wrapper.menu-pushed {
    transform: translateX(
        calc(-1 * min(80vw, 300px))
    ); /* Dorong konten ke kiri sesuai lebar menu */
}

/* Header Spacer */
.header-spacer {
    height: 70px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateX(20px); /* Diubah agar meluncur dari kanan */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile-specific styles (when on a mobile device, regardless of desktop site setting) */
body.is-mobile .nav-links {
    display: none; /* Sembunyikan menu desktop secara default di mobile */
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 300px);
    height: 100vh;
    background: #1861aa !important;
    flex-direction: column;
    gap: 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    max-height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

body.is-mobile .mobile-menu-toggle {
    display: flex; /* Tampilkan hamburger di mobile */
}

/* IMPORTANT: This rule ensures the mobile menu is visible when active */
body.is-mobile .nav-links.active {
    display: flex; /* Tampilkan sidebar mobile */
    transform: translateX(0);
    animation: none;
}

/* Mobile-specific styles for links, dropdowns etc. when is-mobile is active */
body.is-mobile .nav-link {
    opacity: 0; /* For staggerIn animation */
    transform: translateX(0); /* Reset initial transform */
    color: #ffffff;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
}

body.is-mobile .nav-link.animate-in {
    animation: staggerIn 0.4s ease forwards;
}

body.is-mobile .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-8px);
    border-left: 4px solid #ffffff;
    color: #ffffff;
}

body.is-mobile .nav-link::after {
    display: none;
}

body.is-mobile .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    margin: 8px 20px 0 20px;
    border-radius: 8px;
    border-left: 3px solid #ffffff;
}

body.is-mobile .dropdown.active .dropdown-menu {
    display: flex;
    animation: fadeInDown 0.3s ease;
}

body.is-mobile .dropdown-toggle::after {
    content: "▶";
    transition: transform 0.3s ease;
    color: #ffffff;
}

body.is-mobile .dropdown.active .dropdown-toggle::after {
    transform: rotate(90deg);
}

body.is-mobile .dropdown-menu li a {
    padding: 14px 20px;
    font-size: 14px;
    color: #ffffff;
    border-bottom: 1px solid #edf2f7;
}

body.is-mobile .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.3);
    padding-left: 28px;
    color: #ffffff;
}

body.is-mobile .language-selector {
    order: -1;
    padding: 6px 10px;
}

body.is-mobile #google_translate_element .goog-te-combo {
    color: #ffffff !important;
}

/* Desktop-only overrides (for actual desktop screens, not mobile in desktop mode) */
@media (min-width: 769px) {
    body:not(.is-mobile) .nav-links {
        display: flex; /* Tampilkan menu desktop */
        position: static;
        width: auto;
        height: auto;
        background: none !important;
        flex-direction: row;
        gap: 28px;
        box-shadow: none;
        padding: 0;
        max-height: none;
        overflow-y: visible;
        transform: none;
        transition: none;
        z-index: auto;
    }

    body:not(.is-mobile) .mobile-menu-toggle {
        display: none; /* Sembunyikan hamburger */
    }

    body:not(.is-mobile) .nav-link {
        opacity: 1;
        transform: none;
        padding: 8px 12px;
        border-bottom: none;
        color: #2d3748;
    }

    body:not(.is-mobile) .nav-link:hover {
        transform: translateY(-1px);
        border-left: none;
        background-color: rgba(49, 130, 206, 0.08);
    }

    body:not(.is-mobile) .nav-link::after {
        display: block;
    }

    body:not(.is-mobile) .dropdown-menu {
        position: absolute;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
        border-left: none;
        margin: 0;
    }

    body:not(.is-mobile) .dropdown-menu li a {
        color: #333;
        border-bottom: 1px solid #f7fafc;
        padding: 12px 16px;
    }

    body:not(.is-mobile) .dropdown-menu li a:hover {
        background-color: #f7fafc;
        padding-left: 20px;
    }

    body:not(.is-mobile) .dropdown-toggle::after {
        content: "▼";
        transform: none;
    }

    body:not(.is-mobile) .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    body:not(.is-mobile) .nav-menu {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    body:not(.is-mobile) .language-selector {
        order: 0;
        padding: 6px 12px;
    }

    body:not(.is-mobile) #google_translate_element .goog-te-combo {
        font-size: 14px;
        min-width: 80px;
        color: #4a5568;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 10px 12px;
    }

    .mobile-menu-toggle {
        right: 12px;
        top: 10px;
    }

    .nav-menu {
        gap: 12px;
    }

    .language-selector {
        padding: 4px 8px;
    }

    #google_translate_element .goog-te-combo {
        font-size: 12px;
        min-width: 60px;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ========== Hero Video Section ========== */
.hero-video-section {
    margin-top: -100px;
    position: relative;
    width: 100%;
    height: 620px; /* bisa kamu ubah jadi 500px kalau mau lebih tinggi */
    overflow: hidden;
}

/* Video Background */
.hero-video-section video {
    position: absolute;
    top: -350px;
    left: -60px;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center 20%; /* Geser fokus video ke atas */
    z-index: 1;
}

/* Overlay (lapisan gelap) */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0); /* transparansi hitam */
    z-index: 2;
}

/* Konten di atas video */
.hero-video-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
    transform: translateY(-10%); /* Naik sedikit ke atas */
    padding: 0 20px;
}

.hero-video-content h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-video-content p {
    font-size: 18px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero-video-section {
        height: 450px; /* Kurangi tinggi untuk mobile */
        margin-top: -80px; /* Kurangi margin top */
    }

    .hero-video-section video {
        top: -200px; /* Kurangi offset top untuk mobile */
        object-position: center 30%; /* Fokus video lebih baik di mobile */
        min-width: 110%; /* Sedikit zoom untuk menghindari black bars */
    }

    .hero-video-overlay {
        background-color: rgba(
            0,
            0,
            0,
            0.1
        ); /* Tambah sedikit overlay untuk readability */
    }

    .hero-video-wrapper {
        max-width: 90%;
        aspect-ratio: 16 / 9;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-video-content {
        transform: translateY(-5%); /* Kurangi transform untuk mobile */
        padding: 0 15px;
    }

    .hero-video-content h1 {
        font-size: 28px; /* Sesuaikan ukuran font untuk mobile */
    }

    .hero-video-content p {
        font-size: 16px; /* Sesuaikan ukuran font untuk mobile */
    }
}

/* Small Mobile Optimization */
@media (max-width: 480px) {
    .hero-video-section {
        height: 650px; /* Lebih kecil untuk mobile kecil */
        margin-top: -60px;
    }

    .hero-video-section video {
        margin-left: -140px;
        top: -250px; /* Offset lebih kecil */
        object-position: center 25%; /* Fokus lebih ke atas */
        min-width: 115%; /* Zoom sedikit lebih besar */
    }

    .hero-video-content h1 {
        font-size: 24px; /* Font lebih kecil untuk mobile kecil */
    }

    .hero-video-content p {
        font-size: 14px; /* Font lebih kecil untuk mobile kecil */
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-video-section {
        height: 100vh; /* Full height untuk landscape */
        margin-top: -100px;
    }

    .hero-video-section video {
        top: -100px; /* Offset minimal untuk landscape */
        object-position: center center; /* Center positioning */
    }
}

/* Performance untuk Mobile */
@media (max-width: 768px) {
    .hero-video-section video {
        will-change: transform; /* Smooth performance */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* HERO SECTION - MOBILE OPTIMIZED WITH SMOOTH AUTO SLIDE */
.hero {
    height: 100vh;
    min-height: 100px;
    max-height: 326px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 90%;
    object-fit: fill;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animasi untuk slide otomatis dengan transisi yang lebih smooth */
.slide-1 {
    animation: smoothSlide1 6s infinite;
}

.slide-2 {
    animation: smoothSlide2 6s infinite;
    animation-delay: 0s;
}

.slide-3 {
    animation: smoothSlide3 6s infinite;
    animation-delay: 0s;
}

.slide-4 {
    animation: smoothSlide3 6s infinite;
    animation-delay: 0s;
}

/* Keyframes yang diperbaiki untuk transisi smooth */
@keyframes smoothSlide1 {
    0% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    30% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    33.33% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    66.66% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    96.66% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
}

@keyframes smoothSlide2 {
    0% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    30% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    33.33% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    63.33% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    66.66% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
}

@keyframes smoothSlide3 {
    0% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    63.33% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
    66.66% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    96.66% {
        opacity: 1;
        transform: scale(1);
        z-index: 3;
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
        z-index: 1;
    }
}

/* Tambahan lapisan hitam transparan */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 4;
    pointer-events: none;
}

/* DIPERBAIKI: Slider horizontal untuk 6 gambar */
.hero-slider-horizontal {
    position: relative;
    width: 600%; /* 6 gambar x 100% */
    height: 100%;
    display: flex;
    animation: horizontalSlide6Images 18s infinite; /* 18s untuk 6 gambar (3s per gambar) */
}

.hero-img-horizontal {
    width: 16.666%; /* 100% / 6 gambar */
    height: 100%;
    object-fit: fill;
    object-position: center;
    flex-shrink: 0;
}

/* DIPERBAIKI: Keyframes untuk 6 gambar */
@keyframes horizontalSlide6Images {
    0% {
        transform: translateX(0); /* Gambar 1 */
    }
    15% {
        transform: translateX(0);
    }
    16.66% {
        transform: translateX(-16.666%); /* Gambar 2 */
    }
    31.66% {
        transform: translateX(-16.666%);
    }
    33.33% {
        transform: translateX(-33.333%); /* Gambar 3 */
    }
    48.33% {
        transform: translateX(-33.333%);
    }
    50% {
        transform: translateX(-50%); /* Gambar 4 */
    }
    65% {
        transform: translateX(-50%);
    }
    66.66% {
        transform: translateX(-66.666%); /* Gambar 5 */
    }
    81.66% {
        transform: translateX(-66.666%);
    }
    83.33% {
        transform: translateX(-83.333%); /* Gambar 6 */
    }
    98.33% {
        transform: translateX(-83.333%);
    }
    100% {
        transform: translateX(0); /* Kembali ke gambar 1 */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 250px;
        max-height: 400px;
    }

    .hero-img {
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Durasi lebih cepat untuk mobile */
    .hero-slider-horizontal {
        animation: horizontalSlide6Images 15s infinite;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 200px;
        max-height: 300px;
    }

    .hero-img {
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Durasi lebih cepat untuk mobile kecil */
    .hero-slider-horizontal {
        animation: horizontalSlide6Images 12s infinite;
    }
}

/* Preload untuk performa yang lebih baik */
.hero-img:first-child {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}

/* Konten di atas gambar */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
}

/* INTRO SECTION - ENHANCED */
.intro {
    position: relative;
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.intro.animate {
    opacity: 1;
    transform: translateY(0);
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fillRule='evenodd'%3E%3Cg fill='%23e2e8f0' fillOpacity='0.3'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.intro-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-title {
    margin-bottom: 2rem;
}

.company-name {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    display: block;
    animation: textShine 3s ease-in-out infinite alternate;
}

.intro-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    margin: 1.5rem auto;
    border-radius: 2px;
    transform: scaleX(0);
    animation: expandWidth 1s ease-out 0.5s forwards;
}

.intro-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.8;
    color: #475569;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* VISION MISSION - ENHANCED */
/* VISION MISSION SECTION - FIXED */
.vision-mission {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* REMOVED BACKGROUND GRADIENT - INI YANG BIKIN UNGU */
}

/* PARALLAX BACKGROUND IMAGE - FIXED */
.parallax-bg-img {
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 110%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    transition: transform 0.1s ease-out;
    filter: brightness(0.4) contrast(1.1); /* DARKER IMAGE */
    clip-path: inset(0 0 75px 0); /* Potong 220px dari bawah */
}

/* DARKER OVERLAY FOR BETTER TEXT READABILITY */
/* DARKER OVERLAY FOR BETTER TEXT READABILITY */
.vision-mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 25% 25%,
            rgba(0, 0, 0, 0.4) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 50%
        ),
        linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 1;
    pointer-events: none;
}

/* COVER BAGIAN BAWAH GAMBAR PARALLAX DENGAN BACKGROUND PUTIH */
.wave-background-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #fff;
    z-index: 1.5;
    pointer-events: none;
}

/* ANIMATED WAVE BORDER CONTAINER */
.wave-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 115px;
    /* z-index: 3; */
    z-index: 2; /* pastikan di atas .wave-background-cover */
    pointer-events: none;
    overflow: hidden;
}

/* MULTIPLE ANIMATED WAVE LAYERS FOR ASYMMETRIC EFFECT */
.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: 1200px 130px;
}

/* WAVE LAYER 1 - PRIMARY WAVE */
.wave-layer-1 {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C200,120 400,0 600,60 C800,120 1000,0 1200,60 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='1'/%3E%3C/svg%3E");
    animation: waveMove1 15s ease-in-out infinite;
    z-index: 3;
}

/* WAVE LAYER 2 - SECONDARY WAVE */
.wave-layer-2 {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,80 C300,40 500,100 800,70 C900,60 1100,90 1200,80 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.8'/%3E%3C/svg%3E");
    animation: waveMove2 12s ease-in-out infinite reverse;
    z-index: 2;
}

/* WAVE LAYER 3 - TERTIARY WAVE */
.wave-layer-3 {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,90 C150,50 350,110 600,80 C850,50 1050,100 1200,90 L1200,120 L0,120 Z' fill='%23ffffff' fill-opacity='0.6'/%3E%3C/svg%3E");
    animation: waveMove3 18s ease-in-out infinite;
    z-index: 1;
}

/* ASYMMETRIC WAVE ANIMATIONS */
@keyframes waveMove1 {
    0%,
    100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-100px) translateY(-5px);
    }
    50% {
        transform: translateX(-200px) translateY(0);
    }
    75% {
        transform: translateX(-150px) translateY(5px);
    }
}

@keyframes waveMove2 {
    0%,
    100% {
        transform: translateX(0) translateY(0) scaleY(1);
    }
    33% {
        transform: translateX(-150px) translateY(3px) scaleY(1.1);
    }
    66% {
        transform: translateX(-300px) translateY(-3px) scaleY(0.9);
    }
}

@keyframes waveMove3 {
    0%,
    100% {
        transform: translateX(0) translateY(0) scaleY(1);
    }
    20% {
        transform: translateX(-80px) translateY(2px) scaleY(1.05);
    }
    40% {
        transform: translateX(-160px) translateY(-2px) scaleY(0.95);
    }
    60% {
        transform: translateX(-240px) translateY(4px) scaleY(1.1);
    }
    80% {
        transform: translateX(-320px) translateY(-1px) scaleY(1);
    }
}

/* WAVE FOAM EFFECT */
.wave-foam {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.3) 100%
    );
    animation: foamMove 8s ease-in-out infinite;
    z-index: 4;
}

@keyframes foamMove {
    0%,
    100% {
        transform: translateX(0) scaleX(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50px) scaleX(1.1);
        opacity: 0.8;
    }
}

.vision-mission-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 4rem 2rem;
    margin: 0 auto;
}

/* PROFESSIONAL SECTION TITLE */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #333;
}

.section-title span {
    font-weight: 400;
    color: #666;
}

@keyframes shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* PROFESSIONAL SUBTITLE */
.section-subtitle {
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: subtitleFadeIn 1s ease-out 1s forwards;
}

@keyframes subtitleFadeIn {
    to {
        opacity: 1;
    }
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0062cc, #0095ff);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    to {
        opacity: 1;
        width: 180px;
    }
}

/* PROFESSIONAL CARDS CONTAINER */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: 92px;
    margin-right: auto;
}

/* ENHANCED PROFESSIONAL CARDS */
.card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.8rem 2.5rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(100px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Card Animations */
.card.vision-card {
    animation: cardSlideUp 0.8s ease-out 1.5s forwards;
}

.card.mission-card {
    animation: cardSlideUp 0.8s ease-out 1.8s forwards;
}

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional Card Hover Effects */
.card:hover {
    transform: translateY(-20px) scale(1.03);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 215, 0, 0.3),
        0 0 80px rgba(255, 215, 0, 0.1);
}

/* Enhanced Card Shine Effect */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s ease;
}

.card:hover::before {
    left: 100%;
}

/* Professional Card Icon */
.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.card-icon::after {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 19px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
}

.card:hover .card-icon::after {
    opacity: 1;
    animation: iconGlow 2s linear infinite;
}

@keyframes iconGlow {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.card-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%)
        hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: all 0.3s ease;
}

/* Professional Card Titles */
.card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: "Inter", sans-serif;
}

.card h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.card:hover h2::after {
    width: 100px;
}

/* Professional Card Paragraphs */
.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    text-align: justify;
    letter-spacing: 0.3px;
}

/* Professional Badge */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.scroll-mouse-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    opacity: 0.8;
}

/* Mouse icon */
.mouse-icon {
    width: 28px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 16px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 2s infinite;
}

@keyframes wheelMove {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(8px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
}

/* Arrow below mouse */
.scroll-arrow {
    margin-top: 10px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #fff;
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .scroll-mouse-indicator {
        display: none;
    }
}

/* ENHANCED RESPONSIVE DESIGN */

/* Large Desktop */
@media (min-width: 1200px) {
    .cards {
        margin-left: 92px;
        margin-right: auto;
    }
}

/* Medium Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .cards {
        margin-left: auto;
        margin-right: auto;
        max-width: 900px;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) and (min-width: 769px) {
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 800px;
        padding: 0 2rem;
    }

    .card {
        padding: 2.5rem 2rem;
    }
}

/* Tablet Portrait & Mobile Landscape */
@media (max-width: 768px) {
    .intro-content,
    .vision-mission-wrapper {
        padding: 1rem;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 3rem;
        position: relative;
        color: #333;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
        text-align: center;
        max-width: 350px;
        margin: 0 auto;
        width: 100%;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.2rem;
    }

    .card-icon img {
        width: 30px;
        height: 30px;
    }

    .card h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    .card p {
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.5;
    }

    /* Mobile wave adjustments */
    .wave-border {
        height: 80px;
    }

    .wave-layer {
        background-size: 800px 80px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cards {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem 1rem;
        max-width: 100%;
        border-radius: 16px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 1rem;
    }

    .card-icon img {
        width: 25px;
        height: 25px;
    }

    .card h2 {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.8rem;
    }

    .card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .card-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
        top: 15px;
        right: 15px;
    }

    .wave-border {
        height: 60px;
    }

    .wave-layer {
        background-size: 600px 60px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .cards {
        padding: 0 0.25rem;
    }

    .card {
        padding: 1.2rem 0.8rem;
    }

    .card h2 {
        font-size: 1rem;
    }

    .card p {
        font-size: 0.8rem;
    }
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* Demo Content */
.demo-content {
    height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.demo-content h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.demo-content p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 600px;
    line-height: 1.8;
}

/* PRODUCTS SECTION - FIXED TEXT OVERFLOW ISSUE */
.products {
    background-color: #f5f5f5;
    padding: 4rem 0;
    position: relative;
}

.products .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #333;
}

.section-title span {
    font-weight: 400;
    color: #666;
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0062cc, #0095ff);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 350px; /* Increased height to accommodate longer text */
    position: relative;
    cursor: pointer;
    opacity: 0; /* dari sini buat aimasi masuk nya ketika scroll*/
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* Saat terlihat (di-scroll), muncul */
.product-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Tambahkan delay bertahap supaya muncul satu per satu */
.product-card:nth-child(1) {
    transition-delay: 0.1s;
}
.product-card:nth-child(2) {
    transition-delay: 0.2s;
}
.product-card:nth-child(3) {
    transition-delay: 0.3s;
}
.product-card:nth-child(4) {
    transition-delay: 0.4s;
}
.product-card:nth-child(5) {
    transition-delay: 0.5s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    height: 200px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.product-card:hover .product-image-wrapper {
    transform: scale(0.95);
}

.product-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    /* overflow: hidden; */
}

.product-image {
    margin-top: 40px;
    border-radius: 20px;
    max-width: 100%;
    max-height: 127%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.product-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-title {
    font-size: 18px; /* Slightly smaller font for better fit */
    font-weight: 700;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Allow 3 lines instead of 2 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4; /* Better line spacing */
    height: auto; /* Remove fixed height */
    min-height: 3.6rem; /* Minimum height for 3 lines */
    max-height: 4.2rem; /* Maximum height to prevent too much space */
    transition: all 0.4s ease;
    word-wrap: break-word; /* Allow word breaking if needed */
    hyphens: auto; /* Enable hyphenation */
}

.product-card:hover .product-title {
    transform: translateY(-10px);
    color: #0062cc;
}

/* Hover Overlay for Link */
.product-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 98, 204, 0.95), transparent);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.product-card:hover .product-hover-overlay {
    transform: translateY(0);
}

.product-link {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: white;
    color: #0062cc;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.6s ease forwards 0.2s;
}

.product-card:hover .product-link {
    opacity: 1;
    transform: translateY(0);
}

.product-link:hover {
    background: #f8f9fa;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-card {
        height: 360px; /* Slightly taller for 3-column layout */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .product-card {
        height: 340px;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-title {
        font-size: 0.95rem;
        min-height: 3.2rem;
        max-height: 3.8rem;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-card {
        height: 350px;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-title {
        font-size: 1rem;
        min-height: 3.6rem;
        max-height: 4.2rem;
    }

    /* On mobile, show the link by default since hover doesn't work well */
    .product-hover-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 98, 204, 0.8), transparent);
    }

    .product-link {
        opacity: 1;
        transform: translateY(0);
        animation: none;
    }
}

/* Additional fix for very long titles */
@media (max-width: 480px) {
    .product-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 4; /* Allow 4 lines on very small screens */
        min-height: 4rem;
        max-height: 5rem;
    }

    .product-card {
        height: 370px;
    }
}

/* STYLE KHUSUS PARTNERS DAN ARTICLES */

/* Partners Section - FIXED */
.partners {
    padding: 2rem 2rem;
    background: #f8f9fa;
    text-align: center;
}

.partners h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.partners h2 span {
    font-weight: normal;
}

.partners-carousel {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 0.5rem;
    width: max-content; /* DITAMBAH: agar semua item muat */
    animation: partnerScroll 40s linear infinite; /* DIPERBAIKI: nama animasi dan durasi */
}

.partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    width: 200px; /* DITAMBAH: width tetap untuk konsistensi */
    height: 140px; /* DITAMBAH: height tetap untuk konsistensi */
}

.partner-img {
    height: 120px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease; /* DIPERBAIKI: transition untuk semua properti */
    margin: 0;
    filter: grayscale(70%); /* DITAMBAH: efek grayscale default */
}

.partner-img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* DIPERBAIKI: Keyframe animation dengan perhitungan yang tepat */
@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 27)); /* 27 items x 200px width */
    }
}

/* DITAMBAH: Pause animation on hover */
.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive untuk partners */
@media (max-width: 768px) {
    .partner-item {
        width: 160px; /* DIPERBAIKI: width responsive */
        height: 120px;
    }

    .partner-img {
        height: 100px;
        max-width: 150px;
    }

    .partners-track {
        gap: 0.25rem;
        animation: partnerScrollTablet 30s linear infinite; /* DIPERBAIKI: animasi terpisah */
    }

    @keyframes partnerScrollTablet {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(
                calc(-160px * 27)
            ); /* 27 items x 160px width */
        }
    }
}

@media (max-width: 480px) {
    .partner-item {
        width: 130px; /* DIPERBAIKI: width responsive */
        height: 100px;
        padding: 0 0.1rem;
    }

    .partner-img {
        height: 80px;
        max-width: 120px;
    }

    .partners-track {
        gap: 0.1rem;
        animation: partnerScrollMobile 25s linear infinite; /* DIPERBAIKI: animasi terpisah */
    }

    @keyframes partnerScrollMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(
                calc(-130px * 27)
            ); /* 27 items x 130px width */
        }
    }
}

/* ARTICLES SECTION - MOBILE OPTIMIZED */
/* .articles {
    padding: 40px 0;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.carousel-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.item-content {
    padding: 15px;
}

.item-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
} */

/* FOOTER - ENHANCED DESIGN */
.footer {
    background: linear-gradient(135deg, #0a0a2e 0%, #16213e 50%, #1a1a40 100%);
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

/* Company Info Section */
.company-info {
    padding-right: 20px;
}

.company-name-footer {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.company-name-footer i {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 12px;
    font-size: 32px;
}

.company-description {
    color: #b8c5d6;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: justify;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b8c5d6;
    font-size: 14px;
}

.contact-item i {
    color: #00d4ff;
    margin-right: 12px;
    font-size: 16px;
    margin-top: 2px;
    min-width: 18px;
}

/* Services and Info Sections */
.services-section,
.info-section {
    display: flex;
    flex-direction: column;
}

.services-section h3,
.info-section h3,
.contact-info h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-list,
.info-list {
    list-style: none;
}

.service-list li,
.info-list li {
    margin-bottom: 10px;
    color: #b8c5d6;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.service-list li:hover,
.info-list li:hover {
    color: #00d4ff;
    transform: translateX(3px);
}

/* Consultation Section */
.consultation-section {
    display: flex;
    flex-direction: column;
}

.consultation-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.consultant-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consultant-card {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    border-radius: 25px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.consultant-card:nth-child(2) {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.consultant-card:nth-child(3) {
    background: linear-gradient(135deg, #673ab7, #4527a0);
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.3);
}

.consultant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.consultant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.consultant-info {
    flex: 1;
}

.consultant-info h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.consultant-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    display: flex;
    align-items: center;
}

.consultant-info p i {
    margin-right: 6px;
    font-size: 12px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #b8c5d6;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.social-link-get {
    margin-top: -2px;
    /* border: 1px solid skyblue; */
}

.partner-img-get {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: all 0.3s ease; /* DIPERBAIKI: transition untuk semua properti */
    margin: 0;
    filter: grayscale(70%); /* DITAMBAH: efek grayscale default */
}

.partner-img-get:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Location Badge */
.location-badge {
    position: absolute;
    top: -25px;
    right: 40px;
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.location-badge i {
    margin-right: 6px;
    font-size: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 50px;
    }

    .consultation-section {
        grid-column: span 3;
        margin-top: 30px;
    }

    .consultant-cards {
        flex-direction: row;
        justify-content: space-between;
    }

    .consultant-card {
        flex: 1;
        margin: 0 5px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .company-name {
        font-size: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .consultation-section {
        grid-column: span 1;
    }

    .consultant-cards {
        flex-direction: column;
        gap: 12px;
    }

    .consultant-card {
        margin: 0;
    }

    .location-badge {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        align-self: flex-start;
    }
}

/* ========== Produk Kami Carousel ========== */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

/* Setiap item menjadi 100% lebar pada mobile, dan lebih banyak item pada layar lebih besar */
.carousel-item {
    flex: 0 0 100%;
    padding: 0.5rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 33.3333%;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-card img {
    width: 100%;
    /* Pada tampilan mobile gunakan contain agar gambar terlihat keseluruhan */
    object-fit: contain;
    /* Tetapkan tinggi tetap untuk tampilan desktop */
    height: 300px;
}

/* Jika diperlukan, Anda bisa override object-fit untuk layar yang lebih besar */
@media (min-width: 768px) {
    .product-card img {
        object-fit: cover;
    }
}

.product-label {
    padding: 1rem;
    font-size: 24px;
    font-weight: bold;
    background: #f2f2f2;
}

.product-rounded {
    width: 150px; /* Atur sesuai kebutuhan ukuran */
    height: 150px;
    object-fit: cover; /* Memastikan gambar tidak terdistorsi */
    border-radius: 30px; /* Bulat sempurna */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Shadow halus */
    transition: transform 0.3s ease;
    margin: 0 auto; /* Tengah dalam parent */
    display: block;
}

.product-rounded:hover {
    transform: scale(1.05); /* Sedikit efek saat hover */
}

/* Tombol Carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00227c;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 2;
    border-radius: 5px;
    opacity: 0.7;
}

.carousel-btn:hover {
    opacity: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* RESPONSIVE DESIGN */
/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        margin-top: 120px;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .vision-mission-wrapper {
        grid-template-columns: 1fr;
    }

    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .products h2,
    .partners h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 calc(100% - 1rem);
    }
}

/* RESPONSIVE BREAKPOINTS */

/* Tablet */
@media (min-width: 768px) {
    body {
        padding-top: 90px;
    }

    .logo {
        height: 60px;
    }

    .hero {
        height: 60vh;
        max-height: 726px;
    }

    .intro {
        padding: 3rem 2rem;
    }

    .vision-mission {
        padding: 3rem 2rem;
    }

    .vision-img {
        max-width: 500px;
        margin-bottom: 3rem;
    }

    .cards {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .card {
        max-width: 450px;
        padding: 2rem;
    }

    .products {
        padding: 3rem 2rem;
    }

    .carousel-item {
        flex: 0 0 50%;
    }

    .product-rounded {
        max-width: 250px;
        height: 250px;
    }

    .partners {
        padding: 3rem 2rem;
    }

    /* .partner-img {
        height: 400px;
        max-width: 480px;
    } */

    .articles {
        padding: 3rem 2rem;
    }

    .article-list {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .article-card {
        height: 350px;
    }

    .footer {
        padding: 3rem 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 33.3333%;
    }

    .product-rounded {
        max-width: 300px;
        height: 300px;
    }

    /* .partner-img {
        height: 520px;
        max-width: 600px;
    } */

    .article-card {
        height: 400px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .navbar-container {
        padding: 15px 30px;
    }

    .logo {
        height: 70px;
    }

    .hero {
        height: 726px;
    }

    .intro {
        padding: 4rem 2rem;
    }

    .vision-mission {
        padding: 4rem 2rem;
    }

    .products {
        padding: 4rem 2rem;
    }

    /* .partners {
        padding: 4rem 2rem;
    } */

    .articles {
        padding: 4rem 2rem;
    }
}

/* Mobile Specific - Extra Small Devices */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 8px 15px;
    }

    .navbar-container {
        padding: 8px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo {
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero {
        height: 40vh;
        min-height: 250px;
        margin-top: 20px;
    }

    .intro {
        padding: 1.5rem 1rem;
    }

    .vision-mission {
        padding: 1.5rem 1rem;
    }

    .vision-img {
        max-width: 300px;
        margin-bottom: 1.5rem;
    }

    .cards {
        gap: 1rem;
    }

    .card {
        padding: 1rem;
        border-radius: 15px;
    }

    .card img {
        width: 50px;
        height: 50px;
    }

    .products {
        padding: 1.5rem 1rem;
    }

    .carousel-container {
        padding: 0 0.5rem;
    }

    .product-rounded {
        max-width: 150px;
        height: 150px;
        border-radius: 15px;
    }

    .product-label {
        padding: 0.8rem;
    }

    .partners {
        padding: 1.5rem 1rem;
    }

    /* .partner-img {
        height: 200px;
        max-width: 240px;
    } */

    .partners-track {
        gap: 0.5rem;
    }

    .partner-item {
        padding: 0 0.25rem;
    }

    .articles {
        padding: 1.5rem 1rem;
    }

    .article-card {
        height: 250px;
        max-width: 100%;
    }

    .footer {
        padding: 1.5rem 1rem;
        text-align: center;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 70vh;
    }

    /* .partner-img {
        height: 150px;
        max-width: 200px;
    } */
}
