﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

.lang-btn.active {
    border: 2px solid #198754 !important;
    background-color: #e8f5e9 !important;
    border-radius: 6px;
}

.menu-link {
    transition: all 0.2s ease-in-out;
}

    .menu-link:hover {
        color: #0d6efd !important;
    }

.landing-curve {
    color: #071d38;
}

.landing-dark-bg {
    background-color: #071d38;
}

.language-toggle {
    position: relative;
    width: 80px;
    height: 34px;
}

    .language-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.language-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f3f4f6;
    transition: .4s;
    border-radius: 34px;
}

    .language-slider:before {
        position: absolute;
        content: "EN";
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        color: white;
        height: 26px;
        width: 40px;
        left: 4px;
        bottom: 4px;
        background-color: #3b82f6;
        transition: .4s;
        border-radius: 34px;
    }

input:checked + .language-slider:before {
    transform: translateX(32px);
    content: "AR";
}

/* البطاقة */
.plan-card {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

    .plan-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    /* زر الاشتراك */
    .plan-card .btn:hover {
        animation: pulseBtn 0.5s ease;
    }

@keyframes pulseBtn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }

    100% {
        transform: scale(1);
    }
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

    .btn-ripple::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.4);
        transform: scale(0);
        animation: ripple 0.6s linear;
        pointer-events: none;
    }

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* توهج احترافي */
.plan-card.glow-border {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .plan-card.glow-border:hover {
        border-color: #fff;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.4);
    }

/* خط رقمي للسعر */
.price-digit {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px !important;
    color: black !important;
    letter-spacing: 1px;
}

/* وسم متحرك */
.plan-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FFC107;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    z-index: 5;
}

/* نبضة جانبية */
.badge-pulse {
    background-color: #ff5252;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50px;
    margin-right: 8px;
    animation: pulseGlow 1.4s infinite;
}

/* للغة العربية RTL */
:dir(rtl) .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

/* توزيع صفين عند الشاشات المتوسطة */
@media (max-width: 991.98px) {
    .col-xl-3 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* باقة واحدة عند الموبايل */
@media (max-width: 575.98px) {
    .col-xl-3 {
        width: 100%;
    }
}

.team-card {
    transition: all 0.4s ease;
    border-radius: 15px;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }

.team-image img {
    border: 4px solid #ddd;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-image img {
    border-color: #0d6efd;
    transform: scale(1.05);
}
