/* 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: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
}
.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: 1px solid var(--glass-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);
}

.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 {
    font-size: 2.5rem;
    color: var(--primary-color);
}
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: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}

.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: #94a3b8;
    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: #94a3b8;
    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: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding-bottom: 1rem; /* For scrollbar if visible */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 10;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.gallery-btn:hover {
    background: var(--primary-color);
    color: white;
}
.gallery-btn.prev-btn {
    left: -20px;
}
.gallery-btn.next-btn {
    right: -20px;
}


.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    min-width: calc(25% - 1.125rem); /* Show 4 items by default */
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
}

@media (max-width: 992px) {
    .gallery-slide { min-width: calc(33.333% - 1rem); } /* Show 3 items */
}
@media (max-width: 768px) {
    .gallery-slide { min-width: calc(50% - 0.75rem); } /* Show 2 items */
}
@media (max-width: 480px) {
    .gallery-slide { min-width: 100%; } /* Show 1 item */
}

.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);
}

/* 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: 0; /* Nemepel di bawah */
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: translateY(100%);
    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: #176BDB; /* Blue pill matching the image */
    color: white;
    border-radius: 12px 12px 0 0; /* Flat bottom, rounded top */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 -4px 15px rgba(23, 107, 219, 0.3); /* shadow upwards */
    transition: background 0.3s ease;
}

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

.wa-trigger:hover {
    background: #1257b5;
}

.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: 30px;
    left: 30px; /* Moved to left */
    background-color: var(--primary-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 10px rgba(0, 0, 0, 0.2);
    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-color);
    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; }
}
