/* Packages Section */
.packages {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.packages-header {
    text-align: center;
    margin-bottom: 60px;
}

.packages-title {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.packages-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slider Container */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.packages-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 10px;
    margin: 0 auto;
    max-width: 1300px;
}

.packages-slider::-webkit-scrollbar {
    display: none;
}

/* Package Cards */
.package-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 400px;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.package-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8c3bf6, #a01dd8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
}

.package-icon svg {
    width: 35px;
    height: 35px;
}

.package-name {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.package-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.package-price {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    margin-bottom: 25px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 8px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1rem;
    color: #9f3bf6;
    font-weight: 600;
}

.amount {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
}

.package-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #733bf6, #6e1dd8);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-btn:hover {
    background: linear-gradient(135deg, #9f25eb, #9e1eaf);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Slider Controls */
.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #833bf6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover:not(:disabled) {
    background: #733bf6;
    color: white;
    border-color: #9f3bf6;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.prev-btn {
    transform: rotate(0deg);
}

.prev-btn:hover:not(:disabled) {
    transform: rotate(0deg) scale(1.1);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.dot.active {
    background: #863bf6;
    transform: scale(1.2);
}

/* Packages Footer */
.packages-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.custom-offer {
    font-size: 1.1rem;
    color: #64748b;
}

.custom-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.custom-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .packages-slider {
        max-width: 1000px;
    }
}

@media (max-width: 1200px) {
    .packages-slider {
        max-width: 900px;
    }
    
    .package-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 992px) {
    .packages-slider {
        max-width: 650px;
    }
    
    .package-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .packages {
        padding: 60px 15px;
    }
    
    .packages-title {
        font-size: 2rem;
    }
    
    .slider-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        order: 2;
    }
    
    .packages-slider {
        order: 1;
        max-width: 100%;
        padding: 10px;
    }
    
    .package-card {
        flex: 0 0 85%;
        min-height: 380px;
    }
    
    .package-icon {
        width: 60px;
        height: 60px;
    }
    
    .package-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .package-name {
        font-size: 1.3rem;
    }
    
    .amount {
        font-size: 1.8rem;
    }
    
    .prev-btn, .next-btn {
        position: static;
        transform: none;
    }
    
    .prev-btn:hover:not(:disabled), .next-btn:hover:not(:disabled) {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .packages-title {
        font-size: 1.8rem;
    }
    
    .packages-subtitle {
        font-size: 1rem;
    }
    
    .package-card {
        flex: 0 0 88%;
        padding: 25px 20px;
        min-height: 360px;
    }
    
    .package-name {
        font-size: 1.2rem;
    }
    
    .package-description {
        font-size: 0.9rem;
    }
    
    .amount {
        font-size: 1.6rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

/* Animation for slide change */
@keyframes fadeIn {
    from {
        opacity: 0.7;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.packages-slider .package-card {
    animation: fadeIn 0.3s ease-out;
}