/* Reset y Variables Mejoradas */
:root {
    --primary-purple: #6366f1;
    --dark-purple: #4338ca;
    --light-purple: #8b5cf6;
    --accent-purple: #a855f7;
    --purple-50: #f8fafc;
    --purple-100: #f1f5f9;
    --purple-900: #1e1b4b;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.4);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.6);
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    --gradient-accent: linear-gradient(135deg, var(--accent-purple), var(--primary-purple));
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition-fast: 0.4s ease;
    --transition-normal: 0.8s ease;
    --transition-slow: 1.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
}

/* Smooth scrolling mejorado */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        transition: transform var(--transition-normal), opacity var(--transition-normal);
    }
}

/* Asegurar que las animaciones no se interrumpan */
[class*="animation"], 
.particle, 
.shape, 
.tech-item, 
.footer-shape, 
.logo-banner-img {
    animation-fill-mode: both;
    animation-play-state: running;
}

/* Prevenir interrupciones en hover durante animaciones */
.tech-item:hover,
.service-card:hover,
.member-card:hover {
    animation-play-state: running;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Header Principal que se transforma */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--gray-900);
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    background: transparent;
    box-shadow: none;
}

@media (max-width: 1014px) {
    .header.scrolled {
        background: var(--gray-900) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }
}

.header.scrolled .navbar {
    padding: 0.5rem 0;
}

@media (min-width: 1015px) {
    .header.scrolled {
        background: transparent;
    }
    
    .header.scrolled .logo {
        opacity: 0;
        transform: scale(0.8);
        pointer-events: none;
    }
    
    .header.scrolled .nav-container {
        justify-content: center;
    }
    
    .header.scrolled .nav-menu {
        background: var(--gray-900);
        border-radius: 12px;
        padding: 0.5rem 1rem;
        width: 70%;
        margin: 0 auto;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(255, 255, 255, 0.1);
        justify-content: space-between;
    }
    
    .header.scrolled .nav-menu a {
        color: var(--white);
        padding: 0.5rem 1rem;
    }
    
    .header.scrolled .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
    }
    
    .header.scrolled .nav-menu a.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .header.scrolled .nav-menu a.active::after {
        background: var(--white);
    }
}

/* Ocultar subheader separado */
.subheader {
    display: none;
}

@media (max-width: 1014px) {
    .subheader {
        display: none !important;
    }
}

.subheader .navbar {
    padding: 0;
}

.subheader .nav-menu {
    background: transparent;
    border: none;
    padding: 0;
    justify-content: center;
    gap: 3rem;
}

.subheader .nav-menu a {
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subheader .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-1px);
}

.subheader .nav-menu a i {
    font-size: 0.85rem;
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a i {
    font-size: 0.85rem;
    transition: all 0.4s ease;
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.25rem;
    left: 50%;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 60%;
}

.nav-menu a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.nav-menu a.active::after {
    width: 60%;
    background: var(--white);
}



@media (min-width: 901px) {
    .nav-menu a i {
        display: inline;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--white);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--white);
}

/* Logo Banner */
.logo-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    padding: 0;
    text-align: center;
    margin-top: 0;
    padding-top: 75px;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 30%);
    pointer-events: none;
}

.logo-banner-content {
    position: relative;
    z-index: 2;
}

.logo-banner-img {
    height: 150px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 15px 40px rgba(0,0,0,0.4));
    animation: logoFloat 4s ease-in-out infinite;
}

.banner-text {
    margin-top: 2rem;
    color: var(--white);
    position: relative;
    z-index: 3;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.banner-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    color: #c084fc;
}

.banner-description {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.banner-services {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service-tag {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; }

@keyframes bannerPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section Mejorado */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        linear-gradient(45deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
    animation: gradientShift 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    animation: floatPattern 30s linear infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes floatPattern {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-5px); }
    75% { transform: translateY(-15px) translateX(3px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    opacity: 0.1;
    animation: float 25s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 8s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 16s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: textGlow 5s ease-in-out infinite;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0;
    animation: glowPulse 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2) drop-shadow(0 0 20px rgba(99, 102, 241, 0.3)); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: buttonPulse 5s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple), var(--accent-purple), var(--primary-purple));
    background-size: 400% 400%;
    border-radius: var(--border-radius-xl);
    z-index: -1;
    animation: gradientRotate 4s ease infinite;
    opacity: 0;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

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

@keyframes buttonPulse {
    0%, 100% { box-shadow: var(--shadow-lg); }
    50% { box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3); }
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-purple);
    border-color: rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 300px;
    margin-left: auto;
}

