/* ======================= */
/* 0. HELPER STYLES        */
/* ======================= */
.container-sedang {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.container-lebar {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.text-center { 
    text-align: center; 
}
.section-tagline {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-montserrat);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* ================== */
/* 1. HERO HALAMAN    */
/* ================== */
.page-hero-section {
    background-image: url('../images/visimisi/d27d80a93a1db87c5ffa74c495d9e31349b0ea5c.png'); 
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 20px 80px 20px; 
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}
.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}
.page-title {
    font-family: var(--font-montserrat);
    font-size: 44px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}
.page-subtitle {
    font-family: var(--font-inter);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}
.page-hero-section .container-sedang {
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}

/* ================== */
/* 2. COMPANY GOALS   */
/* ================== */
.company-goals-section {
    padding: 80px 0;
}
.goal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.goal-card {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}
.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(45, 106, 210, 0.4);
}
.goal-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--text-light);
    margin-bottom: 20px;
}
.goal-icon svg {
    stroke: currentColor; 
}
.goal-card h3 {
    font-family: var(--font-montserrat);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.goal-card p {
    font-family: var(--font-inter);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* ====================== */
/* 3. BUDAYA "SELAMAT"    */
/* ====================== */
.company-culture-section {
    padding: 80px 0;
}
.culture-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 40px; 
    align-items: center;
}
.culture-intro {
    max-width: 700px; 
    margin: 0 auto; 
    text-align: center; 
}
.culture-intro img {
    margin-top: 20px; 
}
.culture-intro p {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
}
.culture-intro img {
    max-height: 50px;
    width: auto;
}
.culture-list-wrapper {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px;
    align-items: flex-start; 
}

.culture-group {
    position: relative; 
    display: flex;
    flex-direction: column; 
    gap: 15px; 
    align-items: center; 
    transition: transform 0.3s ease;
    min-height: 350px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.culture-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(45, 106, 210, 0.4);
    z-index: 10;
}

.culture-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; 
    padding: 20px 15px; 
    border-radius: 8px;
    transition: all 0.3s ease-out;
    background-color: #fff; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 180px; 
    text-align: center; 
    box-sizing: border-box; 
    z-index: 11; 
}
.culture-group:hover .culture-item {
    box-shadow: 0 8px 20px rgba(0, 147, 255, 0.1); 
    background-color: var(--bg-light); 
}

.culture-flipper {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}
.culture-group:hover .culture-item .culture-flipper {
    transform: rotateY(180deg);
}

