:root {
    --primary-color: #534394;
    --secondary-color: #1e40af;
}

/* Hero Section */
.hero {
    background: url('./assets/images/banner_hero_v2.png') center no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    background-attachment: scroll;
    background-size: 100% auto;
    height: auto;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    color: white;
    padding: 6rem 1rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Contact Form Validation */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(83, 67, 148, 0.25);
}

/* Custom Button Styles */
.btn-primary, .cta-button, .btn-primary:not(:disabled):not(.disabled) {
    background-color: #534394;
    border-color: #534394;
    transition: all 0.3s ease;
}

.btn-primary:hover, .cta-button:hover, .btn-primary:not(:disabled):not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 67, 148, 0.3);
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
}

/* Custom Card Styles */
.feature-card {
    border: none;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border: 2px solid var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
.animate {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    background-color: #534394;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .cta-section .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .cta-section .btn:not(:last-child) {
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        background-attachment: scroll;
        background-position: center center;
    }
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p.lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.cta-section .btn-light {
    background-color: white;
    color: #534394;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-outline-light:hover {
    background-color: white;
    color: #534394;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
