/* ---------------------------------------------------------- */
/*                     GLOBAL SETTINGS                        */
/* ---------------------------------------------------------- */
body {
    margin: 0;
    font-family: "Cairo", sans-serif;
    background: #05050a;
    color: #fff;
    overflow-x: hidden;
}

/* Hide scrollbars on mobile */
body::-webkit-scrollbar {
    display: none;
}

* {
    box-sizing: border-box;
}


/* ---------------------------------------------------------- */
/*                    MATRIX BACKGROUND                       */
/* ---------------------------------------------------------- */
#matrixRain {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.22;
    pointer-events: none;
}

/* Neon Glow */
.neon-layer {
    position: fixed;
    bottom: -100px;
    left: -40%;
    width: 180%;
    height: 280px;
    background: radial-gradient(circle, rgba(135, 60, 255, 0.45), transparent 70%);
    filter: blur(80px);
    animation: neonMove 6s infinite alternate;
    z-index: 2;
    pointer-events: none;
}

@keyframes neonMove {
    from { transform: rotate(0deg); opacity: .4; }
    to   { transform: rotate(30deg); opacity: .9; }
}


/* ---------------------------------------------------------- */
/*                       HEADER + LOGO                        */
/* ---------------------------------------------------------- */
.header {
    position: relative;
    z-index: 20;
    text-align: center;
    padding-top: 30px;
}

.logo-box {
    width: 140px;
    height: 140px;
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
}

.logo-box:hover {
    transform: scale(1.07);
}

.logo {
    width: 100%;
}

.company-name {
    margin-top: 15px;
    font-size: 36px;
    font-weight: 900;
    text-shadow: 0 0 18px #b178ff;
}


/* ---------------------------------------------------------- */
/*                       SECTIONS BAR                         */
/* ---------------------------------------------------------- */
.sections-bar {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
}

.sections-bar::-webkit-scrollbar {
    display: none;
}

.section-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    padding: 10px;
    cursor: pointer;
    transition: .3s;
}

.section-btn i {
    font-size: 26px;
    color: #c99aff;
}

.section-btn span {
    font-size: 15px;
}

.section-btn:hover {
    transform: scale(1.15);
}


/* ---------------------------------------------------------- */
/*                       SPA CONTENT                          */
/* ---------------------------------------------------------- */
.spa-content {
    z-index: 30;
    position: relative;
    padding: 25px;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(100, 50, 255, 0.15);
}

/* Title */
.title {
    font-size: 26px;
    margin-bottom: 15px;
    color: #e8d8ff;
    text-shadow: 0 0 10px #a978ff;
}

/* Standard text */
.text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 10px;
    opacity: .85;
}


/* ---------------------------------------------------------- */
/*                        SERVICES BOX                        */
/* ---------------------------------------------------------- */
.service-box {
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.15);
    transition: .3s;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 22px rgba(180,120,255,0.4);
}

.service-box i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #d3a5ff;
}

.service-box h3 {
    margin: 5px 0;
    font-size: 20px;
}


/* ---------------------------------------------------------- */
/*                        PROJECTS BOX                        */
/* ---------------------------------------------------------- */
.project-box {
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: .3s;
}

.project-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(200,120,255,0.4);
}

.project-box i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #e5b6ff;
}

.project-box h3 {
    margin: 5px 0;
    font-size: 20px;
}


/* ---------------------------------------------------------- */
/*                         CONTACT FORM                       */
/* ---------------------------------------------------------- */
.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    opacity: .85;
}

.form-field input,
.form-field textarea,
.form-row input,
.form-row select {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 16px;
}

textarea {
    height: 120px;
    resize: none;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.form-row select {
    width: 35%;
}

.form-row input {
    width: 65%;
}

.send-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b178ff, #7a3dff);
    border: none;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 0 20px rgba(150,70,255,0.4);
    transition: .3s;
}

.send-btn:hover {
    transform: scale(1.05);
}


/* ---------------------------------------------------------- */
/*                        CONTEXT MENU                        */
/* ---------------------------------------------------------- */
.context-menu {
    position: fixed;
    background: rgba(20,20,35,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    list-style: none;
    padding: 8px 0;
    width: 160px;
    z-index: 9999;
    display: none;
}

.context-menu li {
    padding: 10px 15px;
    cursor: pointer;
    transition: .2s;
}

.context-menu li:hover {
    background: rgba(255,255,255,0.08);
}

.context-menu i {
    margin-left: 8px;
}


/* ---------------------------------------------------------- */
/*                       THANK YOU PAGE                       */
/* ---------------------------------------------------------- */
.thank-you {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9000;
}

.thank-box {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(15px);
}

.thank-box i {
    font-size: 50px;
    color: #21e78b;
}

.thank-box button {
    padding: 10px 18px;
    margin-top: 15px;
    background: #21e78b;
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}


/* ---------------------------------------------------------- */
/*                      RESPONSIVE MOBILE                     */
/* ---------------------------------------------------------- */
@media (max-width: 480px) {
    .sections-bar {
        gap: 15px;
    }

    .company-name {
        font-size: 28px;
    }

    .logo-box {
        width: 120px;
        height: 120px;
    }

    .title {
        font-size: 22px;
    }
}
