/* ===== BASE STYLES ===== */
:root {
    --primary: #FF6B00;
    --primary-dark: #E25A00;
    --primary-light: #FF8A3D;
    --secondary: #0069B4;
    --secondary-dark: #004B80;
    --secondary-light: #0087E7;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --light: #F8FAFC;
    --gray: #94A3B8;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --blue: #0069B4;
    --yellow: #FFB302;
    --green: #10B981;
    --orange: #FF6B00;
    --red: #EF4444;
    --purple: #8B5CF6;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-main);
    border: none;
    background: none;
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid rgba(255, 107, 0, 0.3);
    border-top-color: var(--primary);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark);
    transform: translateY(-3px);
}

.service-btn {
    border-radius: 50px;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.blue { background-color: var(--blue); }
.blue:hover { background-color: var(--secondary-dark); }

.yellow { background-color: var(--yellow); }
.yellow:hover { background-color: #E69D00; }

.green { background-color: var(--green); }
.green:hover { background-color: #0EA271; }

.orange { background-color: var(--orange); }
.orange:hover { background-color: var(--primary-dark); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-brand img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-xl);
    }
    
    .navbar-nav.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    
    .overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 998;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.1s ease;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.7)), 
                url('https://images.unsplash.com/photo-1541976590-713941681591?auto=format&fit=crop&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeUp 1s ease 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 1s ease 0.7s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.floating-icons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    color: white;
    font-size: 1.5rem;
	    z-index: 1;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--light);
    padding: 6rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.03), rgba(0, 105, 180, 0.03));
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

/* Slider Container Styles */
.services-grid {
    position: relative;
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 2rem 0;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 1rem 0.5rem;
}

.service-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: calc(33.333% - 1.333rem);
    flex: 0 0 auto;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    z-index: 1;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 -10px 20px -15px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: transform 0.6s ease;
    transform: translateX(-100%);
}

.service-card:hover .service-icon::after {
    transform: translateX(100%);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--dark);
}

.service-features {
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark-light);
}

.service-features i {
    color: var(--success);
    margin-top: 0.25rem;
}

.service-btn {
    border-radius: 50px;
    color: white;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: transform 0.6s ease;
    transform: translateX(-100%);
    z-index: -1;
}

