/* ============================================================
   PT. BAGAS OPERATION MARINE — Company Profile Stylesheet
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary:       #0A2463;
    --primary-dark:  #061539;
    --primary-light: #1a4b8c;
    --accent:        #007bff;
    --accent-bright: #0099ff;
    --secondary:     #00c6ff;
    --white:         #ffffff;
    --off-white:     #f0f4ff;
    --light-gray:    #e8edf8;
    --text-dark:     #1a1a2e;
    --text-body:     #4a5568;
    --text-muted:    #718096;
    --gold:          #f0a500;
    --shadow-sm:     0 2px 8px rgba(6, 21, 57, 0.08);
    --shadow-md:     0 4px 20px rgba(6, 21, 57, 0.12);
    --shadow-lg:     0 10px 40px rgba(6, 21, 57, 0.18);
    --shadow-xl:     0 20px 60px rgba(6, 21, 57, 0.25);
    --radius-sm:     8px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --radius-full:   9999px;
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body:     'Poppins', sans-serif;
    --font-heading:  'Playfair Display', serif;
}

/* ===== SCROLLBAR — Hidden Thumb (scroll still works) ===== */
::-webkit-scrollbar { width: 0px; height: 0px; }
* { scrollbar-width: none; -ms-overflow-style: none; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.7;
    padding-top: 60px;
}

/* Smooth page entry — slide + fade main */
main {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: pageEnter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main.transitioning-out {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== PRELOADER ===== */
/* ===== BODY LOCK (menu open) ===== */
body.menu-open { overflow: hidden; }

.preloader-logo {
    width: 80px;
    height: auto;
    margin: 0 auto 16px;
    display: block;
    animation: pulse-logo 1.5s ease-in-out infinite;
}
@keyframes pulse-logo {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.spinner { text-align: center; color: var(--white); }
.spinner .wave {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}
.spinner .wave span {
    width: 12px; height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    animation: wave 1.2s ease-in-out infinite;
}
.spinner .wave span:nth-child(2) { animation-delay: 0.2s; }
.spinner .wave span:nth-child(3) { animation-delay: 0.4s; }
.spinner p { font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; opacity: 0.8; }

@keyframes wave {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-16px); opacity: 1; }
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    overflow-x: hidden;
}

/* ===== HEADER / NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
#navbar.scrolled {
    background: #ffffff;
    box-shadow: var(--shadow-lg);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    flex-wrap: nowrap;
    gap: 8px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    flex-shrink: 0;
}
.logo img,
.logo-img {
    height: 44px;
    width: auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.4; }
.logo-name {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    color: #061539;
    letter-spacing: 1px;
    transition: var(--transition);
}
.logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    color: #007aff;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 4px;
}
.nav-menu a {
    color: rgba(6, 21, 57, 0.75);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-transform: capitalize;
    position: relative;
    transition: var(--transition);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #061539);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.08);
    border-radius: var(--radius-md);
}

/* CTA Nav Button */
.nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white) !important;
    border-radius: var(--radius-full) !important;
    padding: 8px 22px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}
