/* ==========================================================================
   Arvexio Corporate Style & Design System
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #070A13;
    --bg-secondary: #0D1326;
    --bg-glass: rgba(13, 19, 38, 0.65);
    --bg-glass-heavy: rgba(7, 10, 19, 0.85);
    
    --accent-cyan: #00D2FF;
    --accent-blue: #0052FF;
    --accent-glow: rgba(0, 210, 255, 0.15);
    
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 210, 255, 0.3);
    
    --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-text: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
    
    --shadow-glow: 0 8px 32px 0 rgba(0, 210, 255, 0.08);
    --shadow-glow-strong: 0 12px 40px 0 rgba(0, 82, 255, 0.25);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --container-max-width: 1280px;
    --header-height: 80px;
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--bg-primary);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

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

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-bounce);
    outline: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #070A13;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Text Gradients */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section-header {
    margin-bottom: 70px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--gradient-accent);
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo svg {
    filter: drop-shadow(0 0 8px rgba(0, 82, 255, 0.4));
}

.glowing-dot {
    animation: dotPulse 2s infinite alternate;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link.active::after, .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Menu Open State */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(20px);
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.open .mobile-nav-menu {
    transform: translateY(0);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-nav-link:hover {
    color: var(--accent-cyan);
}

.mob-cta-btn {
    margin-top: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.glow-orb-1 {
    top: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.glow-orb-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-container {
    margin-bottom: 24px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 540px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
}

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

/* Hero Visual & Graphics */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
}

.image-border-glow {
    position: absolute;
    inset: -10px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.3) 0%, rgba(0, 82, 255, 0) 60%);
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.2));
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: var(--bg-secondary);
}

/* Floating Glass Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-bounce);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.card-top {
    top: 15%;
    left: -15%;
    animation: float 4s ease-in-out infinite alternate;
}

.card-bottom {
    bottom: 15%;
    right: -10%;
    animation: float 4s ease-in-out infinite alternate-reverse;
}

.pulse-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #00E676;
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00E676;
    border-radius: 50%;
    animation: dotPulse 1.5s infinite;
}

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

.card-title {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mouse Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    display: block;
    width: 24px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid var(--text-muted);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-mouse:hover {
    border-color: var(--accent-cyan);
}

.scroll-wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.6s infinite;
}

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

.service-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: rgba(0, 210, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.service-card-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.service-features-list li {
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

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

.service-card:hover .service-features-list li::before {
    background-color: var(--accent-blue);
}

/* ==========================================================================
   Methodology Section
   ========================================================================== */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--gradient-accent);
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: height 0.1s linear;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.timeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    width: 100%;
}

.timeline-step:nth-child(even) .step-content {
    grid-column: 2;
    padding-left: 50px;
    text-align: left;
}

.timeline-step:nth-child(even) {
    direction: ltr;
}

.timeline-step:nth-child(odd) .step-content {
    grid-column: 1;
    padding-right: 50px;
    text-align: right;
}

.step-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-bounce);
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.2);
}

.timeline-step.passed .step-marker {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.step-content {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.timeline-step.passed .step-content {
    border-color: rgba(0, 210, 255, 0.15);
    background: rgba(13, 19, 38, 0.8);
}

.timeline-step:hover .step-content {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.step-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Case Studies / Projects Section
   ========================================================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--bg-glass);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: #070A13;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

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

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.project-image-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #0B0F19;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 19, 0) 40%, rgba(7, 10, 19, 0.95) 100%);
    z-index: 2;
}

/* Abstract Patterns for Projects */
.project-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    transition: var(--transition-smooth);
    background-size: 20px 20px;
}

.project-card:hover .project-bg-pattern {
    opacity: 0.45;
    transform: scale(1.08);
}

.tech-grid-pattern {
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.15) 1px, transparent 1px);
}

.data-dots-pattern {
    background-image: radial-gradient(rgba(0, 82, 255, 0.3) 2px, transparent 0);
    background-size: 15px 15px;
}

