/*
Theme Name: Mojosoft Dark Tech
Theme URI: https://mojosoft.app
Author: Mojosoft
Author URI: https://mojosoft.app
Description: A modern dark tech WordPress theme with advanced animations for company profile websites
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mojosoft
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
    /* Core Colors */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary: #7b2ff7;
    --secondary-dark: #5a1fc7;
    --accent: #00ff88;
    --accent-secondary: #ff6b35;
    
    /* Dark Theme */
    --bg-primary: #030712;
    --bg-secondary: #0a0f1c;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --bg-overlay: rgba(3, 7, 18, 0.95);
    
    /* Borders */
    --border-color: #1e293b;
    --border-glow: rgba(0, 212, 255, 0.3);
    
    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Glows */
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 40px rgba(123, 47, 247, 0.4);
    --glow-accent: 0 0 30px rgba(0, 255, 136, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-bg: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: overflow 0.3s ease;
}

body.sidebar-open {
    overflow: hidden;
}

/* Background Grid Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: var(--glow-primary);
}

/* Code Style Text */
.code-text {
    font-family: var(--font-mono);
    color: var(--primary);
}

.bracket::before { content: '{'; color: var(--text-muted); }
.bracket::after { content: '}'; color: var(--text-muted); }

/* =========================================
   LAYOUT
   ========================================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* =========================================
   LOADER
   ========================================= */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-ring:nth-child(2) {
    inset: 8px;
    border-top-color: var(--secondary);
    animation-delay: -0.15s;
}

.loader-ring:nth-child(3) {
    inset: 16px;
    border-top-color: var(--accent);
    animation-delay: -0.3s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   SCROLL PROGRESS
   ========================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    box-shadow: var(--glow-primary);
    transition: width 0.1s linear;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(3, 7, 18, 0.95);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition-normal);
}

.site-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}
    color: var(--accent);
}

/* Navigation */
.main-nav ul,
.main-nav .menu,
#main-nav ul,
#main-nav .menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    gap: 2.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav li,
.main-nav .menu-item,
#main-nav li,
#main-nav .menu-item {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.main-nav a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    line-height: 1;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.menu-toggle:hover .hamburger-icon span {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 1101;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar::-webkit-scrollbar {
    width: 6px;
}

.mobile-sidebar::-webkit-scrollbar-track {
    background: rgba(3, 7, 18, 0.5);
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo img {
    height: 35px;
    width: auto;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.mobile-nav {
    padding: 2rem 0;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.mobile-sidebar.active .mobile-menu li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-sidebar.active .mobile-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-sidebar.active .mobile-menu li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-sidebar.active .mobile-menu li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-sidebar.active .mobile-menu li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-sidebar.active .mobile-menu li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-sidebar.active .mobile-menu li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-sidebar.active .mobile-menu li:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    opacity: 0;
}

.mobile-menu a:hover::after {
    width: 20px;
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
    border-left-color: var(--primary);
    text-shadow: var(--glow-primary);
    padding-left: 2.25rem;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: var(--gradient-bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(123, 47, 247, 0.06) 0%, transparent 50%);
}

/* Hero Content Layout */
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 650px;
    padding: 2rem 0;
}

.hero-text {
    max-width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
    width: fit-content;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-img {
    max-width: 100%;
    height: auto;
    animation: floatAnimation 6s ease-in-out infinite;
}

/* Hero Slideshow Card Wrapper */
.hero-slideshow-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-slideshow-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
    transform: translateY(-4px);
}

/* Hero Slideshow Styles */
.hero-slideshow {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-image {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: none;
    animation: none;
    border-radius: 12px;
}

.slideshow-image.active {
    opacity: 1;
    transform: translate(-50%, -50%);
    animation: none;
    z-index: 2;
}

.slideshow-image.prev {
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slideshow:hover .slideshow-controls {
    opacity: 1;
}

.slideshow-prev,
.slideshow-next {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--primary);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow-primary);
    transform: scale(1.1);
}

.slideshow-prev:active,
.slideshow-next:active {
    transform: scale(0.95);
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slideshow-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slideshow-indicators .indicator:hover {
    background: rgba(0, 212, 255, 0.5);
    transform: scale(1.2);
}

.slideshow-indicators .indicator.active {
    background: var(--primary);
    box-shadow: var(--glow-primary);
    width: 32px;
    border-radius: 6px;
}

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

/* Animated Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.12), transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08), transparent 70%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-40px, -30px) scale(1.02); }
}

/* Matrix Rain */
.matrix-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.06;
}

.matrix-column {
    position: absolute;
    top: -100%;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--primary);
    writing-mode: vertical-rl;
    animation: matrixFall linear infinite;
}

@keyframes matrixFall {
    0% { transform: translateY(0); }
    100% { transform: translateY(250vh); }
}

/* Floating Code Elements */
.code-particle {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--primary);
    opacity: 0.15;
    white-space: nowrap;
    animation: codeFloat linear infinite;
}

