/* ==========================================================================
   PT. PROSPERA PERKASA ABADI - CORPORATE STYLESHEET
   Based on Company Profile Document & Modern Corporate Web System
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --primary-red: #D32F2F;      /* Deep corporate red from logo */
    --primary-dark: #B71C1C;     /* Darker shade of red */
    --primary-light: #FFEBEE;    /* Soft red tint */
    --accent-red: #EF5350;

    --text-dark: #111827;        /* Deep charcoal */
    --text-body: #374151;        /* Readable dark gray */
    --text-muted: #6B7280;       /* Muted gray */
    --text-light: #9CA3AF;       /* Light gray */

    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --bg-dark: #111827;
    --bg-darker: #0B0F19;

    --border-color: #E5E7EB;
    --border-dark: rgba(255, 255, 255, 0.12);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-red: 0 8px 24px rgba(211, 47, 47, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Global Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* scroll-behavior: smooth dihapus — pake JS animation supaya konsisten di semua device */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography & Section Headers --- */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center-header {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    background-color: rgba(211, 47, 47, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 0.85rem;
}

.section-tag.light-tag {
    color: #FFA4A4;
    background-color: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.4);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

/* Red accent line below titles (from PDF design) */
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.center-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-white {
    color: var(--bg-white);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin-top: 0.5rem;
}

.center-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.text-light {
    color: #9CA3AF !important;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.95rem 1.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    color: var(--bg-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--bg-white);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-wa {
    background-color: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-wa:hover {
    background-color: #1EBE5D;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--bg-darker);
    color: #9CA3AF;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left span i, .top-bar-right a i {
    color: var(--primary-red);
    margin-right: 5px;
}

.top-bar-right a:hover {
    color: var(--bg-white);
}

.top-wa-btn {
    background-color: rgba(37, 211, 102, 0.15);
    color: #4ADE80 !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.top-wa-btn:hover {
    background-color: #25D366;
    color: white !important;
}

/* --- Main Navigation Header --- */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    padding: 0.75rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: none !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-red);
    color: var(--bg-white) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.25);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Tombol Hubungi Kami G�� WhatsApp hijau */
.nav-cta {
    background-color: #16A34A !important;
    color: var(--bg-white) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.3) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.nav-cta::after, .nav-cta::before { display: none !important; }
.nav-cta:hover {
    background-color: #15803D !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4) !important;
    color: var(--bg-white) !important;
}

/* Tombol Produk G�� oranye amber mencolok */
.nav-produk {
    background-color: #D97706 !important;
    color: var(--bg-white) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.nav-produk::after, .nav-produk::before { display: none !important; }
.nav-produk:hover {
    background-color: #B45309 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4) !important;
    color: var(--bg-white) !important;
}

/* Pastikan active state tidak override warna tombol */
.nav-links a.nav-cta.active,
.nav-links a.nav-produk.active {
    color: var(--bg-white) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 0%, rgba(27, 8, 11, 0.92) 50%, rgba(139, 15, 23, 0.88) 100%);
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(211, 47, 47, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--bg-white);
    max-width: 1200px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.45);
    color: #FFA4A4;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    color: var(--bg-white);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.12;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: #FF5252;
    background: linear-gradient(90deg, #FF6B6B, #D32F2F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 720px;
    color: #D1D5DB;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero Highlight Stats Cards */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--primary-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: white;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 500;
    margin-top: 2px;
}

/* ==========================================================================
   INTRODUCTION SECTION
   ========================================================================== */
.intro-section {
    padding: 6.5rem 0;
    background-color: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.intro-text p {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-box {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: var(--primary-light);
    color: var(--primary-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-desc h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-desc p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Intro Visual Card */
.visual-card-wrapper {
    position: relative;
    padding-top: 16px;
}

.visual-main-box {
    background: linear-gradient(145deg, #1E293B, #0F172A);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.visual-main-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), #FF7676);
}

.vm-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vm-logo-circle {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.vm-header h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.vm-header span {
    color: #94A3B8;
    font-size: 0.85rem;
}

.vm-content-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

.vm-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.95rem;
    color: #E2E8F0;
}

.vm-item i {
    color: #4ADE80;
    font-size: 1.1rem;
}

.vm-footer-note {
    font-size: 0.85rem;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vm-footer-note i {
    color: var(--primary-red);
}

.visual-badge {
    position: absolute;
    top: -16px;
    left: 20px;
    background-color: var(--primary-red);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-red);
    z-index: 5;
}

.visual-badge i {
    font-size: 1.5rem;
    color: #FDE047;
}

.visual-badge strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

.visual-badge span {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* ==========================================================================
   VISION & MISSION SECTION (DARK CORPORATE)
   ========================================================================== */
.vimi-section {
    padding: 6.5rem 0;
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.vimi-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2.5rem;
}

.vision-box, .mission-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
    backdrop-filter: blur(8px);
    position: relative;
}

.vision-box {
    border-top: 4px solid var(--primary-red);
}

.mission-box {
    border-top: 4px solid #EF5350;
}

.vimi-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.75rem;
}

.vimi-icon-wrap {
    width: 52px;
    height: 52px;
    background-color: var(--primary-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vimi-icon {
    font-size: 1.6rem;
    color: white;
}

.box-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFA4A4;
    font-weight: 600;
}

.vision-box h3, .mission-box h3 {
    color: var(--bg-white);
    font-size: 1.75rem;
}

.vision-text {
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.85;
    color: #D1D5DB;
    font-style: italic;
    margin-bottom: 2rem;
}

/* 4 Core Pillars */
.values-wrapper h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #E5E7EB;
    font-weight: 500;
}

.value-item i {
    color: var(--primary-red);
    font-size: 0.95rem;
}

/* Mission List */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.mission-num {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.mission-content strong {
    display: block;
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.mission-content p {
    color: #D1D5DB;
    font-size: 0.95rem;
    line-height: 1.65;
    font-weight: 300;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 6.5rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(211, 47, 47, 0.2);
}

.service-card:hover::before {
    width: 6px;
}

.service-card-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-red);
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .service-icon-box {
    background-color: var(--primary-red);
    color: white;
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.tag-badge {
    font-size: 0.78rem;
    color: var(--text-body);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-badge i {
    color: var(--primary-red);
    font-size: 0.75rem;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 6.5rem 0;
    background-color: var(--bg-white);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-body);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-red);
    color: var(--bg-white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.25rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-header {
    height: 180px;
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Gradients for Project Headers */
.bg-gradient-red {
    background: linear-gradient(135deg, #B71C1C, #D32F2F);
}

.bg-gradient-darkred {
    background: linear-gradient(135deg, #7F1D1D, #991B1B);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #C2410C, #EA580C);
}

.bg-gradient-slate {
    background: linear-gradient(135deg, #1E293B, #475569);
}

.project-big-icon {
    position: absolute;
    right: 15px;
    bottom: -15px;
    font-size: 6rem;
    opacity: 0.15;
    color: white;
    pointer-events: none;
}

.project-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.project-badge {
    background-color: rgba(0, 0, 0, 0.35);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.project-cat-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-headline {
    position: relative;
    z-index: 2;
}

.project-headline h3 {
    color: white;
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.project-headline span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.project-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-specs {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

.spec-label {
    color: var(--text-muted);
}

.spec-val {
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   PARTNERS SECTION (WITH AUTHENTIC PARTNER LOGOS)
   ========================================================================== */
.partners-section {
    padding: 6.5rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.partner-logo-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.partner-logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.plc-img-wrap {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: #FAFAFA;
    border-radius: var(--radius-sm);
    border: 1px solid #F0F0F0;
}

.partner-img {
    max-height: 52px;
    max-width: 85%;
    object-fit: contain;
    filter: grayscale(15%);
    transition: var(--transition);
}

.partner-logo-card:hover .partner-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.plc-icon-fallback {
    font-size: 2.2rem;
    color: var(--primary-red);
}

.rb-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: -1px;
}

.plc-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.plc-info span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Partner Ticker Marquee with Logos */
.partner-ticker-wrapper {
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.partner-ticker {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    width: max-content;
    align-items: center;
}

.partner-ticker:hover {
    animation-play-state: paused;
}

.ticker-logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 6px 18px;
    border-radius: var(--radius-full);
}

.ticker-logo-item img {
    height: 26px;
    width: auto;
    object-fit: contain;
}

.ticker-logo-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 6.5rem 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 780px;
    margin: 0 auto;
}

.contact-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.cd-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background-color: var(--primary-light);
    color: var(--primary-red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-top: 2px;
}

.cd-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cd-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cd-content p, .cd-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    max-width: 100%;
}

/* Email — kecilkan font di layar sempit biar muat 1 baris */

.cd-content a:hover {
    color: var(--primary-red);
}

.contact-quick-buttons {
    margin-top: 1rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.75rem;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background-color: var(--bg-white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.form-success-msg {
    background-color: #ECFDF5;
    border: 1.5px solid #10B981;
    color: #065F46;
    padding: 2rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.form-success-msg i {
    font-size: 3rem;
    color: #10B981;
    margin-bottom: 1rem;
}

.form-success-msg h4 {
    color: #065F46;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.form-success-msg p {
    font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 5.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1fr 1.15fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-box {
    background-color: #FFFFFF;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.footer-about p {
    color: #9CA3AF;
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: #9CA3AF;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-nav a i {
    font-size: 0.7rem;
    color: var(--primary-red);
}

.footer-nav a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-info li i {
    color: var(--primary-red);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #6B7280;
    font-size: 0.85rem;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    color: white;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .vimi-grid {
        grid-template-columns: 1fr;
    }

    .partners-category-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar-left span:nth-child(2) {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.75rem 1.25rem;
    }
}

/* ==========================================================================
   DOKUMENTASI FOTO SECTION
   ========================================================================== */
.dokumentasi-section {
    padding: 6.5rem 0;
    background: var(--bg-light);
}

.doc-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.doc-tab {
    padding: 9px 20px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.doc-tab:hover, .doc-tab.active {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.doc-group { display: none; }
.doc-group.active { display: block; }

.doc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.doc-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.doc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.doc-item:hover img { transform: scale(1.06); }

.doc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(211,47,47,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.6rem;
    color: #fff;
}

.doc-item:hover .doc-overlay { opacity: 1; }

/* LIGHTBOX */
.doc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.doc-lightbox.open { display: flex; }

.lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
}

.lb-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#lbImg {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lb-close:hover { background: var(--primary-red); border-color: var(--primary-red); }

.lb-prev, .lb-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.lb-prev:hover, .lb-next:hover { background: var(--primary-red); border-color: var(--primary-red); }

@media (max-width: 768px) {
    .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .doc-tabs { gap: 6px; }
    .doc-tab { padding: 7px 14px; font-size: 0.78rem; }
}
.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-item:not(.revealed) {
    will-change: opacity, transform;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.service-card:nth-child(2).reveal-item { transition-delay: 0.08s; }
.service-card:nth-child(3).reveal-item { transition-delay: 0.16s; }
.service-card:nth-child(4).reveal-item { transition-delay: 0.24s; }
.project-card:nth-child(2).reveal-item { transition-delay: 0.1s; }
.project-card:nth-child(3).reveal-item { transition-delay: 0.2s; }
.partner-logo-card:nth-child(2).reveal-item { transition-delay: 0.06s; }
.partner-logo-card:nth-child(3).reveal-item { transition-delay: 0.12s; }
.partner-logo-card:nth-child(4).reveal-item { transition-delay: 0.18s; }
.partner-logo-card:nth-child(5).reveal-item { transition-delay: 0.24s; }
.partner-logo-card:nth-child(6).reveal-item { transition-delay: 0.30s; }

/* ==========================================================================
   SMOOTH NAVBAR MENU ANIMATION
   ========================================================================== */

/* Nav link animated underline */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile nav slide-in animation */
@media (max-width: 768px) {
    .nav-links {
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.4s ease,
                    visibility 0.4s ease;
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Stagger nav links on mobile open */
    .nav-links li {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.open li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
    .nav-links.open li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.10s; }
    .nav-links.open li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
    .nav-links.open li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
    .nav-links.open li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
    .nav-links.open li:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.30s; }
    .nav-links.open li:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
}

/* Hamburger animated icon */
.menu-toggle span {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   FULL RESPONSIVE SYSTEM — Mobile / Tablet / iPad / Desktop
   PT. Prospera Perkasa Abadi
   ═══════════════════════════════════════════════════════════════ */

/* ── GLOBAL — Cegah horizontal scroll di semua device ── */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
* { min-width: 0; }
img, video, iframe { max-width: 100%; height: auto; }

/* ── Container responsif tanpa mengganggu PC ── */
@media (max-width: 1200px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM NAV MOBILE — hanya <=768px
   ══════════════════════════════════════════════════════════════ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    z-index: 998;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: stretch;
    max-width: 100vw;
    overflow: hidden;
}
.bottom-nav a {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    margin: 4px 2px;
    text-decoration: none;
    color: #6B7280;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    transition: color .35s cubic-bezier(0.4,0,0.2,1);
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    z-index: 1;
}

/* Pill background merah — muncul di belakang icon+text pas active */
.bottom-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity .35s cubic-bezier(0.4,0,0.2,1),
                transform .45s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    box-shadow: 0 6px 14px rgba(211,47,47,0.35);
}

.bottom-nav a.active::before {
    opacity: 1;
    transform: scale(1);
}

.bottom-nav a i {
    font-size: 18px;
    transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1),
                color .35s ease;
    position: relative;
    z-index: 2;
}

.bottom-nav a span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: inherit;
    position: relative;
    z-index: 2;
    transition: color .35s ease;
}

/* Active state: icon + text jadi PUTIH biar kontras dengan bg merah */
.bottom-nav a.active {
    color: #ffffff !important;
}
.bottom-nav a.active i {
    color: #ffffff !important;
    transform: translateY(-1px) scale(1.08);
}
.bottom-nav a.active span {
    color: #ffffff !important;
    font-weight: 700;
}

/* Feedback tap (sebelum active nempel) */
.bottom-nav a:active:not(.active) {
    color: #D32F2F;
}
.bottom-nav a:active:not(.active) i {
    transform: scale(0.92);
}

/* Tombol CTA "Produk" — TETEP merah walaupun gak active */
.bottom-nav a.bn-cta {
    color: #ffffff;
}
.bottom-nav a.bn-cta::before {
    opacity: 1;
    transform: scale(1);
}
.bottom-nav a.bn-cta.active::before {
    /* Kalo lagi di produk.html, kasih glow lebih terang */
    box-shadow: 0 8px 20px rgba(211,47,47,0.55);
}


/* ═══════════════════════════════════════════════════════════════
   ≤ 1200px — Laptop kecil
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .partner-ticker { animation-duration: 40s; }
}


/* ═══════════════════════════════════════════════════════════════
   1024px — iPad Pro Landscape
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .vimi-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .partners-logo-grid { grid-template-columns: repeat(3, 1fr); }
    .mat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
}


/* ═══════════════════════════════════════════════════════════════
   900px — iPad Portrait & Tablet Besar
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-logo-grid { grid-template-columns: repeat(3, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .doc-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 2.6rem; }
}


/* ═══════════════════════════════════════════════════════════════
   768px — Tablet Portrait & MOBILE MODE aktif
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* ── Aktifkan bottom nav, matikan hamburger drawer ── */
    .bottom-nav { display: flex; }
    body { padding-bottom: 72px; }
    .back-to-top { bottom: 84px !important; right: 14px !important; }
    .menu-toggle { display: none !important; }
    .nav-links { display: none !important; }

    /* ── Header rapi ── */
    header { padding: 0.65rem 0; }
    .nav-container { justify-content: center !important; }
    .logo-img { height: 42px !important; }

    /* ── Top bar rapat ── */
    .top-bar { font-size: 0.72rem; padding: 5px 0; }
    .top-bar-inner { flex-wrap: nowrap; gap: 8px; }
    .top-bar-left, .top-bar-right { gap: 8px; }
    .top-bar-left span:first-child { display: none; }
    .top-wa-btn span { display: none; }

    /* ── Container tight ── */
    .container { padding-left: 1.15rem; padding-right: 1.15rem; }

    /* ── Section spacing lebih rapat ── */
    section,
    .intro-section, .vimi-section, .services-section,
    .projects-section, .partners-section, .contact-section,
    .dokumentasi-section, .produk-section,
    .catatan-section, .catatan-sec,
    .cta-section, .cta-sec { padding: 3rem 0 !important; }

    .section-header { margin-bottom: 2rem !important; }
    .section-title { font-size: 1.5rem !important; letter-spacing: 0.3px !important; }
    .section-subtitle { font-size: 0.9rem !important; padding: 0 0.5rem; }
    .section-tag { font-size: 0.7rem !important; padding: 5px 12px !important; letter-spacing: 1.5px !important; }

    /* ── HERO ── */
    .hero { padding: 3rem 0 2.5rem !important; min-height: auto; }
    .hero-badge { font-size: 0.7rem !important; padding: 6px 14px !important; letter-spacing: 1.2px !important; }
    .hero-content h1 { font-size: 1.95rem !important; line-height: 1.15 !important; margin-bottom: 1rem !important; }
    .hero-content p { font-size: 0.92rem !important; margin-bottom: 1.75rem !important; }
    .hero-actions { flex-direction: column !important; gap: 0.7rem !important; }
    .btn { width: 100% !important; justify-content: center; padding: 0.85rem 1.25rem !important; font-size: 0.9rem !important; }
    .hero-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 0.7rem !important; padding-top: 1.25rem !important; }
    .hero-stat-card { padding: 0.9rem 1rem !important; gap: 0.75rem !important; }
    .stat-icon { width: 38px !important; height: 38px !important; font-size: 1rem !important; }
    .stat-number { font-size: 1.2rem !important; }
    .stat-label { font-size: 0.72rem !important; }

    /* ── INTRO ── */
    .intro-grid { gap: 2.25rem !important; }
    .lead-text { font-size: 0.98rem !important; }
    .intro-text p { font-size: 0.9rem !important; line-height: 1.75 !important; }
    .intro-features { grid-template-columns: 1fr !important; gap: 0.85rem !important; }
    .visual-badge { top: -14px !important; left: 16px !important; padding: 8px 14px !important; }
    .visual-badge i { font-size: 1.15rem !important; }
    .visual-badge strong { font-size: 0.85rem !important; }
    .visual-main-box { padding: 1.75rem 1.35rem !important; }

    /* ── VISI MISI ── */
    .vimi-grid { grid-template-columns: 1fr !important; gap: 1.15rem !important; }
    .vision-box, .mission-box { padding: 1.75rem 1.35rem !important; border-radius: 12px !important; }
    .vision-box h3, .mission-box h3 { font-size: 1.3rem !important; }
    .vision-text { font-size: 0.95rem !important; }
    .mission-content strong { font-size: 0.95rem !important; }
    .mission-content p { font-size: 0.85rem !important; }
    .mission-num { width: 30px !important; height: 30px !important; min-width: 30px !important; font-size: 0.82rem !important; }
    .values-grid { grid-template-columns: 1fr !important; gap: 0.6rem !important; }

    /* ── LAYANAN (fix jelek) ── */
    .services-grid { grid-template-columns: 1fr !important; gap: 0.9rem !important; }
    .service-card { padding: 1.4rem 1.2rem !important; border-radius: 12px !important; }
    .service-card-inner { flex-direction: row !important; gap: 1rem !important; align-items: flex-start !important; }
    .service-icon-box {
        width: 44px !important; height: 44px !important; min-width: 44px !important;
        font-size: 1.2rem !important;
    }
    .service-card h3 { font-size: 1rem !important; margin-bottom: 6px !important; }
    .service-card p { font-size: 0.85rem !important; line-height: 1.65 !important; margin-bottom: 1rem !important; }
    .service-project-tags { flex-direction: column !important; gap: 5px !important; padding-top: 0.85rem !important; }
    .tag-badge { font-size: 0.76rem !important; gap: 5px !important; }

    /* ── PROJECTS ── */
    .filter-wrapper { gap: 6px !important; margin-bottom: 2rem !important; }
    .filter-btn { padding: 7px 14px !important; font-size: 0.78rem !important; }
    .projects-grid { grid-template-columns: 1fr !important; gap: 1.15rem !important; }
    .project-header { height: 140px !important; padding: 1.2rem !important; }
    .project-headline h3 { font-size: 1.1rem !important; }
    .project-content { padding: 1.35rem 1.15rem !important; }
    .project-content p { font-size: 0.87rem !important; }
    .project-specs { padding: 10px 12px !important; }
    .spec-item { font-size: 0.78rem !important; }

    /* ── PARTNERS ── */
    .partners-logo-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.65rem !important; }
    .partner-logo-card { padding: 0.85rem 0.7rem !important; }
    .plc-img-wrap { height: 52px !important; }
    .partner-img { max-height: 40px !important; }
    .plc-info strong { font-size: 0.78rem !important; }
    .plc-info span { font-size: 0.68rem !important; }
    .partner-ticker { gap: 1.5rem !important; animation-duration: 22s !important; }
    .ticker-logo-item { padding: 5px 14px !important; gap: 8px !important; }
    .ticker-logo-item img { height: 22px !important; }
    .ticker-logo-item span { font-size: 0.78rem !important; }

    /* ── CONTACT ── */
    .contact-grid { gap: 2rem !important; }
    .contact-lead { font-size: 0.9rem !important; }
    .contact-form-wrapper { padding: 1.5rem 1.15rem !important; border-radius: 12px !important; }
    .contact-details-list { gap: 1rem !important; }
    .contact-detail-item { gap: 0.9rem !important; }
    .cd-icon { width: 40px !important; height: 40px !important; min-width: 40px !important; }
    .cd-content strong { font-size: 0.88rem !important; }
    .cd-content p, .cd-content a { font-size: 0.88rem !important; }
    .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
    .form-group input, .form-group select, .form-group textarea {
        font-size: 16px !important;
        padding: 0.8rem 0.95rem !important;
    }
    .btn-submit { padding: 0.9rem !important; font-size: 0.9rem !important; }

    /* ── DOKUMENTASI ── */
    .doc-tabs { gap: 5px !important; margin-bottom: 1.5rem !important; }
    .doc-tab { padding: 7px 12px !important; font-size: 0.75rem !important; }
    .doc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }

    /* ── FOOTER ── */
    footer { padding: 2.5rem 0 1rem !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 1.75rem !important; }
    .footer-about p { font-size: 0.85rem !important; }
    .footer-title { font-size: 0.98rem !important; margin-bottom: 0.85rem !important; }
    .footer-nav a { font-size: 0.85rem !important; }
    .footer-contact-info li { font-size: 0.82rem !important; }
    .footer-bottom { padding: 1.25rem 0 !important; }
    .footer-bottom p { font-size: 0.75rem !important; text-align: center; }
    .footer-bottom .container { flex-direction: column !important; gap: 0.4rem !important; text-align: center !important; }

    /* ── HALAMAN PRODUK ── */
    .page-hero { padding: 2.75rem 0 2rem !important; }
    .page-hero h1, .page-hero h2 { font-size: 1.7rem !important; line-height: 1.15 !important; }
    .page-hero p { font-size: 0.88rem !important; padding: 0 1rem; }
    .hero-eyebrow, .page-eyebrow { font-size: 0.68rem !important; padding: 5px 12px !important; letter-spacing: 1.2px !important; }
    .hero-chips, .hero-meta { flex-direction: column !important; gap: 0.5rem !important; padding: 0 1rem !important; }
    .hero-chip-item, .hero-meta-item {
        width: 100%; justify-content: center;
        font-size: 0.75rem !important; padding: 7px 12px !important;
    }

    .sec-head { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; padding-bottom: 0.75rem !important; }
    .sec-icon { width: 40px !important; height: 40px !important; font-size: 1.1rem !important; }
    .sec-head h2 { font-size: 1.05rem !important; }
    .sec-head span { font-size: 0.75rem !important; }

    .table-wrap { border-radius: 10px !important; }
    .price-table { font-size: 0.78rem !important; min-width: 460px; }
    .price-table thead th { padding: 8px 10px !important; font-size: 0.65rem !important; }
    .price-table tbody td { padding: 9px 10px !important; }
    .pval { font-size: 0.9rem !important; }
    .punit { font-size: 0.64rem !important; }
    .ket-badge { font-size: 0.64rem !important; padding: 3px 7px !important; white-space: nowrap; }

    .mat-grid { grid-template-columns: 1fr !important; gap: 0.85rem !important; }
    .mat-top { padding: 1.15rem !important; gap: 0.85rem !important; }
    .mat-ico { width: 42px !important; height: 42px !important; font-size: 1.1rem !important; }
    .mat-top h3 { font-size: 0.88rem !important; }
    .mat-top span { font-size: 0.72rem !important; }
    .mat-body { padding: 1.15rem 1.25rem !important; }
    .mat-spec { font-size: 0.82rem !important; padding: 6px 0 !important; }
    .mat-price-v { font-size: 1.1rem !important; }

    .min-order { font-size: 0.72rem !important; padding: 6px 12px !important; }

    .catatan-head h2 { font-size: 1.3rem !important; }
    .catatan-grid { grid-template-columns: 1fr !important; gap: 0.65rem !important; }
    .cat-item { padding: 0.9rem 1rem !important; gap: 11px !important; }
    .cat-num { width: 28px !important; height: 28px !important; min-width: 28px !important; font-size: 0.78rem !important; }
    .cat-item p { font-size: 0.82rem !important; line-height: 1.6 !important; }

    .cta-section h2, .cta-sec h2 { font-size: 1.3rem !important; padding: 0 1rem; }
    .cta-section p, .cta-sec p { font-size: 0.88rem !important; padding: 0 1rem; }
    .cta-btns { flex-direction: column !important; gap: 0.7rem !important; padding: 0 1rem; }
    .cta-btns a, .btn-wa, .btn-outline-w {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.88rem !important;
    }
    .site-footer { padding: 2rem 0 !important; }
    .footer-inner { flex-direction: column !important; text-align: center !important; gap: 0.85rem !important; }
    .footer-brand { justify-content: center !important; }
    .footer-copy { text-align: center !important; font-size: 0.75rem !important; }
}


/* ═══════════════════════════════════════════════════════════════
   480px — Mobile Kecil (iPhone SE dsb)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container { padding-left: 1rem !important; padding-right: 1rem !important; }
    header { padding: 0.55rem 0 !important; }
    .logo-img { height: 38px !important; }

    .hero-content h1 { font-size: 1.7rem !important; }
    .section-title { font-size: 1.35rem !important; }

    .hero-stats-grid { grid-template-columns: 1fr !important; }
    .partners-logo-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .bottom-nav a { font-size: 9px !important; padding: 8px 3px !important; margin: 3px 1px !important; }
    .bottom-nav a i { font-size: 16px !important; }

    /* Produk halaman */
    .page-hero h1, .page-hero h2 { font-size: 1.45rem !important; }
    .price-table { min-width: 420px !important; font-size: 0.74rem !important; }
    .catatan-head h2 { font-size: 1.15rem !important; }
    .cta-section h2, .cta-sec h2 { font-size: 1.15rem !important; }
}


/* ═══════════════════════════════════════════════════════════════
   360px — Mobile Ultra Kecil
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    .hero-content h1 { font-size: 1.5rem !important; }
    .section-title { font-size: 1.2rem !important; }
    .bottom-nav a span { font-size: 8.5px !important; }
    .bottom-nav a i { font-size: 15px !important; }
    .partner-img { max-height: 34px !important; }
}


/* ═══════════════════════════════════════════════════════════════
   LANDSCAPE MOBILE — Layar pendek
   ═══════════════════════════════════════════════════════════════ */
@media (max-height: 500px) and (max-width: 900px) and (orientation: landscape) {
    .hero { padding: 2rem 0 !important; min-height: auto !important; }
    .hero-content h1 { font-size: 1.6rem !important; }
    .hero-stats-grid { grid-template-columns: repeat(4, 1fr) !important; }
}


/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY & Motion Reduce
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .partner-ticker { animation-duration: 60s !important; }
}


/* ═══════════════════════════════════════════════════════════════
   iPad LANDSCAPE fix — Navbar tidak wrap
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1100px) {
    .nav-links { gap: 1rem !important; }
    .nav-links a {
        font-size: 0.78rem !important;
        padding: 6px 0 !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }
    .nav-links a.nav-cta,
    .nav-links a.nav-produk {
        padding: 7px 12px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }
    .nav-links a.nav-cta i,
    .nav-links a.nav-produk i { font-size: 0.85rem !important; }
    .logo-img { height: 40px !important; }
    header { padding: 0.65rem 0 !important; }
    .nav-container { gap: 1rem; }
    .top-bar { font-size: 0.78rem; }
    .top-bar-inner { flex-wrap: nowrap; gap: 12px; }
}



/* ═══════════════════════════════════════════════════════════════
   FOOTER KONTAK — Fix icon nempel ke text
   ═══════════════════════════════════════════════════════════════ */
.fcontact,
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.fcontact li,
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.6;
    word-break: break-word;
}
.fcontact li i,
.footer-contact-info li i {
    color: var(--primary-red, #D32F2F);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 4px;
    width: 18px;
    text-align: center;
}
.fcontact li span,
.footer-contact-info li span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Footer produk .fg-col fix */
.fg-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .fcontact,
    .footer-contact-info { gap: 0.85rem !important; }
    .fcontact li,
    .footer-contact-info li { font-size: 0.85rem !important; gap: 10px !important; }
    .fcontact li i,
    .footer-contact-info li i { font-size: 0.9rem !important; }
}


/* ══════════════════════════════════════════════════
   Email mailto — responsive font & no wrap
   ══════════════════════════════════════════════════ */
.cd-content a[href^="mailto"] {
    display: inline-block;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
@media (max-width: 480px) {
    .cd-content a[href^="mailto"] { font-size: 0.8rem !important; letter-spacing: -0.15px; }
}
@media (max-width: 360px) {
    .cd-content a[href^="mailto"] { font-size: 0.72rem !important; letter-spacing: -0.2px; }
}


/* ══════════════════════════════════════════════════
   MOBILE SCROLL PERFORMANCE
   Fixes ringan tanpa merusak natural scroll
   ══════════════════════════════════════════════════ */
html {
    /* iOS momentum scroll smooth */
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    /* Disable scroll ripple di mobile (dulu bikin lag) */
    .scroll-ripple { display: none !important; }

    /* Respect prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
        .anim { transition: none !important; }
    }
}


/* ══════════════════════════════════════════════════
   IMAGE LOADING OPTIMIZATION
   Fade-in smooth + skeleton shimmer buat lazy-loaded photos
   ══════════════════════════════════════════════════ */

/* Skeleton loading background - keliatan sebelum foto muncul */
.doc-item {
    background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

@keyframes skeleton-loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Foto lazy: fade-in halus setelah decode */
.doc-item img,
.partner-img,
.ticker-logo-item img {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.doc-item img[src].loaded,
.partner-img[src].loaded,
.ticker-logo-item img[src].loaded,
.doc-item img.loaded,
.partner-img.loaded,
.ticker-logo-item img.loaded {
    opacity: 1;
}

/* Kalau JS gagal, tetep tampil setelah 2s */
.doc-item img,
.partner-img,
.ticker-logo-item img {
    animation: img-fallback 2s 1.5s forwards;
}
@keyframes img-fallback {
    to { opacity: 1; }
}

/* Kill skeleton kalau foto sudah muncul */
.doc-item.img-ready {
    animation: none;
    background: transparent;
}

/* Prevent CLS untuk partner grid */
.partner-logo-card .plc-img-wrap {
    aspect-ratio: 16 / 10;
    background: #fafafa;
}
.partner-logo-card .plc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* content-visibility auto DIHAPUS — bikin section height berubah pas scroll,
   yang bisa nyebabin scroll jumpy di mobile */

