/* Root Variables & Reset */
:root {
    --primary-color: #0f172a; /* Deep elegant slate */
    --primary-light: #1e293b;
    --accent-color: #3b82f6; /* Trust blue */
    --accent-hover: #2563eb;
    --secondary-color: #f59e0b; /* Gold/Amber for premium feel */
    --secondary-hover: #d97706;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --card-bg: #1e293b;
    --border-color: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', sans-serif;
}

/* Hide Google Translate Default UI completely */
body {
    top: 0 !important;
}
.skiptranslate {
    display: none !important;
}
.goog-te-banner-frame {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    color: var(--accent-hover);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Glassmorphism Buttons */
.btn-primary, .btn-secondary, .btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    gap: 0.5rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white) !important;
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(15, 23, 42, 0.6);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--bg-white);
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--bg-white);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #0d52a1, #083c76); /* Dark navy matching flags selector */
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.theme-toggle, .login-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    transition: var(--transition);
}
.theme-toggle:hover, .login-btn:hover { color: var(--secondary-color); }

.custom-lang-select {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: white;
    transition: var(--transition);
}
.custom-lang-select:hover { color: var(--secondary-color); }
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--card-bg);
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    z-index: 10005; /* FIX: Ensure it pops over everything */
}
.custom-lang-select:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-dropdown li {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.9rem;
}
.lang-dropdown li:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}
.lang-dropdown img { width: 20px; border-radius: 4px; }

/* Navbar Premium Glass */
.navbar {
    position: fixed;
    top: 36px; /* Below top-bar */
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(13, 82, 161, 0.1); /* Subtle dark blue theme border */
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0; /* Move up when scrolled */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    background: var(--card-bg);
    border-bottom: 2px solid var(--accent-color); /* Matches active theme color when scrolled */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-img {
    height: 60px; /* Diperbesar dari 40px */
    width: auto;
    object-fit: contain;
    margin-right: 10px;
}

/* Mengubah warna logo menjadi putih (silhouette) di mode gelap agar terbaca */
[data-theme="dark"] .logo-img,
.footer-premium .logo-img {
    filter: brightness(0) invert(1);
}

.logo {
    display: flex;
    align-items: center;
}
.logo-text {
    font-size: 1.15rem; /* Reduced from 1.5rem to prevent overflow */
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem; /* Reduced gap to fit all items */
}

h2,
.section-padding h2,
.container h2 {
    font-size: 2.2rem !important;
    color: var(--accent-hover) !important; /* Premium blue */
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 1rem !important;
}
h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

/* Global Section Header Layout */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    text-align: left;
    gap: 1rem;
}
.section-header-flex .title-wrap {
    flex: 1;
}
.section-header-flex h2 {
    margin-bottom: 0;
}
.section-header-flex .btn-outline, 
.section-header-flex .btn-secondary {
    white-space: nowrap;
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 30px;
    font-weight: 600;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem; /* Reduced font size to fit */
    position: relative;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-links a.btn-primary {
    color: var(--bg-white) !important;
    padding-bottom: 0;
    height: 40px; /* Adjusted height */
    border-radius: 30px;
    padding: 0 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}
.nav-links a.btn-primary:hover {
    color: var(--bg-white) !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover:not(.btn-primary):not(.btn-accent)::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    padding: 0;
}
.dropdown-menu a {
    padding: 10px 20px;
    display: flex;
    width: 100%;
    color: var(--text-dark);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Carousel (Ads System) */
.hero {
    position: relative;
    min-height: 82vh; /* Shortened from 100vh */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 140px; /* Increased padding to clear fixed header spacing */
    padding-bottom: 90px; /* Increased padding-bottom to prevent overlap with flags */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.1) 100%);
}

.hero-content {
    color: var(--bg-white);
    max-width: 700px;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Slide indicators */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Standard Sections */
.section-padding {
    padding: 4rem 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Premium Job Cards */
.job-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.job-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.job-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.job-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.job-card:hover .job-img img {
    transform: scale(1.1);
}

.job-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.875rem;
}

.job-content {
    padding: 2rem;
}

.job-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Alert Box */
.alert-premium {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.2);
}

.alert-icon {
    font-size: 3rem;
    background: #f59e0b;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alert-content h3 {
    color: #b45309;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.alert-content p {
    color: #92400e;
    font-size: 1.1rem;
}

/* Footer Premium */
.footer-premium {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #cbd5e1;
    max-width: 400px;
}

