/* Variables y Reset */
:root {
    --color-purple: #3A0CA3;
    --color-orange: #FF6B35;
    --color-white: #FAF9F9;
    --color-gray: #5C5C5C;
    --color-blue: #4CC9F0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-gray);
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-purple);
    transition: var(--transition);
}

a:hover {
    color: var(--color-orange);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-purple);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-purple);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-purple);
    color: var(--color-purple);
}

.btn-secondary:hover {
    background-color: var(--color-purple);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.logo svg {
    height: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-purple);
    margin: 6px 0;
    transition: var(--transition);
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-gray);
    position: relative;
}

.nav-link:hover {
    color: var(--color-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-orange);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(58, 12, 163, 0.9), rgba(76, 201, 240, 0.9)), url('../img/0VNp4e.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    margin-top: 82px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service:hover .service-image img {
    transform: scale(1.1);
}

.service h3, .service p {
    padding: 0 1.5rem;
}

.service h3 {
    margin-top: 1.5rem;
}

.service p {
    margin-bottom: 1.5rem;
}

.service .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Infographic Section */
.infographic {
    background-color: var(--color-purple);
    color: var(--color-white);
}

.infographic h2 {
    color: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-blue);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-number {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-white);
    z-index: 1;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.timeline-item:hover .timeline-number {
    background-color: var(--color-blue);
    transform: scale(1.1);
}

.timeline-content h3 {
    color: var(--color-white);
}

/* Testimonials Section */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-blue);
    position: absolute;
    opacity: 0.3;
}

.testimonial-quote::before {
    top: -20px;
    left: -10px;
}

.testimonial-quote::after {
    content: '"';
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-purple);
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--color-orange);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: var(--color-purple);
    color: var(--color-white);
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: #fff;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Contact Form */
.contact {
    background-color: #f9f9f9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(58, 12, 163, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--color-purple);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-heading {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-contact-list,
.footer-links {
    list-style: none;
}

.footer-contact-item,
.footer-link-item {
    margin-bottom: 0.5rem;
}

.footer-contact-link,
.footer-link {
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-contact-link:hover,
.footer-link:hover {
    opacity: 1;
    color: var(--color-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.5s ease;
}

.cookie-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.cookie-decline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 82px);
        background-color: var(--color-white);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav.show {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
    }
    
    .nav-item {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
} 