@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 40px;
    width: 46px;
    height: 46px;
    background: #1e40ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0f2edc;
}

/* Hero Section */
.hero {
    height: 60vh;
    /* This adds a subtle white tint and a blue fade at the bottom */
    background: 
        linear-gradient(to bottom, rgba(255,255,255,0.6) 100%, rgba(255,255,255,0) 50%, rgba(0, 86, 179, 0.6) 100%),
        url('../images/background2.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #1a1a1a;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 50%,
        #ffffff 100%
    );
    pointer-events: none;
}

/* Optional overlay if your image is too bright for text */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2); 
}

.tentang-kami {
    height: 120vh;
    padding: 80px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.tentang-kami .tentangkami-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
}

.tentang-kami .image-left img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.tentang-kami .image-left .counter .client,
.tentang-kami .image-left .counter .experience {
    width: 100%;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    background: #2300ff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.tentang-kami .image-left .counter h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.tentang-kami .image-left .counter p {
    font-size: 14px;
    color: #f0f0f0;
    font-weight: 400;
}

/* RIGHT CONTENT */
.tentang-kami .content-right {
    flex-direction: column;
}

.tentang-kami .content-right .visimisi {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

/* Box */
.tentang-kami .content-right .visi,
.tentang-kami .content-right .misi {
    flex: 1;
    padding: 30px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Hover */
.tentang-kami .content-right .visi:hover,
.tentang-kami .content-right .misi:hover {
    border-color: #1e40ff;
    transform: translateY(-4px);
}

/* Header */
.tentang-kami .content-right .vm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tentang-kami .content-right .vm-header i {
    font-size: 22px;
    color: #1e40ff;
}

.tentang-kami .content-right .vm-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* Text */
.tentang-kami .content-right .visi p,
.tentang-kami .content-right .misi p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* HEADER */
.tentang-kami h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e40ff;
    margin-bottom: 16px;
    text-align: left;           /* ⬅ ubah dari center */
}

/* OPTIONAL LINE */
.tentang-kami .content-right .section-header .underline {
    width: 60px;
    height: 3px;
    background: #1e40ff;
    margin-bottom: 24px;
}

/* TEXT */
.tentang-kami p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.komitmen {
    background: #fff;
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
}

.komitmen-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

/* Header */
.komitmen-container .section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 70px;
}

.komitmen-container .section-header .section-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #1e40ff;
    white-space: nowrap;
}

.komitmen-container .section-header .section-line {
    flex: 1;
    height: 2px;
    background-color: #1e40ff;
}

/* Grid */
.komitmen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.komitmen-card {
    padding: 40px 30px;
    border: 1px solid transparent; /* penting */
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.komitmen-card:hover {
    border-color: #0f2edc;
    box-shadow: 0 10px 30px rgba(15, 46, 220, 0.15);
    transform: translateY(-4px);
}

.icon-wrap {
    height: 50px;               /* semua icon punya area sama */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* kiri, bisa ganti center */
    margin-bottom: 40px;
    gap: 10px;
}

.komitmen-card img {
    width: 80px;
    height: auto;
}

.komitmen-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.komitmen-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: auto;
}

.cta-fastcargo {
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.cta-fastcargo .container {
    max-width: 1400px;
    margin: auto;
    padding: 0 40px;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Image */
.cta-image img {
    width: 500px;
    border-radius: 12px;
    object-fit: cover;
}

/* Content */
.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Button */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #1e40ff;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0f2edc;
    transform: translateY(-2px);
}

.footer {
  background: #ffffff;
  padding: 60px 40px 20px 40px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 80px;
}

.logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-col .logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.footer-col h4 {
  color: #0057ff;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
}

.footer-col p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* LOGO */
.logo {
  width: 180px;
}

.socials {
    display: flex;
    gap: 14px;
}

.socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1e40ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.socials a:hover {
    background: #0f2edc;
    transform: translateY(-3px);
}

.bottom {
    margin-top: 40px;
    padding-top: 20px;          /* jarak dari garis */
    text-align: center;
    font-size: 14px;
    color: #888;
    border-top: 1px solid #e5e5e5;
}

/* =========================
   SCROLL REVEAL ANIMATION
   ========================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Slide kiri & kanan */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s ease;
}

.reveal-left.show,
.reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Delay helper */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Footer */
.footer {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.footer.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   RESPONSIVE STYLES (Add to bottom of tentang-kami.css)
   ================================================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    /* Tentang Kami Section */
    .tentang-kami {
        height: auto;
    }

    .tentang-kami .tentangkami-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Grid Adjustments */
    .komitmen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .logo-col {
        grid-column: span 2;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .logo img {
        height: 35px;
    }

    /* HERO SECTION */
    .hero {
        height: 60vh; /* Set height to show more background */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 0;
    }

    /* BLUE COUNTER BOXES: Move to the bottom of the section */
    .tentang-kami .image-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tentang-kami .image-left .counter {
        display: flex;
        flex-direction: row; /* Side by side boxes */
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }

    .tentang-kami .image-left .counter .client, 
    .tentang-kami .image-left .counter .experience {
        flex: 1;
        height: 110px;
        margin-bottom: 0;
    }

    .tentang-kami .image-left .counter h2 {
        font-size: 24px;
    }

    .tentang-kami .image-left .counter p {
        font-size: 11px;
    }

    /* CONTENT & VISI MISI */
    .tentang-kami {
        padding: 40px 0;
        height: auto;
    }

    .tentang-kami .content-right .visimisi {
        flex-direction: column;
        gap: 15px;
    }

    .tentang-kami h2 {
        font-size: 26px;
        text-align: center;
    }

    .tentang-kami .content-right .section-header .underline {
        margin: 0 auto 24px auto;
    }

    /* KOMITMEN SECTION */
    .komitmen {
        padding: 60px 0;
    }

    .komitmen-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .komitmen-card {
        text-align: center;
        padding: 30px 20px;
    }

    .icon-wrap {
        justify-content: center;
    }

    /* CTA SECTION */
    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-image img {
        width: 100%;
        max-width: 400px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .logo-col {
        grid-column: span 1;
        margin-bottom: 20px;
    }

    .socials {
        justify-content: center;
    }
}