/* ===============================
   GLOBAL RULES
================================ */
* {
    box-sizing: border-box;
    
}


:root {
    --primary-blue: #0066FF;
    --bg-dark: #050505;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: "Work Sans", sans-serif;
    margin: 0;
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.025) 0px,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 30px),
        radial-gradient(circle at 30% 20%, rgba(79, 209, 165, 0.10), transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(209, 107, 165, 0.08), transparent 45%),
        linear-gradient(135deg, #050505, #060b18);
    animation: techShift 20s linear infinite;
    color: #fff;
}

/* BACKGROUND ANIMATION */
@keyframes techShift {
    from {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    to {
        background-position: 200px 200px, 0 0, 0 0, 0 0;
    }
}

/* ===============================
   CONTAINER
================================ */
.container {
    padding: 0 40px;
    margin: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
        padding: 0;
    }
}

/* ===============================
   CHAT BOT
================================ */
.chat-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

.chat-launcher i {
    color: #fff;
}


/* ===============================
   GLASS CARD
================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}


/* ===============================
   SCROLLBAR
================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
}

.scrollbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(159deg, #0047ab, #1ca9c9);
    z-index: 1000;
}

/* ===============================
   HELPERS
================================ */
.pt-100 {
    padding: 100px 0;
}

.box-sha {
    box-shadow:
        rgba(50, 50, 93, 0.25) 0 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
}

/* ========== end stats ========== */

footer {
    padding-bottom: calc(var(--section-padding) / 2);
    padding-top: calc(var(--section-padding) / 2);
    background-image: url("../imgs/subscribe.jpg");
    background-size: cover;
    position: relative;
    color: #fff;
    text-align: center;
    height: 100%;
}

footer::before {
    content: '';
    position: absolute;
    background-color: rgb(0 0 0 / 70%);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

footer .container {
    position: relative;
}

footer .logo {
    margin-bottom: 20px;
}

footer p:not(.copyright) {
    padding: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    width: fit-content;
    margin: 10px auto;
    font-size: 22px;
}

footer p.copyright {
    margin: 0;
    padding-top: 50px;
    font-size: 18px;
}

footer p.copyright span {
    font-weight: bold;
    color: var(--main-color);
}

footer .links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

footer .links li {
    margin: 0 10px;
}

footer .links li a {
    font-size: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
    text-decoration: none;
    transition: .5s ease;
}

footer .links li a:hover {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 40px;
}

footer .links li .instgram:hover {
    background-image: linear-gradient(45deg,
            #12c2e9, #c471ed, #f64f59);

}

footer .links li a:hover {
    background-image: linear-gradient(45deg,
            #2A7B9B, #57C785, #EDDD53);
}

footer .links li a::before {
    content: '';
    position: absolute;
    z-index: -1;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-image: linear-gradient(45deg,
            #12c2e9, #c471ed, #f64f59);
    transform: scale(1);
    transition: .5s ease-in-out;
}

footer .links li a:hover::before {
    transform: scale(0);
}

/* ========== end footer ========== */
/* ========== main button ========== */
.main-button {
    background-color: #ffffff00;
    color: #fff;
    border: #3654ff 0.2em solid;
    border-radius: 11px;
    text-align: right;
    display: inline-block;
    /* width: 50%; */
    transition: all 0.6s ease;
    text-decoration: none;
    padding: 14px;
}

.main-button:hover {
    background-color: #3654ff;
    cursor: pointer;
}

/* ========== main button ========== */
/* --- 1. التنسيق الأساسي (الخلفية والمودال) --- */
/* الكلاس الأساسي للإخفاء */
.service-card-hidden {
    display: none !important;
}

/* الكلاس الذي سيضيفه الـ JS للإظهار */
.service-card-active {
    display: block !important;
}

/* تنسيق المودال (الخلفية) */
.modal {
    display: none;
    /* يظهر فقط عند الضغط */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

/* تنسيقات منفصلة للألوان (كما طلبت) */
.cyber-theme,
.dev-theme,
.ai-theme {
    border: 1px solid #0066FF;
    box-shadow: 0 0 20px #0066FF33;
    border: 1px solid #0066FF;
    box-shadow: 0 0 20px #0066FF33;
    padding: 35px;
    border-radius: 10px;
}


/* تنسيق الأيقونات داخل الكروت */
.modal-content i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    color: #0066FF;
}

.cancel-btn {
        background-color: #ffffff00;
    color: #fff;
    border: #ff5836a5 0.2em solid;
    border-radius: 11px;
    text-align: right;
    display: inline-block;
    /* width: 50%; */
    transition: all 0.6s ease;
    text-decoration: none;
    padding: 14px;
}

.cancel-btn:hover {
    background-color: #ff5836a5;
    cursor: pointer;
}


