/* =================================
   About Page - Our Story (Redesigned)
   ================================= */
#our-story {
    background: linear-gradient(135deg, #e7f4f9 10%, #ffffff 40%, #ecf7ff 50%);
}
/* =================================
   About Page - Our Story (Scattered Photos Collage)
   ================================= */
.story-image-collage {
    position: relative;
    min-height: 500px; 
    margin: 20px 0;
}
.story-image-collage .img-fluid {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(45, 55, 72, 0.2);
    border: 5px solid #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* Posisi baru & rotasi untuk 4 gambar */
.collage-img-1 {
    width: 65%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(3deg);
    z-index: 2;
}
.collage-img-2 {
    width: 40%;
    top: 0;
    left: 10%;
    transform: rotate(-8deg);
    z-index: 3;
}
.collage-img-3 {
    width: 50%;
    bottom: 0;
    left: 5%;
    transform: rotate(6deg);
    z-index: 1;
}
.collage-img-4 {
    width: 35%;
    bottom: 10%;
    right: 0;
    transform: rotate(-4deg);
    z-index: 3;
}
/* Efek hover per gambar (tetap dipertahankan) */
.story-image-collage .img-fluid:hover {
    transform: scale(1.1) !important; 
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* DITAMBAHKAN: Efek hover baru per gambar */
.story-image-collage .img-fluid:hover {
    transform: scale(1.15); /* Gambar membesar lebih signifikan */
    z-index: 10; /* Pindah ke lapisan paling depan */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); /* Bayangan lebih kuat */
}
/* Efek animasi saat hover */
.story-image-collage:hover .collage-img-large {
    transform: translate(-50%, -50%) scale(1.05);
}

.story-image-collage:hover .collage-img-small-1 {
    transform: translate(-15px, -15px) rotate(-5deg);
}

.story-image-collage:hover .collage-img-small-2 {
    transform: translate(15px, 15px) rotate(5deg);
}

/* Animasi On-Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}







/* =================================
   Vision & Mission Section Styling
   ================================= */
#vision-mission {
    background-color: #f8f9fa;
}

.vm-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #eef0f3;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 172, 218, 0.15);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background-color: #11ACDA;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    margin-bottom: 1rem;
    color: #0A192F; 
}

.vm-card p {
    line-height: 1.8;
}




        .timeline-section-container {
            max-width: 1300px; /* Updated max-width */
            margin: 0 auto;
        }

        .timeline-wrapper {
            overflow-x: auto;
            padding: 40px 0;
            /* Custom Scrollbar */
            scrollbar-color: #d4d4d4 #f1f1f1;
            scrollbar-width: thin;
        }
        .timeline-wrapper::-webkit-scrollbar {
            height: 8px;
        }
        .timeline-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .timeline-wrapper::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 10px;
        }
        .timeline-wrapper::-webkit-scrollbar-thumb:hover {
            background: #aaa;
        }

        .timeline-container {
            position: relative;
            display: inline-flex;
            padding: 40px 0;
            white-space: nowrap;
            min-width: 100%;
            min-height: 570px; /* Give container enough height */
        }

        /* The horizontal line */
        .timeline-container::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 4px;
            background-color: #e0e0e0;
            z-index: 1;
            transform: translateY(-50%);
        }

        .timeline-item-container {
            position: relative;
            width: 280px;
            margin: 0 25px;
            z-index: 2;
        }

        /* This is the card's wrapper */
        .timeline-item {
            position: absolute;
            left: 0;
            right: 0;
            z-index: 2;
        }
        
        .timeline-item-top {
            bottom: calc(50% + 25px); /* Position above center + gap */
        }
        .timeline-item-bottom {
            top: calc(50% + 25px); /* Position below center + gap */
        }
        
        /* The vertical connector */
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 50%;
            width: 4px;
            height: 25px; /* Length of the connector */
            background-color: #e0e0e0;
            transform: translateX(-50%);
            z-index: 1;
        }

        .timeline-item-top::before {
            top: 100%; /* Attach to the bottom of the top card */
        }
        .timeline-item-bottom::before {
            bottom: 100%; /* Attach to the top of the bottom card */
        }

        /* The dot on the main line */
        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 22px;
            height: 22px;
            background-color: #f8f9fa;
            border: 5px solid #11ACDA;
            border-radius: 50%;
            z-index: 3;
            transform: translate(-50%, -50%); /* Centered on the line */
            transition: all 0.3s ease;
        }

        .timeline-content {
            background-color: white;
            border-radius: 16px;
            border: 1px solid #eef0f3;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
            padding: 1.5rem; /* Reduced padding */
            text-align: center;
            width: 100%;
            white-space: normal;
            transition: all 0.3s ease;
        }

        .timeline-icon {
            width: 60px; /* Smaller icon */
            height: 60px;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            border-radius: 50%;
            background: linear-gradient(135deg, #11ACDA 0%, #0d6efd 100%);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s ease;
        }

        .timeline-date {
            font-size: 0.9rem; /* Smaller font */
            font-weight: bold;
            color: #11ACDA;
            margin-bottom: 8px;
        }

        .timeline-title {
            font-size: 1.1rem; /* Smaller font */
            font-weight: 600;
            margin-bottom: 8px;
        }

        .timeline-description {
            font-size: 0.8rem; /* Smaller font */
            line-height: 1.5;
        }

        /* Interactive hover effects */
        .timeline-item-container:hover .timeline-dot {
            transform: translate(-50%, -50%) scale(1.3);
            background-color: #11ACDA;
        }
        .timeline-item-container:hover .timeline-content {
            transform: translateY(-8px);
            box-shadow: 0 10px 15px -3px rgba(17, 172, 218, 0.15), 0 4px 6px -2px rgba(17, 172, 218, 0.1);
        }
        .timeline-item-container:hover .timeline-icon {
            transform: rotate(15deg) scale(1.1);
            box-shadow: 0 10px 20px rgba(17, 172, 218, 0.3);
        }
        
        /* =================================
           Vertical Timeline (Tablet & Mobile Fallback)
           ================================= */
        @media (max-width: 991.98px) {
            .timeline-wrapper {
                overflow-x: hidden;
            }
            .timeline-container {
                display: block;
                padding: 0;
                white-space: normal;
                min-height: unset;
            }
            /* The vertical line */
            .timeline-container::after {
                left: 15px;
                right: auto;
                top: 0;
                bottom: 0;
                width: 4px;
                transform: none;
            }

            .timeline-item-container {
                 width: 100%;
                 margin: 0;
                 padding: 15px 0 15px 60px;
            }

            .timeline-item, .timeline-item-top, .timeline-item-bottom {
                position: static;
            }
            
            .timeline-item::before {
                display: none;
            }

            .timeline-dot {
                left: 5px;
                top: 32px;
                transform: none;
            }
            
            .timeline-content {
                text-align: left;
            }
        }
        
        @media (max-width: 575.98px) {
            .timeline-item-container {
                padding-left: 50px;
            }
            .timeline-dot {
                left: 0;
            }
            .timeline-container::after {
                left: 10px;
            }
        }



/* Core Values Section */
.value-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid #eef0f3;
    transition: all 0.3s ease;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 172, 218, 0.15);
}
.value-card .value-icon {
    width: 70px; height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e0f7fa, #11ACDA);
    color: #0A192F;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}




/* =================================
   CTA Banner Section Styling
   ================================= */
.cta-banner-wrapper {
    background-color: #a3bbe1; /* Latar belakang biru gelap premium */
    color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.2);
}