.tech-item {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: float 5s ease-in-out infinite;
}

.tech-item:nth-child(odd) {
    animation-delay: 2s;
}

.tech-item:nth-child(even) {
    animation-delay: 4s;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.1);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-purple);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--purple-100);
    color: var(--primary-purple);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, var(--white) 0%, rgba(248, 250, 252, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple), var(--accent-purple), var(--primary-purple));
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: iconGradient 6s ease infinite;
    opacity: 0;
}

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

.service-icon i {
    font-size: 2rem;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1) rotateY(10deg);
    color: var(--white);
}

@keyframes iconGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.service-card p {
    color: inherit;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-tech span {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.team-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: pan-x;
}

@media (min-width: 768px) {
    .carousel-track {
        transform: translateX(calc(50% - 175px));
    }
}

@media (max-width: 767px) {
    .carousel-track {
        transform: translateX(calc(50vw - 140px));
    }
    
    .team-member {
        flex: 0 0 280px;
    }
    
    .member-card {
        padding: 2rem 1.5rem 2.5rem;
        min-height: 420px;
    }
    
    .member-info {
        max-width: 240px;
        margin: 0 auto;
    }
    
    .description {
        text-align: center;
        line-height: 1.5;
    }
}

.team-member {
    flex: 0 0 350px;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
    opacity: 0.5;
    filter: blur(2px);
    cursor: pointer;
}

.team-member.active {
    transform: scale(1);
    opacity: 1;
    filter: blur(0px);
    z-index: 2;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem 0;
    padding-bottom: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

.member-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.member-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-purple);
    box-shadow: 0 10px 30px rgba(76, 29, 149, 0.3);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-avatar img[src*="yorbin"] {
    object-position: center 30%;
}

.member-avatar:hover img {
    transform: scale(1.1);
}

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

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.role {
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--gray-50);
    border-radius: 50px;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-link:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.contact-link i {
    color: var(--primary-purple);
    transition: color 0.3s ease;
}

.contact-link:hover i {
    color: var(--white);
}

/* Member More Link */
.member-more-link {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
}

.member-more-link:hover {
    background: var(--dark-purple) !important;
    color: var(--white) !important;
}

.member-more-link i {
    color: var(--white) !important;
}

.member-more-link:hover i {
    color: var(--white) !important;
}

/* Disable links when team member is not active */
.team-member:not(.active) .contact-links {
    pointer-events: none;
    opacity: 0.5;
}

.team-member:not(.active) .contact-link {
    cursor: not-allowed;
}

/* Round contact buttons for team members */
.member-card {
    position: relative;
}

.contact-buttons-round {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 10;
}

.contact-btn-round {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 0;
    position: relative;
}

.contact-btn-round i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-btn-round.whatsapp {
    background: #25d366;
    color: var(--white);
}

.contact-btn-round.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.contact-btn-round.email {
    background: #ea4335;
    color: var(--white);
}

.contact-btn-round.email:hover {
    background: #d33b2c;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

.contact-btn-round.phone {
    background: var(--primary-purple);
    color: var(--white);
}

.contact-btn-round.phone:hover {
    background: var(--dark-purple);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* Member Modal */
.member-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.member-bio {
    display: grid;
    gap: 2rem;
}

.bio-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: 16px;
    border-left: 4px solid var(--primary-purple);
}

.bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.bio-info h4 {
    color: var(--gray-900);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bio-role {
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bio-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.bio-contact i {
    color: var(--primary-purple);
    width: 16px;
}

.contact-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contact-buttons-group {
    display: flex;
    gap: 0.5rem;
}

.modal-contact-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 0;
    position: relative;
}

.modal-contact-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white) !important;
    width: auto !important;
}

.modal-contact-btn.phone {
    background: var(--primary-purple);
    color: var(--white);
}

.modal-contact-btn.phone:hover {
    background: var(--dark-purple);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.modal-contact-btn.email {
    background: #ea4335;
    color: var(--white);
}

.modal-contact-btn.email:hover {
    background: #d33b2c;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

.modal-contact-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.modal-contact-btn.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.modal-contact-btn.email-business {
    background: #4b5563;
    color: var(--white);
}

.modal-contact-btn.email-business:hover {
    background: var(--gray-900);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(75, 85, 99, 0.4);
}

.bio-content {
    padding: 0 1.5rem;
}

.bio-content h5 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.bio-content p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bio-skills {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bio-skills li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    color: var(--gray-700);
    font-weight: 500;
}

.bio-skills li i {
    color: var(--primary-purple);
    width: 20px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gray-900);
    color: var(--white);
}

.contact .section-badge {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-purple);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--white);
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--gray-800);
    color: var(--white);
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

