/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.nav-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 20px 25px;
}

.nav-menu.active {
    display: flex;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
}

.header-logo {
    height: 40px;
}

.nav-toggle {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* ===== OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    padding: 100px 30px;
    transform: translateX(100%);
    transition: transform 0.45s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-menu-footer {
    margin-top: auto;              /* dorong ke paling bawah */
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #777;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* ACTIVE */
.side-menu.active {
    transform: translateX(0);
}

/* MENU ITEM */
.side-menu a {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    opacity: 0;
    transform: translateX(30px);
}

/* STAGGER ANIMATION */
.side-menu.active a {
    animation: slideIn 0.5s forwards;
}

.side-menu.active a:nth-child(1) { animation-delay: .1s; }
.side-menu.active a:nth-child(2) { animation-delay: .2s; }
.side-menu.active a:nth-child(3) { animation-delay: .3s; }
.side-menu.active a:nth-child(4) { animation-delay: .4s; }
.side-menu.active a:nth-child(5) { animation-delay: .5s; }
.side-menu.active a:nth-child(6) { animation-delay: .6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== HERO SECTION (NEW) ===== */
.hero {
    position: relative;
    height: 100vh;
    background: url("../assets/hero-bg.png") center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 70px; /* offset navbar */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-inner {
    position: relative;
    max-width: 750px;
    padding: 0 50px;
    color: #fff;
}

.hero-inner h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-inner p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    background: #3bb48f;
    color: #fff;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #2e9d7b;
    transform: translateY(-2px);
}

/* ===== HERO TEXT ANIMATION (KHUSUS PAGE 1) ===== */
.hero-animate {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 1s ease forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-inner h1 {
        font-size: 30px;
    }

    .hero-inner {
        padding: 0 25px;
    }
}


/* ===== ABOUT SECTION (PAGE 2) ===== */
.about-section {
    padding: 80px 50px;
    background: #ffffff;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 20px;
}

.desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
}

/* Vision + Mission */
.vm-box {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 40px;
}

.vm-item {
    flex: 1;
}

.vm-title {
    font-size: 26px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 10px;
}

.vm-text {
    font-size: 16px;
    line-height: 1.6;
}

/* ===== WHY US SECTION (PAGE 3) ===== */
.why-section {
    padding: 80px 50px;
    background: #ffffff;
    text-align: center;
}

.why-title {
    font-size: 32px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 50px;
}

/* Container 3 kolom:
   Left features | Center image | Right features (top + bottom)
*/
.why-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* center vertically by default */
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* LEFT FEATURES */
.why-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* space between top & bottom items */
    height: 360px; /* set a height that aligns with image */
    padding-right: 10px;
}

.why-left .why-item {
    text-align: left;
}

.why-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 8px;
}

.why-left .why-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* CENTER IMAGE */
.why-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    /* subtle shadow to lift the image */
    /* box-shadow: 0 12px 30px rgba(0,0,0,0.12); */
}

/* RIGHT FEATURES */
.why-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* put one item at top and one at bottom */
    height: 360px; /* same height as left column to align top/bottom */
    padding-left: 10px;
}

.why-right .why-item {
    text-align: left;
}

.why-right .why-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* small spacing for each item when needed */
.why-item {
    padding: 10px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .why-left, .why-right {
        height: 320px;
    }
    .why-img {
        max-width: 320px;
    }
}

@media (max-width: 900px) {
    /* stack columns on smaller screens */
    .why-container {
        flex-direction: column;
        align-items: center;
    }

    /* left and right should be normal flow with auto height */
    .why-left, .why-right {
        height: auto;
        width: 100%;
        padding: 0 25px;
    }

    .why-left {
        order: 1;
        margin-bottom: 30px;
    }

    .why-center {
        order: 2;
        margin-bottom: 30px;
    }

    .why-right {
        order: 3;
    }

    .why-item {
        text-align: center;
    }

    .why-right .why-item, .why-left .why-item {
        padding: 15px 0;
    }

    .why-img {
        max-width: 280px;
    }
}


