/* style.css - Estilos personalizados Mi3F */
* { box-sizing: border-box; }

body {
    font-family: 'Archivo', sans-serif;
    background: #F8FFFB;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
    background: rgba(5, 129, 201, 0.5);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}
.logo-img {
    width: 100%;
    height: 40px;
}

.logo-img-2 {
    width: 180%;
}
.logo-text {
    font-weight: 700;
    font-size: 1.4rem;
    color: #00A859;
}
.nav-link {
    color: #555 !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}
.nav-link.active,
.nav-link:hover {
    color: #0066CC !important;
}
.btn-ingresar {
    border: 2px solid #094174 !important;
    color: #094174 !important;
    font-weight: 600;
}
.btn-registrarme {
    background: #094174 !important;
    color: white !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #fdfdfd 0%, #E6F7FF 100%);
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #0066CC;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.82rem;
    font-weight: 500;
    color: #0066CC;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.15rem;
    color: #4A4A4A;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.btn-cta {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 8px;
}
.btn-cta-primary {
    background: #094174;
    color: white;
    border: none;
}
.btn-cta-secondary {
    background: transparent;
    color: #094174;
    border: 2px solid #094174;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(29, 49, 91, 0.3);
}
.illustration-main {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Burbujas decorativas */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(5, 129, 201, 0.5);
    pointer-events: none;
    z-index: 0;
}
.bubble-lg { width: 380px; height: 380px; top: -100px; right: -100px; }
.bubble-md { width: 250px; height: 250px; bottom: 10%; left: -80px; background: rgba(29, 49, 91, 0.5); }
.bubble-sm { width: 150px; height: 150px; top: 30%; right: 10%; background: rgba(9, 65, 116, 0.5); }

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */
@media (max-width: 1400px) {
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { text-align: center; }
    .btn-cta { display: block; width: 80%; max-width: 300px; margin: 10px auto; }
    .logo-img-2{max-width: 200%; margin-top: 5%;}
    .logo-img{max-width: 100%;}
    .hero-title{font-size: 2.2rem;}
    .hero-subtitle{font-size: 1.5rem;}
}

@media (max-width: 992px) {
    .navbar{background: rgba(5, 129, 201, 1);}
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { text-align: center; }
    .btn-cta { display: block; width: 80%; max-width: 300px; margin: 10px auto; }
    .logo-img-2{max-width: 15%;margin-top: -5%;}
    .logo-img{max-width: 0%;}
    .hero-section{padding-top: 25%;}
}
@media (max-width: 768px) {
    .navbar{background: rgba(5, 129, 201, 1);}
    .hero-title { font-size: 2.2rem; text-align: center; }
    .hero-subtitle { text-align: center; }
    .hero-content { text-align: center; margin-bottom: 3rem; }
    .illustration-main { max-width: 90%; }
    .logo-img-2{max-width: 25%; margin-top: -5%;}
    .logo-img{max-width: 0%;}
    .hero-section {padding-top: 35%;}
}