.footer-links h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    color: #64748b;
}

/* Gallery Slider Custom Design */
.gallery-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
    width: 100%;
}

@media (max-width: 992px) {
    .gallery-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .gallery-slider {
        grid-template-columns: repeat(1, 1fr);
    }
}

.gallery-btn {
    display: none; /* Hide sliding arrows as all elements are displayed statically */
}

.gallery-slide {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    width: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-slide:hover img {
    transform: scale(1.1);
}

/* Animation utilities */
.hover-icon {
    transition: transform 0.3s ease;
}
.gallery-slide:hover .hover-icon {
    transform: scale(1.2);
}

/* Social Links styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95), rgba(15,23,42,0.1));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: left;
}

.gallery-slide:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.gallery-overlay p {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
}

.hover-icon {
    font-size: 2rem;
    align-self: center;
    position: absolute;
    top: 40%;
    color: white;
    opacity: 0.8;
}

.gallery-btn {
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .gallery-btn {
    background: var(--card-bg);
    color: white;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 11000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img, .lightbox-content iframe {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-content iframe {
    width: 80vw;
    height: 45vw;
    max-height: 80vh;
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 11001;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 11005;
    backdrop-filter: blur(8px);
    outline: none;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-nav-btn.prev {
    left: 25px;
}

.lightbox-nav-btn.next {
    right: 25px;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .lightbox-nav-btn.prev { left: 10px; }
    .lightbox-nav-btn.next { right: 10px; }
}

/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced WhatsApp Form Widget */
.wa-widget-container {
    position: fixed;
    bottom: 15px; /* Aligned with scroll-to-top closer to bottom */
    right: 20px; /* Closer to right edge */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-widget-container.show {
    transform: translateY(0);
    opacity: 1;
}

.wa-trigger {
    padding: 12px 24px;
    background: var(--accent-color); /* Dynamic Theme Color */
    color: white;
    border-radius: 30px; /* Floating rounded pill */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Neutral shadow */
    transition: all 0.3s ease;
}

.wa-trigger i {
    font-size: 20px;
}

.wa-trigger:hover {
    background: var(--accent-hover); /* Dynamic Theme Hover */
    transform: translateY(-3px);
}

.wa-popup {
    background: white;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    transform-origin: bottom right;
}

.wa-popup.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wa-header {
    background: #128C7E;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-header i {
    font-size: 24px;
}

.wa-header h4 {
    margin: 0;
    font-size: 1rem;
}

.wa-header p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.wa-body {
    padding: 15px;
}

.wa-body input, .wa-body textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
}

.wa-body input:focus, .wa-body textarea:focus {
    outline: none;
    border-color: #25D366;
}

.wa-submit {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.wa-submit:hover {
    background: #128C7E;
}

/* Scroll to Top - Moved to Left */
.scroll-to-top {
    position: fixed;
    bottom: 15px; /* Closer to bottom edge */
    left: 20px; /* Closer to left edge */
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    color: white;
}

/* Register Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 1.8rem !important;
    }
    .section-header-flex {
        align-items: center;
        margin-bottom: 2rem;
    }
    .section-header-flex h2 {
        font-size: 1.5rem !important;
    }
    .section-header-flex .btn-outline,
    .section-header-flex .btn-secondary {
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-info .logo, 
    .footer-info .social-links, 
    .footer-links ul {
        justify-content: center;
        align-items: center;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .top-bar .container { justify-content: flex-end; }
    /* We don't hide top-bar entirely so lang/theme toggles are still visible */
    
    .navbar { top: 36px; }
    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        clip-path: circle(0% at 100% 0);
        transition: all 0.5s ease-in-out;
        z-index: 1001;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 20px;
        display: none; /* simple toggle for mobile needed, but for now just hide or show flat */
    }
    .dropdown:hover .dropdown-menu { display: flex; }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .alert-premium {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Hide bubble on mobile for space */
    .cs-bubble {
        display: none;
    }
    .cs-btn span {
        display: none; /* Only show icon on mobile */
    }
    .cs-btn {
        padding: 15px;
        border-radius: 50%;
    }
}

/* ==========================================
   Recruitment Timeline (Infographic)
   ========================================== */
.timeline-section {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--glass-border);
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
    z-index: 10;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--accent-color);
}