.nav-cta:hover { box-shadow: 0 6px 24px rgba(0, 123, 255, 0.6); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(6, 21, 57, 0.06);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-left: 16px;
    flex-shrink: 0;
}
.lang-btn {
    border: none;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: transparent;
    color: #061539;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.lang-btn.active {
    background: #007bff;
    color: #ffffff;
}
.lang-btn:hover:not(.active) {
    background: rgba(6, 21, 57, 0.08);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 21, 57, 0.75) 0%, rgba(10, 36, 99, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 60px 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero h1, .hero h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 560px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-indicator {
    width: 32px;
    height: 3px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}
.hero-indicator.active {
    background: linear-gradient(90deg, var(--secondary), var(--accent-bright));
    width: 60px;
}

/* Hero Stats (di dalam hero, di paling bawah) */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(6, 21, 57, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-bar-section {
    background: linear-gradient(135deg, #061539 0%, #0A2463 100%);
}

.stats-bar-section .stats-grid {
    display: flex;
    justify-content: center;
    gap: 0;
}

.stats-bar-section .stat-item {
    text-align: center;
    padding: 12px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stats-bar-section .stat-item:last-child {
    border-right: none;
}

.stats-bar-section .stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
}

.stats-bar-section .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: none;
    letter-spacing: 0;
}

/* ===== SECTIONS ===== */
.section {
    padding: 48px 0;
}
.section-alt { background: var(--off-white); }
.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: var(--radius-full);
}
.section-dark .section-badge {
    color: var(--secondary);
    background: rgba(0, 198, 255, 0.1);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 8px;
}
.section-dark .section-title { color: var(--white); }

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.section-header { margin-bottom: 16px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image-card {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.about-float-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 160px;
}
.about-float-card .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}
.about-float-card .label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* About Stats Grid (about page) */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.about-stat-card {
    padding: 16px 12px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}
.about-stat-card:nth-child(1) {
    background: linear-gradient(135deg, #007bff, #00c6ff);
}
.about-stat-card:nth-child(2) {
    background: linear-gradient(135deg, #061539, #0A2463);
}
.about-stat-card:nth-child(3) {
    background: linear-gradient(135deg, #007bff, #061539);
}
.about-stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.about-stat-card span {
    font-size: 0.7rem;
    opacity: 0.9;
    display: block;
}

/* About Text */
.about-text-item {
    margin-bottom: 16px;
}
.about-text-item p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
}
.about-text-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-text-item h4 i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* About section paragraphs */
.section-alt .about-grid > div:last-child > p,
.section:not(.section-alt) .about-grid > div:last-child > p {
    color: var(--text-body);
    line-height: 1.8;
    margin: 20px 0;
}
.section-alt .about-grid > div:last-child > p:last-of-type,
.section:not(.section-alt) .about-grid > div:last-child > p:last-of-type {
    margin-bottom: 28px;
}
.about-highlight-text {
    color: var(--text-body);
    line-height: 1.8;
    margin: 20px 0 12px;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Visi Misi */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}
.visi-card, .misi-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent);
    transition: var(--transition);
}
.visi-card:hover, .misi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.misi-card { border-top-color: var(--secondary); }
.visi-card h3, .misi-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.visi-card p, .misi-card ul {
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.95rem;
}
.misi-card ul { padding-left: 0; }
.misi-card ul li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
}
.misi-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.85rem;
    top: 10px;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 198, 255, 0.05));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    min-height: 100%;
    max-height: 100%;
}
.service-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 198, 255, 0.08));
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: rgba(0, 123, 255, 0.35);
    font-style: italic;
}
.service-card:hover .service-img {
    transform: scale(1.05);
}
.service-card:hover .service-image-wrap {
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.18);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 198, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--accent);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-detail-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 21, 57, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}
.service-detail-overlay.show { display: flex; cursor: default; }

.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    animation: scaleIn 0.4s ease;
}
.service-detail-card .close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    border: 2px solid rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 10001;
}
.service-detail-card .close-btn:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}
.service-detail-card {
    background: var(--white);
}
.service-detail-card .service-icon { margin-bottom: 20px; }
.service-detail-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
}
.service-detail-card p { color: var(--text-body); line-height: 1.8; margin-bottom: 12px; }
.service-detail-card ul {
    padding-left: 0;
    margin-top: 16px;
}
.service-detail-card ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-body);
    border-bottom: 1px solid var(--light-gray);
}
.service-detail-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* ===== GALLERY SECTION ===== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gallery-filter {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.gallery-filter.active,
.gallery-filter:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 21, 57, 0.9) 0%, rgba(6, 21, 57, 0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.gallery-overlay span {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 500;
}
.gallery-overlay .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.4s ease 0.1s;
    opacity: 0;
}
.gallery-item:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.show { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    text-align: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    margin: 0 auto;
}
.lightbox-caption {
    color: rgba(255,255,255,0.8);
    margin-top: 16px;
    font-size: 1rem;
}
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 10003;
    backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: #e74c3c; border-color: #e74c3c; }

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.1);
}
.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.contact-info-card > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--secondary);
    flex-shrink: 0;
}
.contact-item .text h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-item .text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}
.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.contact-form-wrap > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.35);
}
.btn-submit:hover {
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.55);
    transform: translateY(-2px);
}
.btn-submit:active { transform: translateY(0); }

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
}
.form-success.show { display: block; }
.form-success i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 16px;
}
.form-success h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-success p { color: var(--text-muted); }

