﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Form Loader (Start) */

#loading-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
    align-items: center;
    background-color: #000;
    z-index: 9999;
    opacity: 0.5;
}

.loading-icon {
    position: absolute;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-left: 2px solid var(--primary-color);
    border-radius: 25px;
    width: 45px;
    height: 45px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    top: 50%;
    margin-top: -20px;
    z-index: 9997;
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Form Loader (End) */


/*  toast Start  */
.toast-msg {
    position: absolute;
    top: 0;
    right: 46%;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-left: 6px solid #29594b;
    overflow: hidden;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    z-index: 99999;
}

    .toast-msg.active {
        top: 60px;
        left: auto;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
    }

    .toast-msg .toast-msg-content {
        display: flex;
        align-items: center;
    }

.toast-msg-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
    background-color: #29594b;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.toast-msg-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message .text {
    font-size: 20px;
    font-weight: 400;
    
    color: #666666;
}

    .message .text.text-1 {
        font-weight: 600;
        color: #333;
    }

.toast-msg .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    opacity: 0.7;
    width: 2rem;
    height: 2rem;
}

    .toast-msg .close:hover {
        opacity: 1;
    }

.toast-msg .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #ddd;
}

    .toast-msg .progress:before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        height: 100%;
        width: 100%;
        background-color: #29594b;
    }

.progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}



.toast-msg.active ~ button {
    pointer-events: none;
}

/* toast End  */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    direction: rtl;
} 


input[type="text"]:disabled {
    background: #dddddd;
    cursor: not-allowed;
}

input[type="text"]:read-only {
    background: #dddddd;
    cursor: not-allowed;
}
.read-only {
    background: #dddddd;
    cursor: not-allowed;
}


:root {
    --primary-blue: #2563eb; /* الأزرق الأساسي */
    --bg-light: #f8fafc; /* خلفية الصفحة */
    --card-white: #ffffff; /* خلفية البطاقات */
    --text-main: #1e293b; /* لون النص الرئيسي */
    --text-muted: #64748b; /* لون النصوص الفرعية */
    --border-soft: #e2e8f0; /* لون الحدود الناعم */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kufi' !important
}

:root {
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --card: #ffffff;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #f1f5f9;
    overflow-x: hidden;
    color: var(--dark);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* NAVBAR */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,.75);
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

    .nav-links a {
        color: var(--dark);
        font-weight: 500;
        transition: .3s;
    }

        .nav-links a:hover {
            color: var(--primary);
        }

.btn {
    padding: 8px 13px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: white;
    box-shadow: 0 10px 25px rgba(79,70,229,.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
    }

.btn-outline {
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.15);
    color: white;
    backdrop-filter: blur(12px);
}

    .btn-outline:hover {
        background: white;
        color: var(--primary);
    }

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 8% 80px;
    background: radial-gradient(circle at top left, rgba(124,58,237,.4), transparent 35%), radial-gradient(circle at bottom right, rgba(79,70,229,.35), transparent 35%), linear-gradient(135deg,#0f172a,#111827,#1e1b4b);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        background: rgba(255,255,255,.05);
        border-radius: 50%;
        top: -250px;
        right: -180px;
        filter: blur(20px);
    }

    .hero::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: rgba(124,58,237,.2);
        border-radius: 50%;
        bottom: -150px;
        left: -100px;
        filter: blur(40px);
    }