@keyframes codeFloat {
    0% { transform: translateX(-200px) translateY(0); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateX(100vw) translateY(-100px); opacity: 0; }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge::before {
    content: '●';
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.btn-accent {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: var(--glow-accent);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(123, 47, 247, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
}

/* Scan Line Animation */
.service-card .scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
}

.service-card:hover .scan-line {
    animation: scanMove 2s linear infinite;
}

/* Service Image */
.service-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    transition: var(--transition-normal);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

@keyframes scanMove {
    0% { top: -10px; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--border-color), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: var(--glow-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   ABOUT / FEATURES SECTION
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.feature-item h4 {
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* =========================================
   ABOUT US SECTION
   ========================================= */
.about-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-us-text h2 {
    margin-bottom: 2rem;
}

.about-us-story p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-us-story p:last-child {
    margin-bottom: 0;
}

/* Tech Animation Visual */
.about-us-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-animation-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

/* Central Hub */
.tech-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.tech-hub-inner {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
}

.pulse-ring-2 {
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Tech Circles */
.tech-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    animation: floatTech 4s ease-in-out infinite;
}

.tech-circle:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    transform: scale(1.1);
}

.tech-circle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.tech-circle-2 {
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

.tech-circle-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.tech-circle-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

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

.tech-icon {
    font-size: 2rem;
}

.tech-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    font-family: var(--font-mono);
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.tech-line {
    animation: dashLine 3s linear infinite;
    stroke-dasharray: 5, 10;
}

@keyframes dashLine {
    to {
        stroke-dashoffset: -100;
    }
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(123, 47, 247, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

/* CTA Buttons - Equal width for centered alignment */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .btn {
    min-width: 180px;
    text-align: center;
}
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--gradient-primary);
    border-color: transparent;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.contact-text a {
    color: var(--text-secondary);
}

.contact-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

/* =========================================
   CLIENTS SECTION
   ========================================= */
.clients-slideshow-wrapper {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.clients-slideshow {
    overflow: hidden;
    width: 100%;
}

.clients-track {
    display: flex;
    gap: 4rem;
    animation: slideClients 40s linear infinite;
    width: fit-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-item {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.client-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    transform: scale(1.05);
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   PARTNER SECTION
   ========================================= */
.partner-slideshow-wrapper {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.partner-slideshow {
    overflow: hidden;
    width: 100%;
}

.partner-track {
    display: flex;
    gap: 4rem;
    animation: slidePartner 50s linear infinite;
    width: fit-content;
}

.partner-track:hover {
    animation-play-state: paused;
}

.partner-item {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.partner-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 1);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    transform: scale(1.05);
}

@keyframes slidePartner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.partner-main-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.partner-main-logo:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

.partner-featured {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.partner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3);
    transition: all 0.5s ease;
}

.partner-featured:hover .partner-bg {
    filter: brightness(0.4);
    transform: scale(1.05);
}

.partner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 212, 255, 0.1) 100%);
}

.partner-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 800px;
}

.partner-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.partner-content .btn {
    margin-top: 1rem;
}

/* =========================================
   OFFICES SECTION
   ========================================= */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.office-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.office-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.office-card address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 2;
}

.office-card .office-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-about h3 {
    font-family: var(--font-mono);
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links h4 {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom span {
    color: var(--accent);
}

/* =========================================
   ANIMATIONS ON SCROLL
   ========================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-illustration {
        display: none;
    }
    
    .hero-slideshow {
        height: 400px;
        max-width: 100%;
    }
    
    .slideshow-controls {
        padding: 0 0.5rem;
    }
    
    .slideshow-prev,
    .slideshow-next {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-indicators {
        bottom: 1rem;
    }
    
    .slideshow-indicators .indicator {
        width: 8px;
        height: 8px;
    }
    
    .slideshow-indicators .indicator.active {
        width: 24px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none !important;
    }
    
    .main-nav ul,
    .main-nav .menu,
    #main-nav ul,
    #main-nav .menu {
        display: none !important;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-us-visual {
        min-height: 400px;
    }
    
    .tech-animation-wrapper {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .tech-circle {
        width: 80px;
        height: 80px;
    }
    
    .tech-icon {
        font-size: 1.5rem;
    }
    
    .tech-label {
        font-size: 0.65rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* =========================================
   LANDSCAPE MODE ON MOBILE
   ========================================= */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-sidebar {
        width: 280px;
        right: -280px;
    }
    
    .mobile-sidebar-header {
        padding: 0.875rem 1rem;
    }
    
    .mobile-logo img {
        height: 28px;
    }
    
    .mobile-nav {
        padding: 1rem 0;
    }
    
    .mobile-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .sidebar-close {
        font-size: 1.5rem;
    }
}

/* =========================================
   TABLET SPECIFIC ADJUSTMENTS
   ========================================= */
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-sidebar {
        width: 320px;
        right: -320px;
    }
}

/* =========================================
   MOBILE SPECIFIC ADJUSTMENTS
   ========================================= */
@media (max-width: 480px) {
    .mobile-sidebar {
        width: 280px;
        right: -280px;
    }
    
    .mobile-sidebar-header {
        padding: 1rem;
    }
    
    .mobile-logo img {
        height: 30px;
    }
    
    .mobile-menu a {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .sidebar-close {
        font-size: 1.75rem;
    }
}

@media (max-width: 360px) {
    .mobile-sidebar {
        width: 260px;
        right: -260px;
    }
    
    .mobile-menu a {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* =========================================
   CUSTOM SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-primary);
}