/* Map placeholder */
.map-section {
    background: var(--primary-dark);
    padding: 60px 0;
    text-align: center;
}
.map-section h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.map-section p { color: rgba(255,255,255,0.6); margin-bottom: 24px; font-size: 0.9rem; }
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
}
.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--accent);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}
.btn-white-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer { background: var(--primary-dark); }

.footer-top { padding: 48px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px 48px;
    align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    display: block;
    margin-bottom: 8px;
}

.footer-brand > .footer-logo h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-brand > .footer-logo p {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(0, 198, 255, 0.8);
    letter-spacing: 1px;
    margin-top: 2px;
}

.footer-brand > p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 10px 0 18px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.12);
    min-height: 32px;
    display: flex;
    align-items: center;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links ul li {
    display: flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 0;
}

.footer-links ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
    padding: 2px 0;
    width: 100%;
    line-height: 1.4;
}
.footer-links ul li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-links ul li a i { color: var(--secondary); font-size: 0.75rem; flex-shrink: 0; }

.footer-contact {
    gap: 0;
}

.footer-contact > p,
.footer-contact > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.footer-contact > p i,
.footer-contact > div i,
.footer-contact > p a,
.footer-contact > div a {
    color: var(--secondary);
    margin-top: 3px;
    font-size: 0.82rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.footer-contact > p a,
.footer-contact > div a {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    width: auto;
    text-align: left;
    transition: var(--transition);
}
.footer-contact > p a:hover,
.footer-contact > div a:hover {
    color: var(--secondary);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
    animation: none;
}
.wa-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; right: 76px; }

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ===== BACK TO TOP ===== */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 32px;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
#backToTop.show { display: flex; }
#backToTop:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== DASHBOARD HERO CARDS ===== */
.dashboard-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}
.dash-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.dash-photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}
.dash-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.dash-photo-card:hover img { transform: scale(1.1); }