/* Schedule Banner */
.schedule-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.schedule-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.schedule-content h3 i {
    color: var(--primary-purple);
    font-size: 1.25rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.schedule-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.schedule-item .day {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.schedule-item .time {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .schedule-banner {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .schedule-content h3 {
        font-size: 1.25rem;
    }
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--dark-purple), var(--accent-purple));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--success);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 3000;
    font-weight: 600;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    background: var(--success);
}

.toast-notification i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .toast-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--gray-800);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--gray-700);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff0000);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: rgbGlow 4s ease-in-out infinite;
    opacity: 0.2;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-800);
    border-radius: 20px;
    z-index: -1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-card p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.contact-tabs-container {
    background: var(--gray-800);
    border-radius: 24px;
    border: 1px solid var(--gray-700);
    overflow: hidden;
}

.contact-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--gray-700);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--gray-400);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--primary-purple);
}

.tab-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.tab-content {
    display: none;
    padding: 2.5rem;
}

.tab-content.active {
    display: block;
}

.contact-card-single {
    text-align: center;
}

.contact-icon-large {
    width: 100px;
    height: 100px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
}

.contact-icon-large.email {
    background: #ea4335;
    box-shadow: 0 15px 40px rgba(234, 67, 53, 0.3);
}

.contact-icon-large.phone {
    background: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(76, 29, 149, 0.3);
}

.contact-icon-large i {
    font-size: 2.5rem;
    color: var(--white);
}

.contact-card-single h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card-single p {
    color: var(--gray-300);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    transform: translateY(-3px);
}

.contact-btn.email:hover {
    background: rgba(234, 67, 53, 0.2);
    border-color: #ea4335;
    transform: translateY(-3px);
}

.contact-btn.phone:hover {
    background: rgba(76, 29, 149, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
}

.btn-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-btn div {
    flex: 1;
    text-align: left;
}

.btn-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.btn-subtitle {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
}

.contact-btn i {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Service Modal */
.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--white);
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 2rem;
    border-bottom: none;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    max-height: calc(85vh - 120px);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.1);
    border-radius: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.6));
    border-radius: 6px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(139, 92, 246, 0.8));
}

.service-details {
    display: grid;
    gap: 2rem;
}

.service-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
    margin-bottom: 1rem;
}

.service-summary p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.detail-section {
    background: linear-gradient(145deg, var(--gray-50) 0%, rgba(248, 250, 252, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-purple);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.detail-section h4 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.detail-list li i {
    color: var(--primary-purple);
    width: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.expand-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.service-card {
    position: relative;
}

.service-card:hover .expand-btn {
    opacity: 1;
    transform: translateY(-3px);
}

.expand-btn:hover {
    transform: translateY(-3px) scale(1.15) rotateZ(90deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, var(--dark-purple), var(--accent-purple));
}

.service-card.featured .expand-btn {
    background: var(--white);
    color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.service-card.featured .expand-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-purple);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

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

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.footer-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    opacity: 0.1;
    animation: footerFloat 20s ease-in-out infinite;
}

.footer-shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.footer-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: 5%;
    animation-delay: 7s;
}

.footer-shape-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation-delay: 14s;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 1114px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-items: center;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    filter: brightness(1.1);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
    transform: translateX(5px);
}

