/* ========================================
   qEnsure - Software Quality Assurance
   Styles matching Vestox design system
   ======================================== */

/* CSS Variables - Color Palette from Vestox */
:root {
    /* Primary Colors */
    --color-primary: #F75708;
    --color-primary-dark: #d94a07;
    --color-primary-light: #ff8c42;

    /* Dark Colors */
    --color-dark: #191919;
    --color-dark-secondary: #0a0909;
    --color-dark-overlay: rgba(10, 9, 9, 0.91);

    /* Light Colors */
    --color-light: #f6f6f6;
    --color-white: #ffffff;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-border: #e5e5e5;

    /* Typography - Varela Round for headings, Poppins for body */
    --font-primary: 'Varela Round', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;
}

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

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

@media (max-width: 1440px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
    
}





/* Show default cursor on mobile */
@media (max-width: 768px) {
    body,
    a, button, input, select, textarea, .service-card, .stat-card, .visual-card {
        cursor: auto;
    }

    .bug-cursor {
        display: none;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--color-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    color: var(--color-gray);
}

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

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: var(--transition-normal);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
}

.navbar:not(.scrolled) .logo {
    color: var(--color-white);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    padding: var(--spacing-xs) 0;
    overflow: hidden;
}

.navbar:not(.scrolled) .nav-link {
    color: var(--color-white);
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

/* underline base */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--color-primary);
    transition: width 0.3s ease;
}

/* show on hover */
.nav-link:hover::after {
    width: 100%;
}

/* show for active page */
.nav-link.active::after {
    width: 100%;
}



.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 87, 8, 0.3);
}

.nav-cta svg {
    transition: var(--transition-normal);
}

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

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

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

.navbar:not(.scrolled) .mobile-menu-btn span {
    background: var(--color-white);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 87, 8, 0.3);
}

.btn-secondary {
    background: var(--color-dark);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-dark-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
}

.btn svg {
    transition: var(--transition-normal);
}

.btn:hover svg {
    transform: translateX(4px);
}

.full-width {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    z-index: -2;
}

/* Spiderweb Canvas */
#spiderweb-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(247, 87, 8, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(247, 87, 8, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-overlay);
    z-index: -1;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(247, 87, 8, 0.15);
    border: 1px solid rgba(247, 87, 8, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.1s;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(247, 87, 8, 0.3);
    z-index: -1;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.stat-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-white);
    border: 2px solid var(--color-dark);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.stat-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0;
    animation: scrollIndicatorFadeIn 1s ease 1s forwards;
}

.scroll-indicator.visible {
    animation: scrollIndicatorFadeIn 1s ease forwards, scrollIndicatorBounce 2s ease-in-out infinite 1s;
}

@keyframes scrollIndicatorFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

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

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

/* ========================================
   Section Styles
   ======================================== */
.parallax-section {
    position: relative;
    will-change: transform;
}

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

.section-header.centered {
    text-align: center;
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(247, 87, 8, 0.1);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.title-highlight {
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 600px;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* ========================================
   MacBook Dashboard Showcase
   ======================================== */
.dashboard-showcase {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
    overflow: hidden;
}

.macbook-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--spacing-2xl);
    perspective: 1000px;
}

