/**
 * Lexon Agency - Main Stylesheet
 * Modern, Professional Design with Unique Theme
 */

/* ============================================
   CSS VARIABLES - Unique Color Scheme
   ============================================ */
:root {
    /* Primary Colors - Deep Blue & Teal Theme */
    --primary-color: #0f4c75;
    --primary-dark: #0a3d62;
    --primary-light: #3282b8;
    --accent-color: #00d9ff;
    --accent-secondary: #00b4d8;
    
    /* Secondary Colors */
    --secondary-color: #1b262c;
    --secondary-light: #2d4059;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #0f4c75 0%, #1b262c 50%, #0a3d62 100%);
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 217, 255, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(0, 217, 255, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--white); }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--gray-500); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-24) 0;
}

.section-sm {
    padding: var(--space-16) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--gray-100); }
.bg-dark { background-color: var(--secondary-color); }
.bg-primary { background: var(--gradient-primary); }
.bg-hero { background: var(--gradient-hero); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--secondary-color);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--secondary-color);
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-text span {
    color: var(--accent-secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-2) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: var(--space-12);
}

.hero > .container,
.hero > .hero-split-container {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Split 2-col layout */
.hero-split-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: calc(100vh - 200px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0,217,255,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(50,130,184,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* LEFT: Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    flex: 0 0 50%;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--accent-color);
    margin-bottom: var(--space-6);
    animation: pulseBorder 3s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% { border-color: rgba(0,217,255,0.3); box-shadow: none; }
    50% { border-color: rgba(0,217,255,0.7); box-shadow: 0 0 15px rgba(0,217,255,0.2); }
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.5px;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-6);
    max-width: 500px;
    line-height: 1.7;
}

/* Feature Pills */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: var(--space-8);
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-feature-pill i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

.hero-feature-pill:hover {
    background: rgba(0,217,255,0.15);
    border-color: rgba(0,217,255,0.4);
    color: #fff;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* =============================================
   RIGHT: ORBITAL VISUAL
   ============================================= */
.hero-visual {
    position: relative;
    flex: 0 0 45%;
    max-width: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Outer radial glow background */
.hero-orbital-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,217,255,0.12) 0%, rgba(15,76,117,0.3) 50%, transparent 75%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbitalPulse 4s ease-in-out infinite;
}

@keyframes orbitalPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* Core Center Circle */
.orbital-core {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a3d62 0%, #0f4c75 100%);
    border: 3px solid rgba(0,217,255,0.5);
    box-shadow: 0 0 30px rgba(0,217,255,0.4), 0 0 60px rgba(0,217,255,0.15), inset 0 0 20px rgba(0,217,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0,217,255,0.4), 0 0 60px rgba(0,217,255,0.15); }
    50% { box-shadow: 0 0 50px rgba(0,217,255,0.7), 0 0 80px rgba(0,217,255,0.3); }
}

.orbital-core-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.orbital-core-inner i {
    font-size: 2rem;
    color: var(--accent-color);
}

.orbital-core-inner span {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Orbital Rings */
.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0,217,255,0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: rotateRing 10s linear infinite;
}

.ring-2 {
    width: 310px;
    height: 310px;
    animation: rotateRing 18s linear infinite reverse;
    border-color: rgba(50,130,184,0.3);
}

