
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
:root {
    --primary-color: #010367;
    --secondary-color: #4f46e5;
    --accent-color: #f59e0b;
    --dark-color: #111827;
    --light-color: #f9fafb;
}

body {
    font-family: "Cairo", sans-serif;
    background-color: #f9fafb;
    overflow-x: hidden;
}

.modern-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.modern-hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* تأثيرات العائمة للعناصر في الخلفية */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.service-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid var(--accent-color);
    height: 100%;
    transform: translateY(50px);
    opacity: 0;
}

.service-card-modern.animate {
    transform: translateY(0);
    opacity: 1;
}

.service-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.exchange-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-pills .nav-link.active {
    background-color: var(--accent-color);
}

.nav-pills .nav-link {
    color: var(--dark-color);
}

.service_buttons {
    display: flex; 
    gap: 1rem;
}

@media (max-width: 768px) {
    .service_buttons {
        flex-direction: column;
    }
}

.features-section {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s;
    border-radius: 10px;
}

.feature-box:hover {
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2);
}

/* تأثير النبض للأيقونات */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* تأثيرات النص */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* تأثيرات الشريط العلوي عند التمرير */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

/* تأثيرات الأزرار */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-hover-effect:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* تأثيرات الدخول */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.show {
    opacity: 1;
}


.whatsapp_bottom {
position: fixed;
bottom: 20px;
right: 15px;

}

@media(max-width:991px) {
.whatsapp_bottom {
bottom: 20px;
right: 10px;
padding: 7px;
border-radius: 64px;
width: 130px
}
}

.whatsapp_bottom a {
text-decoration: none;
color: #fff
}