.footer-section ul li a i {
    width: 16px;
    color: var(--primary-purple);
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff0000);
    background-size: 400% 400%;
    border-radius: 13px;
    z-index: -1;
    animation: rgbGlow 6s ease-in-out infinite;
    opacity: 0.15;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    z-index: -1;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    word-wrap: break-word;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff0000);
    background-size: 400% 400%;
    border-radius: 13px;
    z-index: -1;
    animation: rgbGlow 6s ease-in-out infinite;
    opacity: 0.15;
}

.contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    z-index: -1;
}

.contact-item i {
    color: var(--primary-purple);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-300);
    margin: 0.125rem 0;
    font-size: 0.875rem;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}



.tech-icon:nth-child(odd) {
    animation-delay: 2s;
}

.tech-icon:nth-child(even) {
    animation-delay: 4s;
}

.tech-icon:hover {
    background: var(--primary-purple);
    transform: translateY(-5px) scale(1.1);
}

.tech-icon i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.tech-icon:hover i {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-400);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

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

@keyframes footerFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0px);
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    50% {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
}

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

@keyframes rgbGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--gray-900);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(139, 92, 246, 0.8));
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    transform: scaleX(1.2);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.6) var(--gray-900);
}

/* WhatsApp and Email Styling */
.contact-link.whatsapp {
    background: #25d366;
    color: var(--white);
}

.contact-link.whatsapp:hover {
    background: #128c7e;
    color: var(--white);
}

.contact-link.whatsapp i {
    color: var(--white);
}

.contact-link.whatsapp:hover i {
    color: var(--white);
}

.contact-link.email {
    background: #ea4335;
    color: var(--white);
}

.contact-link.email:hover {
    background: #d33b2c;
    color: var(--white);
}

.contact-link.email i {
    color: var(--white);
}

.contact-link.email:hover i {
    color: var(--white);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1014px) {
    .hamburger {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open > *:not(.header) {
        filter: blur(2px) brightness(0.8);
        transition: filter 0.3s ease;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 300px;
        flex-direction: column;
        background: linear-gradient(180deg, #0f0f23 0%, #1a1654 50%, #0a0a1a 100%);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
        padding: 7rem 1.5rem 2rem;
        z-index: 1000;
        justify-content: flex-start;
        gap: 0.75rem;
        border-left: 2px solid rgba(99, 102, 241, 0.4);
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .tech-grid {
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
                    radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
        pointer-events: none;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(40px) rotateY(15deg);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        z-index: 1;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }

    .nav-menu a {
        color: var(--white);
        font-size: 1.15rem;
        font-weight: 600;
        padding: 1.2rem 1.5rem;
        border-radius: 15px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .nav-menu a:hover::before {
        left: 100%;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-purple), var(--light-purple));
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(99, 102, 241, 0.15);
        border-color: rgba(99, 102, 241, 0.3);
        transform: translateX(10px);
        box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
    }

    .nav-menu a:hover::after {
        transform: scaleY(1);
    }

    .nav-menu a i {
        margin-right: 0.8rem;
        color: var(--primary-purple);
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover i {
        color: var(--white);
        transform: scale(1.1);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .section-header h2 {
        font-size: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 200px;
    }

    .tech-icons {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bio-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .bio-skills {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .service-card,
    .member-card,
    .contact-form-container {
        padding: 1.5rem;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .contact-tabs {
        flex-direction: column;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .contact-buttons-row {
        gap: 0.75rem;
    }
    
    .contact-btn {
        padding: 0.75rem 1rem;
    }
    
    .btn-avatar {
        width: 40px;
        height: 40px;
    }

    .tech-item {
        width: 60px;
        height: 60px;
    }

    .tech-item i {
        font-size: 1.5rem;
    }
    
    .bio-content {
        padding: 0 1rem;
    }
    
    .bio-header {
        padding: 1rem;
    }
}