:root {
    --primary-color: #E74C3C;
    /* Vibrant Red/Orange */
    --secondary-color: #2C3E50;
    /* Dark Blue */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --font-main: 'Cairo', sans-serif;
}

body {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
@media (min-width: 992px) {
    .navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl{
        justify-content: center;

    }
    .container-fluid{
        max-width: 80%;

    }
}
.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
    margin: 0 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-top-link {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-left: 20px;
}

/* The big bolt shape */
.lightning-bolt-bg {
    position: absolute;
    font-size: 400px;
    color: rgba(255, 255, 255, 0.);
    transform: rotate(-15deg);
    left: 10%;
    z-index: 1;
}


/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.btn-hero {
    background-color: #fff;
    color: var(--secondary-color);
    font-weight: 800;
    padding: 15px 60px;
    border-radius: 10px;
    font-size: 1.3rem;
    border: none;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.hero-graphic {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The big bolt shape */
.lightning-bolt-bg {
    position: absolute;
    font-size: 400px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-15deg);
    left: 10%;
    z-index: 1;
}

/* Floating Icons in Hero */
.hero-icon {
    position: absolute;
    text-align: center;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-icon i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.hero-icon span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Positioning relative to the graphic container */
.icon-fulfillment {
    top: 10%;
    right: 20%;
}

/* Top Right */
.icon-marketing {
    bottom: 20%;
    right: 30%;
}

/* Bottom Right */
.icon-shipping {
    bottom: 10%;
    left: 20%;
}

/* Bottom Left */
.icon-supply {
    top: 30%;
    left: 10%;
}


/* Section Title */
.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
    text-align: right;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 800;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic img {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.service-card {
    border: 2px solid #2c3e50;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-top {
    padding: 40px;
    text-align: center;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.service-img {
    height: 220px;
    margin-bottom: 25px;
    object-fit: contain;
}

.service-title {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.service-bottom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 220px;
}

.service-desc {
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

/* Register Section */
.register-section {
    padding: 100px 0;
    text-align: center;
    background: #fff;
}

.register-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-register-option {
    padding: 15px 50px;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    background: #fff;
    transition: all 0.3s;
    min-width: 250px;
    text-decoration: none;
    display: inline-block;
}

/* Merchant: Dark Blue Border/Text */
.btn-merchant {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-merchant:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Marketer: Red Border/Text */
.btn-marketer {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-marketer:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* Contact Section */
.contact-section {
    padding-bottom:  100px;
    background-color: var(--secondary-color);
}

.contact-container {
    background-color: var(--secondary-color);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
}

.contact-form-wrapper {
    background-color: var(--primary-color);
    padding: 50px;
    flex: 0 0 60%;
    /* Fixed width for form */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-wrapper {
    padding: 60px;
    color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-control {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    font-size: 1rem;
}

.btn-send {
    background-color: #fff;
    color: var(--secondary-color);
    /* Text color of button */
    font-weight: 800;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-send:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.contact-info-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-details p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-details i {
    width: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Offcanvas Menu Styles */
.offcanvas {
    width: 280px !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas .nav-link {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

.offcanvas .nav-link:last-child {
    border-bottom: none;
}

.offcanvas .nav-top-link {
    margin: 10px 0;
    padding: 10px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar {
        padding: 1rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .contact-form-wrapper {
        flex: 0 0 100%;
    }

    @media (max-width: 992px) {
        .contact-form-wrapper {
            flex: 0 0 100%;
        }

        .hero-section {
            text-align: center;
            padding-top: 60px;
        }

        .hero-graphic {
            height: 400px;
            margin-top: 50px;
        }

        .lightning-bolt-bg {
            font-size: 300px;
            left: 50%;
            transform: translateX(-50%) rotate(-15deg);
        }
    }
    .lightning-bolt-bg {
        font-size: 200px;
        left: 50%;
        transform: translateX(-50%) rotate(-15deg);
    }

    .service-card {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .navbar {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .btn-hero {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }
}


/* الأنيميشن الرأسي في الموبايل فقط */
@media (max-width: 768px) {
    [data-aos] {
        transform: translateY(50px) !important;
        opacity: 0;
        transition: all 0.8s ease !important;
    }

    [data-aos].aos-animate {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* أنواع مختلفة من الانيميشن الرأسي في الموبايل */
    [data-aos="fade-up"],
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translateY(60px) !important;
    }

    [data-aos="fade-down"] {
        transform: translateY(-60px) !important;
    }

    [data-aos="zoom-in"] {
        transform: scale(0.9) translateY(40px) !important;
    }

    [data-aos="zoom-out"] {
        transform: scale(1.1) translateY(-40px) !important;
    }

    [data-aos="slide-up"] {
        transform: translateY(100px) !important;
    }

    [data-aos="slide-down"] {
        transform: translateY(-100px) !important;
    }

    /* تطبيقات خاصة على العناصر في الموبايل */
    .hero-text[data-aos] {
        transform: translateY(80px) !important;
    }

    .service-card[data-aos] {
        transform: translateY(70px) !important;
    }

    .section-title[data-aos] {
        transform: translateY(-50px) !important;
    }

    .about-graphic[data-aos] {
        transform: translateY(60px) !important;
    }
}

/* في الديسكتوب يبقى الانيميشن الأفقي عادي */
@media (min-width: 769px) {
    [data-aos="fade-left"] {
        transform: translateX(-100px);
    }

    [data-aos="fade-right"] {
        transform: translateX(100px);
    }

    /* ... بقية إعدادات الديسكتوب */
}



/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px; /* تغيير الموضع ليكون أعلى من الواتساب */
    right: 30px; /* تغيير من left إلى right */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px; /* يبقى في الأسفل */
    right: 30px; /* تغيير من left إلى right */
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: #128C7E;
}

.whatsapp-float a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}
/* تنسيق رسائل التنبيه */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    padding: 15px 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-right: 4px solid #ffc107;
}

.alert ul {
    margin-top: 8px;
    padding-right: 20px;
}

.alert ul li {
    margin-bottom: 5px;
}

.btn-close {
    opacity: 0.7;
    font-size: 0.8rem;
}

.btn-close:hover {
    opacity: 1;
}
