/* File: bali-how-it-works.css */

/* --- SHARED STYLES --- */
.hiw-section-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Image Container */
.hiw-image-container {
    display: block;
    width: 100%;
}

/* Image Styling */
.hiw-illustration {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

/* --- STEP LIST STYLING --- */
.hiw-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 30px;
}

.hiw-circle-wrapper { 
    margin-right: 20px; 
    flex-shrink: 0; 
}

.hiw-number {
    display: flex; 
    justify-content: center; 
    align-items: center;
    width: 50px; 
    height: 50px; 
    background-color: #6b85e6;
    color: #ffffff; 
    border-radius: 50%; 
    font-size: 30px;
    font-weight: 800; 
    line-height: 1;
}

.hiw-content { 
    padding-top: 5px; 
}

.hiw-heading {
    margin: 0; 
    font-size: 18px; 
    font-weight: 800; 
    color: #333;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    line-height: 1.2;
}

.hiw-subheading {
    display: block; 
    font-size: 13px; 
    color: #888; 
    font-weight: 700;
    text-transform: uppercase; 
    margin-bottom: 8px; 
    margin-top: 4px;
}

.hiw-link {
    display: inline-block; 
    font-size: 13px; 
    font-weight: 700;
    text-transform: uppercase; 
    margin-bottom: 8px; 
    margin-top: 4px;
    line-height: 1.2; 
    color: #6b85e6; 
    text-decoration: none !important;
    border-bottom: 1px solid #EE9F86; 
    transition: all 0.2s ease;
}

.hiw-link:hover { 
    border-bottom: 2px solid #EE9F86; 
    opacity: 0.8; 
}

.hiw-description { 
    margin: 0; 
    font-size: 16px; 
    color: #555; 
    line-height: 1.5; 
}

.hiw-step:last-child { 
    padding-bottom: 0; 
}

/* =========================================
   SECTION FOOTER (Button)
   ========================================= */
.hiw-footer {
    width: 100%;
    margin-top: 50px;
    text-align: left;
}

/* Salmon Button Style */
.hiw-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FFA685;
    color: #000 !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    line-height: 1;
}

.hiw-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 166, 133, 0.4);
    background-color: #FF9E7A;
}

/* Arrow Icon */
.hiw-main-btn::after {
    content: "";
    width: 18px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 24' stroke='%23000000' stroke-width='2' fill='none'%3E%3Cpath d='M14 1l11 11-11 11'/%3E%3Cpath d='M24.625 12H1' stroke-linecap='square'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- DESKTOP LAYOUT (Min-width 769px) --- */
@media only screen and (min-width: 769px) {
    .hiw-section-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .hiw-list-container {
        width: 48%;
        flex: 0 0 48%;
    }
    
    .hiw-image-container {
        width: 48%;
        flex: 0 0 48%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hiw-illustration {
        max-width: 100%;
        height: auto;
    }
    
    .hiw-footer {
        width: 100%;
        flex: 0 0 100%;
        margin-top: 30px;
        text-align: center;
    }
}

/* --- MOBILE LAYOUT (Max-width 768px) --- */
@media only screen and (max-width: 768px) {
    .hiw-list-container {
        width: 100%;
    }
    
    .hiw-image-container {
        display: none;
    }
    
    /* Reduce spacing between steps */
    .hiw-step {
        padding-bottom: 0px;
    }
    
    /* Reduce button top margin */
    .hiw-footer {
        margin-top: 0px; 
    }
    
    .hiw-main-btn {
        width: 100%;
        justify-content: center;
    }
}