/* ===== كارت العطاءات المخصصة ===== */

.custom-tender-card {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    margin: 2rem 0;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.custom-tender-card .card-content {
    position: relative;
    z-index: 2;
}

.custom-tender-card .content-section {
    color: #fff;
}

.custom-tender-card .icon-wrapper {
    position: relative;
    display: inline-block;
}

.custom-tender-card .main-icon {
    font-size: 3.5rem;
    color: #ffd700;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.custom-tender-card .pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.custom-tender-card .card-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-tender-card .card-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.custom-tender-card .features-list {
    margin-top: 1.5rem;
}

.custom-tender-card .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    opacity: 0.95;
}

.custom-tender-card .feature-item i {
    color: #4ade80;
    margin-left: 0.75rem;
    font-size: 1.2rem;
}

/* قسم الإجراءات */
.custom-tender-card .action-section {
    position: relative;
}

.custom-tender-card .illustration {
    position: relative;
    height: 200px;
}

.custom-tender-card .floating-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-tender-card .floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-tender-card .floating-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.custom-tender-card .icon-1 {
    top: 20%;
    right: 20%;
    animation: float1 4s ease-in-out infinite;
}

.custom-tender-card .icon-2 {
    top: 60%;
    right: 10%;
    animation: float2 4s ease-in-out infinite 1s;
}

.custom-tender-card .icon-3 {
    top: 10%;
    left: 15%;
    animation: float3 4s ease-in-out infinite 2s;
}

.custom-tender-card .icon-4 {
    top: 70%;
    left: 25%;
    animation: float4 4s ease-in-out infinite 3s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(15px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(15px) translateX(-10px); }
}

@keyframes float4 {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(360deg); }
}

/* أزرار العمل */
.custom-tender-card .btn-primary-custom {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.custom-tender-card .btn-primary-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
    color: #fff;
}

.custom-tender-card .btn-outline-secondary-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.custom-tender-card .btn-outline-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
}

/* تأثيرات الخلفية */
.custom-tender-card .background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.custom-tender-card .circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: circleFloat 8s ease-in-out infinite;
}

.custom-tender-card .circle-1 {
    width: 150px;
    height: 150px;
    top: -75px;
    right: -75px;
    animation-delay: 0s;
}

.custom-tender-card .circle-2 {
    width: 100px;
    height: 100px;
    bottom: -50px;
    left: -50px;
    animation-delay: 3s;
}

.custom-tender-card .circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 80%;
    animation-delay: 6s;
}

@keyframes circleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.1; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.2; }
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .custom-tender-card {
        padding: 2rem 1.5rem;
    }

    .custom-tender-card .card-title {
        font-size: 1.8rem;
    }

    .custom-tender-card .illustration {
        height: 150px;
        margin-bottom: 2rem;
    }

    .custom-tender-card .floating-icon {
        width: 45px;
        height: 45px;
    }

    .custom-tender-card .floating-icon i {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .custom-tender-card {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }

    .custom-tender-card .card-title {
        font-size: 1.5rem;
    }

    .custom-tender-card .card-description {
        font-size: 1rem;
    }

    .custom-tender-card .btn-primary-custom {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}