/* ===== RESPONSIVE HERO & ABOUT ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .logo { width: 120px; }

    .top-info { 
        font-size: 12px;
        right: 10px;
    }

    .hero-content {
        right: 25px;
        bottom: 80px;
    }

    .hero-content h1 { font-size: 36px; }
    .hero-content h3 { font-size: 18px; }
    .tagline { font-size: 16px; }

    .about-section {
        padding: 50px 25px;
    }

    .vm-box {
        flex-direction: column;
        gap: 20px;
    }

    .vm-title {
        font-size: 22px;
    }
}


/* ===== PAGE 4 : COVERAGE MAP ===== */
.map-section {
    padding: 100px 50px;
    background: #ffffff;
    text-align: center;
}

.map-container {
    max-width: 1200px;
    margin: auto;
}

/* Judul + deskripsi */
.map-title {
    font-size: 28px;
    font-weight: 700;
    color: #0a8b6f;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* Highlight area text */
.map-title span {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: #111;
    color: #fff;
    font-weight: 600;
}

/* Map image */
.map-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ===== RESPONSIVE PAGE 4 ===== */
@media (max-width: 900px) {
    .map-section {
        padding: 80px 25px;
    }

    .map-title {
        font-size: 24px;
    }

    .map-img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .map-title {
        font-size: 20px;
    }

    .map-title span {
        font-size: 14px;
        padding: 5px 10px;
    }
}

/* ===== PAGE 5 : FLEET & CUSTOM SOLUTIONS ===== */
.fleet-section {
    padding: 100px 50px;
    background: #ffffff;
}

.fleet-container {
    max-width: 1200px;
    margin: auto;
}

.fleet-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 60px;
}

/* Grid layout */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* ===== FLEET ITEM (Professional Card) ===== */
.fleet-item {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}

/* Hover effect (professional, not overdone) */
.fleet-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Truck image */
.fleet-item img {
    width: 220px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px;
}

/* Title */
.fleet-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 10px;
}

/* Description text */
.fleet-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 6px;
}

/* Custom Solution */
.fleet-item.custom h3 {
    color: #0a8b6f;
}

/* ===== RESPONSIVE PAGE 5 ===== */
@media (max-width: 1000px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fleet-section {
        padding: 70px 25px;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fleet-item img {
        margin: 0 auto 15px;
    }
}

/* ===== PAGE 6 : OUR CUSTOMER ===== */
.customer-section {
    padding: 100px 50px;
    background: #ffffff;
}

.customer-container {
    max-width: 1200px;
    margin: auto;
}

.customer-title {
    font-size: 32px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 60px;
    text-align: left;
}

/* Grid logo */
.customer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 40px;
    align-items: center;
}

/* Logo styling */
.customer-grid img {
    width: 100%;
    max-width: 180px;
    margin: auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

/* Hover effect */
.customer-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ===== RESPONSIVE PAGE 6 ===== */
@media (max-width: 1000px) {
    .customer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .customer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .customer-title {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .customer-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== PAGE 7 : DAY & NIGHT LOADING ===== */
.daynight-section {
    position: relative;
    min-height: 100vh;
    padding: 80px 50px;
    background-size: cover;
    background-position: center;
    color: #fff;
    transition: background-image 0.6s ease;
}

/* DAY & NIGHT BACKGROUND */
.daynight-section.day {
    background-image: url("../assets/bg-page7.png");
}

.daynight-section.night {
    background-image: url("../assets/bg-page7-night.jpg");
}

/* Overlay */
.daynight-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* Top bar */
.daynight-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.toggle-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
}

.toggle-btn:hover {
    background: rgba(255,255,255,0.25);
}

.top-text {
    font-size: 18px;
    font-weight: 600;
}

/* Content */
.daynight-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.dn-box {
    max-width: 480px;
}

.dn-box img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid rgba(255,255,255,0.5);
}

.dn-box h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.dn-box p {
    font-size: 15px;
    line-height: 1.6;
}

/* Bottom tagline */
.dn-tagline {
    position: relative;
    z-index: 2;
    margin-top: 100px;
    text-align: center;
    font-size: 16px;
    opacity: 0.9;
}

/* ===== RESPONSIVE PAGE 7 ===== */
@media (max-width: 900px) {
    .daynight-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .daynight-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ===== DIGITAL GOVERNANCE SECTION (PAGE 8) ===== */
.digital-section {
    padding: 90px 50px;
    background: #ffffff;
}

.digital-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* LEFT TEXT */
.digital-text {
    flex: 1.2;
}

.digital-title {
    font-size: 34px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 25px;
}

.digital-title span {
    background: rgba(10, 139, 111, 0.18);
    padding: 2px 6px;
}

.digital-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

/* BUTTON */
.verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 14px 22px;
    background: #0a4ea1;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.verify-btn span {
    font-size: 20px;
}

.verify-btn:hover {
    background: #083c7a;
    transform: translateX(4px);
}

/* RIGHT IMAGE */
.digital-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.digital-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .digital-container {
        flex-direction: column;
        text-align: center;
    }

    .digital-title {
        font-size: 28px;
    }

    .verify-btn {
        justify-content: center;
    }
}