.culture-front,
.culture-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.culture-front {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-family: var(--font-montserrat);
    font-weight: 900;
    font-size: 26px;
    transform: rotateY(0deg);
}
.culture-back {
    color: var(--text-light);
    transform: rotateY(180deg);
}
.culture-back.color-orange { background-color: #F39C12; }
.culture-back.color-lightblue { background-color: #00AEEF; }
.culture-back.color-yellow { 
    background-color: var(--primary-yellow); 
    color: #333;
}
.culture-back.color-grey { background-color: #939598; }
.culture-back.color-purple { background-color: #8E44AD; }
.culture-back.color-darkblue { background-color: #0D284A; }
.culture-back.color-green { background-color: #00A651; }

.culture-item .culture-text {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    max-height: 0; 
    opacity: 0; 
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out 0.1s, margin-top 0.3s ease-out;
}
.culture-group:hover .culture-item .culture-text {
    max-height: 100px; 
    opacity: 1; 
    margin-top: 10px; 
}

.culture-item-sub {
    position: absolute; 
    top: 110px; 
    left: 0;
    width: 180px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    opacity: 0; 
    visibility: hidden;
    transform: translateY(-10px); 
    transition: all 0.3s ease-out;
    z-index: 10; 
}

.culture-item-sub:nth-of-type(2) {
    top: 205px;
}
.culture-item-sub:nth-of-type(3) {
    top: 300px; 
}

.culture-group:hover .culture-item-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 147, 255, 0.1);
}

.culture-group:hover .culture-item-sub:nth-of-type(2) {
    transition-delay: 0.1s;
}
.culture-group:hover .culture-item-sub:nth-of-type(3) {
    transition-delay: 0.2s;
}

.culture-text b {
    display: block;
    font-family: var(--font-montserrat);
    font-size: 17px; 
    font-weight: 600;
    color: var(--text-dark);
}
.culture-text span {
    display: block; 
    font-family: var(--font-inter);
    font-size: 14px; 
    color: var(--primary-blue); 
    font-style: normal; 
    margin-top: 4px;
}

/* =============================== */
/* GALERI SLIDER (EFEK PIRAMIDA)  */
/* =============================== */
.home-gallery-section {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}

.gallery-content {
    padding-left: calc((100vw - 1440px) / 2 + 20px);
}

.gallery-content p {
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 16px;
    max-width: 500px;
}

.gallery-wrapper-culture {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}

.culture-slick-slider {
    display: flex;
    align-items: center;
}

.gallery-slide-culture {
    padding: 0 10px;
    box-sizing: border-box;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-slide-culture img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.culture-slick-slider .slick-slide {
    transform: scale(0.85);
    opacity: 0.7;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.culture-slick-slider .slick-center {
    transform: scale(1.1);
    opacity: 1;
    z-index: 5;
}

.culture-slick-slider .slick-dots {
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 10px;
    padding: 0;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.culture-slick-slider .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(54, 52, 52, 0.4);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.culture-slick-slider .slick-dots li.slick-active button {
    background-color: var(--primary-yellow);
}

/* ================== */
/* 4. RESPONSIF       */
/* ================== */

@media (max-width: 992px) {
    .section-title {
        font-size: 34px;
    }

    .page-hero-section {
        padding: 120px 20px 70px 20px;
        min-height: 300px;
    }
    .page-title {
        font-size: 40px;
    }
    .page-hero-section .container-sedang {
        margin-left: 0;
        margin-right: 0;
    }

    .goal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .culture-list-wrapper {
        justify-content: center;
        gap: 15px;
    }
    .culture-item, .culture-item-sub {
        width: 160px;
    }
    .culture-group {
        min-height: 300px; 
    }
    .culture-item-sub:nth-of-type(2) { top: 195px; }
    .culture-item-sub:nth-of-type(3) { top: 280px; }


    .home-gallery-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 20px;
    }
    .gallery-content {
        padding-left: 0;
    }
    .gallery-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .gallery-slide-culture img {
        height: 260px;
    }
    .culture-slick-slider .slick-slide {
        transform: scale(0.9);
        opacity: 0.8;
    }
    .culture-slick-slider .slick-center {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .company-goals-section,
    .company-culture-section,
    .home-gallery-section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 30px;
    }

    .page-hero-section {
        padding: 100px 20px 60px 20px;
        min-height: 250px;
    }
    .page-title {
        font-size: 32px;
    }
    .page-subtitle {
        font-size: 16px;
    }

    .goal-grid {
        grid-template-columns: 1fr;
    }

    .culture-group {
        min-height: 0; 
    }
    .culture-item-sub {
        display: none;
    }
    .culture-group:hover .culture-item .culture-text {
        max-height: 100px; 
        opacity: 1; 
        margin-top: 10px; 
    }


    .culture-item, .culture-item-sub {
        width: 140px; 
        padding: 15px 10px;
    }
    .culture-text b {
        font-size: 15px;
    }
    .culture-text span {
        font-size: 13px;
    }

    .gallery-slide-culture img {
        height: 300px; 
    }
    .culture-slick-slider .slick-slide {
        transform: scale(1);
        opacity: 1;
    }
    .culture-slick-slider .slick-center {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .culture-list-wrapper {
        gap: 10px; 
    }
    .culture-item, .culture-item-sub {
        width: 130px;
        font-size: 13px;
    }
    .culture-text b {
        font-size: 14px;
    }

    .goal-card {
        padding: 25px;
    }

    .gallery-slide-culture img {
        height: 240px; 
    }
}