@font-face {
    font-family: "MiFuente";
    /* src: url("font/OnAir-Light.ttf") format("truetype"); */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "MiFuente", sans-serif;
    /* Combina la imagen de fondo con un degradado lineal azul semitransparente */
    /* background-image: linear-gradient(rgba(11, 156, 234, 0.5), rgba(11, 156, 234, 0.5)), url("img/fondo_pc.jpg"); */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100%;
    margin: 0;
    color: rgb(0, 0, 0);
}

input.form-control {
    /* background-color: #F5F5F5; */
    border: 0.5px solid #000;
    transition: all 0.3s ease-in-out;

}

/* Cambios al hacer focus */
input.form-control:focus {
    background-color: #fff;
    border-color: #bfa252;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: scale(1.03);
    /* Pequeño zoom al enfocarse */
}

/* Botón con animación */
.btn-primary {
    background-color: #bfa252;
    border: none;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #bfa252;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 91, 187, 0.4);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* Tarjeta con transición */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.toast {
    /* visibility: hidden; */
    min-width: 250px;
    /* margin-left: -125px; */
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    /* left: 50%; */
    bottom: 30px;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Mostrar el toast (con la animación de ) */
.toast.show {
    visibility: visible;
    opacity: 1;
}

/* Estilo para éxito y error */
.toast.success {
    background-color: #4CAF50;
    /* Verde */
}

.toast.error {
    background-color: #f44336;
    /* Rojo */
}

/* Estilo de animación para desvanecerse */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Puedes cambiar la dirección */
    }

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

/* Clase para los elementos que tendrán la animación */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Puedes aplicar un retraso para los elementos según sea necesario */
.fade-in-delay {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
    /* Retraso de 0.2 segundos */
}

/* Custom Navbar Styles */
.navbar {
    /* font-family: Lato; */
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: #0061F2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: all 0.3s ease-in-out;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #bfa252 !important;
    background: rgba(191, 162, 82, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: #bfa252;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        padding-top: 20px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

/* Footer Styles */
.elementor-section {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    padding: 60px 0 40px 0;
    margin-top: 80px;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Social Media Icons */
.elementor-social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.elementor-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white !important;
}

/* Footer Columns */
.elementor-inner-section {
    background: transparent !important;
    padding: 0;
}

.elementor-column {
    padding: 0 15px;
    flex: 1;
    min-width: 200px;
}

/* Specific column widths for better alignment */
.elementor-col-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 992px) {
    .elementor-col-5 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .elementor-col-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.elementor-widget-text-editor {
    margin-bottom: 20px;
}

.elementor-widget-text-editor p {
    color: white !important;
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.elementor-widget-text-editor p:first-child {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    color: white !important;
}

.elementor-widget-text-editor p:not(:first-child) {
    cursor: pointer;
    opacity: 0.8;
}

.elementor-widget-text-editor p:not(:first-child):hover {
    opacity: 1;
    color: #bfa252 !important;
    transform: translateX(5px);
}

/* Footer Logo Section */
.elementor-widget-image {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.elementor-widget-image img {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.elementor-widget-image img:hover {
    opacity: 1;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .elementor-section {
        padding: 40px 0 30px 0;
    }

    .elementor-social-icons-wrapper {
        gap: 15px;
        margin-bottom: 30px;
    }

    .elementor-social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .elementor-column {
        margin-bottom: 30px;
        text-align: center;
    }

    .elementor-widget-text-editor p:not(:first-child):hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .elementor-container {
        padding: 0 15px;
    }

    .elementor-widget-text-editor p {
        font-size: 13px;
    }

    .elementor-widget-text-editor p:first-child {
        font-size: 15px;
    }
}