/* ===== SUSTAINABILITY SECTION (PAGE 9) ===== */
.sustainability-section {
    padding: 90px 50px;
    background: #ffffff;
}

.sustainability-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* LEFT TEXT */
.sustainability-text {
    flex: 1.2;
}

.sustainability-title {
    font-size: 34px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tree-image {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-right: 20px;
}

.tree-image img {
    max-width: 80px;
    width: 100%;
    height: auto;
}

/* ESG ITEM */
.esg-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.esg-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ESG COLORS */
.esg-icon.e {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.esg-icon.s {
    background: linear-gradient(135deg, #03a9f4, #0277bd);
}

.esg-icon.g {
    background: linear-gradient(135deg, #ff7043, #e64a19);
}

.esg-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}

.esg-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* RIGHT IMAGE */
.sustainability-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.sustainability-image img {
    max-width: 360px;
    width: 100%;
    height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .sustainability-container {
        flex-direction: column;
        text-align: center;
    }

    .sustainability-title {
        justify-content: center;
        font-size: 28px;
    }

    .esg-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ===== CONTACT SECTION (PAGE 10) ===== */
.contact-section {
    min-height: 100vh;              /* WAJIB */
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 90px 50px;
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* LEFT INFO */
.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 34px;
    font-weight: 700;
    color: #0a8b6f;
    margin-bottom: 35px;
}

.contact-wa {
    color: #0a8b6f;
    text-decoration: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon i {
    color: #333;        /* hitam */
    font-size: 18px;
}

.contact-icon {
    font-size: 22px;
    line-height: 1.4;
}

.contact-item p {
    font-size: 16px;
    color: #333;
    max-width: 520px;
    line-height: 1.5;
}

/* RIGHT LOGO */
.contact-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contact-logo img {
    max-width: 420px;
    width: 100%;
    height: auto;
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .contact-section {
        padding: 70px 25px;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-logo {
        justify-content: center;
        margin-top: 30px;
    }

    .contact-item {
        justify-content: center;
    }

    .contact-item p {
        max-width: 100%;
    }

}


/* ===== FOOTER BAR ===== */
.site-footer {
    background: linear-gradient(135deg, #0a8b6f, #043f34);
    color: #eaeaea;
    padding: 18px 50px;
    font-size: 14px;
}

/* inner layout */
.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* text */
.footer-left,
.footer-right {
    opacity: 0.9;
    letter-spacing: 0.3px;
}

/* subtle divider line */
.site-footer::before {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
   
/* WhatsApp Contact Link */
.contact-wa {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.contact-wa:hover {
    color: #0a8b6f;
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: #ffffff;
    padding: 80px 40px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 380px;
}

.footer-contact h3 {
    color: #0a8b6f;
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-contact a {
    color: #0a8b6f;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 40px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
}


/* ===== BASE ANIMATION ===== */
.animate {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

/* ===== VARIANTS ===== */

/* default hidden */
/* ===== BASE ANIMATION ===== */
.animate {
    opacity: 0;
    transition: all 1.2s ease;
    will-change: transform, opacity;
}

.animate.active {
    opacity: 1;
    transform: translate(0,0);
}

/* ===== DIRECTION ===== */
.fade-up {
    transform: translateY(150px);
}

.fade-down {
    transform: translateY(-150px);
}

.fade-left {
    transform: translateX(-150px);
}

.fade-right {
    transform: translateX(150px);
}

.fade-up-long {
    transform: translateY(1000px);
}

.fade-down-long {
    transform: translateY(-1000px);
}

.fade-left-long {
    transform: translateX(-1000px);
}

.fade-right-long {
    transform: translateX(1000px);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== TRANSITION DELAY ===== */
.delay-1 { transition-delay: 0.5s; }
.delay-2 { transition-delay: 1s; }
.delay-3 { transition-delay: 1.5s; }
.delay-4 { transition-delay: 2s; }
