/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-700: #2A3B4C;
    /* WCAG AAA Enhanced from #374151 */
    --gray-800: #182230;
    /* WCAG AAA Enhanced from #1F2937 */
    --gray-900: #0B111A;
    /* WCAG AAA Enhanced from #111827 */

    /* Vibrant Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #D946EF 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);

    /* Colors */
    --blue-electric: #2563EB;
    --magenta: #D946EF;
    --cyan: #06B6D4;
    --purple: #8B5CF6;
    --pink: #EC4899;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.3);
    --shadow-glow-pink: 0 0 30px rgba(217, 70, 239, 0.3);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 140px;
    --section-padding-mobile: 80px;
    --container-max-width: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   DARK MODE VARIABLES
   =================================== */
body.dark-mode {
    --white: #0A0A0A;
    --black: #FFFFFF;
    --gray-50: #0B111A;
    --gray-100: #182230;
    --gray-200: #2A3B4C;
    --gray-300: #4B5563;
    --gray-700: #D1D5DB;
    --gray-800: #E2E8F0;
    /* Brighter for Dark mode */
    --gray-900: #F8FAFC;
    /* Brighter for Dark mode */

    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.preloader-active {
    overflow: hidden;
}

/* ===================================
   CUSTOM CURSOR
   =================================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--blue-electric);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(37, 99, 235, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Interactions cursors */
.cursor-outline.hover-scale {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-color: var(--magenta);
}

/* Hide on non-pointer devices (mobiles) */
@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

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

section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

body.dark-mode .navbar {
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .mobile-menu-toggle span {
    background: #FFFFFF;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

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

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

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--blue-electric);
}

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

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-base);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.5);
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 4px;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-200);
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lang-btn:hover {
    background: var(--white);
    transform: scale(1.05);
}

.lang-btn.active {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.lang-btn.active .flag-icon {
    filter: brightness(1.2);
}

.flag-icon {
    width: 24px;
    height: 18px;
    display: block;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--gray-100);
    color: var(--blue-electric);
}

.theme-toggle .moon-icon {
    display: none;
}

.theme-toggle .sun-icon {
    display: block;
}

body.dark-mode .theme-toggle .moon-icon {
    display: block;
}

body.dark-mode .theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle:hover {
    background: var(--gray-800);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

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

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blue-electric) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Typing Animation */
.typing-prefix {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    min-width: 20px;
}

.typing-cursor {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blink 1s infinite;
    font-weight: 300;
    display: inline-block;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--gray-700);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--blue-electric);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

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

/* ===================================
   HERO STATS
   =================================== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
    animation: scroll 2s ease-in-out infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes float-3d {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-6px) rotateX(2deg) rotateY(2deg);
    }
}

/* ===================================
   INFINITE TECH MARQUEE
   =================================== */