.secure-waves-pattern {
    background: repeating-linear-gradient(45deg, rgba(0, 210, 255, 0.05), rgba(0, 210, 255, 0.05) 10px, rgba(0, 82, 255, 0.05) 10px, rgba(0, 82, 255, 0.05) 20px);
}

.project-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.project-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--bg-glass-heavy);
    color: var(--accent-cyan);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.25);
    backdrop-filter: blur(8px);
}

.project-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.project-stats-summary {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

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

.p-stat-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.p-stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

/* Filter animations */
.project-card.filtered-out {
    display: none;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.carousel-outer {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 96px;
    line-height: 1;
    color: var(--accent-cyan);
    opacity: 0.15;
    height: 40px;
    margin-bottom: -10px;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #070A13;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.2);
}

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

.client-name {
    font-size: 16px;
    margin-bottom: 2px;
}

.client-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* Carousel UI Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.carousel-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.carousel-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background: var(--accent-cyan);
    width: 20px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

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

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

.contact-desc {
    font-size: 16px;
    margin-bottom: 40px;
}

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

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

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.info-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 2px;
}

/* Form Styles */
.contact-form-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.3s ease;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.1);
}

/* Custom Select Dropdown Styling */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-secondary);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Error States */
.form-group.error input, 
.form-group.error textarea, 
.form-group.error select {
    border-color: #FF5252;
    background: rgba(255, 82, 82, 0.03);
}

.error-msg {
    color: #FF5252;
    font-size: 11px;
    margin-top: 6px;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

/* Form Submit Loading Spinner */
.btn-submit {
    border: none;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    position: relative;
}

.btn-submit span {
    transition: opacity 0.2s ease;
}

.spinner {
    position: absolute;
    width: 24px;
    height: 24px;
    display: none;
    animation: rotate 1.4s linear infinite;
}

.spinner .path {
    stroke: #070A13;
    stroke-linecap: round;
    animation: dash 1.4s ease-in-out infinite;
}

.btn-submit.loading span {
    opacity: 0;
}

.btn-submit.loading .spinner {
    display: block;
}

/* Form Success State Layer */
.form-success-state {
    position: absolute;
    inset: 0;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 5;
}

.form-success-state.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: dotPulse 2s infinite alternate;
}

.success-title {
    font-size: 26px;
    margin-bottom: 12px;
}

.success-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 320px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-success-close {
    padding: 10px 24px;
    font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #04060C;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
}

.footer-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.social-icon-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-newsletter-col {
    display: flex;
    flex-direction: column;
}

.newsletter-text {
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    position: relative;
}

.newsletter-input-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.newsletter-input-group:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    flex-grow: 1;
}

.btn-newsletter-submit {
    border: none;
    border-radius: 0;
    padding: 12px 18px;
    background: var(--gradient-accent);
    color: #070A13;
    cursor: pointer;
}

.newsletter-form .error-msg, 
.newsletter-form .success-msg {
    font-size: 11px;
    margin-top: 6px;
    display: none;
}

.newsletter-form .error-msg {
    color: #FF5252;
}

.newsletter-form .success-msg {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-sublink {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-sublink:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Scroll Reveal System (Intersection Observer)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

/* Stagger delay classes (automatically injected or manual) */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }

/* ==========================================================================
   Animations Keyframes
   ========================================================================== */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-12px);
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
    }
}

@keyframes mouseScroll {
    0% {
        opacity: 0;
        top: 6px;
    }
    30% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        top: 24px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .section-padding {
        padding: 90px 0;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }
    
    .card-top {
        left: -10%;
    }
    
    .card-bottom {
        right: -5%;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-step {
        grid-template-columns: 1fr;
        padding-left: 50px;
    }
    
    .timeline-step:nth-child(even) .step-content,
    .timeline-step:nth-child(odd) .step-content {
        grid-column: 1;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }
    
    .step-marker {
        left: 20px;
        transform: translate(-50%, -50%);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu, .btn-header {
        display: none;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-num {
        font-size: 26px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .card-top {
        left: 0;
        top: -10px;
    }
    
    .card-bottom {
        right: 0;
        bottom: -10px;
    }
    
    .contact-form-card {
        padding: 24px;
    }
}
