:root {
    --primary-color: #1a56db;
    --primary-hover: #1e40af;
    --secondary-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --wa-color: #25D366;
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-outline {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 50px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -1px;
}

.logo-subtext {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 16px;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--white);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #0D47A1;
    z-index: 0;
}

/* Side image panels */
.hero-side {
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(1.15) contrast(1.1);
}

.hero-side-left img {
    object-position: 0% top; /* Geser maksimal ke kanan */
}

.hero-side-right img {
    object-position: 100% top; /* Geser maksimal ke kiri */
}

.hero-side-left {
    left: 0;
}

.hero-side-right {
    right: 0;
}

/* Gradient overlay on each side image to blend into center */
.hero-side-overlay {
    position: absolute;
    inset: 0;
}

.hero-side-left .hero-side-overlay {
    background: linear-gradient(to right, rgba(13, 71, 161, 0) 0%, rgba(13, 71, 161, 0) 80%, rgba(13, 71, 161, 1) 100%);
}

.hero-side-right .hero-side-overlay {
    background: linear-gradient(to left, rgba(13, 71, 161, 0) 0%, rgba(13, 71, 161, 0) 80%, rgba(13, 71, 161, 1) 100%);
}

/* Center content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 620px;
    padding: 160px 20px 100px;
}


.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-weight: 400;
}

.hero h1 strong {
    font-weight: 600;
}

.hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat-item h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
    white-space: nowrap;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
    animation: float-hover 2.5s ease-in-out infinite;
}

@keyframes float-hover {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.wa-tooltip {
    background: var(--white);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wa-btn {
    background: var(--wa-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.wa-btn:hover {
    transform: scale(1.1);
}

/* Client Logos */
.client-logos {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.trust-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 400;
}