.hero-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 70px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 68px;
    line-height: 1.1;
    color: white;
    margin-bottom: 25px;
}

    .hero-text h1 span {
        background: linear-gradient(to right,#a78bfa,#60a5fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-text p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* HERO CARD */

.dashboard-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
    border-radius: 30px;
    padding: 30px;
    color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    animation: float 4s ease-in-out infinite;
}

@@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.mini-boxes {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 20px;
}

.mini-box {
    background: rgba(255,255,255,.08);
    padding: 20px;
    border-radius: 20px;
}

    .mini-box h3 {
        font-size: 30px;
        margin-bottom: 10px;
    }

.progress {
    margin-top: 30px;
}

.progress-bar {
    width: 100%;
    height: 14px;
    border-radius: 30px;
    background: rgba(255,255,255,.15);
    overflow: hidden;
}

    .progress-bar span {
        display: block;
        width: 75%;
        height: 100%;
        border-radius: 30px;
        background: linear-gradient(to right,#60a5fa,#8b5cf6);
        animation: progressAnim 2s ease;
    }

@@keyframes progressAnim {
    from {
        width: 0;
    }

    to {
        width: 75%;
    }
}

/* FEATURES */

.features {
    padding: 100px 8%;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

    .section-title h2 {
        font-size: 46px;
        margin-bottom: 15px;
    }

    .section-title p {
        color: var(--gray);
        max-width: 700px;
        margin: auto;
        line-height: 1.7;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 28px;
    padding: 35px;
    transition: .35s;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15,23,42,.05);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(15,23,42,.12);
    }

.icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

/* STATS */

.stats {
    padding: 100px 8%;
    background: #0f172a;
    color: white;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.stat-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
}

    .stat-box h2 {
        font-size: 52px;
        margin-bottom: 10px;
        color: #a78bfa;
    }

/* CTA */

.cta {
    padding: 120px 8%;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    text-align: center;
    color: white;
}

    .cta h2 {
        font-size: 52px;
        margin-bottom: 20px;
    }

    .cta p {
        max-width: 700px;
        margin: auto auto 35px;
        line-height: 1.8;
        color: #e2e8f0;
    }

/* RESPONSIVE */

@media(max-width:992px) {

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 52px;
    }
}

@media(max-width:768px) {

    .navbar {
        padding: 20px 5%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 140px 5% 80px;
    }

    .features,
    .stats,
    .cta {
        padding: 80px 5%;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .section-title h2,
    .cta h2 {
        font-size: 36px;
    }
}
/* SCREENS SECTION */
/* =========================
   MODERN SCREENS SECTION
========================= */

.modern-screens {
    padding: 120px 8%;
    background: radial-gradient(circle at top left, rgba(124,58,237,.15), transparent 30%), radial-gradient(circle at bottom right, rgba(59,130,246,.12), transparent 30%), #0f172a;
    position: relative;
    overflow: hidden;
}

.modern-title {
    text-align: center;
    margin-bottom: 80px;
}

    .modern-title span {
        display: inline-block;
        padding: 10px 22px;
        border-radius: 40px;
        background: rgba(255,255,255,.08);
        color: #a78bfa;
        font-size: 14px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        border: 1px solid rgba(255,255,255,.08);
    }

    .modern-title h2 {
        font-size: 58px;
        color: white;
        margin-bottom: 20px;
    }

    .modern-title p {
        color: #cbd5e1;
        max-width: 700px;
        margin: auto;
        line-height: 1.9;
        font-size: 18px;
    }

.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
    gap: 40px;
}

/* CARD */

.ui-card {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.08);
    transition: .45s;
    box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 1px 1px rgba(255,255,255,.08);
    transform-style: preserve-3d;
    width: 100%;
}

    .ui-card:hover {
        transform: translateY(-18px) rotateX(4deg) rotateY(-4deg);
        box-shadow: 0 40px 80px rgba(79,70,229,.25);
    }

/* GLOW EFFECT */

.ui-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(124,58,237,.45), transparent 70%);
    top: -80px;
    right: -80px;
    z-index: 0;
    opacity: .8;
}

/* TOP */

.ui-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 0;
    position: relative;
    z-index: 2;
}

.ui-dots {
    display: flex;
    gap: 8px;
}

    .ui-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,.3);
    }

        .ui-dots span:nth-child(1) {
            background: #ef4444;
        }

        .ui-dots span:nth-child(2) {
            background: #f59e0b;
        }

        .ui-dots span:nth-child(3) {
            background: #22c55e;
        }

.ui-badge {
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.08);
}

/* IMAGE */

.ui-image {
    padding: 25px;
    position: relative;
    z-index: 2;
}

    .ui-image img {
        width: 65%;
        height: auto;
        object-fit: contain;
        border-radius: 24px;
        transition: .45s;
        box-shadow: 0 15px 35px rgba(0,0,0,.3);
        display: block;
        position: relative;
        place-self: anchor-center;
    }

.ui-card:hover .ui-image img {
    transform: scale(1.05);
}

/* CONTENT */

.ui-content {
    padding: 0 28px 28px;
    position: relative;
    z-index: 2;
}

    .ui-content h5 {
        color: white;
        font-size: 20px;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .ui-content p {
        color: #cbd5e1;
        line-height: 1.9;
        margin-bottom: 28px;
    }
     

/* RESPONSIVE */

@media(max-width:768px) {

    .modern-screens {
        padding: 90px 5%;
    }

    .modern-title h2 {
        font-size: 40px;
    }

    .modern-title p {
        font-size: 16px;
    }
}