/* ===== SUSTAIN PAGE SPECIFIC STYLES ===== */

/* VALUE SECTION STYLES */
.value-section-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.value-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    gap: 30px;
    padding: 0 20px;
    width: 100%;
}

.value-card {
    background-color: #E6E7E8;
    width: 100%;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.value-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
}

.value-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.value-content h3 {
    color: #193a65;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    line-height: 1.4rem;
    justify-content: center;
}

.value-content p {
    font-size: 1rem;
    color: #6d6e71;
    line-height: 1.2rem;
    text-align: center;
}

.value-content .highlight {
    color: #6d6e71;
    font-weight: 700;
}

.icon-fish, .icon-social, .icon-bolt {
    height: 5vh;
}

/* TOMBOL SLIDER */
.slider-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #193a65;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    z-index: 10;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #0a93d1;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large screens (1920px and up) */
@media screen and (min-width: 1920px) {
    .value-card {
        max-width: 400px !important;
        height: auto;
    }
    
    .value-image {
        max-height: 300px;
    }
    
    .value-content h3 {
        font-size: 1.5rem;
    }
    
    .value-content p {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    
    .slider-btn {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    .value-slider {
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    
    .value-card {
        margin: 0 1rem;
        max-width: 340px;
        flex: 0 0 auto;
    }
    
    .slider-btn {
        display: none;
    }
}

/* Tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .value-section-wrapper {
        padding: 60px 0;
    }
    
    .value-slider {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
        overflow-x: visible;
    }
    
    .value-card {
        flex: 0 0 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
        margin: 0;
    }
    
    .value-content {
        padding: 1.5rem;
    }
    
    .value-content h3 {
        font-size: 1.3rem;
    }
    
    .value-content p {
        font-size: 1rem;
    }
    
    .slider-btn {
        display: none;
    }
}

/* Mobile (767px and down) */
@media (max-width: 767px) {
    .value-section-wrapper {
        padding: 40px 0;
        overflow: hidden;
    }
    
    .slider-container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }
    
    .value-slider {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-in-out;
    width: 100%;
  }

  .value-card {
    flex: 0 0 100%;   /* sama kayak feature-box di home */
    min-width: 100%;  /* pastikan full lebar */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
    
    .value-content {
        padding: 1.5rem;
    }
    
    .value-content h3 {
        font-size: 1.2rem;
        flex-direction: row;
    }
    
    .value-content p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .slider-btn {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 0.8rem;
    }
    
    .icon-fish, .icon-social, .icon-bolt {
        height: 30px;
    }
}

/* Small mobile (600px and down) */
@media (max-width: 600px) {
    .value-section-wrapper {
        padding: 30px 0;
    }
    
    .slider-container {
        padding: 0 40px;
    }
    
    .value-content {
        padding: 1rem;
    }
    
    .value-card{
        padding: 0;
    }
    .value-content h3 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .value-content p {
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        padding: 0.7rem;
    }
    
    .icon-fish, .icon-social, .icon-bolt {
        height: 25px;
    }
}

/* Ultra-wide screens (2560px and up) */
@media screen and (min-width: 2560px) {
    .value-section-wrapper {
        padding: 120px 0;
    }
    
    .value-card {
        max-width: 600px !important;
        height: auto;
    }
    
    .value-image {
        max-height: 500px;
    }
    
    .value-content h3 {
        font-size: 2.3rem;
    }
    
    .value-content p {
        font-size: 2rem;
        line-height: 2.4rem;
    }
    
    .slider-btn {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}