/* Affiliate Section Styles */
.affiliate-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 244, 0.95));
    position: relative;
    overflow: hidden;
}

.affiliate-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

/* Title Styles */
.affiliate-section .title-style-one h2 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* List Item Styles */
.affiliate-section .list-item {
    padding: 0;
    margin: 2rem 0;
}

.affiliate-section .list-item li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.affiliate-section .list-item li:hover {
    transform: translateX(5px);
}

.affiliate-section .list-item li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #10b981;
    font-size: 1.1rem;
}

/* Benefits Card Styles */
.affiliate-benefits .card-style-two {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.affiliate-benefits .card-style-two:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.affiliate-benefits .benefit-item {
    margin-bottom: 2rem;
}

.affiliate-benefits .benefit-item:last-child {
    margin-bottom: 0;
}

.affiliate-benefits .benefit-item .icon {
    width: 60px;
    height: 60px;
    margin: 10px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.affiliate-benefits .benefit-item .icon i {
    font-size: 1.5rem;
    color: #10b981;
    transition: all 0.4s ease;
}

.affiliate-benefits .benefit-item:hover .icon {
    transform: scale(1.2);
    background: #fff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.affiliate-benefits .benefit-item:hover .icon i {
    color: #ffffff;
    transform: scale(1.2);
}

.affiliate-benefits .benefit-item h5 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.affiliate-benefits .benefit-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Button Styles */
.affiliate-section .btn-three {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-decoration: none;
}

.affiliate-section .btn-three:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

/* WhatsApp Link Style */
.affiliate-section .text-success {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.affiliate-section .text-success:hover {
    color: #059669;
}

/* Portfolio Mobile Tabs */
.portfolio-mobile-tabs {
    padding: 15px 0;
    margin: 0 40px;
    max-width: 100%;
    overflow: hidden;
}

.portfolio-mobile-tabs .owl-stage-outer {
    overflow: visible;
    position: relative;
}

.portfolio-mobile-tabs .owl-stage {
    display: flex;
    position: relative;
    gap: 10px;
}

.portfolio-mobile-tabs .owl-item {
    flex-shrink: 0;
    width: auto !important;
    max-width: none !important;
}

.portfolio-mobile-tabs .item {
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    width: auto;
}

.portfolio-mobile-tabs .owl-item:first-child .item {
    min-width: 140px; /* minimum width untuk button pertama */
}

.portfolio-mobile-tabs .owl-item:not(:first-child) .item {
    min-width: 100px; /* minimum width untuk button lainnya */
}

.portfolio-mobile-tabs .item.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.portfolio-mobile-tabs .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

.portfolio-mobile-tabs .owl-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: absolute;
    pointer-events: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.portfolio-mobile-tabs .owl-nav button.owl-prev {
    left: -18px;
}

.portfolio-mobile-tabs .owl-nav button.owl-next {
    right: -18px;
}

.portfolio-mobile-tabs .owl-nav button span {
    font-size: 20px;
    line-height: 1;
    color: #2563eb;
}

.portfolio-mobile-tabs .owl-dots {
    display: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .affiliate-section .title-style-one h2 {
        font-size: 2.2rem;
    }
    
    .affiliate-benefits {
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    .affiliate-section .title-style-one h2 {
        font-size: 1.8rem;
    }
    
    .affiliate-benefits .card-style-two {
        padding: 1.5rem;
    }
    
    .affiliate-section .list-item li {
        font-size: 1rem;
    }
}

/* Animation Styles */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.affiliate-benefits {
    animation: float 6s ease-in-out infinite;
}