/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f8fb;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.navbar .nav-link {
    color: #fff !important;
    margin-left: 10px;
}

.navbar .btn-success {
    background: #ff8c00;
    border: none;
}

.navbar .btn-success:hover {
    background: #e67600;
}

/* Títulos */
h1,
h2,
h3 {
    color: #1e3c72;
}


.hero-home {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
    margin: 2rem 0 2.5rem 0;
}

.hero-home h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-home p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .93);
}

.hero-badge {
    display: inline-block;
    background: #ffb800;
    color: #1a1a1a;
    font-weight: 700;
    font-size: .85rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero-illustration {
    max-height: 340px;
    object-fit: contain;
    background: rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}


/* Imagen de fondo */
.hero-dibujo-tecnico.png {
  width: 200px; /* Ajusta según necesites */
  animation: mover 0.5s infinite alternate ease-in-out;
}

@keyframes mover {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50px); /* Distancia del movimiento */
  }
}


/* Imagen de fondo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/img/hero_dibujo.png') center/cover no-repeat;
    opacity: 0.15;
    /* 🔥 clave: semitransparente */
    z-index: 1;
}

/* Oscurecer ligeramente (opcional pero recomendable) */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Contenido encima */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}



/* Cards */
.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Botones */
.btn-primary {
    background-color: #1e3c72;
    border: none;
}

.btn-primary:hover {
    background-color: #16335b;
}

.btn-warning {
    background-color: #ffb800;
    border: none;
}

.btn-warning:hover {
    background-color: #e6a100;
}

/* Container */
.container {
    padding-top: 40px;
    padding-bottom: 40px;
}

body {
    background-color: #f4f8fb;
}