.dash-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(6,21,57,0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.dash-photo-card:hover .dash-photo-overlay { transform: translateY(0); }
.dash-photo-overlay h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.dash-photo-overlay p {
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 500;
}

.dash-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.9);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    transition: var(--transition);
}
.dash-photo-card:hover .dash-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* Photo Modal */
.photo-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}
.photo-modal.show { display: flex; cursor: default; }
.photo-modal-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    cursor: default;
}
.photo-modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
    box-shadow: var(--shadow-xl);
}
.photo-modal-content h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}
.photo-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 10003;
    backdrop-filter: blur(4px);
}
.photo-modal-close:hover { color: var(--white); background: #e74c3c; border-color: #e74c3c; }

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.why-card {
    text-align: center;
    padding: 16px 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.why-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(0,198,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.2rem;
    color: var(--accent);
    transition: var(--transition);
}
.why-card:hover .icon {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
}
.why-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CLIENTS ===== */
.clients-marquee {
    overflow: hidden;
    padding: 20px 0;
    background: #fff;
}
.clients-track {
    display: flex;
    gap: 60px;
    animation: marquee 40s linear infinite;
    width: max-content;
    align-items: center;
    padding: 12px 0;
    overflow: hidden;
}
.client-logo { opacity: 1; filter: none; flex-shrink: 0; }
.client-logo img { height: 48px; object-fit: contain; }
.client-logo:hover { opacity: 1; filter: none; }

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.partner-item img {
    height: 52px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.partner-item:hover img { opacity: 0.7; }
.partner-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.client-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 1;
    filter: none;
    transition: var(--transition);
    min-width: 160px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(6, 21, 57, 0.08);
}
.client-logo-item:hover { opacity: 1; filter: none; transform: translateY(-3px); }
.client-logo-item img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.client-logo-item span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== LANGUAGE SWITCHER (desktop only - mobile handled in media query) ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(6, 21, 57, 0.06);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-left: 16px;
    flex-shrink: 0;
}
.lang-btn {
    border: none;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: transparent;
    color: #061539;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.lang-btn.active {
    background: #007bff;
    color: #ffffff;
}
.lang-btn:hover:not(.active) {
    background: rgba(6, 21, 57, 0.08);
}

@media (max-width: 480px) {
    .lang-btn { padding: 4px 8px; font-size: 0.68rem; }
}

/* ===== RESPONSIVE ===== */

/* ---- Hamburger (always hidden on desktop) ---- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
    margin-left: 12px;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Tablet: 1024px ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-card,
    .about-image-card img { height: 420px; }

    .about-float-card { bottom: -20px; right: -20px; padding: 20px 24px; }
}

/* ---- Mobile nav: 900px (hamburger activated) ---- */
/* Lang switcher inside nav drawer — only on mobile */
.nav-menu .lang-switcher {
    display: none;
    margin: 20px 16px 0;
    width: fit-content;
}

@media (max-width: 900px) {
    /* Hamburger visible */
    .hamburger { display: flex; }

    /* Nav menu = slide-out drawer */
    .nav-menu {
        position: fixed;
        top: 0 !important;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        padding: 80px 24px 40px;
        transition: right 0.35s ease;
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
        z-index: 1000;
        overflow-y: auto;
        /* Reset desktop layout — use block so children stack naturally */
        display: block !important;
        flex-direction: unset;
    }
    .nav-menu.open { right: 0; }

    /* Show lang switcher inside nav on mobile */
    .nav-menu .lang-switcher { display: flex; }

    /* Hide desktop lang-switcher on mobile */
    #langSwitcherDesktop { display: none; }

    /* Nav links stacked */
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-menu ul li { width: 100%; }
    .nav-menu a {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: var(--radius-sm);
        color: #061539;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-menu a:hover { background: rgba(6, 21, 57, 0.06); }

    /* Nav overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .nav-overlay.active { display: block; }

    /* Language switcher inside nav drawer */
    .lang-switcher {
        position: static !important;
        transform: none !important;
        margin: 20px 16px 0;
        width: fit-content;
    }

    /* Hamburger */
    .hamburger { display: flex !important; }

    body { padding-top: 60px; }

    /* Allow nav container to wrap on very narrow screens */
    .nav-container { flex-wrap: wrap; gap: 4px; }
}

/* ---- Contact Section Responsive ---- */
.contact-form-wrap > p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.88rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.35);
}
.btn-submit:hover {
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.55);
    transform: translateY(-2px);
}
.btn-submit:active { transform: translateY(0); }
.form-success {
    display: none;
    text-align: center;
    padding: 28px;
}
.form-success.show { display: block; }
.form-success i {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 14px;
}
.form-success h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-success p { color: var(--text-muted); font-size: 0.9rem; }

/* Quick Action Buttons */
.contact-quick-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
.contact-email-btn,
.contact-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
    word-break: break-all;
}
.contact-email-btn {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}
.contact-email-btn:hover {
    background: rgba(255,255,255,0.2);
}
.contact-wa-btn {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.contact-wa-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* Map */
.map-section {
    background: var(--primary-dark);
    padding: 48px 0;
    text-align: center;
}
.map-section h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.map-section p { color: rgba(255,255,255,0.6); margin-bottom: 20px; font-size: 0.88rem; }
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}
.map-embed iframe { width: 100%; height: 350px; display: block; border: none; }

@media (max-width: 600px) {
    .map-embed iframe { height: 220px; }
}
@media (max-width: 480px) {
    .map-embed iframe { height: 180px; }
}
@media (max-width: 375px) {
    .map-embed iframe { height: 160px; }
}