[data-theme="dark"] .timeline-content {
    background: var(--card-bg);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before { left: 30px; }
    .timeline-item { width: 100%; padding: 2rem 1rem 2rem 80px; left: 0 !important; text-align: left !important; }
    .timeline-icon { left: 5px !important; right: auto !important; }
}

/* ==========================================
   Gallery & Testimonial Slider Fixes
   ========================================== */
.gallery-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.gallery-slider, .testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    width: 100%;
}

.gallery-slider::-webkit-scrollbar,
.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

@media (max-width: 768px) {
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
    .gallery-slider, .testimonial-slider { gap: 1rem; }
}

/* ==========================================
   Premium Welcome Popup Styles
   ========================================== */
.welcome-popup-container {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 850px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
}

.modal-overlay.active .welcome-popup-container {
    transform: scale(1);
}

.welcome-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    z-index: 10;
    transition: var(--transition);
}

.welcome-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

[data-theme="dark"] .welcome-close {
    background: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .welcome-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    width: 100%;
}

/* Sisi Kiri - Visual Column */
.welcome-visual {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); /* trust blue premium gradient */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3rem 2rem;
    min-height: 480px;
}

[data-theme="dark"] .welcome-visual {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.visual-blob {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0) 70%);
    position: absolute;
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: blob-bounce 8s infinite alternate ease-in-out;
    pointer-events: none;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
    color: var(--text-dark);
    transition: var(--transition);
    pointer-events: none;
}

.floating-badge i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.badge-1 {
    top: 15%;
    left: 10%;
    animation: float-up-badge 4s infinite alternate ease-in-out;
}

.badge-2 {
    top: 25%;
    right: 8%;
    animation: float-down-badge 5s infinite alternate ease-in-out;
}

.badge-3 {
    bottom: 22%;
    left: 8%;
    animation: float-right-badge 4.5s infinite alternate ease-in-out;
}

.badge-4 {
    bottom: 15%;
    right: 10%;
    animation: float-left-badge 4.8s infinite alternate ease-in-out;
}

/* Smartphone Mockup */
.phone-frame {
    width: 190px;
    height: 380px;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-color: #334155;
    animation: phone-float 6s infinite alternate ease-in-out;
}

[data-theme="dark"] .phone-frame {
    border-color: #475569;
}

.phone-speaker {
    width: 50px;
    height: 4px;
    background: #475569;
    border-radius: 10px;
    margin: 8px auto 4px auto;
    flex-shrink: 0;
}

.phone-screen {
    flex: 1;
    background: #f8fafc;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 2px 4px 6px 4px;
}

[data-theme="dark"] .phone-screen {
    background: #0f172a;
}

.phone-header {
    background: #3b82f6;
    color: white;
    padding: 6px 8px;
    font-size: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.phone-search-bar {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 3px 6px;
    text-align: center;
    font-size: 0.55rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.phone-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    flex-direction: column;
}

.phone-slide.active {
    opacity: 1;
    visibility: visible;
}

.phone-slide img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.slide-info {
    padding: 10px 8px;
    text-align: center;
    background: var(--bg-white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-info h4 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--primary-color);
}

.slide-info p {
    font-size: 0.6rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}

.phone-home-button {
    width: 35px;
    height: 4px;
    background: #475569;
    border-radius: 10px;
    margin: 0 auto 6px auto;
    flex-shrink: 0;
}

/* Sisi Kanan - Info Column */
.welcome-info {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-white);
}

.welcome-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-hover);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.welcome-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.welcome-title span {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.welcome-feat-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feat-icon {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

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

.feat-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feat-text span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-welcome-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.btn-welcome-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(59, 130, 246, 0.5);
}

.btn-welcome-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: var(--transition);
    text-align: center;
}

.btn-welcome-secondary:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .btn-welcome-secondary:hover {
    color: white;
}

/* Animations Definitions */
@keyframes blob-bounce {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-45%, -45%) scale(1.15); }
}

@keyframes phone-float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-up-badge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

@keyframes float-down-badge {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}

@keyframes float-right-badge {
    0% { transform: translate(0, 0); }
    100% { transform: translate(6px, -4px); }
}

@keyframes float-left-badge {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-6px, 4px); }
}

