/* =============================================
   FEKRA AI SOLUTIONS - FUTURISTIC WEBSITE STYLES
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(18, 18, 26, 0.8);
    --accent-cyan: #00d4ff;
    --accent-blue: #0066ff;
    --accent-purple: #7c3aed;
    --accent-glow: rgba(0, 212, 255, 0.5);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-glow: rgba(0, 212, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-primary: 'Cairo', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal overflow */
*, *::before, *::after {
    max-width: 100%;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   ANIMATED BACKGROUND
   ============================================= */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    max-width: 100%;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-cyan);
    animation: float 8s infinite ease-in-out;
}

.node-1 { top: 10%; left: 20%; animation-delay: 0s; }
.node-2 { top: 30%; left: 80%; animation-delay: 1s; }
.node-3 { top: 50%; left: 10%; animation-delay: 2s; }
.node-4 { top: 70%; left: 60%; animation-delay: 3s; }
.node-5 { top: 20%; left: 50%; animation-delay: 4s; }
.node-6 { top: 80%; left: 30%; animation-delay: 5s; }
.node-7 { top: 40%; left: 90%; animation-delay: 6s; }
.node-8 { top: 90%; left: 70%; animation-delay: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 1; }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: pulse 10s infinite ease-in-out;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: 20%;
    left: -100px;
    animation-delay: 3s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -200px;
    right: 30%;
    animation-delay: 6s;
}

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

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 15px 60px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
    padding: 0 10px;
}

.company-name {
    color: var(--accent-cyan);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

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

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: btnGlow 3s infinite;
}

@keyframes btnGlow {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 100vw);
    height: min(600px, 100vw);
    opacity: 0.3;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.ai-brain {
    position: relative;
    width: 100%;
    height: 100%;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    border-radius: 50%;
    animation: corePulse 2s infinite ease-in-out;
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.brain-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: ringRotate 10s linear infinite;
}

.ring-2 {
    width: 350px;
    height: 350px;
    animation: ringRotate 15s linear infinite reverse;
}

.ring-3 {
    width: 500px;
    height: 500px;
    animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
}

.particle-1 { animation: orbit1 5s linear infinite; }
.particle-2 { animation: orbit2 7s linear infinite; }
.particle-3 { animation: orbit3 9s linear infinite; }
.particle-4 { animation: orbit4 11s linear infinite; }

@keyframes orbit1 {
    from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes orbit2 {
    from { transform: rotate(90deg) translateX(175px) rotate(-90deg); }
    to { transform: rotate(450deg) translateX(175px) rotate(-450deg); }
}

@keyframes orbit3 {
    from { transform: rotate(180deg) translateX(250px) rotate(-180deg); }
    to { transform: rotate(540deg) translateX(250px) rotate(-540deg); }
}

@keyframes orbit4 {
    from { transform: rotate(270deg) translateX(150px) rotate(-270deg); }
    to { transform: rotate(630deg) translateX(150px) rotate(-630deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.section-title {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.section-title .highlight {
    color: var(--accent-cyan);
}

.section-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
    padding: var(--section-padding);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px 25px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: var(--transition-slow);
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--border-glow);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 212, 255, 0.1);
}

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

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

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

.card-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: var(--bg-primary);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent-cyan);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Coming Soon Badge */
.coming-soon-card {
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
    }
}

/* Automation Gears Animation */
.automation-gears {
    position: relative;
    width: 100%;
    height: 100%;
}

.gear {
    position: absolute;
    border-radius: 50%;
    border: 3px dashed var(--accent-cyan);
    animation: rotate-gear 4s linear infinite;
}

.gear-1 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 20%;
    animation-duration: 3s;
}

.gear-2 {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 35%;
    animation-duration: 2s;
    animation-direction: reverse;
}

.gear-3 {
    width: 25px;
    height: 25px;
    top: 35%;
    right: 10%;
    animation-duration: 2.5s;
}

@keyframes rotate-gear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 3D Elements */
.card-3d-element {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    opacity: 0.3;
    transition: var(--transition-slow);
}

.service-card:hover .card-3d-element {
    opacity: 0.6;
}

.cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 10s linear infinite;
}

@keyframes cubeRotate {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
}

.cube-face.front { transform: translateZ(30px); }
.cube-face.back { transform: translateZ(-30px) rotateY(180deg); }
.cube-face.right { transform: translateX(30px) rotateY(90deg); }
.cube-face.left { transform: translateX(-30px) rotateY(-90deg); }
.cube-face.top { transform: translateY(-30px) rotateX(90deg); }
.cube-face.bottom { transform: translateY(30px) rotateX(-90deg); }

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

.hologram-ring {
    position: absolute;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    animation: hologramPulse 2s infinite ease-in-out;
}

.hologram-ring:nth-child(1) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
}

.hologram-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    animation-delay: 0.3s;
}

.hologram-ring:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
    animation-delay: 0.6s;
}

