/* ========================================
   WZTECH SOLUTIONS - PREMIUM STYLES
   Modern, Animated, Responsive Design
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Deep Navy & Gold Accent */
    --primary: #0a2540;
    --primary-light: #1a3a5c;
    --primary-dark: #041829;
    --secondary: #d4af37;
    --accent: #3b82f6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 10px 40px rgba(10, 37, 64, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.15);
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   ELEGANT NAVIGATION - WZTECH SOLUTIONS
   ======================================== */

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo Styles - Matching your image */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: -2px;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Desktop CTA Button */
.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 37, 64, 0.2);
}

.nav-cta i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.nav-cta:hover i {
    transform: translateX(4px);
}

/* Mobile Menu Toggle */
/* ========================================
   MOBILE MENU - FIXED
   ======================================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu Dropdown - FIXED */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 80px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    visibility: visible;
}

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

.mobile-menu-content {
    height: auto;
    min-height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: block;
}

.mobile-link:last-of-type {
    border-bottom: none;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary);
    padding-left: 1rem;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
}

.mobile-cta {
    width: 100%;
    padding: 1rem !important;
    font-size: 1.1rem !important;
    justify-content: center !important;
}

/* Overlay for mobile menu - FIXED */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-primary.full-width,
.btn-secondary.full-width {
    width: 100%;
    justify-content: center;
}

.btn-primary.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 60px rgba(59, 130, 246, 0.3);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #dbeafe 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(10, 37, 64, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 37, 64, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #d4af37, #f59e0b);
    top: 40%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--accent);
}

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

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 15%;
    left: 5%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate360 20s linear infinite;
}

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

.circle-content {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: var(--spacing-3xl) 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-preview {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-xl);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-arrow {
    font-size: 1.25rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.services-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.why-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.why-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.why-visual {
    position: relative;
    height: 500px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    transition: all var(--transition-base);
    animation: fadeInScale 0.6s ease forwards;
}

.tech-item:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ========================================
   SERVICES DETAIL PAGE
   ======================================== */

.services-detail {
    background: var(--bg-secondary);
}

.service-detail-card {
    background: white;
    border-radius: 32px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.service-detail-icon i + i {
    margin-left: -1rem;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-detail-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.feature-item i {
    color: var(--accent);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   PROCESS TIMELINE
   ======================================== */

.process-section {
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-xl);
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.process-step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.process-step:hover {
    transform: translateY(-8px);
    background: white;
}

.process-step:hover::before {
    opacity: 1;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   CONTACT PAGES
   ======================================== */

.contact-cards {
    padding: var(--spacing-2xl) 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: color var(--transition-fast);
}

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

/* Contact Form Section */
.contact-form-section {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-info-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-info-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Forms */
.contact-form,
.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background: white;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

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

/* ========================================
   SUPPORT PAGE
   ======================================== */

.support-options {
    padding: var(--spacing-2xl) 0;
}

.support-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-option {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.support-option:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.support-option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.support-content {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.faq-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-question i {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.faq-question h4 {
    font-size: 1.25rem;
    color: var(--primary);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 2.5rem;
}

.support-form-wrapper {
    position: sticky;
    top: 100px;
}

.support-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.support-form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.support-form-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.support-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.support-info i {
    color: var(--accent);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.support-info a {
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.footer-logo span {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: white;
    font-family: var(--font-primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-col ul li i {
    color: var(--secondary);
    font-size: 1rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: #ef4444;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Desktop */
@media (min-width: 1400px) {
    .nav-content {
        padding: 1rem 4rem;
    }
}

/* Tablet and Mobile */
@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-content {
        padding: 0.75rem 1.5rem;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .service-detail-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile */
@media (max-width: 600px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-content {
        padding: 0.75rem 1rem;
    }
    
    .logo-main {
        font-size: 1.35rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .support-form-card {
        padding: 2rem 1.5rem;
    }
    
    .page-header {
        padding: 8rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .contact-cards-grid,
    .support-options-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile Devices (under 480px) */
@media (max-width: 480px) {
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
        --spacing-xl: 2rem;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.55rem;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-link {
        font-size: 1.25rem;
        padding: 0.875rem 0;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .floating-card i {
        font-size: 1.25rem;
    }
    
    .tech-circle {
        width: 150px;
        height: 150px;
    }
    
    .circle-content {
        width: 130px;
        height: 130px;
        font-size: 3rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .why-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .tech-stack {
        gap: 1rem;
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin-top: 2rem;
    }
    
    .tech-item {
        padding: 1.5rem;
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .floating-card {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .tech-circle {
        width: 120px;
        height: 120px;
    }
    
    .circle-content {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
}

/* Mobile Landscape */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .tech-circle {
        width: 180px;
        height: 180px;
    }
    
    .circle-content {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* ========================================
   LOADING ANIMATIONS
   ======================================== */

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

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========================================
   ACCESSIBILITY & SPECIAL FEATURES
   ======================================== */

.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;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .mobile-menu {
        height: -webkit-fill-available;
    }
}

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn-primary,
    .btn-secondary,
    .social-link,
    .footer-col a {
        padding: 0.75rem;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-card {
        cursor: pointer;
    }
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .nav-content {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .hero {
        padding-top: max(6rem, env(safe-area-inset-top));
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .footer {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-muted: var(--text-secondary);
    }
}

/* Print styles */
@media print {
    .nav-container,
    .cta-section,
    .footer {
        display: none;
    }
    
    .hero-bg,
    .page-header-bg,
    .cta-bg {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}

/* ========================================
   HERO VISUAL - FIXED ALIGNMENT
   (Add this at the very end of your CSS)
   ======================================== */

/* Better hero visual container */
.hero-visual {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix tech circle - outer rotates, inner stays still */
.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate360 20s linear infinite;
    z-index: 1;
}

.circle-content {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    animation: none; /* This prevents the inner content from rotating */
}

/* Better card positioning - no rotation, just float up/down */
.floating-card {
    position: absolute;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    z-index: 2;
    white-space: nowrap;
    animation: floatSimple 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--accent);
}

/* Simple floating animation - no rotation */
@keyframes floatSimple {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Card positions */
.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: -4s;
}

/* Responsive fixes */
@media (max-width: 900px) {
    .hero-visual {
        height: 400px;
    }
    
    .tech-circle {
        width: 200px;
        height: 200px;
    }
    
    .circle-content {
        width: 170px;
        height: 170px;
        font-size: 4rem;
    }
    
    .floating-card {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .card-1 {
        top: 10%;
        left: 2%;
    }
    
    .card-2 {
        top: 35%;
        right: 2%;
    }
    
    .card-3 {
        bottom: 15%;
        left: 5%;
    }
}

@media (max-width: 600px) {
    .hero-visual {
        height: 350px;
    }
    
    .tech-circle {
        width: 160px;
        height: 160px;
    }
    
    .circle-content {
        width: 135px;
        height: 135px;
        font-size: 3rem;
    }
    
    .card-1 {
        top: 5%;
        left: 0;
    }
    
    .card-2 {
        top: 30%;
        right: 0;
    }
    
    .card-3 {
        bottom: 20%;
        left: 2%;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 300px;
    }
    
    .tech-circle {
        width: 130px;
        height: 130px;
    }
    
    .circle-content {
        width: 110px;
        height: 110px;
        font-size: 2.5rem;
    }
}