/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #F75105, #FF6B35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e04405, #e55a2b);
}


/* Service Section Styles (from section/service.blade.php) */
.service-section {
    padding: 80px 0;
}

.service-title {
    position: relative;
}

.service-line {
    width: 100%;
    height: 2px;
    background-color: #C9C9C9;
    margin-bottom: 40px;
}

.service-heading {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.45;
    color: var(--color-secondary);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.service-card-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background-color: var(--color-gray-dark);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(33, 33, 33, 0) 49.5%, rgba(0, 0, 0, 0.6) 70.5%, rgba(0, 0, 0, 1) 100%);
    border-radius: 16px;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: var(--color-white);
    z-index: 1;
}

.service-card-label {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 48px;
    line-height: 1.25;
    letter-spacing: 5%;
    display: block;
    margin-bottom: 10px;
}

.service-card-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.33;
    margin-bottom: 10px;
}

.service-card-desc {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

/* 移动端响应式设计 */
@media (max-width: 1200px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-section {
        padding: 60px 0;
    }
    
    .service-line {
        height: 1.6px;
        margin-bottom: 20px;
    }
    
    .service-heading {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-image {
        border-radius: 8px;
        height: 200px;
    }
    
    .service-card-overlay {
        border-radius: 8px;
    }
    
    .service-card-label {
        font-size: 30px;
        line-height: 1.27;
    }
    
    .service-card-title {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .service-card-desc {
        font-size: 12px;
    }
    
    .service-card-content {
        padding: 20px;
    }
}

/* New styles for text-base in description */
.text-base-custom {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    text-align: justify;
    color: #000000;
}

/* Style for 'KOCOK｜創作者的任務中心' */
.service-description-title {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    text-align: justify;
    color: #F75105;
}

/* Style for h3 '一站式App｜高成效創作者行銷' */
.service-h3-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 60px;
}