@keyframes hologramPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.network-nodes {
    position: relative;
    width: 80px;
    height: 80px;
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: nodeGlow 2s infinite ease-in-out;
}

.network-node:nth-child(1) { top: 0; left: 34px; }
.network-node:nth-child(2) { bottom: 10px; left: 10px; animation-delay: 0.5s; }
.network-node:nth-child(3) { bottom: 10px; right: 10px; animation-delay: 1s; }

.network-line {
    position: absolute;
    height: 2px;
    background: var(--accent-cyan);
    opacity: 0.5;
}

.network-line:nth-child(4) {
    width: 40px;
    top: 20px;
    left: 20px;
    transform: rotate(60deg);
}

.network-line:nth-child(5) {
    width: 40px;
    top: 20px;
    right: 20px;
    transform: rotate(-60deg);
}

@keyframes nodeGlow {
    0%, 100% { box-shadow: 0 0 10px var(--accent-cyan); }
    50% { box-shadow: 0 0 25px var(--accent-cyan); }
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us {
    padding: var(--section-padding);
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-text .section-title {
    text-align: right;
    margin-bottom: 20px;
}

.why-us-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.why-us-points {
    list-style: none;
}

.why-us-points li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.125rem;
    transition: var(--transition-normal);
}

.why-us-points li:hover {
    transform: translateX(-10px);
}

.point-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-icon svg {
    width: 22px;
    height: 22px;
    color: var(--bg-primary);
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 5px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: var(--transition-slow);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--accent-cyan);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 24px;
    transition: var(--transition-normal);
}

.team-card:hover .card-frame {
    border-color: var(--accent-cyan);
    box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.team-card:hover .member-photo img {
    transform: scale(1.1);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder svg {
    width: 50px;
    height: 50px;
    color: var(--text-muted);
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.member-role {
    color: var(--accent-cyan);
    font-size: 0.95rem;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    padding: var(--section-padding);
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 16px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.whatsapp-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.4);
}

.cta-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: ctaGlow 2s infinite;
}

@keyframes ctaGlow {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.whatsapp-icon-large {
    width: 30px;
    height: 30px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.footer-mission {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-contact-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-phone:hover {
    color: var(--accent-cyan);
    transform: translateX(-5px);
}

.footer-phone svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-cyan);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: var(--transition-fast);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-icon.whatsapp svg {
    fill: #25D366;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-icon.whatsapp:hover svg {
    fill: white;
}

.social-icon.facebook svg {
    fill: #1877F2;
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-icon.facebook:hover svg {
    fill: white;
}

.social-icon.telegram svg {
    fill: #0088cc;
}

.social-icon.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.social-icon.telegram:hover svg {
    fill: white;
}

.social-icon.linkedin svg {
    fill: #0A66C2;
}

.social-icon.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.social-icon.linkedin:hover svg {
    fill: white;
}

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

/* =============================================
   RESPONSIVE DESIGN - COMPREHENSIVE MOBILE FIX
   ============================================= */

/* Tablet Landscape */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Navigation Mobile */
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--glass-border);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 100px 15px 50px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        padding: 0 10px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    /* Services Grid Mobile */
    .services {
        padding: 50px 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .service-card {
        padding: 25px 20px;
        margin: 0;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Why Us Section Mobile */
    .why-us {
        padding: 50px 15px;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-us-tagline {
        font-size: 1rem;
        text-align: center;
    }
    
    .why-us-points li {
        font-size: 0.95rem;
        gap: 10px;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Stats Mobile */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Team Section Mobile */
    .team {
        padding: 50px 15px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-card {
        padding: 20px 15px;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 50px 15px;
    }
    
    .contact-content {
        padding: 30px 20px;
    }
    
    .contact-title {
        font-size: 1.4rem;
    }
    
    .whatsapp-cta {
        padding: 14px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 15px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-phones {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.85rem;
    }
    
    /* Logo Mobile */
    .logo-img {
        height: 40px;
        width: auto;
    }
    
    .footer-logo {
        height: 50px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 80px 12px 40px;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content {
        padding: 0 5px;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.4;
    }
    
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 5px;
    }
    
    .section-header {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .services {
        padding: 40px 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }
    
    .service-card {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .why-us {
        padding: 40px 10px;
    }
    
    .team {
        padding: 40px 10px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .team-card {
        padding: 25px 20px;
    }
    
    .member-image {
        width: 120px;
        height: 120px;
    }
    
    .contact {
        padding: 40px 10px;
    }
    
    .whatsapp-cta {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: auto;
        max-width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        width: 100%;
        padding: 0 5px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 30px 10px 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    /* Hide decorative elements on small screens */
    .card-3d-element,
    .glow-orb,
    .node,
    .hero-visual,
    .brain-ring,
    .data-particle {
        display: none;
    }
    
    .service-card::before,
    .service-card::after {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .team-card {
        padding: 20px 15px;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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