/* Responsivitas welcome popup */
@media (max-width: 768px) {
    .welcome-popup-container {
        width: 92%;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    /* Sembunyikan visual Smartphone & Badges dekoratif di mobile agar tidak meluber */
    .welcome-visual {
        display: none !important;
    }
    .welcome-info {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    .welcome-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .welcome-desc {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
    .welcome-features {
        gap: 0.85rem;
        margin-bottom: 1.75rem;
    }
    .welcome-feat-item {
        gap: 10px;
    }
    .feat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .feat-text strong {
        font-size: 0.8rem;
    }
    .feat-text span {
        font-size: 0.7rem;
    }
    .btn-welcome-primary {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .btn-welcome-secondary {
        padding: 8px;
        font-size: 0.8rem;
    }

    /* WhatsApp Floating Button Mobile Symmetry */
    .wa-trigger span {
        display: none !important;
    }
    .wa-trigger {
        padding: 0 !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }
}

/* ==========================================
   Premium Two-Column Hero Layout
   ========================================== */
.hero-premium {
    position: relative;
    min-height: 82vh; /* Shortened from 95vh */
    display: flex;
    align-items: center;
    background-color: var(--bg-light); /* Clean adaptive background */
    padding-top: 165px; /* Compact padding */
    padding-bottom: 85px; /* Increased padding-bottom to prevent overlap with flags */
    overflow: hidden;
    z-index: 1;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column: Info */
.hero-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title-premium {
    font-size: 3.5rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    letter-spacing: -1px !important;
    font-family: 'Outfit', sans-serif !important;
    animation: heroTextSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-premium span {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-premium {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 580px;
    opacity: 0;
    animation: heroTextSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.25s;
}

.hero-actions-premium {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroTextSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

@keyframes heroTextSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Buttons styling */
.btn-accent-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white !important;
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-accent-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(59, 130, 246, 0.6);
}

.btn-secondary-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    background-color: var(--bg-white);
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary-premium:hover {
    background-color: var(--primary-light);
    color: var(--bg-white) !important;
}

[data-theme="dark"] .btn-secondary-premium {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: white !important;
}
[data-theme="dark"] .btn-secondary-premium:hover {
    background-color: white;
    color: var(--primary-color) !important;
}

/* Right Column: Visual Collage */
.hero-visual-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot-grid-bg {
    width: 250px;
    height: 250px;
    background-image: radial-gradient(var(--text-light) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    position: absolute;
    top: -30px;
    left: -30px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.collage-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.collage-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item:hover img {
    transform: scale(1.05);
}

/* Collage asymmetric layout matching image */
.collage-item.item-1 {
    height: 170px;
    margin-top: 40px; /* offset top */
    animation: float-slow-1 6s ease-in-out infinite alternate;
}

.collage-item.item-2 {
    height: 260px; /* main height */
    animation: float-slow-2 8s ease-in-out infinite alternate 0.5s;
}

.collage-item.item-3 {
    height: 240px;
    margin-top: -30px; /* offset bottom */
    animation: float-slow-3 7s ease-in-out infinite alternate 0.2s;
}

.collage-item.item-4 {
    height: 180px;
    animation: float-slow-4 9s ease-in-out infinite alternate 0.8s;
}

/* Keyframes for Floating Micro-Animations */
@keyframes float-slow-1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(0.4deg); }
}
@keyframes float-slow-2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(8px) rotate(-0.3deg); }
}
@keyframes float-slow-3 {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-10px) scale(1.015); }
}
@keyframes float-slow-4 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(7px) rotate(0.5deg); }
}

/* Nested slider inside item-2 */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.hero-slider-container .hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-container .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider-container .hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Floating Stats Card */
.floating-stats-card {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
    animation: phone-float 5s infinite alternate ease-in-out;
    transform-origin: center;
}

.stats-avatars {
    display: flex;
    align-items: center;
}

.stats-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    margin-left: -12px;
    object-fit: cover;
}

.stats-avatars img:first-child {
    margin-left: 0;
}

.avatar-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
    margin-left: -12px;
}

