:root {
    --primary: #E67E22;
    --secondary: #333;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}
/* Barra de navegación */
header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.navbar {
    background-color: var(--dark);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Menú principal */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Submenú desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    background: var(--light);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    margin: 0;
    padding: 0.5rem 1rem;
    background-color: #333;
    border-bottom: 1px solid #000;
}

.dropdown-content a {
    color: #fff !important;
}

.dropdown-content a:hover {
    color: var(--primary) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Menú hamburguesa (responsive) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #363333;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 0.5rem 2rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #222;
        display: none;
    }

    .dropdown-content li {
        padding-left: 2rem;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger {
        display: block;
    }
}
/*CARRUSEL - PRINCIPAL*/
.caro-container {
background-color: var(--secondary);
margin-top: 50px;
padding-bottom: 50px;
}
.carousel-container {
    max-width: 1200px; 
    width: 90%;
    margin: auto;
    position: relative;
    overflow: hidden;
}

/* Carrusel */
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    
    background: var(--secondary);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

.carousel-item.active {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.texto{
    width: 100vh;
    height: 100%;
    align-content: center;
}
.lottie-animation {
    width: 600px;
    height: 500px;
    margin: 0 auto 1.5rem;
}

.carousel-item h3 {
    color: #E67E22;
    margin-bottom: 1rem;
    font-size: 3rem;
    text-shadow: 2px 2px 20px #000;
}

.carousel-item p {
    color: var(--light);
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto;
}

/* Indicadores */
.indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ff6b00;
}

/* Responsive */
@media (max-width: 768px) {
    .lottie-animation {
        width: 150px;
        height: 150px;
    }
    
    .carousel-item h3 {
        font-size: 1.3rem;
    }
    
    .carousel-item p {
        font-size: 0.9rem;
    }
}


/*CARRUSEL - PRINCIPAL*/

/* CONTENDIO SERVICIO */
.serv-container{
    width: 100%;
    background-color: #fff;
    padding-bottom: 0.5rem;
}
.services-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.services-container h1 {
    padding-top: 1rem;
    text-align: center;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
	color: #000;
	
}

.services-container h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    scale:0.95;
	transition-duration: 1.2s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.1);
    transition-duration: 1.2s;
	scale:1.1;
	border: solid 0.5px #eb9c4d;
	border-radius: 10px;
	box-shadow: 4px 4px 15px;  
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.img-card {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .lottie-icon {
    transform: scale(1.1);
}

.service-card h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    
}

.btn:hover {
    background: transparent;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-container h1 {
        font-size: 2rem;
    }
    
    .lottie-icon {
        width: 100px;
        height: 100px;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
/* CONTENDIO SERVICIO*/