/* ===== CSS Variables ===== */
:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --secondary: #f7941d;
    --secondary-dark: #d97b0a;
    --accent-green: #4caf50;
    --accent-teal: #00bcd4;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-400: #ced4da;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00bcd4 100%);
    --gradient-secondary: linear-gradient(135deg, #f7941d 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0d1f3c 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 48px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

.navbar.scrolled .nav-links a {
    color: var(--gray-800);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(247, 148, 29, 0.08) 0%, transparent 40%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(-10px, 10px); }
    66% { transform: scale(0.95) translate(10px, -10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    background: var(--gray-100);
}

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

.about-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(0, 102, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-list li {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ===== Solutions Section ===== */
.solutions {
    background: var(--gray-100);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.solution-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.solution-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.solution-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.solution-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-card h3 i {
    color: var(--primary);
}

.solution-card > p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.solution-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.solution-card ul li i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

/* ===== Industries Section ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.industry-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.industry-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Technologies Section - Graphical ===== */
.technologies {
    background: linear-gradient(180deg, #0a1628 0%, #1a2744 50%, #0f1d35 100%);
    position: relative;
    overflow: hidden;
}

.technologies::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 188, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(156, 39, 176, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 204, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.technologies .section-tag {
    background: rgba(0, 188, 212, 0.15);
    color: #4dd0e1;
}

.technologies .section-title {
    color: #ffffff;
}

.technologies .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.tech-orbit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tech-orbit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tech-orbit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-orbit-card:hover::before {
    opacity: 1;
}

.tech-orbit-card:nth-child(1)::before { background: linear-gradient(90deg, #9c27b0, #ce93d8); }
.tech-orbit-card:nth-child(2)::before { background: linear-gradient(90deg, #0066cc, #42a5f5); }
.tech-orbit-card:nth-child(3)::before { background: linear-gradient(90deg, #00838f, #4dd0e1); }
.tech-orbit-card:nth-child(4)::before { background: linear-gradient(90deg, #e65100, #ffb74d); }
.tech-orbit-card:nth-child(5)::before { background: linear-gradient(90deg, #2e7d32, #81c784); }
.tech-orbit-card:nth-child(6)::before { background: linear-gradient(90deg, #c2185b, #f48fb1); }

.orbit-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.tech-orbit-card:hover .orbit-glow {
    opacity: 1;
}

.ai-glow { background: radial-gradient(circle, rgba(156, 39, 176, 0.08) 0%, transparent 60%); }
.data-glow { background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 60%); }
.cloud-glow { background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, transparent 60%); }
.analytics-glow { background: radial-gradient(circle, rgba(247, 148, 29, 0.08) 0%, transparent 60%); }
.dev-glow { background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 60%); }
.devops-glow { background: radial-gradient(circle, rgba(233, 30, 99, 0.08) 0%, transparent 60%); }

.orbit-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.orbit-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.ai-gradient { background: linear-gradient(135deg, #9c27b0, #ce93d8); }
.data-gradient { background: linear-gradient(135deg, #0066cc, #42a5f5); }
.cloud-gradient { background: linear-gradient(135deg, #00838f, #4dd0e1); }
.analytics-gradient { background: linear-gradient(135deg, #e65100, #ffb74d); }
.dev-gradient { background: linear-gradient(135deg, #2e7d32, #81c784); }
.devops-gradient { background: linear-gradient(135deg, #c2185b, #f48fb1); }

.orbit-header h3 {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
    flex: 1;
}

.orbit-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.orbit-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: var(--transition);
    cursor: default;
}

.tech-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pill-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pill-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.pill-icon i {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.tech-orbit-card:nth-child(1) .tech-pill:hover .pill-icon i { color: #ce93d8; }
.tech-orbit-card:nth-child(2) .tech-pill:hover .pill-icon i { color: #42a5f5; }
.tech-orbit-card:nth-child(3) .tech-pill:hover .pill-icon i { color: #4dd0e1; }
.tech-orbit-card:nth-child(4) .tech-pill:hover .pill-icon i { color: #ffb74d; }
.tech-orbit-card:nth-child(5) .tech-pill:hover .pill-icon i { color: #81c784; }
.tech-orbit-card:nth-child(6) .tech-pill:hover .pill-icon i { color: #f48fb1; }

.tech-pill span {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* Tech Counter Bar */
.tech-counter-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    padding: 32px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 1;
}

.tech-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tech-counter-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4dd0e1, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-counter-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive - Technologies */
@media (max-width: 1024px) {
    .tech-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .tech-counter-bar {
        flex-wrap: wrap;
        gap: 24px;
        padding: 24px;
    }

    .tech-counter-num {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .tech-counter-bar {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}

/* ===== Why Us Section ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.why-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.why-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 102, 204, 0.1);
    margin-bottom: 12px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-hero);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item p {
    font-weight: 600;
    color: var(--gray-900);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

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

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

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 64px 0 32px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-800) !important;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 64px 0;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ===== Technology Flow Diagram ===== */
.tech-flow {
    background: var(--dark);
    color: var(--white);
}

.tech-flow .section-tag {
    background: rgba(0, 188, 212, 0.15);
    color: var(--accent-teal);
}

.tech-flow .section-title {
    color: var(--white);
}

.tech-flow .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.flow-diagram {
    max-width: 1000px;
    margin: 0 auto;
}

.flow-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 8px;
}

.flow-label {
    min-width: 140px;
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
    padding-top: 24px;
}

.flow-nodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    flex: 1;
}

.flow-node {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flow-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.flow-node.source {
    border-color: rgba(0, 188, 212, 0.3);
    background: rgba(0, 188, 212, 0.05);
}

.flow-node.source:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 188, 212, 0.1);
}

.flow-node.engineering {
    border-color: rgba(0, 102, 204, 0.3);
    background: rgba(0, 102, 204, 0.05);
}

.flow-node.engineering:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 204, 0.1);
}

.flow-node.ai {
    border-color: rgba(156, 39, 176, 0.3);
    background: rgba(156, 39, 176, 0.05);
}

.flow-node.ai:hover {
    border-color: #9c27b0;
    background: rgba(156, 39, 176, 0.1);
}

.flow-node.app {
    border-color: rgba(247, 148, 29, 0.3);
    background: rgba(247, 148, 29, 0.05);
}

.flow-node.app:hover {
    border-color: var(--secondary);
    background: rgba(247, 148, 29, 0.1);
}

.flow-node i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.flow-node.source i { color: var(--accent-teal); }
.flow-node.engineering i { color: var(--primary); }
.flow-node.ai i { color: #ce93d8; }
.flow-node.app i { color: var(--secondary); }

.flow-node span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.flow-node small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.flow-connector {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    padding-left: 164px;
}

.flow-arrow {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    position: relative;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.flow-connector-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.flow-infra {
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.infra-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.infra-label i {
    font-size: 1.2rem;
    color: var(--accent-teal);
}

.infra-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.infra-items span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.infra-items span i {
    color: var(--accent-teal);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #f7c948;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-700);
    font-style: italic;
    flex: 1;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.author-company {
    font-weight: 500;
    color: var(--primary) !important;
}

.testimonial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}

.testimonial-tags span {
    padding: 4px 10px;
    background: rgba(0, 102, 204, 0.06);
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Responsive - Flow Diagram ===== */
@media (max-width: 1024px) {
    .flow-nodes {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-label {
        min-width: 100px;
        font-size: 0.7rem;
    }

    .flow-connector {
        padding-left: 124px;
    }
}

@media (max-width: 768px) {
    .flow-row {
        flex-direction: column;
        gap: 12px;
    }

    .flow-label {
        text-align: left;
        padding-top: 0;
    }

    .flow-nodes {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-connector {
        padding-left: 0;
        justify-content: center;
    }

    .flow-arrow {
        max-width: 100px;
    }

    .flow-infra {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .flow-nodes {
        grid-template-columns: 1fr;
    }
}

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

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-80px) translateX(30px);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-160px) translateX(-20px);
        opacity: 0;
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }
