/* ==============================
   ✅ القواعد العامة
============================== */
body {
    font-family: 'Tajawal', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
a:hover {
    color: #1ca9e6;
}

/* ==============================
   ✅ الأزرار العامة
============================== */
.btn {
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-primary {
    background: #1c3faa;
    border: none;
    color: #fff;
}
.btn-primary:hover {
    background: #1633a3;
    color: #fff;
}
.btnino {
    background-color: #2d72d9;
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}
.btnino:hover {
    background-color: #3586ff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}
.defult-btn {
    background: #263238;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px 40px;
}
.defult-btn:hover {
    background: #1c3faa;
}

/* ==============================
   ✅ تحسين القائمة الرئيسية
============================== */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #3f3d56;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #1ca9e6;
    transform: translateY(-2px);
}
.navbar .btn-outline-primary:hover {
    background: #1c3faa;
    color: #fff;
}
.navbar .fab {
    transition: transform 0.3s ease, color 0.3s ease;
}
.navbar .fab:hover {
    transform: scale(1.2);
    color: #1ca9e6;
}

/* ✅ القائمة الثانية الخاصة بالمستخدم */
.navbar-user {
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.9rem;
}
.navbar-user .nav-link {
    color: #555;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
}
.navbar-user .nav-link:hover,
.navbar-user .nav-link.active {
    color: #1ca9e6;
    text-decoration: underline;
}
.navbar-user .navbar-text {
    margin-inline-start: auto;
    color: #666;
    font-weight: 500;
}
.navbar-user .navbar-text i {
    color: #1ca9e6;
    margin-inline-end: 4px;
}
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.8rem;
    }
    .navbar-user .navbar-text {
        margin-inline-start: 0;
        text-align: center;
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ==============================
   ✅ الهيرو
============================== */
.hero-section {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    padding: 60px 0;
    color: #fff;
}
.hero-section h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
}
.hero-section p {
    font-size: 1.1rem;
    color: #f1f1f1;
}
.hero-section .btn-primary {
    background-color: #fff;
    color: #1c3faa;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s ease;
}
.hero-section .btn-primary:hover {
    background-color: #f1f1f1;
}
.hero-image {
    max-width: 100%;
    height: auto;
    animation: floatUpDown 3s ease-in-out infinite;
    will-change: transform;
}
@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-section .btn-primary {
        padding: 10px 20px;
    }
}

/* ==============================
   ✅ قسم رفع الملفات
============================== */
#upload-section {
    background: #f9fcff;
    padding-bottom: 80px;
}
#upload-section .nav-tabs .nav-link.active {
    background-color: #1c3faa;
    color: #fff;
    border-color: #1c3faa;
}
#upload-section .nav-tabs .nav-link {
    font-weight: 600;
    color: #333;
}
#upload-section .note {
    font-size: 14px;
    color: #777;
}
.advertisements {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
}
.advertisements h2 {
    font-size: 20px;
    margin-bottom: 8px;
}
.advertisements p {
    font-size: 14px;
    opacity: 0.9;
}

/* ==============================
   ✅ قسم لماذا نحن
============================== */
.why-us-section {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    color: #fff;
}
.why-us-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.why-us-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
.why-us-box img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}
.why-us-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* ==============================
   ✅ قسم التطبيقات
============================== */
.download-app-section {
    background: linear-gradient(135deg, #f0faff, #ffffff);
    border-top: 1px solid #e0eff7;
    border-bottom: 1px solid #e0eff7;
}
.download-app-section img {
    max-width: 180px;
    transition: transform 0.3s ease;
}
.download-app-section img:hover {
    transform: scale(1.05);
}
.floating-img {
    animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ==============================
   ✅ قسم برنامج سطح المكتب
============================== */
.program-windows-section {
    background: linear-gradient(135deg, #3f51b5, #5a91d6);
    border-radius: 12px;
    padding: 60px 20px;
    color: white;
}
.program-windows-section .btn-light {
    background: #fff;
    color: #1c3faa;
    font-weight: bold;
    border-radius: 6px;
}
.program-windows-section .btn-light:hover {
    background: #f1f1f1;
}

/* ==============================
   ✅ قسم المميزات
============================== */
.our-advantages-section {
    background: linear-gradient(to bottom, #f0f8ff, #ffffff);
    border-top: 1px solid #e2e8f0;
}
.advantages-list .icon {
    width: 60px;
    height: 60px;
    background-color: #e9f3fc;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.advantages-list .icon img {
    width: 30px;
    height: 30px;
}
.advantages-list h6 {
    font-weight: bold;
    margin-bottom: 5px;
}

/* ==============================
   ✅ قسم آراء العملاء
============================== */
.testimonials-section {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    color: #fff;
}
.testimonial-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.testimonial-text {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==============================
   ✅ قسم FAQ
============================== */
.faq-section .accordion-button {
    background-color: #ffffff;
    color: #1c3faa;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-section .accordion-button:not(.collapsed) {
    background-color: #e9f3ff;
    color: #0d47a1;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.faq-section .accordion-button::after {
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}
.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}
.faq-section .accordion-body {
    background: #fff;
    border-top: 1px solid #eaeaea;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 1rem 1.25rem;
}

/* ==============================
   ✅ الفوتر
============================== */
.footer {
    background: #1c1c1c;
    color: #ccc;
}
.footer h5 {
    font-size: 16px;
    color: #fff;
}
.footer-links li {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 15px;
}
.footer-links li a i {
    margin-left: 8px;
    color: #fff;
    font-size: 12px;
    transition: margin 0.3s ease;
}
.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(-5px);
}
.footer-links li a:hover i {
    margin-left: 12px;
    color: #ffffff;
}
.copy-right {
    font-size: 13px;
    color: #888;
}
@media (max-width: 767px) {
    .footer {
        text-align: center;
    }
    .footer .col-md-4 {
        margin-bottom: 20px;
    }
}

/* ==============================
   ✅ تأثيرات حركية
============================== */
.animated-float {
    animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