.service-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-btn:hover::after {
    transform: translateX(100%);
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: var(--shadow-md);
    color: var(--dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.slider-btn:disabled {
    background-color: #f1f1f1;
    color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Colores para los botones de servicio */
.blue { background-color: var(--blue); }
.blue:hover { background-color: var(--secondary-dark); }

.yellow { background-color: var(--yellow); }
.yellow:hover { background-color: #E69D00; }

.green { background-color: var(--green); }
.green:hover { background-color: #0EA271; }

.orange { background-color: var(--orange); }
.orange:hover { background-color: var(--primary-dark); }

.purple { background-color: var(--purple); }
.purple:hover { background-color: #7c4ddd; }

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .service-card {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .service-card {
        min-width: calc(100% - 1rem);
        margin: 0 auto;
    }
    
    .service-img {
        height: 180px;
    }
    
    .slider-container {
        gap: 1.5rem;
        padding: 0.5rem 0.25rem;
    }
    
    /* Mejorar la visualización de los servicios en móvil */
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        padding: 1rem 0;
        margin-top: 1rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    /* Hacer que los botones de navegación sean más evidentes en móvil */
    .slider-nav {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        box-shadow: var(--shadow-lg);
        background-color: var(--primary);
        color: white;
    }
    
    .slider-btn:disabled {
        opacity: 0.5;
        background-color: var(--gray);
    }
    
    /* Mejorar visualmente los dots en móvil */
    .slider-dots {
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        box-shadow: var(--shadow-sm);
    }
    
    /* Indicador de swipe para móvil */
    .services-grid::after {
        content: 'Desliza para ver más servicios';
        display: block;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.85rem;
        color: var(--gray);
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-features li {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .service-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Ajustar el tamaño de los puntos del carrusel en móvil pequeño */
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.about-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(0, 105, 180, 0.05));
    filter: blur(80px);
    z-index: 0;
}

.about-blob-1 {
    top: -200px;
    right: -200px;
}

.about-blob-2 {
    bottom: -200px;
    left: -200px;
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-align: center;
}

.about-text h2 {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission, .vision {
    background-color: var(--light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission h3, .vision h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.vision h3 {
    color: var(--secondary);
}

/* Who We Are Section */
.who-we-are {
    margin-top: 4rem;
}

.who-we-are .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.left-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.who-we-are-card {
    background-color: var(--light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.who-we-are-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.who-we-are-card h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 1.5rem;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.orange { background-color: var(--orange); }
.blue { background-color: var(--blue); }
.green { background-color: var(--green); }
.yellow { background-color: var(--yellow); }
.red { background-color: var(--red); }
.purple { background-color: var(--purple); }

.timeline-item .content h4 {
    margin-bottom: 0.5rem;
}

.timeline-item .content p {
    color: var(--gray);
}

.project-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.values-container {
    background: linear-gradient(to bottom right, var(--light), white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.values-container h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-item {
    background-color: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background-color: var(--light);
    padding: 6rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    background-color: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

.stat-item:nth-child(2) .stat-icon {
    background-color: var(--secondary-light);
}

.stat-item:nth-child(3) .stat-icon {
    background-color: var(--warning);
}

.stat-item:nth-child(4) .stat-icon {
    background-color: var(--success);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-item p {
    color: var(--gray);
    margin-bottom: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
}

.project-tag {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.project-overlay h3 {
    color: white;
    margin-bottom: 0.25rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.project-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-details p {
    color: var(--gray);
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    color: var(--dark-light);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: white;
    padding: 6rem 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.testimonials-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(to bottom right, white, var(--light));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.quote-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.quote-icon.blue {
    background-color: var(--secondary-light);
}

.quote-icon.green {
    background-color: var(--success);
}

.testimonial-author {
    flex-grow: 1;
}

.testimonial-author h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--warning);
    font-weight: 600;
}

.testimonial-text {
    color: var(--dark-light);
    font-style: italic;
    margin-bottom: 0;
}

.recommendation-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.recommendation-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.recommendation-header {
    position: relative;
}

.recommendation-img {
    height: 200px;
    position: relative;
}

.recommendation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-img .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light);
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.company-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.recommendation-content {
    padding: 1.5rem;
}

.recommendation-content p {
    color: var(--dark-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.recommendation-footer {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
}

.recommendation-footer .date {
    font-weight: 600;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background-color: var(--light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.gallery-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(0, 105, 180, 0.05));
    filter: blur(80px);
    z-index: 0;
}

.gallery-blob-1 {
    top: -200px;
    left: -200px;
}

.gallery-blob-2 {
    bottom: -200px;
    right: -200px;
}

.gallery-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-category {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .gallery-item.wide {
        grid-column: auto;
    }
    
    .gallery-item.tall {
        grid-row: auto;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
}

/* ===== HIDE EXPERIENCES SECTION ===== */
#experiencias {
    display: none !important;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: white;
    padding: 6rem 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: var(--light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.info-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.75rem;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.form-card, .social-card {
    height: auto;
    display: flex;
    flex-direction: column;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-details li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details li:nth-child(2) .contact-icon {
    background-color: var(--success);
}

.contact-details li:nth-child(3) .contact-icon {
    background-color: var(--secondary-light);
}

.contact-details li:nth-child(4) .contact-icon {
    background-color: var(--purple);
}

.contact-details h4 {
    margin-bottom: 0.15rem;
    font-size: 1rem;
}

.contact-details p, .contact-details a {
    color: var(--gray);
    margin-bottom: 0;
}

.contact-details a:hover {
    color: var(--primary);
}

.map {
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 1rem;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: white;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    width: 100%;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.2);
}

.facebook-container {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    justify-content: center;
    background-color: #f5f5f5;
    margin-top: 0.5rem;
}

.facebook-container iframe {
    border-radius: 8px;
    max-width: 100%;
}

/* Responsive adjustments for contact section */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        height: auto;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-details li {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 0.7rem 1.25rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-about p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.75rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
    
    .services-grid .row {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .about-content, .who-we-are .grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .lightbox-prev {
        left: -40px;
    }
    
    .lightbox-next {
        right: -40px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    .services-grid .row {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }
    
    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    
    .testimonials-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-icons {
        bottom: 20px;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 2.5rem;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .whatsapp-btn, .back-to-top-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .floating-icons {
        gap: 1.5rem;
        font-size: 1.25rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        right: 20px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
    }
}