/* 🛸 COMPLETE EXTRATERRESTRIAL THEME - All Pages */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ========================================
   GLOBAL EXTRATERRESTRIAL STYLES
   ======================================== */
:root {
    --alien-purple: #8a2be2;
    --alien-cyan: #00ffff;
    --alien-magenta: #ff00ff;
    --alien-dark: #0a0020;
    --alien-darker: #050015;
    --alien-glow: rgba(138, 43, 226, 0.6);
}

* {
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
}

body {
    background: radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
                linear-gradient(180deg, #0a0020 0%, #050015 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow-x: hidden;
}

/* Better text contrast throughout */
p, span, div, li, td, th, label {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Make sure all text is visible */
body * {
    color: inherit;
}

/* Dark text gets inverted to white */
.text-dark,
[class*="text-gray"],
[class*="text-black"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Cosmic Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%, 300% 300%, 250% 250%, 280% 280%, 320% 320%, 290% 290%;
    background-position: 0% 0%;
    animation: starsFloat 120s linear infinite;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

@keyframes starsFloat {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Glowing Orbs */
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2), transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -300px;
    animation: orbFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-100px, 100px); }
}

/* All content above background effects */
.hero-section,
.about-section,
.services-section,
section,
header,
footer {
    position: relative;
    z-index: 10;
}

/* ========================================
   HEADINGS - EXTRATERRESTRIAL GLOW
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6),
                 0 0 40px rgba(138, 43, 226, 0.4) !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
}

h1 {
    font-size: 3.5em !important;
    background: linear-gradient(135deg, #ffffff 0%, #00ffff 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    color: #00ffff !important;
}

h3 {
    color: #ff00ff !important;
}

/* ========================================
   CARDS & SECTIONS - HOLOGRAPHIC
   ======================================== */
.about-card,
.service-card,
.portfolio-card,
.team-card,
.stat-card,
.feature-card,
.card,
[class*="-card"] {
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.1) 0%,
        rgba(0, 255, 255, 0.05) 100%) !important;
    border: 2px solid rgba(138, 43, 226, 0.4) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3),
                inset 0 0 30px rgba(0, 255, 255, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    position: relative;
    overflow: hidden;
}

.about-card::before,
.service-card::before,
[class*="-card"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(0, 255, 255, 0.1) 50%,
        transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.about-card:hover,
.service-card:hover,
[class*="-card"]:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: rgba(0, 255, 255, 0.8) !important;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.6),
                0 20px 40px rgba(138, 43, 226, 0.4),
                inset 0 0 50px rgba(0, 255, 255, 0.1) !important;
}

.about-card:hover::before,
.service-card:hover::before,
[class*="-card"]:hover::before {
    left: 100%;
}

/* ========================================
   BUTTONS - ALIEN TECH
   ======================================== */
.btn,
button:not(#navMenuBtn):not(.lang-option),
[class*="btn-"],
input[type="submit"],
input[type="button"] {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 600 !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    border: 2px solid rgba(0, 255, 255, 0.6) !important;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.3),
        rgba(0, 255, 255, 0.3)) !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8) !important;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5),
                inset 0 0 20px rgba(0, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
}

.btn::before,
button:not(#navMenuBtn):not(.lang-option)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover,
button:not(#navMenuBtn):not(.lang-option):hover {
    transform: translateY(-5px) scale(1.05) !important;
    border-color: rgba(0, 255, 255, 1) !important;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8),
                0 10px 30px rgba(138, 43, 226, 0.6),
                inset 0 0 30px rgba(0, 255, 255, 0.3) !important;
    text-shadow: 0 0 20px rgba(0, 255, 255, 1) !important;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ========================================
   FORMS - ALIEN INPUT FIELDS
   ======================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    background: rgba(138, 43, 226, 0.1) !important;
    border: 2px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    color: #ffffff !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(0, 255, 255, 0.5) !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: rgba(0, 255, 255, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6),
                inset 0 0 10px rgba(138, 43, 226, 0.2) !important;
    background: rgba(138, 43, 226, 0.15) !important;
}

/* ========================================
   HERO SECTION - COSMIC
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
        rgba(138, 43, 226, 0.2) 0%,
        transparent 70%);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-size: 4rem !important;
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   STATS & NUMBERS - GLOWING
   ======================================== */
.stat-item,
.stat-card,
[class*="stat-"] {
    text-align: center;
    padding: 30px;
    background: rgba(138, 43, 226, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-number,
[class*="number"] {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 3em !important;
    font-weight: 900 !important;
    color: #00ffff !important;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8),
                 0 0 60px rgba(0, 255, 255, 0.4) !important;
    display: block;
}

/* ========================================
   LOADING SCREEN - ALIEN PORTAL
   ======================================== */
.loading-screen {
    background: radial-gradient(circle,
        rgba(138, 43, 226, 0.3) 0%,
        rgba(10, 0, 32, 1) 100%) !important;
}

.loader-bar {
    background: linear-gradient(90deg,
        rgba(138, 43, 226, 0.8) 0%,
        rgba(0, 255, 255, 0.8) 50%,
        rgba(255, 0, 255, 0.8) 100%) !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8) !important;
}

/* ========================================
   FOOTER - COSMIC BASE
   ======================================== */
footer {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(138, 43, 226, 0.2) 100%) !important;
    border-top: 2px solid rgba(0, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

/* ========================================
   LINKS - CYAN GLOW
   ======================================== */
a:not(.btn):not([class*="nav"]) {
    color: #00ffff !important;
    text-decoration: none !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6) !important;
    transition: all 0.3s ease !important;
}

a:not(.btn):hover {
    color: #ff00ff !important;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.8) !important;
}

/* ========================================
   SCROLLBAR - ALIEN STYLE
   ======================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 0, 32, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        rgba(138, 43, 226, 0.8),
        rgba(0, 255, 255, 0.8));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
        rgba(0, 255, 255, 1),
        rgba(138, 43, 226, 1));
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInGlow {
    from {
        opacity: 0;
        filter: blur(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.fade-in {
    animation: fadeInGlow 1s ease-out;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5em !important; }
    h2 { font-size: 2em !important; }
    
    .stat-number { font-size: 2em !important; }
    
    .btn { padding: 12px 30px !important; }
}

/* ========================================
   PRINT - DISABLE EFFECTS
   ======================================== */
@media print {
    body::before,
    body::after,
    .hero-section::before {
        display: none !important;
    }
    
    * {
        text-shadow: none !important;
        box-shadow: none !important;
    }
}