/* ---- Mobile small: 600px ---- */
@media (max-width: 768px) {
    /* Hero */
    .hero { min-height: 100svh; }
    .hero-content { max-width: 100%; padding: 30px 0 90px; }
    .hero-content h2 { font-size: clamp(2rem, 7vw, 3rem) !important; }
    .hero-desc { font-size: 1rem !important; max-width: 100% !important; }
    .hero-badge { font-size: 0.8rem !important; padding: 6px 14px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; padding: 16px 28px; font-size: 1rem; }
    .container { padding: 0 16px; }

    /* Stats Bar */
    .stats-bar-section { padding: 12px 0; }
    .stats-bar-section .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    .stats-bar-section .stat-item {
        padding: 14px 6px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .stats-bar-section .stat-item:last-child { border-bottom: none; }
    .stats-bar-section .stat-number { font-size: 1.4rem; }
    .stats-bar-section .stat-label { font-size: 0.7rem; }

    /* Sections */
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 20px; }
    .section-title { font-size: clamp(1.4rem, 4vw, 2rem) !important; }

    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-float-card { bottom: 12px; right: 12px; }
    .about-image-card,
    .about-image-card img { height: 340px; }

    .visi-misi-grid { grid-template-columns: 1fr; }

    /* Services: 2 cols */
    .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .service-card { padding: 20px 14px; }
    .service-image-wrap { aspect-ratio: 4 / 3; margin-bottom: 14px; }
    .service-card h3 { font-size: 1rem; }

    /* Dashboard Photos: 2 cols */
    .dashboard-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dash-photo-card { aspect-ratio: 1/1; }

    /* Gallery: 2 cols */
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item { min-height: 160px; }

    /* Why Grid: 2 cols */
    .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .why-card { padding: 14px 10px; }

    /* Footer: 2 cols */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-top { padding: 40px 0 32px; }
    .footer-contact > p,
    .footer-contact > div { font-size: 0.8rem; }
    .footer-links h4,
    .footer-contact h4 { font-size: 0.85rem; }

    /* Contact: full mobile override */
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-info-card { padding: 24px 16px; border-radius: var(--radius-md); }
    .contact-info-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
    .contact-info-card > p { font-size: 0.85rem; margin-bottom: 20px; }
    .contact-item { gap: 10px; margin-bottom: 18px; }
    .contact-item .icon { width: 40px; height: 40px; font-size: 0.9rem; flex-shrink: 0; }
    .contact-item .text h5 { font-size: 0.75rem; margin-bottom: 2px; }
    .contact-item .text p { font-size: 0.82rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px 16px; border-radius: var(--radius-md); }
    .contact-form-wrap h3 { font-size: 1.2rem; }
    .form-group { margin-bottom: 14px; }
    .form-group input,
    .form-group textarea { font-size: 0.9rem; padding: 12px 14px; }
    .map-embed iframe { height: 200px; }

    /* CTA */
    .cta-section { padding: 50px 16px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
}

/* ---- Mobile compact: 480px ---- */
@media (max-width: 600px) {
    /* Services, Gallery, Why, Dashboard — 1 col */
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .dashboard-photos { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-image-card,
    .about-image-card img { height: 320px; }

    /* Contact compact */
    .contact-info-card { padding: 20px 12px; }
    .contact-info-card h3 { font-size: 1.2rem; }
    .contact-item .icon { width: 36px; height: 36px; font-size: 0.85rem; }
    .contact-item .text p { font-size: 0.8rem; }
    .contact-form-wrap { padding: 20px 12px; }
    .form-group input,
    .form-group textarea { padding: 11px 12px; font-size: 0.88rem; }
    .btn-submit { font-size: 0.9rem; padding: 14px; }
    .map-embed iframe { height: 180px; }

    /* Service detail overlay */
    .service-detail-card { padding: 20px 14px; border-radius: var(--radius-md); max-height: 90svh; overflow-y: auto; }
    .service-detail-card h2 { font-size: 1.3rem; }
    .service-detail-card .close-btn { top: 10px; right: 10px; width: 30px; height: 30px; }

    /* Page hero */
    .page-hero { padding: 60px 0 40px; }
    .page-hero h1 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
    .page-hero p { font-size: 0.88rem; }
}

/* ---- Mobile small: 480px ---- */
@media (max-width: 480px) {
    .logo img, .logo-img { height: 36px; }
    .logo-text .logo-name { font-size: 0.72rem !important; }
    .logo-text .logo-sub { font-size: 0.5rem !important; }
    .nav-container { height: 56px; gap: 6px; }

    .hero-content { padding: 20px 0 80px; }
    .hero h2 { font-size: 1.7rem !important; }
    .hero-desc { font-size: 0.95rem !important; }
    .hero-badge { font-size: 0.8rem !important; padding: 6px 14px; }
    .section-title { font-size: 1.4rem !important; }

    .stats-bar-section .stat-number { font-size: 1.2rem; }
    .stats-bar-section .stat-label { font-size: 0.65rem; }

    .about-float-card { bottom: 8px; right: 8px; min-width: 130px; }
    .about-float-card .number { font-size: 2.2rem; }

    .cta-section h2 { font-size: 1.5rem; }

    .footer-top { padding: 32px 0 24px; }
    .footer-logo-img { height: 44px; }
    .footer-social a { width: 34px; height: 34px; font-size: 0.78rem; }

    .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
    #backToTop { right: 16px; bottom: 80px; width: 40px; height: 40px; }
}

/* ---- Contact Page Responsive ---- */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-info-card { padding: 36px 28px; }
    .contact-form-wrap { padding: 36px 28px; }
}

@media (max-width: 768px) {
    .contact-grid { gap: 24px; }
    .contact-info-card { padding: 28px 20px; }
    .contact-info-card h3 { font-size: 1.5rem; }
    .contact-form-wrap { padding: 24px 18px; }
    .contact-form-wrap h3 { font-size: 1.3rem; }

    .contact-item { gap: 12px; margin-bottom: 20px; }
    .contact-item .icon { width: 40px; height: 40px; font-size: 0.88rem; }
    .contact-item .text h5 { font-size: 0.8rem; }
    .contact-item .text p { font-size: 0.88rem; }

    .contact-quick-btns { flex-direction: column; gap: 10px; }
    .contact-email-btn,
    .contact-wa-btn {
        font-size: 0.82rem;
        padding: 12px 16px;
        justify-content: center;
    }

    .map-embed iframe { height: 280px; }
    .map-section h3 { font-size: 1.2rem; }
    .map-section p { font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .contact-info-card { padding: 20px 16px; }
    .contact-info-card h3 { font-size: 1.3rem; }
    .contact-info-card > p { font-size: 0.85rem; }
    .contact-form-wrap { padding: 20px 16px; }
    .contact-form-wrap h3 { font-size: 1.2rem; }
    .contact-form-wrap > p { font-size: 0.85rem; }

    .contact-item .icon { width: 36px; height: 36px; font-size: 0.82rem; }

    .map-embed iframe { height: 220px; }
}

@media (max-width: 375px) {
    .contact-form-wrap { padding: 16px 12px; }
    .contact-info-card { padding: 16px 12px; }
}

/* ---- Mobile portrait: 375px ---- */
@media (max-width: 375px) {
    .container { padding: 0 12px; }
    .hero h2 { font-size: 1.7rem !important; }
    .hero-desc { font-size: 1rem !important; }
    .hero-badge { font-size: 0.85rem !important; padding: 6px 14px; }
    .btn-primary, .btn-outline { padding: 14px 24px; font-size: 0.95rem; }
    .stats-bar-section .stat-number { font-size: 1rem; }
    .stats-bar-section .stat-label { font-size: 0.6rem; }
    .section { padding: 32px 0; }
    .contact-form-wrap { padding: 16px 10px; }
    .contact-info-card { padding: 16px 10px; }
}

/* ===== PAGE HEADER (Inner Pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300c6ff' fill-opacity='0.04'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    position: relative;
    animation: fadeInUp 0.8s ease;
}
.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-top: 12px;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.page-breadcrumb a, .page-breadcrumb span {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}
.page-breadcrumb a:hover { color: var(--secondary); }
.page-breadcrumb i { font-size: 0.7rem; }
