@charset "UTF-8";

@font-face {
    font-family: STV;
    src: url(fonts/stv-bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: STV;
    src: url(fonts/stv.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}


body {
    font-family: 'Tajawal', sans-serif;
    scroll-behavior: smooth;
    background-color: #000;
    color: #f5f5f5;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #000000, #050518);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.header {
    transition: all 0.7s ease-in-out;
}

.hero-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 1)), url('') no-repeat center center;
    background-size: auto 100%;
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 8s ease-in-out infinite alternate;
    filter: blur(40px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: radial-gradient(circle at 80% 30%, rgba(149, 103, 126, 0.25) 0%, transparent 70%); */
        background: radial-gradient(circle at 80% 30%, rgba(71, 56, 148, 0.25) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 8s ease-in-out 4s infinite alternate;
    filter: blur(40px);
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.hero-bg>div {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(to right, #6366f1, #ec4899, #6366f1);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    animation: gradient-shift 5s ease infinite;
    position: relative;
    z-index: 1;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(to right, #6366f1, #ec4899, #6366f1);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: blur(12px);
    opacity: 0.7;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.card {
    position: relative;
    z-index: 1;
    border: 1px solid rgb(51, 51, 51);
    overflow: hidden;
    background: rgb(12, 12, 12);
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: 
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background 0.6s ease,
        border 0.3s ease;
}

.card.radius-16 {
    border-radius: 16px !important;
}

.card.radius-12 {
    border-radius: 12px !important;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    transform: scale(0.5);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 70%);
}

.card:hover::after {
    opacity: 0.6;
    transform: scale(1) rotate(30deg);
}



.card-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border 0.3s ease;
    position: relative;
    z-index: 1;
    /* border: 1px solid rgb(51, 51, 51); */
    border: 1px solid rgb(51, 51, 51);
    overflow: hidden;
    background: rgb(12, 12, 12);
    backdrop-filter: blur(10px);
    opacity: 1;
}

/* 
.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    z-index: -1;
} */

.stv-font {
    font-family: 'STV', serif;    
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.card-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
    z-index: -1;
    opacity: .6;
    transition: transform 0.6s ease;
    transform: scale(0.5);
}

#tools {
    position: relative;
    /* background-color: transparent !important; */
    overflow: hidden;
}

#tools::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%) !important;
    z-index: -1;
    opacity: .2;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    /* box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.5), 0 10px 10px -5px rgba(236, 72, 153, 0.4), 0 0 20px rgba(99, 102, 241, 0.4); */
    border: 1px solid rgb(51, 51, 51);
}

.card-hover:hover::before {
    opacity: 1;
}

.card-hover:hover::after {
    opacity: 0.6;
    transform: scale(1) rotate(30deg);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #6366f1, #ec4899);
    margin: 10px auto 0;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    animation: width-pulse 3s ease-in-out infinite alternate;
}

@keyframes width-pulse {
    0% {
        width: 40px;
        opacity: 0.7;
    }

    100% {
        width: 120px;
        opacity: 1;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    position: relative;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* .animate-on-scroll::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #6366f1, #ec4899);
    transform: translateX(-50%);
    transition: width 0.5s ease 0.3s;
    opacity: 0;
}

.animate-on-scroll.animated::after {
    width: 50%;
    opacity: 0.7;
} */

.social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.flag-img {
    --size: 38px;
    width: var(--size) !important;
    height: var(--size) !important;
    /* w-16 */
    height: auto;
    /* Maintain aspect ratio */
    /* approx h-12 equivalent for flags */
    object-fit: cover;
    /* Changed to cover for better flag display */
    border-radius: 0.25rem;
    /* rounded-md */
    outline-width: 3px;
    outline-color: #1c1c1cfa;
    outline-style: solid;
    outline-offset: 1px;
}

.app-logo {
    position: relative;
    overflow: hidden;
    /* border: 1px solid rgba(99, 102, 241, 0.1); */
    border: 1px solid #1c1c1cfa;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.app-logo:hover {
    transform: translateY(-5px);
    background-color: rgba(15, 15, 25, 0.8);
}

.app-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: 180px;
    background-position: left 5px;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.app-logo:hover::before {
    opacity: 0.25;
}

.app-logo.eft::before {
    background-image: url('images/EFT_PRO.png');
}

.app-logo.hydra::before {
    background-image: url('images/hydra.png');
}

.app-logo.octoplus::before {
    background-image: url('images/octoplus.png');
    background-position: 10px 10px;
}

.app-logo.sigma::before {
    background-image: url('images/sigma.png');
    background-position: left -1px;
}

.app-logo.umt::before {
    background-image: url('images/umt.png');
    background-size: 140px;
    background-position: left -1px;
}

.app-logo.z3x::before {
    background-image: url('images/z3x.png');
    background-size: 130px;
    background-position: 10px 4px;
}

/* Modern UI Elements */
.neon-border {
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4), 0 0 30px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.neon-border:hover {
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 40px rgba(99, 102, 241, 0.3);
}

.neon-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    z-index: -1;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.15), transparent);
    transform: rotate(45deg);
    animation: neon-glow 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes neon-glow {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.glass-effect {
    position: fixed;
    top: 0;
    left: 0;
    /* background: rgba(5, 5, 15, 0.75); */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15) inset;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

/* 
.glass-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-effect:hover::before {
    opacity: 1;
} */

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4F46E5;
}

/* Button hover effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden !important;
    transition: all 0.3s ease;
    z-index: 1;
}


.btn-hover-effect:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-hover-effect:hover:before {
    left: 100%;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #6366f1, #ec4899);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-hover-effect:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Glow text effect */
.glow-text {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.7);
    transition: text-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
}

/* .glow-text:hover {
    text-shadow: 0 0 15px rgba(99, 102, 241, 1), 0 0 30px rgba(99, 102, 241, 0.7), 0 0 45px rgba(99, 102, 241, 0.4);
    color: #fff;
    transform: translateY(-2px);
} */
/* 
.glow-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.7), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.glow-text:hover::after {
    transform: scaleX(1);
} */

/* Particle background effect */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    animation: float 15s infinite linear;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
    filter: blur(1px);
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Enhanced particle trail effect */
.particle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.6;
    background: inherit;
    z-index: -1;
}

/* Add some larger particles for depth */
.particle:nth-child(3n) {
    width: 3px;
    height: 3px;
    background-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.7);
    animation-duration: 20s;
}

.particle:nth-child(5n) {
    width: 1px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation-duration: 12s;
}