/* Alece V2 - Modern Custom Styles */

:root {
    --alece-blue: #002774;
    --alece-green: #52BC00;
    --alece-dark: #1a1a1a;
    --alece-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar Moderna */
.navbar-alece {
    background: linear-gradient(135deg, var(--alece-blue) 0%, #006a8e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-alece .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-alece .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.navbar-alece .nav-link:hover {
    color: var(--alece-green) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--alece-blue) 0%, #006a8e 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 5;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.btn-alece-primary {
    background: var(--alece-green);
    border: none;
    color: white;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 188, 0, 0.3);
}

.btn-alece-primary:hover {
    background: #469e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 188, 0, 0.4);
}

.btn-alece-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-alece-outline:hover {
    background: white;
    color: var(--alece-blue);
}

/* Cards Modernos */
.card-modern {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-modern .card-body {
    padding: 2rem;
}

.card-modern .card-title {
    color: var(--alece-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Sección de Features */
.features-section {
    padding: 80px 0;
    background: var(--alece-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--alece-blue), var(--alece-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Partners Grid */
.partner-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--alece-blue);
}

.partner-card img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Tarjetas de Contacto */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--alece-blue);
    height: auto !important;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info-card h5 {
    color: #52BC00;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info-card h5 i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.contact-info-card p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

/* Footer Moderno */
.footer-modern {
    background: var(--alece-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-modern h5 {
    color: var(--alece-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-modern a:hover {
    color: var(--alece-green);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--alece-blue);
    transform: translateY(-3px);
}

/* Secciones */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--alece-blue);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--alece-green);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}