.trust-text strong {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-track img {
    height: 45px; /* Base height */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Penyesuaian khusus untuk logo yang terlalu kecil (kotak) atau punya banyak ruang kosong (padding bawaan) */
.logo-track img[alt="Balkaun Uniku"] {
    height: 60px;
    margin: 0 -8px;
}

.logo-track img[alt="DJP"] {
    height: 65px;
    margin: 0 -10px; /* Mengurangi jarak kosong bawaan gambar */
}

.logo-track img[alt="RSUD Rengasdengklok"] {
    height: 65px;
    margin: 0 -10px;
}

.logo-track img[alt="SMT Indonesia"] {
    height: 70px;
    margin: 0 -10px;
}

.logo-track img[alt="PT Mega Global"] {
    height: 60px;
    margin: 0 -8px;
}

.logo-track img[alt="Embassy of Japan"] {
    height: 60px;
    margin: 0 -8px;
}

/* Penyesuaian untuk logo yang terlalu memanjang (agar tidak terlihat raksasa) */
.logo-track img[alt="Denso"] {
    height: 35px;
}

.logo-track img[alt="Astra"] {
    height: 40px;
}

.logo-track:hover {
    animation-play-state: paused;
}

/* Sections General */
.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 40px;
    color: #093170;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.icon-box {
    width: 44px;
    height: 44px;
    background: #f0f4f8;
    color: #093170;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 1.3;
    font-weight: 600;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
}

.comparison-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.comparison-left {
    flex: 1;
    max-width: 40%;
    display: flex;
    flex-direction: column;
}

.comparison-left h2 {
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #093170; /* Brand dark blue */
    margin-bottom: 15px;
    line-height: 1.2;
}

.comparison-left p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.comparison-img {
    width: 100%;
    border-radius: 12px;
    height: auto;
}

.comparison-right {
    flex: 1;
    display: flex;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.comparison-table td {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.comparison-table th:last-child, .comparison-table td:last-child {
    border-right: none;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table th {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    background: #f8fafc;
}

.comparison-table td:first-child {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    width: 25%;
}

.comparison-table th.highlight-col {
    background: #093170;
    color: var(--white);
    position: relative;
    z-index: 2;
    border-top: none;
    border-bottom: none;
    border-right: none;
    font-size: 20px;
}

.comparison-table th.highlight-col::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -1px;
    right: -1px;
    bottom: 0;
    background: #093170;
    border-radius: 12px 12px 0 0;
    z-index: -1;
}

.comparison-table td.highlight-col {
    color: #1a56db; /* Slightly lighter blue for text */
    font-weight: 500;
    background: #f8fafc; /* Keep subtle background */
    border-left: 2px solid #093170;
    border-right: 2px solid #093170;
}

.comparison-table tbody tr:last-child td.highlight-col {
    border-bottom: 2px solid #093170;
    border-radius: 0 0 12px 12px;
}

.text-primary {
    color: var(--primary-color);
    font-weight: 500;
}

/* Custom Fabrication */
.custom-fabrication {
    padding: 80px 0;
}

.fabrication-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.fabrication-images {
    flex: 1;
    display: flex;
    gap: 20px;
}

.fab-img {
    width: calc(50% - 10px);
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.fabrication-text {
    flex: 1;
}

.fabrication-text h2 {
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #093170;
    margin-bottom: 15px;
    line-height: 1.2;
}

.fabrication-text p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Color Variations */
.color-variations {
    padding: 80px 0;
}

.color-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.color-text {
    flex: 0 0 40%;
}

.color-text h2 {
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #093170;
    margin-bottom: 20px;
    line-height: 1.2;
}

.color-text p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.color-image {
    flex: 0 0 55%;
    display: flex;
    justify-content: flex-end;
}

.rounded-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Gallery */
.gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Bottom CTA */
.bottom-cta {
    padding: 60px 0;
}

.cta-card {
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cta-text {
    flex: 1;
    padding: 60px;
}

.cta-text h2 {
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #093170;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--primary-color);
}

.footer-contact h4, .footer-social h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.footer-contact p, .footer-social p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-main);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-bottom-wrap {
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.menu-toggle { display: none; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .features-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-layout, .fabrication-content, .color-content, .cta-card {
        flex-direction: column;
    }
    
    .comparison-left {
        max-width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .comparison-img, .color-image, .fabrication-images {
        width: 100%;
    }
    
    .color-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .cta-text {
        padding: 40px 30px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-contact h4, .footer-social h4 {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 15px;
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Toggle */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--white);
        transition: all 0.3s ease;
        border-radius: 3px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Off-canvas menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(13, 71, 161, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        transform: none;
        left: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Hide CTA button in navbar on very small screens if it overlaps, or let it shrink */
    .navbar .btn-outline {
        display: none;
    }

    /* Hero Section */
    .hero-content {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }
    
    /* Hide Side Images on Mobile for cleaner look */
    .hero-side {
        opacity: 0.3;
    }

    /* Grids */
    .features-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Table as Cards */
    .table-responsive {
        width: 100%;
        overflow-x: hidden;
    }
    
    .comparison-table, .comparison-table tbody, .comparison-table tr, .comparison-table td {
        display: block;
        width: 100%;
    }
    
    .comparison-table thead {
        display: none;
    }
    
    .comparison-table tr {
        margin-bottom: 25px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        overflow: hidden;
        transition: transform 0.3s;
    }
    
    .comparison-table td {
        text-align: center;
        padding: 15px 20px;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .comparison-table td:last-child {
        border-bottom: none !important;
    }
    
    .comparison-table td:first-child {
        background: #f1f5f9;
        font-size: 18px;
        color: #093170;
        font-weight: 700;
        border-bottom: 2px solid #093170 !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .comparison-table td.highlight-col {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        background: #f8fafc;
    }
    
    .comparison-table td:nth-child(2)::before {
        content: '✓ Powder Coating';
        display: block;
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        color: #093170;
        margin-bottom: 8px;
        font-size: 16px;
    }
    
    .comparison-table td:nth-child(3)::before {
        content: '✕ Cat Cair';
        display: block;
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        color: var(--text-muted);
        margin-bottom: 8px;
        font-size: 16px;
    }

    /* Typography Adjustments */
    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .comparison-left h2, .fabrication-text h2, .color-text h2, .cta-text h2 {
        font-size: 26px;
    }
}

/* Added Hover Effects */
.comparison-img, .fab-img, .rounded-img, .gallery-img {
    transition: var(--transition);
}
.comparison-img:hover, .fab-img:hover, .rounded-img:hover, .gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.comparison-table tbody tr {
    transition: var(--transition);
}
.comparison-table tbody tr:hover td {
    background-color: #f1f5f9;
}
.comparison-table tbody tr:hover td.highlight-col {
    background-color: #e2e8f0;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

