:root {
    --primary: #0066ff;
    --secondary: #00d4aa;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #6c757d;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    --font-headings: 'Space Grotesk', sans-serif;
    --gradient-primary: linear-gradient(135deg, var(--primary), #3a7bd5);
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #00b392);
    --gradient-text: linear-gradient(45deg, var(--primary), var(--secondary));
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo:hover span::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

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

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

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

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

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

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    background-color: #fcfcff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 35%, #6B46C1 65%, #0066ff 100%);
    opacity: 0.08;
    animation: gradient 20s ease infinite;
    background-size: 400% 400%;
    filter: blur(30px);
}

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

/* Decorative shapes */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 250px;
    height: 250px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, rgba(0, 212, 170, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
    z-index: -1;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(2deg); }
    50% { transform: translate(0, -20px) rotate(0deg); }
    75% { transform: translate(-10px, -10px) rotate(-2deg); }
}

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

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 50%;
    bottom: -10px;
    animation: floatUp 20s ease-out infinite;
    filter: blur(1px);
}

.particle:nth-child(even) {
    background: rgba(0, 212, 170, 0.15);
    width: 10px;
    height: 10px;
}

.particle:nth-child(3n) {
    background: rgba(118, 75, 162, 0.15);
    width: 4px;
    height: 4px;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(calc(20px * var(--random-x, 0))) rotate(calc(360deg * var(--random-rot, 1)));
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-family: var(--font-headings);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    position: relative;
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.word::before {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease;
    border-radius: 5px;
    opacity: 0.7;
}

.word.active::before {
    transform: scaleX(1);
    transition-delay: 0.3s;
}

.word-1 { 
    color: var(--primary); 
    text-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.word-2 { 
    color: var(--secondary); 
    text-shadow: 0 5px 15px rgba(0, 212, 170, 0.2);
}

.word-3 { 
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 102, 255, 0.1);
    position: relative;
}

.word-3::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(7px);
    opacity: 0.4;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; filter: blur(7px); }
    50% { opacity: 0.4; filter: blur(5px); }
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    opacity: 0;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 1rem;
    line-height: 1.5;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 3px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateY(-50%);
    border-radius: 3px;
    opacity: 0.7;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4.5rem;
    opacity: 0;
    position: relative;
    z-index: 10;
}

.hero-cta::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-light 5s ease-in-out infinite;
}

@keyframes pulse-light {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.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;
    z-index: 1;
}

.btn span, .btn i {
    position: relative;
    z-index: 2;
}

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

.btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 10px;
    background: inherit;
    filter: blur(10px) opacity(0.6);
    border-radius: 20px;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn:hover::after {
    bottom: -7px;
    filter: blur(14px) opacity(0.8);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3a7bd5);
    color: var(--light);
    position: relative;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052cc, var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    border: 2px solid rgba(0, 102, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary);
}

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 102, 255, 0.25);
}

.btn i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.btn:hover i {
    transform: translateX(5px);
    animation: pulse-icon 1s ease infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: translateX(5px) scale(1); }
    50% { transform: translateX(7px) scale(1.1); }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0;
    position: relative;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 90%;
    margin: 0 auto;
}

.hero-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 170, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: source-out;
}

.stat {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(0, 102, 255, 0.1), rgba(0, 212, 170, 0.1));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: pulse-arrow 2s ease infinite;
}

@keyframes pulse-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

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

/* Section Styles */
.section-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 700;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    width: 60px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

/* Section scroll animations */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