.macbook {
    position: relative;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.macbook:hover {
    transform: rotateX(0deg);
}

.macbook-screen {
    background: #1a1a1a;
    border-radius: 16px 16px 0 0;
    padding: 12px 12px 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.screen-content {
    background: #0d0d0d;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.macbook-bottom {
    background: linear-gradient(180deg, #c4c4c4 0%, #a8a8a8 100%);
    height: 14px;
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.macbook-notch {
    width: 120px;
    height: 6px;
    background: linear-gradient(180deg, #888 0%, #666 100%);
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
}

.macbook-shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    filter: blur(10px);
}

/* Dashboard UI inside MacBook */
.dashboard {
    display: flex;
    height: 100%;
    font-size: 10px;
}

.dashboard-sidebar {
    width: 140px;
    background: #111;
    padding: 12px;
    border-right: 1px solid #222;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.logo-icon-small {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: #888;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.menu-item.active {
    background: rgba(247, 87, 8, 0.15);
    color: var(--color-primary);
}

.menu-item svg {
    width: 14px;
    height: 14px;
}

.menu-item span {
    font-size: 11px;
}

.dashboard-main {
    flex: 1;
    padding: 16px;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dashboard-header h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 500;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.stat-box {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    position: relative;
}

.stat-box-value {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-box-label {
    color: #666;
    font-size: 9px;
}

.stat-box-trend {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 9px;
    font-weight: 600;
}

.stat-box-trend.up {
    color: #10b981;
}

.stat-box-trend.down {
    color: #ef4444;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.chart-card {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
}

.chart-title {
    color: #888;
    font-size: 10px;
    margin-bottom: 10px;
}

.chart-area {
    height: 80px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
}

.chart-bar-item {
    flex: 1;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(247, 87, 8, 0.3) 100%);
    height: var(--height);
    border-radius: 4px 4px 0 0;
    position: relative;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.chart-bar-item:hover,
.chart-bar-item.active {
    opacity: 1;
}

.chart-bar-item span {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 8px;
}

.coverage-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.coverage-ring svg {
    width: 100%;
    height: 100%;
}

.coverage-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.recent-tests {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 12px;
}

.recent-title {
    color: #888;
    font-size: 10px;
    margin-bottom: 10px;
}

.test-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #222;
}

.test-item:last-child {
    border-bottom: none;
}

.test-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.test-status.success {
    background: #10b981;
}

.test-status.failed {
    background: #ef4444;
}

.test-name {
    flex: 1;
    color: #fff;
    font-size: 10px;
}

.test-time {
    color: #666;
    font-size: 9px;
}

/* Dashboard Features */
.dashboard-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.dashboard-feature {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.dashboard-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 87, 8, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin: 0 auto var(--spacing-md);
}

.dashboard-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.dashboard-feature p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

@media (max-width: 992px) {
    .dashboard-features {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .dashboard-charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .macbook {
        transform: none;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-features {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .macbook-screen {
        padding: 8px 8px 0;
        border-radius: 12px 12px 0 0;
    }

    .dashboard-main {
        padding: 10px;
    }

    .stat-box-value {
        font-size: 14px;
    }
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-lead {
    font-size: 1.375rem;
    color: var(--color-dark);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.about-text {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-light);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

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

.visual-card {
    position: absolute;
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

.visual-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.visual-card.card-1 {
    top: 0;
    left: 0;
    z-index: 1;
}

.visual-card.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    border: 2px solid var(--color-primary);
}

.visual-card.card-2:hover {
    transform: translateY(calc(-50% - 10px));
}

.visual-card.card-3 {
    bottom: 0;
    left: 20%;
    z-index: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    color: var(--color-dark);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.card-icon.accent {
    background: var(--color-primary);
    color: var(--color-white);
}

.visual-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.visual-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    position: relative;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

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

.service-card.featured {
    background: var(--color-dark);
    color: var(--color-white);
}

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

.service-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-light);
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    line-height: 1;
}

.service-card.featured .service-number {
    color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    color: var(--color-dark);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.service-card.featured .service-icon {
    background: rgba(247, 87, 8, 0.2);
    color: var(--color-primary);
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.service-card.featured .service-title {
    color: var(--color-white);
}

.service-description {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.7);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--color-gray);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.7);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    gap: var(--spacing-sm);
}

.service-card.featured .service-link {
    color: var(--color-primary-light);
}

/* ========================================
   Process Section
   ======================================== */
.process-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-light));
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: var(--spacing-lg);
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    font-size: 1rem;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: var(--color-dark);
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(247, 87, 8, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(247, 87, 8, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 87, 8, 0.2);
    color: var(--color-primary);
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
}

.stat-card .stat-value {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    display: inline;
}

.stat-card .stat-suffix {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
}

.stats-chart {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.chart-container {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.bar-fill {
    width: 60px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.bar-fill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-bar.animated[data-percentage="45"] .bar-fill::after {
    height: 45%;
}

.chart-bar.animated[data-percentage="30"] .bar-fill::after {
    height: 30%;
}

.chart-bar.animated[data-percentage="25"] .bar-fill::after {
    height: 25%;
}

.bar-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.bar-value {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.chart-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   Testimonials Section
   ======================================== */
/* .testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.testimonial-card.featured {
    background: var(--color-dark);
    color: var(--color-white);
}

.testimonial-quote {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    color: var(--color-dark);
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-weight: 600;
    border-radius: 50%;
}

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

.author-name {
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-card.featured .author-name {
    color: var(--color-white);
}

.author-role {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.testimonial-card.featured .author-role {
    color: rgba(255, 255, 255, 0.6);
}
 */
/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: var(--color-primary);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.cta-section .btn-primary {
    background: var(--color-dark);
}

.cta-section .btn-primary:hover {
    background: var(--color-dark-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr; /* info smaller, form bigger */
    gap: 80px;
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    color: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text .label {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.contact-text a,
.contact-text span {
    font-weight: 500;
    color: var(--color-dark);
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    color: var(--color-dark);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}


.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

.contact-form .btn {
    grid-column: span 2;
    margin-top: var(--spacing-sm);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
}

.footer-marquee {
    padding: var(--spacing-md) 0;
    background: var(--color-dark-secondary);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: var(--spacing-xl);
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

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

.marquee-content span {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-dot {
    color: var(--color-primary) !important;
}

.footer .container {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 3 columns only */
    gap: 80px;
    align-items: start;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 300px;
}

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

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-normal);
}

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

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-visual {
        height: 400px;
        order: -1;
    }
	

   .contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr; /* left info | right form */
    gap: 80px;
    align-items: start;
}

/* left side (Have a project in mind + email/phone/location) */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* right side form card */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

/* form internal 2-column layout */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* textarea + button full width */
.form-group.full-width {
    grid-column: span 2;
}

/* mobile */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-divider {
        display: none;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-form .btn {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .process-line {
        left: 30px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .chart-container {
        gap: var(--spacing-md);
    }

    .bar-fill {
        width: 40px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .about-visual {
        height: 350px;
    }

    .visual-card {
        padding: var(--spacing-md);
    }

    .visual-card.card-1 {
        left: 0;
        width: 60%;
    }

    .visual-card.card-2 {
        right: 0;
        width: 60%;
    }

    .visual-card.card-3 {
        left: 10%;
        width: 70%;
    }
}

/* ========================================
   Animation Classes
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Rotate In Animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Slide Up Animation */
.slide-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Zoom In Animation */
.zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Flip In Animation */
.flip-in {
    opacity: 0;
    transform: perspective(600px) rotateX(-60deg);
    transform-origin: top center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.flip-in.visible {
    opacity: 1;
    transform: perspective(600px) rotateX(0);
}

/* Blur In Animation */
.blur-in {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(20px);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Bounce In Animation */
.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animations for lists */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-item:nth-child(2) { transition-delay: 0.1s; }
.stagger-item:nth-child(3) { transition-delay: 0.15s; }
.stagger-item:nth-child(4) { transition-delay: 0.2s; }
.stagger-item:nth-child(5) { transition-delay: 0.25s; }
.stagger-item:nth-child(6) { transition-delay: 0.3s; }

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.text-reveal.visible span {
    opacity: 1;
    transform: translateY(0);
}

/* Line reveal animation */
.line-reveal {
    position: relative;
    overflow: hidden;
}

.line-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: translateX(-101%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-reveal.visible::after {
    transform: translateX(101%);
}

/* Counter animation */
.counter-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.counter-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover lift effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Parallax scroll element */
.parallax-element {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Section tag animation */
.section-tag {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.section-header.visible .section-tag {
    opacity: 1;
    transform: translateY(0);
}

/* Section title animation */
.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.section-header.visible .section-title {
    opacity: 1;
    transform: translateY(0);
}

/* Section subtitle animation */
.section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.section-header.visible .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* MacBook animation */
.macbook-wrapper {
    opacity: 0;
    transform: translateY(60px) rotateX(10deg);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.macbook-wrapper.visible {
    opacity: 1;
    transform: translateY(0) rotateX(5deg);
}

/* Dashboard feature cards */
.dashboard-feature {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.dashboard-feature:nth-child(1) { transition-delay: 0.1s; }
.dashboard-feature:nth-child(2) { transition-delay: 0.2s; }
.dashboard-feature:nth-child(3) { transition-delay: 0.3s; }
.dashboard-feature:nth-child(4) { transition-delay: 0.4s; }

/* CTA section animation */
.cta-content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer animation */
.footer-grid > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-grid.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.footer-grid.visible > *:nth-child(1) { transition-delay: 0.1s; }
.footer-grid.visible > *:nth-child(2) { transition-delay: 0.15s; }
.footer-grid.visible > *:nth-child(3) { transition-delay: 0.2s; }
.footer-grid.visible > *:nth-child(4) { transition-delay: 0.25s; }

/* Smooth scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .scale-in,
    .rotate-in,
    .slide-up,
    .zoom-in,
    .flip-in,
    .blur-in,
    .bounce-in,
    .stagger-item,
    .text-reveal span,
    .macbook-wrapper,
    .dashboard-feature,
    .cta-content,
    .footer-grid > *,
    .section-tag,
    .section-title,
    .section-subtitle {
        transition: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
    

}
/* =====================================================
   FINAL 4x3 GRIDS (GLOBAL – OUTSIDE ANY MEDIA QUERY)
===================================================== */

.tech-grid,
.testing-grid,
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.tech-card,
.testing-card,
.industries-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-align: center;

    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 992px) {
  .tech-grid,
  .testing-grid,
  .industries-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .tech-grid,
  .testing-grid,
  .industries-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}
.testing-types-section {
    margin-top: 60px;
}

.industries-section {
    margin-top: 60px;
}
/* Kill custom bug cursor completely */
.bug-cursor {
    display: none !important;
}
.container-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
	margin-left: 20px;
	margin-right: 20px;
    
}

.form-group textarea {
    resize: vertical;
}