/* ===================================
   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: #374151;
    --gray-800: #1F2937;
    --gray-900: #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: 120px;
    --container-max-width: 1200px;

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

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

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

.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: 28px;
    font-weight: 700;
    color: var(--black);
}

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

/* ===================================
   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;
}

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

/* ===================================
   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;
}

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

/* ===================================
   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);
}

/* ===================================
   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;
    }

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

    /* 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;
    }
}

/* ===================================
   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; }
