:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --dark-blue: #1a1b4b;
    --light-blue: #4895ef;
    --text-color: #333;
    --light-text: #fff;
    --gray-bg: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Hero Section */
.hero {
    background: linear-gradient(120deg, var(--dark-blue), var(--light-blue));
    color: var(--light-text);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    width: 50%;
    padding-right: 2rem;
}

.sub-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.sub-heading:before, .sub-heading:after {
    content: "•";
    font-size: 1rem;
    color: var(--light-text);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-image {
    width: 50%;
    text-align: center;
}

.hero-image video {
    width: 640px; 
    height: 360px;
}



.hero-image img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons img {
    width: 280px;  
}


/* Decorative Elements */
.decorative-icon {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.icon-bulb {
    top: 10%;
    left: 10%;
    font-size: 2rem;
}

.icon-graph {
    bottom: 20%;
    right: 15%;
    font-size: 3rem;
}

.icon-megaphone {
    bottom: 10%;
    left: 5%;
    font-size: 2.5rem;
}

.icon-idea {
    top: 20%;
    right: 10%;
    font-size: 2rem;
}

/* Partners Section */
.partners {
    background-color: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.partner-logo {
    max-width: 120px;
    height: auto;
    padding: 0.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image {
    width: 45%;
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.stats-box {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    width: 150px;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-text {
    font-size: 0.8rem;
    line-height: 1.2;
}

.about-content {
    width: 55%;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-subtitle:before, .section-subtitle:after {
    content: "•";
    font-size: 1rem;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
    line-height: 1.2;
}

.about-description {
    margin-bottom: 2rem;
    color: #666;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-icon {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    gap: 0.5rem;
}

.phone-icon {
    background-color: #f5f7fa;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--gray-bg);
    text-align: center;
}

.services-title {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background-color: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-card-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-card-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
}

/* Chat button */
.chat-button {
    position: fixed;
    right: 20px;
    bottom: 70px;
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
}



/* Nuevos estilos para las secciones adicionales */

/* Projects Section */
.projects {
    padding: 5rem 0;
    background-color: #fff;
}

.center-dot {
    justify-content: center;
}

.projects-title {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.project-item.large {
    grid-row: span 2;
    height: 610px;
}

.project-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover 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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.btn-small {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    display: inline-block;
    text-decoration: none;
    margin-top: 0.5rem;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background-color: #1a1b2a;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-description {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

/* Advantage Section */
.advantage {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.advantage-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.advantage-image {
    width: 45%;
    position: relative;
}

.advantage-image img {
    width: 100%;
    border-radius: 10px;
}

.rocket-image {
    position: absolute;
    right: -30px;
    bottom: 30px;
    width: 120px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.advantage-content {
    width: 55%;
}

.advantage-description {
    margin-bottom: 2rem;
    color: #666;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
}

.advantage-icon {
    min-width: 50px;
    height: 50px;
    background-color: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 50px;
    height: auto;
}

.advantage-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.advantage-text p {
    font-size: 0.9rem;
    color: #666;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: #4361ee;
    color: white;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.team .section-title {
    color: white;
    margin-bottom: 0;
}

.btn-outline-primary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    margin: 1rem 0 0.2rem;
    color: var(--dark-blue);
    font-size: 1.2rem;
}

.member-position {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0 1rem;
    background-color: #fff;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #1a1b2a;
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials .section-title {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 0 auto;
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-position {
    font-size: 0.9rem;
    color: #ccc;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

.testimonial-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    width: 80px;
    height: 80px;
    opacity: 0.6;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-1 {
    top: 15%;
    left: 10%;
}

.circle-2 {
    top: 60%;
    left: 15%;
}

.circle-3 {
    top: 20%;
    right: 10%;
}

.circle-4 {
    top: 70%;
    right: 15%;
}

.circle-5 {
    top: 40%;
    left: 5%;
}

.circle-6 {
    top: 30%;
    right: 5%;
}

.testimonials-carousel {
    position: relative;
    z-index: 2;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.faq .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.faq-column {
    flex: 1;
}

.faq-image {
    flex: 1;
    text-align: center;
}

.faq-image img {
    max-width: 100%;
    height: auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

.faq-toggle {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Newsletter Section */
.newsletter {
    padding: 3rem 0;
    background-color: #0c0e1c;
    color: white;
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.email-input {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: none;
    min-width: 300px;
    font-size: 1rem;
    outline: none;
}

/* Footer */
.footer {
    padding: 5rem 0 0;
    background-color: #111423;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.about-column p {
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links i {
    font-size: 0.8rem;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-button {
    display: block;
    max-width: 160px;
    padding: 0.5rem;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
}

.app-button img {
    max-width: 100%;
    height: auto;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #ccc;
    margin: 0;
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.whatsapp {
    width: 200px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 5000;
}

.whatsapp img {
    width: 100%;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .7));
}















/* Responsive */
@media (max-width: 992px) {
    .hero-content, .about-container {
        flex-direction: column;
    }
    
    .hero-text, .hero-image, .about-image, .about-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-image video {
        width: 90%; 
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .stats-box {
        position: static;
        margin: 1rem auto;
    }
    
    .about-image img {
        margin-bottom: 1rem;
    }

       .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item.large {
        grid-row: span 1;
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .advantage-container {
        flex-direction: column;
    }
    
    .advantage-image, .advantage-content {
        width: 100%;
        text-align: center;
    }
    
    .advantage-item {
        text-align: left;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-header {
        flex-direction: column;
        gap: 1rem;
    }

    .faq-container {
        flex-direction: column;
    }
    
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

        .testimonial-circles {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}