.tech-marquee-section {
    padding: 60px 0;
    background: #111827;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fade Edges for Marquee */
.tech-marquee-section::before,
.tech-marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-section::before {
    left: 0;
    background: linear-gradient(to right, #111827 0%, transparent 100%);
}

.tech-marquee-section::after {
    right: 0;
    background: linear-gradient(to left, #111827 0%, transparent 100%);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.tech-item:hover {
    color: var(--white);
    transform: scale(1.05);
}

.tech-icon {
    width: 32px;
    height: 32px;
    color: var(--cyan);
}

.tech-item:nth-child(even):hover .tech-icon {
    color: var(--magenta);
}

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

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly half the content width because it is duplicated */
}

/* Responsive adjustment for marquee */
@media (max-width: 768px) {
    .tech-item {
        font-size: 18px;
        padding: 0 20px;
    }

    .tech-icon {
        width: 24px;
        height: 24px;
    }

    .tech-marquee-section::before,
    .tech-marquee-section::after {
        width: 60px;
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===================================
   EXPERTISES SECTION
   =================================== */
.expertises {
    background: var(--gray-50);
}

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

.expertise-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.expertise-card:hover::before {
    opacity: 0.03;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.expertise-card:hover .card-glow {
    opacity: 1;
}

/* Removing standard float CSS as we will use JS Tilt */
.expertise-card.js-tilt {
    transform-style: preserve-3d;
}

.expertise-card.js-tilt .card-icon,
.expertise-card.js-tilt .card-title,
.expertise-card.js-tilt .card-description,
.expertise-card.js-tilt .card-features {
    transform: translateY(20px);
}

body.dark-mode .expertise-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.expertise-card.js-tilt .card-icon {
    animation: none;
    /* Disable default CSS float on tilt elements */
    box-shadow: none;
}

.expertise-card.js-tilt:hover .card-icon {
    transform: translateZ(50px) scale(1.05);
    /* Slight pop on hover while tilting */
}

.card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    /* 3D Effects */
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: float-3d 4s ease-in-out infinite;
    /* Multiple shadows for depth */
    box-shadow:
        0 2px 4px rgba(37, 99, 235, 0.1),
        0 4px 8px rgba(37, 99, 235, 0.1),
        0 8px 16px rgba(37, 99, 235, 0.1),
        0 16px 32px rgba(37, 99, 235, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Delay animation for each card */
.expertise-card:nth-child(1) .card-icon {
    animation-delay: 0s;
}

.expertise-card:nth-child(2) .card-icon {
    animation-delay: 0.2s;
}

.expertise-card:nth-child(3) .card-icon {
    animation-delay: 0.4s;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
    filter: blur(12px);
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.3) 100%);
    border-radius: 16px;
    opacity: 0.8;
    pointer-events: none;
}

.expertise-card:hover .card-icon {
    transform: translateY(-8px) rotateX(10deg) rotateY(-10deg) scale(1.1);
    box-shadow:
        0 4px 8px rgba(37, 99, 235, 0.15),
        0 8px 16px rgba(37, 99, 235, 0.15),
        0 16px 32px rgba(37, 99, 235, 0.2),
        0 24px 48px rgba(37, 99, 235, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.expertise-card:hover .card-icon::before {
    opacity: 0.6;
}

.card-icon svg {
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.expertise-card:hover .card-icon svg {
    transform: translateZ(20px) scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
    position: relative;
    z-index: 1;
}

.card-description {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.card-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.card-features li {
    padding: 8px 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.card-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===================================
   WHY US SECTION
   =================================== */
.why-us {
    background: var(--white);
}

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

.why-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: 24px;
    background: var(--white);
    border: 2px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.why-card:hover::before {
    opacity: 0.05;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
    position: relative;
    z-index: 1;
}

.why-description {
    color: var(--gray-700);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    background: var(--gray-50);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.95);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(217, 70, 239, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition-base);
    padding: 24px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    font-size: 15px;
    opacity: 0.9;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.portfolio-category {
    color: var(--gray-700);
    font-size: 14px;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process {
    background: var(--white);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 80px;
    bottom: -80px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue-electric) 0%, var(--magenta) 100%);
    opacity: 0.2;
}

.timeline-item:last-child::before {
    display: none;
}

/* Line after last item to "contain" the content */
.timeline-item:last-child::after {
    content: '';
    position: absolute;
    left: 39px;
    top: 80px;
    height: calc(100% - 80px + 20px);
    width: 2px;
    background: linear-gradient(180deg, var(--blue-electric) 0%, var(--magenta) 100%);
    opacity: 0.2;
}

.timeline-number {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.timeline-description {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.timeline-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.timeline-list li {
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: 10px;
    color: var(--gray-700);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-list li::before {
    content: '→';
    color: var(--blue-electric);
    font-weight: 700;
    font-size: 18px;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    color: var(--gray-900);
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--blue-electric);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition-base);
    color: var(--gray-700);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--blue-electric);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb-4 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blue-electric) 0%, transparent 70%);
    top: -300px;
    left: -200px;
    animation-delay: 0s;
}

.orb-5 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
    bottom: -250px;
    right: -150px;
    animation-delay: -10s;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-description {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

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

.detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.detail-label {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 4px;
    font-weight: 500;
}

.detail-value {
    font-size: 16px;
    color: var(--gray-900);
    font-weight: 600;
    text-decoration: none;
}

.detail-value:hover {
    color: var(--blue-electric);
}

.whatsapp-cta {
    margin-top: 16px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #25D366;
    color: var(--white);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-electric);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

body.dark-mode .contact-form-wrapper {
    background: rgba(10, 10, 10, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

body.dark-mode .form-group label {
    color: var(--gray-700);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

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

.footer-links {
    display: contents;
}

.footer-brand {
    max-width: 300px;
}

.footer .logo-text {
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    color: var(--gray-300);
    line-height: 1.6;
    font-size: 15px;
}

.footer-column h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--gray-300);
    font-size: 14px;
}

/* ===================================
   ANIMATIONS
   =================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===================================
   TRUST SIGNALS: PARTNERS AND TESTIMONIALS
   =================================== */

/* Partners Marquee */
.partners {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    overflow: hidden;
}

.partners-subtitle {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll-partners 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 0.5;
    transition: var(--transition-base);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-logo span {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonials */
.testimonials {
    background: var(--gray-50);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 30px;
    margin-top: 40px;
}

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

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

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: serif;
    font-size: 80px;
    color: rgba(37, 99, 235, 0.1);
    line-height: 1;
    z-index: -1;
}

.testimonial-text {
    font-size: 16px;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--gray-700);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-base);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #1EBE5D;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        border-radius: 24px 0 0 24px;
        transition: var(--transition-base);
        width: 280px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    body.dark-mode .nav-links {
        background: rgba(10, 10, 10, 0.98);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    /* Language Switcher on Mobile */
    .language-switcher {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
        padding: 8px;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

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

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(32px, 7vw, 48px);
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Expertise Cards */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expertise-card {
        padding: 32px 24px;
    }

    .card-icon {
        width: 64px;
        height: 64px;
        /* Reduce 3D effects on mobile for performance */
        animation: float-3d 6s ease-in-out infinite;
    }

    .expertise-card:hover .card-icon {
        transform: translateY(-6px) rotateX(5deg) rotateY(-5deg) scale(1.05);
    }

    .card-icon svg {
        width: 40px;
        height: 40px;
    }

    .card-title {
        font-size: 22px;
    }

    /* Why Us */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-card {
        padding: 40px 24px;
    }

    .why-number {
        font-size: 56px;
    }

    .why-title {
        font-size: 20px;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-item {
        max-width: 100%;
    }

    /* Timeline */
    .timeline {
        padding: 0;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 48px;
        padding-left: 0;
    }

    .timeline-item::before {
        left: 39px;
        top: 100px;
        bottom: -48px;
    }

    .timeline-item:last-child::after {
        left: 39px;
        top: 100px;
        height: calc(100% - 100px + 20px);
    }

    .timeline-number {
        width: 80px;
        height: 80px;
        font-size: 32px;
        align-self: flex-start;
        margin-left: 0;
    }

    .timeline-content {
        padding-left: 100px;
        padding-top: 0;
    }

    .timeline-title {
        font-size: 24px;
    }

    .timeline-description {
        font-size: 15px;
    }

    .timeline-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* FAQ */
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    /* Contact */
    .contact-content {
        gap: 48px;
    }

    .contact-title {
        font-size: clamp(32px, 7vw, 48px);
    }

    .contact-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .contact-details {
        gap: 20px;
        margin-bottom: 32px;
    }

    .detail-icon {
        width: 44px;
        height: 44px;
    }

    .contact-form-wrapper {
        padding: 32px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    /* Footer */
    .footer {
        padding: 48px 0 24px;
    }

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

    .footer-brand {
        max-width: 100%;
    }

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

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }

    /* Gradient Orbs - Reduce size on mobile */
    .orb-1 {
        width: 300px;
        height: 300px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
    }

    .orb-4 {
        width: 350px;
        height: 350px;
    }

    .orb-5 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .logo-text {
        font-size: 24px;
    }

    .nav-links {
        width: 260px;
        padding: 32px 24px;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-cta {
        margin-bottom: 48px;
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Sections */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Expertise Cards */
    .expertise-card {
        padding: 28px 20px;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        /* Simpler animation on small screens */
        animation: float-3d 8s ease-in-out infinite;
    }

    .expertise-card:hover .card-icon {
        transform: translateY(-4px) scale(1.05);
    }

    .card-icon svg {
        width: 36px;
        height: 36px;
    }

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

    .card-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .card-features li {
        font-size: 14px;
        padding: 6px 0;
    }

    /* Why Us */
    .why-card {
        padding: 32px 20px;
    }

    .why-number {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .why-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .why-description {
        font-size: 14px;
    }

    /* Portfolio */
    .portfolio-info {
        padding: 20px;
    }

    .portfolio-title {
        font-size: 18px;
    }

    .portfolio-category {
        font-size: 13px;
    }

    .portfolio-overlay h3 {
        font-size: 20px;
    }

    .portfolio-overlay p {
        font-size: 14px;
    }

    /* Timeline */
    .timeline-item {
        margin-bottom: 40px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .timeline-item::before {
        left: 29px;
        top: 80px;
        bottom: -40px;
    }

    .timeline-item:last-child::after {
        left: 29px;
        top: 80px;
        height: calc(100% - 80px + 20px);
    }

    .timeline-content {
        padding-left: 80px;
    }

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

    .timeline-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .timeline-list li {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* FAQ */
    .faq-item {
        margin-bottom: 12px;
    }

    .faq-question {
        padding: 16px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 14px;
    }

    /* Contact */
    .contact-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .contact-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .contact-details {
        gap: 16px;
        margin-bottom: 24px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
    }

    .detail-icon svg {
        width: 20px;
        height: 20px;
    }

    .detail-label {
        font-size: 12px;
    }

    .detail-value {
        font-size: 14px;
    }

    .btn-whatsapp {
        padding: 14px 24px;
        font-size: 15px;
        gap: 10px;
    }

    .btn-whatsapp svg {
        width: 20px;
        height: 20px;
    }

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

    .form-group {
        gap: 6px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 16px;
    }

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

    /* ===================================
   TRUST SIGNALS: PARTNERS AND TESTIMONIALS
   =================================== */

    /* Partners Marquee */
    .partners {
        padding: 40px 0;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        overflow: hidden;
    }

    .partners-subtitle {
        text-align: center;
        font-family: var(--font-heading);
        font-weight: 600;
        color: var(--gray-700);
        margin-bottom: 30px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 14px;
    }

    .partners-slider {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .partners-slider::before,
    .partners-slider::after {
        content: '';
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .partners-slider::before {
        left: 0;
        background: linear-gradient(to right, var(--white) 0%, transparent 100%);
    }

    .partners-slider::after {
        right: 0;
        background: linear-gradient(to left, var(--white) 0%, transparent 100%);
    }

    .partners-track {
        display: flex;
        align-items: center;
        gap: 60px;
        width: max-content;
        animation: scroll-partners 30s linear infinite;
    }

    .partners-track:hover {
        animation-play-state: paused;
    }

    .partner-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        opacity: 0.5;
        transition: var(--transition-base);
        filter: grayscale(100%);
    }

    .partner-logo:hover {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1.05);
    }

    .partner-logo span {
        font-family: var(--font-heading);
        font-size: 24px;
        font-weight: 700;
        color: var(--gray-800);
    }

    @keyframes scroll-partners {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* Testimonials */
    .testimonials {
        background: var(--gray-50);
        position: relative;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* Force 3 columns */
        gap: 30px;
        margin-top: 40px;
    }

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

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

    .testimonial-card {
        background: var(--white);
        padding: 40px;
        border-radius: 20px;
        box-shadow: var(--shadow-md);
        position: relative;
        transition: var(--transition-base);
        border: 1px solid var(--gray-200);
        z-index: 1;
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(37, 99, 235, 0.3);
    }

    .quote-icon {
        position: absolute;
        top: 20px;
        right: 30px;
        font-family: serif;
        font-size: 80px;
        color: rgba(37, 99, 235, 0.1);
        line-height: 1;
        z-index: -1;
    }

    .testimonial-text {
        font-size: 16px;
        color: var(--gray-700);
        font-style: italic;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 15px;
    }

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

    .author-info h4 {
        font-family: var(--font-heading);
        font-size: 16px;
        color: var(--gray-900);
        margin-bottom: 2px;
    }

    .author-info span {
        font-size: 13px;
        color: var(--gray-700);
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 28px;
        margin-bottom: 24px;
    }

    .footer .logo-text {
        font-size: 24px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Gradient Orbs - Further reduce on small mobile */
    .orb-1 {
        width: 250px;
        height: 250px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3 {
        width: 150px;
        height: 150px;
    }

    .orb-4 {
        width: 300px;
        height: 300px;
    }

    .orb-5 {
        width: 250px;
        height: 250px;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }
}

/* ===================================
   PRELOADER ANIMATION
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a0a2e 50%, #0A0A0A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.preloader.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Animated Logo */
.preloader-logo {
    margin-bottom: 40px;
    animation: logoFloat 3s ease-in-out infinite;
}

.preloader-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    text-shadow:
        0 0 10px rgba(37, 99, 235, 0.8),
        0 0 20px rgba(37, 99, 235, 0.6),
        0 0 30px rgba(37, 99, 235, 0.4),
        0 0 40px rgba(217, 70, 239, 0.3);
    animation: glowPulse 2s ease-in-out infinite;
}

.preloader-logo .logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorShift 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(37, 99, 235, 0.8),
            0 0 20px rgba(37, 99, 235, 0.6),
            0 0 30px rgba(37, 99, 235, 0.4),
            0 0 40px rgba(217, 70, 239, 0.3);
    }

    50% {
        text-shadow:
            0 0 20px rgba(37, 99, 235, 1),
            0 0 30px rgba(37, 99, 235, 0.8),
            0 0 40px rgba(37, 99, 235, 0.6),
            0 0 50px rgba(217, 70, 239, 0.5);
    }
}

@keyframes colorShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

/* Animated Particles */
.preloader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--blue-electric);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 0.5s;
    animation-duration: 3.5s;
    background: var(--magenta);
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.8);
}

.particle:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 4s;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 3.2s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 2s;
    animation-duration: 3.8s;
    background: var(--purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
}

.particle:nth-child(6) {
    top: 70%;
    left: 40%;
    animation-delay: 0.3s;
    animation-duration: 4.2s;
}

.particle:nth-child(7) {
    top: 50%;
    left: 90%;
    animation-delay: 0.8s;
    animation-duration: 3.6s;
    background: var(--pink);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
}

.particle:nth-child(8) {
    top: 10%;
    left: 60%;
    animation-delay: 1.2s;
    animation-duration: 3.4s;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx, 50px), var(--ty, -100px)) scale(1.5);
    }
}

.particle:nth-child(1) {
    --tx: -80px;
    --ty: -120px;
}

.particle:nth-child(2) {
    --tx: 100px;
    --ty: 80px;
}

.particle:nth-child(3) {
    --tx: -60px;
    --ty: 90px;
}

.particle:nth-child(4) {
    --tx: 70px;
    --ty: -100px;
}

.particle:nth-child(5) {
    --tx: -90px;
    --ty: -80px;
}

.particle:nth-child(6) {
    --tx: 110px;
    --ty: 70px;
}

.particle:nth-child(7) {
    --tx: -70px;
    --ty: -110px;
}

.particle:nth-child(8) {
    --tx: 80px;
    --ty: 100px;
}

/* TV Turn On Effect */
.tv-effect {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

/* Loading Text */
.preloader-text {
    margin-top: 40px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.loading-dots {
    display: inline-block;
    margin-left: 4px;
}

.loading-dots span {
    animation: dotBounce 1.4s infinite;
    display: inline-block;
    color: var(--blue-electric);
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    30% {
        transform: translateY(-10px);
        opacity: 0.7;
    }
}

/* TV Turn On Animation */
.preloader.tv-turn-on {
    animation: tvTurnOn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.preloader.tv-turn-on .preloader-content {
    animation: contentZoomOut 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.preloader.tv-turn-on .tv-effect {
    animation: tvFlash 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes tvTurnOn {
    0% {
        transform: scale(1, 1);
        filter: brightness(1);
    }

    30% {
        transform: scale(1, 0.001);
        filter: brightness(3);
    }

    50% {
        transform: scale(0.001, 0.001);
        filter: brightness(3);
    }

    100% {
        transform: scale(0, 0);
        opacity: 0;
        filter: brightness(0);
    }
}

@keyframes contentZoomOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes tvFlash {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    30% {
        opacity: 1;
        box-shadow: 0 0 100px 50px rgba(255, 255, 255, 0.8) inset;
    }

    40% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 80px 40px rgba(255, 255, 255, 0.6) inset;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .preloader-logo .logo-text {
        font-size: 48px;
    }

    .preloader-circle {
        width: 250px;
        height: 250px;
    }

    .preloader-text {
        font-size: 16px;
    }

    .particle {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .preloader-logo .logo-text {
        font-size: 36px;
    }

    .preloader-circle {
        width: 200px;
        height: 200px;
    }

    .preloader-text {
        font-size: 14px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}