@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --bs-primary: #005CA9;       /* Color principal */
  --bs-primary-rgb: 0, 92, 169; /* RGB equivalente */
}

.btn-primary {
  --bs-btn-bg: #005CA9;
  --bs-btn-border-color: #005CA9;
  --bs-btn-hover-bg: #004a87; /* opcional: un tono más oscuro */
  --bs-btn-hover-border-color: #004a87;
  --bs-btn-active-bg: #003b6b; /* opcional: más oscuro aún */
  --bs-btn-active-border-color: #003b6b;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.hero-section {
    position: relative;
    height: auto;
    max-height: 50vh;
    background: #071961;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(53, 113, 158, 0.9), rgba(0, 0, 0, 0.2));
}*/

.hero-content {
    position: relative;
    z-index: 1;
}

.main-content {
    margin-top: -75px;
    position: relative;
    z-index: 2;
}

.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.btn {
    padding-top: 0.475rem;
    padding-bottom: 0.475rem;
}

@media (max-width: 768px) {
    .hero-section {
        max-height: auto;
    }
    .card-img-top {
        height: 150px;
    }
    .main-content {
        margin-top: 0;
        padding: 50px 20px 60px;
    }
}
