:root {
    --primary: #2d3436;
    --secondary: #0984e3;
    --light: #f5f6fa;
    --dark: #1e272e;
    --accent: #00cec9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--primary);
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

/* Animaciones generales */
[data-aos] {
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    will-change: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Animaciones específicas */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
    transform-origin: left center;
    backface-visibility: hidden;
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* Efectos de hover mejorados */
.btn, .btn-outline {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);  

}

.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay {
    transition: opacity 0.4s ease;
}

/* Resto de tu CSS existente */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--dark);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 3.5%;
    height: 20px;
}
@media (max-width: 768px) {
    .logo {
        width: 10%;
    }
}
.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 13, 15, 0.8), rgba(3, 26, 44, 0.9)), 
                url('img/photo-1498050108023-c5249f4df085.avif');
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design Mejorado */
@media (max-width: 992px) {
    .hero {
        height: auto; /* Cambiamos a altura automática */
        min-height: 100vh; /* Mínimo el alto de pantalla */
        padding: 80px 0 40px; /* Ajustamos padding */
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding-bottom: 40px; /* Espacio extra abajo */
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-image img {
        max-width: 80%;
        max-height: 300px; /* Limitamos altura máxima */
        object-fit: contain; /* Aseguramos que la imagen se vea completa */
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 125px; /* Menos espacio arriba en móviles */
    }
    
    .hero h1 {
        font-size: 32px; /* Tamaño más adecuado para móviles */
        line-height: 1.3;
        margin-bottom: 15px;
        height: auto; /* Eliminamos altura fija */
        background-size: auto; /* Eliminamos tamaño de fondo fijo */
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-image img {
        max-width: 100%;
        max-height: 250px; /* Altura más pequeña para móviles */
    }
    
    .hero-buttons {
        flex-direction: column; /* Botones en columna si es necesario */
        gap: 10px;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-image img {
        max-height: 200px;
    }
}


/* Hero normal para las demas pantallas */
.hero-normal {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(30, 39, 46, 0.8), rgba(30, 39, 46, 0.8)), 
                url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}
.hero-normal-content {
   max-width: 800px;
    margin: 0 auto;
}
.hero-normal h1 {
   font-size: 48px;
    margin-bottom:5%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-normal p {
    font-size: 20px;
    margin-bottom: 5%;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #00a8a5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--accent);
}

/* About Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.4s ease;
}

.section-title:hover h2::after {
    width: 120px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 15px;
}

.skills {
    margin-top: 30px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-bar {
    height: 10px;
    background-color: #dfe6e9;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent);
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

/* Services Section */
.services {
    background-color: #f1f2f6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: black;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 100px;
    padding: 0 20px;
    justify-items: center; /* Centra horizontalmente los items */
    align-items: center;   /* Centra verticalmente los items */
    animation: fadeIn 0.6s ease-in forwards;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    box-sizing: border-box; /* Incluye el padding en el ancho total */
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Una sola columna en móviles */
        padding: 0 10px; /* Reducir padding en móviles si es necesario */
        justify-items: center; /* Forzar centrado horizontal */
    }
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    width: 50%;
    height: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 206, 201, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.portfolio-overlay .portfolio-links {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay .portfolio-links {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.portfolio-overlay a:hover {
    transform: translateY(-5px) scale(1.2);
}

/* Contact Section */
.contact {
    background-color: var(--dark);
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    align-self: center;    
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-icon {
    font-size: 20px;
    color: var(--accent);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 206, 201, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-5px) scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .btn {
        display: block;
        width: max-content;
        margin: 0 auto 15px;
    }
    
    .btn-outline {
        margin-left: auto;
    }
}

btn-outline:hover {
    background-color: var(--accent);
}

/* About Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 15px;
}

.skills {
    margin-top: 30px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-bar {
    height: 10px;
    background-color: #dfe6e9;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--accent);
    border-radius: 5px;
}

/* Services Section */
.services {
    background-color: #f1f2f6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 206, 201, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.portfolio-overlay a:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    background-color: var(--dark);
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 20px;
    color: var(--accent);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--dark);
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .btn {
        display: block;
        width: max-content;
        margin: 0 auto 15px;
    }
    
    .btn-outline {
        margin-left: auto;
    }
}
/* Productos */
.product-card {
    position: relative;
    padding-bottom: 80px;
}

.product-img {
    height: 240px;
    width: 90%;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 10px 10px 0 0;
}

.product-img img {
    width: 100%;
    height: 80%;
    border-radius: 10px 10px 0 0;
}

.product-description {
    min-height: 60px;
    margin-bottom: 15px;
}

.product-features {
    text-align: left;
    margin-bottom: 15px;
}

.product-features p {
    margin-bottom: 8px;
    font-size: 14px;
}

.product-features i {
    color: var(--accent);
    margin-right: 8px;
}

.product-price {
    position: center;
    bottom: 70px;
    left: 30px;
    font-size: 24px;
    font-weight: bold;
    margin-top: 100px;
    color: var(--accent);
    
}

.product-card .btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
}

/* Testimonios */
.testimonial-author {
    margin-top: 20px;
    font-style: italic;
}

.testimonial-author span {
    display: block;
    font-size: 14px;
    color: var(--secondary);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer p {
    padding: 15px 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
/* Product Detail Page */
.text-center {
    text-align: center;
}

.product-hero {
    background-color: var(--dark);
    color: white;
    padding: 160px 0 50px;
}

.product-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-screenshot {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    
}

.product-screenshot img {
    width: 100%;
    display: block;
}

.product-header {
    flex: 1;
}

.fas.fa-download {
    font-size: 24px;
    color: var(--accent);
    margin-right: 10px;
}

.badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--accent);
}

.product-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: white;
}

.product-price span {
    font-size: 16px;
    color: #ccc;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-savings {
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.product-meta {
    margin-top: 30px;
}

.product-meta p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-meta i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    color: var(--accent);
    margin-top: 3px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

/* Demo Video */
.demo-video {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.demo-video iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Requirements */
.requirements-list {
    text-align: left;
    padding-left: 20px;
}

.requirements-list li {
    margin-bottom: 10px;
    position: relative;
}

/* Testimonials */
.testimonial-rating {
    color: gold;
    margin-bottom: 10px;
}

.testimonial-author {
    margin-top: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .product-hero .container {
        flex-direction: column;
    }
    
    .product-screenshot,
    .product-header {
        width: 100%;
    }
    
    .demo-video iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-buttons {
        flex-direction: column;
    }
    
    .demo-video iframe {
        height: 300px;
    }
    
    .product-title {
        font-size: 28px;
    }
}

.demo-video {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
}

.demo-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Css de los sistemas card */

/* Systems Section Styles */
.systems {
    background-color: #f9f9f9;
    padding: 100px 0;
}

.section-title p {
    color: var(--secondary);
    margin-top: 10px;
    font-size: 18px;
}

.system-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
}

.filter-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.filter-btn:not(.active) {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--accent);
}

.filter-btn:not(.active):hover {
    background-color: rgba(0, 206, 201, 0.1);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.system-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.system-img {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.system-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.system-card:hover .system-img img {
    transform: scale(1.05);
}

.system-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.system-badge.demo {
    background-color: #e67e22; /* Orange for demos */
}

.system-badge.free {
    background-color: #2ecc71; /* Green for free */
}

.system-badge.premium {
    background-color: #9b59b6; /* Purple for premium */
}

.system-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.system-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.system-description {
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.system-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.system-features p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.system-features i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 14px;
}

.system-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.system-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(rgba(30, 39, 46, 0.9), rgba(30, 39, 46, 0.9)), 
                url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    .system-actions {
        flex-direction: column;
    }
    
    .system-actions .btn {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

/* YouTube Hero Section */
.youtube-hero {
    background: linear-gradient(rgba(30, 39, 46, 0.85), rgba(30, 39, 46, 0.85)), 
                url('img/photo-1611162617213-7d7a39e9b1d7.avif');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.youtube-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 40px;
    color: #ff0000;
    animation: pulse 2s infinite;
}

.youtube-logo span {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-left: 10px;
    font-size: 32px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.youtube-btn {
    background-color: #ff0000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.youtube-btn:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}

/* Tutoriales Section */
.tutorials {
    background-color: #f9f9f9;
}

.tutorial-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tutorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.tutorial-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tutorial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tutorial-card:hover .tutorial-thumbnail img {
    transform: scale(1.05);
}

.tutorial-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.tutorial-tag.excel {
    background-color: #1d6f42; /* Excel green */
}

.tutorial-tag.appsheet {
    background-color: #4285F4; /* Google blue */
}

.tutorial-tag.csharp {
    background-color: #68217A; /* C# purple */
}

.tutorial-tag.web {
    background-color: #E44D26; /* HTML orange */
}

.tutorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutorial-card:hover .tutorial-overlay {
    opacity: 1;
}

.tutorial-overlay i {
    color: white;
    font-size: 50px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tutorial-card:hover .tutorial-overlay i {
    opacity: 1;
    transform: scale(1.1);
}

.tutorial-info {
    padding: 20px;
}

.tutorial-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.tutorial-description {
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.tutorial-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 14px;
}

.tutorial-meta i {
    margin-right: 5px;
}

.tutorial-actions {
    display: flex;
    gap: 10px;
}

.tutorial-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Request Section */
.request {
    background-color: var(--dark);
    color: white;
}

.request .section-title h2 {
    color: white;
}

.request .section-title p {
    color: #dfe6e9;
}

.request-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 206, 201, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer YouTube Link */
.youtube-social {
    color: #ff0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .tutorial-actions {
        flex-direction: column;
    }
    
    .tutorial-actions .btn {
        width: 100%;
    }
    
    .youtube-logo {
        font-size: 30px;
    }
    
    .youtube-logo span {
        font-size: 24px;
    }
}

/* Estilos para el modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000; /* Por encima de todo */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Fondo oscuro semitransparente */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.cta-content {
    text-align: center;
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}


/* Sección Clientes */
.clients {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    width: calc(250px * 12); /* Ancho de cada logo * cantidad (original + duplicados) */
    animation: scroll 30s linear infinite;
}

.client-item {
    width: 200px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.client-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6)); /* Mover solo el ancho de los logos originales */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .client-track {
        animation-duration: 20s;
    }
    .client-item {
        width: 150px;
    }
}

/* carrucel de testomonios*/
/* Estilos del carrusel de testimonios */
.testimonial-section {
    background-color: #f8f9fa;
}

.testimonial-carousel {
    position: relative;
    max-width : 100%;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

/* Controles del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators span.active {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-slide {
        padding: 20px 10px;
    }
    
    .carousel-control {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}

/* Animaciones básicas */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
    transform: translateY(20px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Tipos específicos de animaciones */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-90deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}
