﻿:root {
    --primary: #0c8a52;
    --primary-dark: #0a7344;
    --text: #25324a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f5f6f8;
    --white: #ffffff;
    --shadow: 0 12px 32px rgba(0, 0, 0, .08);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

/* Hero */
.business-hero {
    position: relative;
    min-height: 330px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
}

.business-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.42) 100%);
}

.business-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: 38px;
}

    .business-hero-content h1 {
        margin: 0;
        font-size: 54px;
        line-height: 1.08;
        font-weight: 700;
    }

/* Tabs */
.business-tabs {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.tabs-wrap {
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

    .tabs-wrap a {
        position: relative;
        color: #7b8495;
        font-size: 14px;
        padding: 6px 0;
    }

        .tabs-wrap a.active,
        .tabs-wrap a:hover {
            color: var(--text);
            font-weight: 600;
        }

            .tabs-wrap a.active::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: -14px;
                height: 2px;
                background: var(--primary);
            }

/* Titles */
.section-title {
    margin-bottom: 34px;
}

    .section-title.center {
        text-align: center;
    }

    .section-title h2,
    .location-head h2 {
        margin: 0 0 12px;
        font-size: 42px;
        color: #394866;
    }

    .section-title p,
    .location-head p {
        margin: 0 auto;
        max-width: 760px;
        color: var(--muted);
        line-height: 1.85;
        font-size: 15px;
    }

/* Services */
.services-section {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

    .service-grid .service-card:nth-child(1) {
        grid-column: 1 / 3;
    }

    .service-grid .service-card:nth-child(2) {
        grid-column: 3 / 5;
    }

    .service-grid .service-card:nth-child(3) {
        grid-column: 5 / 7;
    }

    .service-grid .service-card:nth-child(4) {
        grid-column: 2 / 4;
    }

    .service-grid .service-card:nth-child(5) {
        grid-column: 4 / 6;
    }

.service-card {
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 28px;
    min-height: 230px;
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .service-icon img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

.service-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    color: #182033;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

/* Projects */
.projects-section {
    background: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    position: relative;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
}

.project-logo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 100px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 0px;
    padding: 5px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.70) 100%);
}

.project-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 16px;
    color: #fff;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

    .project-tags span {
        display: inline-flex;
        align-items: center;
        padding: 5px 10px;
        border-radius: 999px;
        background: #d1e1d0;
        border: 1px solid rgba(12, 138, 82, .25);
        color: #0c8a52;
        font-size: 11px;
        font-weight: 700;
    }

.project-content h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

/* Location */
.location-section {
    background: #fff;
}

.location-head {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 34px;
}

    .location-head p {
        max-width: 100%;
        margin: 0;
    }

.location-map {
    width: 100%;
    height: 500px;
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

#dotted-map-container {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
}

#indonesiaMap {
    width: 100%;
    height: 100%;
}

.map-marker-dot {
    background: #0c8a52 !important;
    border-radius: 50% !important;
    border: 2.5px solid rgba(255, 255, 255, .9) !important;
    box-shadow: 0 0 0 4px rgba(12, 138, 82, .22) !important;
}

.map-popup {
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    min-width: 180px;
    text-align: center;
}

.map-popup-logo {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.map-popup strong {
    display: block;
    font-size: 14px;
    color: #101828;
    margin-bottom: 4px;
}

.map-popup span {
    display: block;
    font-size: 12px;
    color: #667085;
}

/* CTA */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@keyframes ctaFadeUp {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-card {
    position: relative;
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
}

    .cta-card.is-visible {
        animation: ctaFadeUp 0.6s ease both;
    }

    .cta-card:nth-child(2).is-visible {
        animation-delay: 0.15s;
    }

.cta-bg,
.cta-bg-hover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cta-bg-hover {
    opacity: 0;
}

.cta-card:hover .cta-bg {
    transform: scale(1.07);
}

.cta-card:hover .cta-bg-hover {
    opacity: 1;
    transform: scale(1.07);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    transition: opacity 0.5s ease;
}

.cta-card:hover .cta-overlay {
    opacity: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 24px;
    width: 100%;
}

    .cta-content h3 {
        margin: 0 0 8px;
        font-size: 34px;
        line-height: 1.1;
    }

    .cta-content span {
        font-size: 14px;
        font-weight: 600;
    }

.cta-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .cta-learn-more .material-icons {
        font-size: 18px;
        transition: transform 0.3s ease;
    }

.cta-card:hover .cta-learn-more .material-icons {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1100px) {
    .service-grid,
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .service-grid .service-card:nth-child(n) {
            grid-column: auto;
        }
}

@media (max-width: 992px) {
    .project-grid,
    .service-grid,
    .location-head,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .service-grid .service-card:nth-child(n) {
        grid-column: auto;
    }

    .business-hero-content h1 {
        font-size: 38px;
    }

    .section-title h2,
    .location-head h2 {
        font-size: 30px;
    }

    .tabs-wrap {
        gap: 18px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .location-map {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .business-hero {
        min-height: 260px;
    }

    .business-hero-content h1 {
        font-size: 30px;
    }

    .section-title h2,
    .location-head h2 {
        font-size: 26px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .location-map {
        height: 320px;
    }

    .cta-content h3 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 48px 0;
    }

    .business-hero {
        min-height: 220px;
    }

    .business-hero-content h1 {
        font-size: 24px;
    }

    .section-title h2,
    .location-head h2 {
        font-size: 20px;
    }

    .service-card {
        min-height: 180px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .project-card {
        min-height: 240px;
    }

    .project-content h3 {
        font-size: 20px;
    }

    .location-map {
        height: 280px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h3 {
        font-size: 20px;
    }

    .tabs-wrap {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
        padding: 0 0 2px;
        gap: 16px;
    }

    .tabs-wrap::-webkit-scrollbar {
        display: none;
    }
}
