/* ------------------------- */
/* VARIABLES Y ESTILOS BASE  */
/* ------------------------- */
:root {
    --primary-color: #0B2545; /* Azul Oscuro */
    --secondary-color: #2ECC71; /* Verde Vibrante */
    --accent-color: #F39C12; /* Naranja */
    --text-color: #34495E; /* Gris Oscuro */
    --light-gray: #F4F6F9;
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    padding-top: 70px; /* Ajuste para la barra de navegación fija */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
}

/* ------------------------- */
/* BOTONES PERSONALIZADOS    */
/* ------------------------- */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #28b463; /* Un verde un poco más oscuro */
    border-color: #28b463;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0e2e57;
    border-color: #0e2e57;
    transform: translateY(-2px);
}

.btn-outline-light {
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}


/* ------------------------- */
/* NAVEGACIÓN                */
/* ------------------------- */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar .nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--secondary-color);
}


/* ------------------------- */
/* SECCIÓN HERO              */
/* ------------------------- */
#hero {
    background: linear-gradient(rgba(11, 37, 69, 0.8), rgba(11, 37, 69, 0.8)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    color: #fff;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

#hero h1 .highlight {
    color: var(--secondary-color);
}

/* ------------------------- */
/* SECCIÓN SOLUCIONES        */
/* ------------------------- */
#soluciones .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

#soluciones .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

#soluciones .icon-circle {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* ------------------------- */
/* SECCIÓN CONTACTO          */
/* ------------------------- */
#contacto .form-control {
    border-radius: 8px;
    padding: 12px;
}
#contacto .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

/* ------------------------- */
/* FOOTER                    */
/* ------------------------- */
footer {
    background-color: var(--primary-color);
}