.cta-banner-wrapper .cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Agar responsif di layar kecil */
    gap: 1.5rem;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex-grow: 1; /* Membuat teks mengambil ruang yang tersedia */
}

.cta-button {
    flex-shrink: 0; /* Mencegah tombol menyusut */
}

.btn-cta {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #11ACDA; /* Warna utama Anda saat hover */
    color: #fff;
    border-color: #11ACDA;
    transform: translateY(-3px);
}




/* =================================
   Global Locations Section Styling
   ================================= */
.location-card {
    display: block;
    position: relative;
    height: 450px; /* Tinggi kartu yang seragam */
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.location-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.location-card-overlay {
    position: absolute;
    inset: 0; /* top, right, bottom, left: 0 */
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 50%, transparent 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.location-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.location-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.location-details i {
    width: 20px;
    margin-right: 15px;
    margin-top: 4px;
    text-align: center;
    color: #11ACDA;
}

.get-directions {
    margin-top: 1.5rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.location-card:hover .get-directions {
    opacity: 1;
    transform: translateY(0);
}









#company-gallery-grid {
        background-color: #f8f9fa; /* Warna latar belakang sama seperti section lain */
    }

    /* === DESAIN ITEM GALERI DIPERBARUI === */
    .gallery-grid-item {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 12px;
        aspect-ratio: 4 / 3; /* Memastikan semua gambar punya rasio aspek yang sama */
        border: 3px solid #fff; /* Menambahkan border putih sebagai bingkai dalam */
        /* Menambahkan efek shadow berlapis: shadow gelap untuk kedalaman, dan border luar berwarna biru */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 0 0 4px #11ACDA;
        transition: box-shadow 0.4s ease, transform 0.4s ease;
    }

    .gallery-grid-item:hover {
        transform: translateY(-6px) scale(1.02); /* Efek mengangkat dan sedikit membesar saat hover */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 0 5px #0e8ca7; /* Shadow dan border menjadi lebih kuat */
    }
    /* ======================================= */

    .gallery-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease, filter 0.4s ease;
    }

    .gallery-grid-item:hover img {
        transform: scale(1.1);
        filter: brightness(0.7);
    }

    .gallery-grid-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(17, 172, 218, 0.6) 0%, rgba(17, 172, 218, 0) 70%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.4s ease;
        text-align: center;
    }
    .gallery-grid-item:hover .gallery-grid-overlay {
        opacity: 1;
    }
    .gallery-grid-overlay .icon {
        font-size: 2rem;
        color: #fff;
        transform: translateY(20px);
        transition: transform 0.4s ease 0.1s;
    }
     .gallery-grid-item:hover .gallery-grid-overlay .icon {
        transform: translateY(0);
    }
    .gallery-grid-overlay .title {
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
        margin-top: 10px;
        transform: translateY(20px);
        transition: transform 0.4s ease 0.2s;
    }
    .gallery-grid-item:hover .gallery-grid-overlay .title {
        transform: translateY(0);
    }
    #load-more-btn {
        background-color: #11ACDA;
        border-color: #11ACDA;
        font-weight: 600;
        padding: 12px 30px;
        border-radius: 50px;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    #load-more-btn:hover {
        background-color: #0e8ca7;
        border-color: #0e8ca7;
        transform: translateY(-2px);
    }
    /* === STYLE KUSTOM UNTUK FANCYBOX AGAR MIRIP REFERENSI === */
    .fancybox__toolbar {
        background: rgba(0, 0, 0, 0.7);
    }
    .fancybox__counter {
        color: #fff;
        font-size: 1rem;
        padding: 0 10px;
    }
    .fancybox__nav .f-button {
        background: rgba(17, 172, 218, 0.8) !important;
    }
    .fancybox__thumbs.is-classic {
        background: rgba(0,0,0,0.7);
        padding-bottom: 5px;
    }
    .fancybox__thumbs.is-classic .fancybox__slide__thumb {
        border-color: #11ACDA;
    }