.ring-3 {
    width: 420px;
    height: 420px;
    animation: rotateRing 28s linear infinite;
    border-color: rgba(0,180,216,0.2);
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbital Dots (Icon Nodes) */
.orbital-dot {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Position on ring using calc with CSS var */
    top: 50%;
    left: 50%;
}

/* Ring 1 dots - positioned at angles */
.ring-1 .orbital-dot:nth-child(1) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate1 10s linear infinite;
}
.ring-1 .orbital-dot:nth-child(2) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate1 10s linear infinite;
}
/* Ring 2 dots */
.ring-2 .orbital-dot:nth-child(1) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(155px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate2 18s linear infinite reverse;
}
.ring-2 .orbital-dot:nth-child(2) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(155px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate2 18s linear infinite reverse;
}
.ring-2 .orbital-dot:nth-child(3) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(155px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate2 18s linear infinite reverse;
}
/* Ring 3 dots */
.ring-3 .orbital-dot:nth-child(1) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(210px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate3 28s linear infinite;
}
.ring-3 .orbital-dot:nth-child(2) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(210px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate3 28s linear infinite;
}
.ring-3 .orbital-dot:nth-child(3) {
    transform: translate(-50%,-50%) rotate(var(--angle)) translateX(210px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate3 28s linear infinite;
}

@keyframes counterRotate1 { from { --rot: 0deg; } to { --rot: -360deg; } }
@keyframes counterRotate2 { from { --rot: 0deg; } to { --rot: 360deg; } }
@keyframes counterRotate3 { from { --rot: 0deg; } to { --rot: -360deg; } }

/* Dot color themes */
.dot-tech   { background: linear-gradient(135deg,#0f4c75,#3282b8); border:2px solid rgba(0,217,255,0.6); box-shadow: 0 0 15px rgba(0,217,255,0.4); color:#00d9ff; }
.dot-design { background: linear-gradient(135deg,#6c3483,#a569bd); border:2px solid rgba(165,105,189,0.6); box-shadow: 0 0 15px rgba(165,105,189,0.4); color:#d7bde2; }
.dot-mobile { background: linear-gradient(135deg,#1a5276,#2e86c1); border:2px solid rgba(46,134,193,0.6); box-shadow: 0 0 15px rgba(46,134,193,0.4); color:#aed6f1; }
.dot-seo    { background: linear-gradient(135deg,#0e6655,#1abc9c); border:2px solid rgba(26,188,156,0.6); box-shadow: 0 0 15px rgba(26,188,156,0.4); color:#a3e4d7; }
.dot-cloud  { background: linear-gradient(135deg,#1f618d,#2980b9); border:2px solid rgba(41,128,185,0.6); box-shadow: 0 0 15px rgba(41,128,185,0.4); color:#d6eaf8; }
.dot-ai     { background: linear-gradient(135deg,#7b241c,#e74c3c); border:2px solid rgba(231,76,60,0.6);  box-shadow: 0 0 15px rgba(231,76,60,0.4); color:#f9ebea; }
.dot-analytics { background: linear-gradient(135deg,#d35400,#e67e22); border:2px solid rgba(230,126,34,0.6); box-shadow: 0 0 15px rgba(230,126,34,0.4); color:#fdebd0; }
.dot-security { background: linear-gradient(135deg,#145a32,#196f3d); border:2px solid rgba(25,111,61,0.6); box-shadow: 0 0 15px rgba(25,111,61,0.4); color:#a9dfbf; }

/* Floating Stat Cards */
.orbital-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: rgba(15, 25, 50, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 20;
    min-width: 130px;
}

.orbital-float-card i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.orbital-float-card div {
    display: flex;
    flex-direction: column;
}

.orbital-float-card strong {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.orbital-float-card small {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

.float-card-1 {
    top: 10%;
    right: 0;
    animation: floatCard 5s ease-in-out infinite;
}
.float-card-2 {
    bottom: 18%;
    right: -5%;
    animation: floatCard 6.5s ease-in-out infinite 1s;
}
.float-card-3 {
    top: 50%;
    left: -8%;
    transform: translateY(-50%);
    animation: floatCard 4.5s ease-in-out infinite 0.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-card-3 {
    animation: floatCard3 4.5s ease-in-out infinite 0.5s;
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-8px); }
}

/* Hero image (kept for compatibility) */
.hero-image {
    display: none;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    width: 100%;
    z-index: 2;
    margin-top: var(--space-12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-2);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: var(--space-4);
}

.section-title span {
    color: var(--primary-light);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.service-icon i {
    font-size: var(--text-3xl);
    color: var(--white);
}

.service-title {
    font-size: var(--text-xl);
    color: var(--secondary-color);
    margin-bottom: var(--space-3);
}

.service-description {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-color);
}

.service-link:hover {
    color: var(--accent-secondary);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.industry-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.industry-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.industry-card:hover .industry-image {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 76, 117, 0.95) 0%, rgba(15, 76, 117, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(0, 217, 255, 0.9) 0%, rgba(0, 217, 255, 0.5) 50%, transparent 100%);
}

.industry-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.industry-icon i {
    font-size: var(--text-xl);
    color: var(--primary-color);
}

.industry-title {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-link {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.why-choose-image {
    position: relative;
}

.why-choose-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.why-choose-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.why-choose-content {
    padding-left: var(--space-8);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.why-choose-item {
    display: flex;
    gap: var(--space-4);
}

.why-choose-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-icon i {
    font-size: var(--text-xl);
    color: var(--secondary-color);
}

.why-choose-text h4 {
    font-size: var(--text-lg);
    color: var(--secondary-color);
    margin-bottom: var(--space-1);
}

.why-choose-text p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--secondary-color);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 76, 117, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: var(--text-sm);
    color: var(--accent-color);
    margin-bottom: var(--space-2);
}

.portfolio-title {
    font-size: var(--text-xl);
    color: var(--white);
    text-align: center;
    margin-bottom: var(--space-4);
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link i {
    color: var(--secondary-color);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-dots.png') repeat;
    opacity: 0.05;
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin: var(--space-4);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating i {
    color: #ffc107;
    font-size: var(--text-sm);
}

.testimonial-text {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonial-info h4 {
    font-size: var(--text-base);
    color: var(--white);
    margin-bottom: var(--space-1);
}

.testimonial-info p {
    font-size: var(--text-sm);
    color: var(--accent-color);
    margin: 0;
}

/* Client Logos */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    margin-top: var(--space-16);
    flex-wrap: wrap;
}

.client-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-base);
    max-height: 40px;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.cta-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: var(--space-2);
}

.cta-text p {
    color: var(--secondary-color);
    opacity: 0.8;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
}

.btn-cta {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-cta:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding-top: var(--space-24);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-link i {
    color: var(--white);
    font-size: var(--text-base);
}

.social-link:hover i {
    color: var(--secondary-color);
}

.footer-title {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: var(--space-2);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.contact-item i {
    color: var(--accent-color);
    font-size: var(--text-base);
    margin-top: var(--space-1);
}

.contact-item span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-4);
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding: var(--space-12) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: var(--space-12);
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin-right: var(--space-8);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: var(--space-8);
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: var(--text-sm);
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.value-card {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.value-number {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    opacity: 0.5;
}

.value-content h3 {
    font-size: var(--text-xl);
    color: var(--secondary-color);
    margin-bottom: var(--space-2);
}

.value-content p {
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: var(--text-xl);
    color: var(--secondary-color);
}

.contact-details h4 {
    font-size: var(--text-lg);
    color: var(--secondary-color);
    margin-bottom: var(--space-1);
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: var(--space-2);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

/* Map */
.map-container {
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: var(--space-12);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-split-container {
        flex-direction: column;
        justify-content: center;
        padding-top: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-image {
        order: -1;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    .timeline-year {
        left: 20px;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
    
    .section {
        padding: var(--space-16) 0;
    }
    
    .services-grid,
    .industries-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* ============================================
   LOADING & UTILITY
   ============================================ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