.service-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary);
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #eee;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item.large {
    grid-column: span 2;
    height: 450px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 102, 255, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: var(--light);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.project-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.portfolio-item:hover .project-tag {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease 0.2s, opacity 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay p {
    opacity: 0;
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.3s, opacity 0.4s ease 0.3s;
    line-height: 1.5;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 0.9;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s;
    backdrop-filter: blur(5px);
    width: auto;
    height: auto;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.portfolio-link:hover i {
    transform: translateX(3px);
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Showcase Carousel Section */
.showcase {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f5ff 100%);
}

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

.carousel-container {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    min-height: 550px;
    padding: 20px 0;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(249, 249, 249, 1) 0%, rgba(249, 249, 249, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(270deg, rgba(249, 249, 249, 1) 0%, rgba(249, 249, 249, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.carousel-track {
    display: flex;
    gap: 2rem; /* Increased gap between items */
    align-items: center;
    will-change: transform;
    cursor: grab;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
    padding: 2rem 0; /* Added more vertical padding */
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
    width: 360px;
    height: 450px;
    background-color: #f5f5f8;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    margin: 10px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    z-index: 20;
}

.carousel-item.tall {
    height: 500px; /* Taller height for portrait oriented images */
}

.carousel-item.wide {
    width: 420px; /* Wider width for landscape oriented images */
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item:hover::before {
    opacity: 1;
}

.carousel-item img {
    width: 100%; /* Cambiado de auto a 100% */
    height: 100%; /* Cambiado de auto a 100% */
    object-fit: cover; /* Asegura que la imagen cubra todo el contenedor manteniendo proporciones */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1 !important;
    display: block !important;
    transform-origin: center center;
    visibility: visible !important;
    position: relative;
    z-index: 5;
    filter: brightness(0.95);
    padding: 0; /* Remove padding */
    border-radius: 8px; /* Add slight rounding to images */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Add subtle shadow */
}

.carousel-item:hover img {
    transform: scale(1.05); /* Reduced scale on hover */
    filter: brightness(1.05);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 2.5rem 2rem 2rem;
    transform: translateY(70%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--light);
    z-index: 15;
}

.carousel-item:hover .carousel-overlay {
    transform: translateY(0);
}

.carousel-overlay h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    transform: translateY(20px);
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel-item:hover .carousel-overlay h4 {
    transform: translateY(0);
    opacity: 1;
}

.carousel-overlay p {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 90%;
    margin: 0 auto;
    transform: translateY(20px);
    transition: transform 0.5s ease 0.1s, opacity 0.5s ease;
}

.carousel-item:hover .carousel-overlay p {
    transform: translateY(0);
    opacity: 0.9;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.benefit-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.benefit-card:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--light);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f8ff 100%);
}

/* Tabs de categorías */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.75rem 1.5rem;
    background: var(--light);
    border: 2px solid #eee;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
    position: relative;
    overflow: hidden;
}

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

.pricing-tab:hover::before {
    left: 100%;
}

.pricing-tab.active {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    transform: translateY(-3px);
}

/* Categorías de precios */
.pricing-category {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.pricing-category.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: var(--light);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    border: 2px solid transparent;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

/* Add a subtle background pattern */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(0, 102, 255, 0.03) 2px, transparent 2px);
    background-size: 20px 20px;
    border-top-right-radius: 16px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border: 2px solid rgba(0, 102, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--light);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
    z-index: 5;
}

.pricing-header {
    position: relative;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.pricing-price .main-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.payment-options {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.currency {
    font-size: 1.5rem;
    color: var(--gray);
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0.25rem;
    line-height: 1;
}

.period {
    color: var(--gray);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    padding-left: 10px;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.pricing-card:hover .pricing-features li {
    color: var(--dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--secondary);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.pricing-note {
    margin-top: 4rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 102, 255, 0.05);
    border-radius: var(--border-radius);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.pricing-note p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.pricing-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.pricing-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pricing-discount {
    color: var(--gray);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 212, 170, 0.1);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.pricing-discount i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

.testimonial-item {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.testimonial-item.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img,
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.5s ease 0.3s forwards;
}

.testimonial-avatar {
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-author h4 {
    margin: 0;
    color: var(--dark);
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background: var(--primary);
    color: var(--light);
}

/* Clients Section 
.clients {
    padding: 5rem 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo.visible {
    opacity: 0.7;
    transform: translateY(0);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}
*/

.clients {
    padding: 5rem 0;
    background: linear-gradient(to right, #f8f9fa, #ffffff, #f8f9fa); /* Fondo con gradiente sutil */
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2.5rem;
    align-items: center;
    margin-top: 3rem;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    filter: grayscale(85%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición más elegante */
    max-width: 120px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 10px;
    position: relative;
}

.client-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.client-logo:hover::after {
    transform: scaleX(1);
}

.client-logo img {
    width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: filter 0.3s ease;
}
/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
    border-radius: var(--border-radius);
}

.form-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.form-header h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
    overflow: hidden;
}

.form-group.animated label {
    position: absolute;
    top: 1.3rem;
    left: 3rem;
    font-size: 1rem;
    color: var(--gray);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group.animated input:focus ~ label,
.form-group.animated textarea:focus ~ label,
.form-group.animated select:focus ~ label,
.form-group.animated input:not(:placeholder-shown) ~ label,
.form-group.animated textarea:not(:placeholder-shown) ~ label,
.form-group.animated select:not([value=""]) ~ label {
    top: 0.5rem;
    left: 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: white;
    padding: 0 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
    opacity: 1;
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 1.3rem;
    color: var(--gray);
    transition: var(--transition);
    font-size: 1.1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus + i,
.form-group textarea:focus + i,
.form-group select:focus + i {
    color: var(--primary);
    transform: scale(1.1);
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-privacy a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-privacy a:hover {
    text-decoration: underline;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

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

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    margin: 0;
    color: var(--dark);
    font-size: 1.1rem;
}

.contact-item span {
    color: var(--gray);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 3rem 0;
}

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

.footer-brand .logo {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray);
}

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-copyright {
    color: var(--gray);
    text-align: center;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .carousel-item {
        width: 250px;
        height: 350px;
    }
    
    .carousel-item.tall {
        height: 400px;
    }
    
    .carousel-item.wide {
        width: 300px;
    }
    
    .carousel-track {
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .amount {
        font-size: 2.8rem;
    }
    
    .payment-options {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        text-align: center;
    }
    
    .nav-link:hover {
        background: rgba(0, 102, 255, 0.1);
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .word {
        display: block;
        margin: 0.25rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.large {
        grid-column: 1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Modal para cotización PDF */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.quote-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.quote-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-modal-header h3 {
    margin: 0;
    color: var(--primary);
}

.quote-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-modal-close:hover {
    color: var(--dark);
}

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

.quote-modal-body p {
    margin-bottom: 1rem;
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    min-width: 250px;
}

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

.notification-success {
    border-left: 4px solid var(--secondary);
    color: var(--secondary);
}

.notification-error {
    border-left: 4px solid #dc3545;
    color: #dc3545;
}

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

.pdf-quote-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    margin: 20px 0 15px 0;
    width: 100%;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.pdf-quote-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.pricing-card .btn:last-child {
    margin-bottom: 0;
}

/* WhatsApp Styles */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    cursor: pointer;
    border: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Modal WhatsApp */
.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.whatsapp-modal.active {
    display: flex;
}

.whatsapp-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.whatsapp-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #25d366;
    color: white;
    border-radius: 15px 15px 0 0;
}

.whatsapp-modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.whatsapp-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.whatsapp-modal-body p {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--gray);
}

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

.whatsapp-service-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-service-btn:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
    transform: translateY(-2px);
}

.whatsapp-service-btn i {
    font-size: 1.5rem;
}

.whatsapp-service-btn span {
    font-weight: 500;
    font-size: 0.9rem;
}

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .whatsapp-services {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .hero {
        min-height: calc(100vh - 80px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float .tooltip {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

/* Popup Bienvenida */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.welcome-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.welcome-popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s ease;
}

.popup-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.popup-header {
    margin-bottom: 1rem;
}

.popup-logo {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.popup-logo span {
    color: var(--primary);
}

.popup-header h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    color: var(--dark);
    margin-top: 0.5rem;
}

.popup-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.popup-offer {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.discount-badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.discount-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.popup-cta {
    margin-top: 0.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Ensure all images are visible by default */
img {
    opacity: 1;
    display: block;
    min-height: 100px;
    background-color: #f5f5f5;
}