.stats-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stats-text-block strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.stats-text-block span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.stats-check {
    color: #10b981; /* Green success check */
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Hero Page on Mobile UI/UX */
@media (max-width: 992px) {
    .hero-premium {
        padding-top: 155px; /* Increased padding on mobile/tablet to clear header */
        padding-bottom: 50px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-title-premium {
        font-size: 2.8rem !important;
    }
    .hero-desc-premium {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions-premium {
        justify-content: center;
    }
    .hero-visual-side {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-premium {
        padding-top: 140px; /* Increased padding on tiny screens to prevent header overlap */
    }
    .hero-title-premium {
        font-size: 2.2rem !important;
    }
    .hero-desc-premium {
        font-size: 1rem;
    }
    .btn-accent-premium,
    .btn-secondary-premium {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    .collage-container {
        gap: 1rem;
    }
    .collage-item.item-1 { height: 130px; margin-top: 20px; }
    .collage-item.item-2 { height: 190px; }
    .collage-item.item-3 { height: 170px; margin-top: -20px; }
    .collage-item.item-4 { height: 130px; }
    .floating-stats-card {
        padding: 8px 12px;
        bottom: -10px;
        left: 10px;
    }
    .stats-avatars img, .avatar-plus {
        width: 26px;
        height: 26px;
    }
    .stats-text-block strong {
        font-size: 0.9rem;
    }
    .stats-text-block span {
        font-size: 0.65rem;
    }
}

/* ==========================================
   Mengapa Memilih Kami Section (Value Prop)
   ========================================== */
.why-choose-us-section {
    position: relative;
    z-index: 99 !important; /* Force this section to be layered ABOVE the hero section */
    margin-top: 0;
    padding: 0 0 3rem 0;
    background-color: transparent; /* Transparent background */
    transition: background 0.3s ease;
}

/* Flag Card Group Container */
.flag-joined-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1040px;
    margin: -3.5rem auto 0 auto; /* Shift container up to overlap the hero spacing */
    position: relative;
    z-index: 100 !important;
    padding: 0 1.5rem;
}

.flag-card-link {
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.flag-joined-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1rem; /* Compact padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    cursor: pointer;
    min-height: auto; /* Thinned down height */
    position: relative;
}

.flag-joined-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.flag-img-wrapper {
    width: 90px; /* Reduced flag size to make cards compact */
    height: 55px; /* Reduced flag size */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.flag-joined-card:hover .flag-img-wrapper {
    transform: scale(1.05);
}

.flag-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flag-joined-card h3 {
    font-size: 1.05rem; /* Reduced font size */
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s ease;
}

.flag-joined-card:hover h3 {
    color: var(--accent-hover);
}

.flag-sector-text {
    font-size: 0.75rem; /* Compact text size */
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* Mobile Swiper (Hidden by default on Desktop) */
.why-mobile-swiper {
    display: none;
}

/* Mobile responsive settings */
@media (max-width: 992px) {
    .why-choose-us-section {
        margin-top: -2.5rem;
        padding: 4rem 0 3rem 0;
        border-radius: 30px 30px 0 0;
        background: transparent;
    }
    
    .flag-joined-container {
        display: none;
    }

    .why-mobile-swiper {
        display: block;
    }

    .why-swiper-container {
        display: flex;
        gap: 1.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0.5rem 1.5rem 2rem 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        -ms-overflow-style: none;  /* IE/Edge */
        scrollbar-width: none;     /* Firefox */
        scroll-behavior: smooth;
    }

    .why-swiper-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .flag-mobile-card-link {
        flex: 0 0 82%;
        scroll-snap-align: center;
        text-decoration: none !important;
        color: inherit;
    }

    .flag-mobile-card {
        background: var(--card-bg);
        border: 1.5px solid var(--border-color);
        padding: 2.2rem 1.75rem;
        border-radius: 24px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        min-height: 240px;
        box-sizing: border-box;
    }

    .flag-mobile-card h3 {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--text-dark);
        margin: 0 0 0.4rem 0;
        letter-spacing: 0.5px;
        font-family: 'Outfit', sans-serif;
    }

    .flag-mobile-card .flag-sector-text {
        font-size: 0.85rem;
        color: var(--text-light);
        line-height: 1.5;
        margin: 0;
    }

    .mobile-card-badge {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: rgba(59, 130, 246, 0.08);
        color: var(--accent-hover);
        font-size: 0.7rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 30px;
    }

    /* Swiper dots indicator */
    .why-swiper-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: -0.5rem;
    }

    .why-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border-color);
        transition: all 0.3s ease;
    }

    .why-dot.active {
        background: var(--accent-color);
    }
}

/* Premium Pagination Styles */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    user-select: none;
}
.pagination-btn {
    background: var(--bg-white, #fff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    color: var(--text-dark, #0f172a);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pagination-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: var(--accent-color, #3b82f6);
    color: var(--accent-color, #3b82f6);
    transform: translateY(-1px);
}
.pagination-btn.active {
    background: var(--accent-color, #3b82f6);
    border-color: var(--accent-color, #3b82f6);
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

