﻿header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
/*    background: #0060A890;
    backdrop-filter: blur(10px);*/
    transition: background 0.3s ease-in-out;
}

header.header-scrolled {
    background: #0060A890;
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 70px;
    width: auto;
    max-width: 180px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #dcdcdc !important;
    }

.navbar-toggler {
    border: none;
    outline: none;
    color: white;
}

.bi-list {
    font-size: 2.5rem;
    line-height: 1;
}

.dropdown-menu a {
    color: #000 !important;
}


.navbar-nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-weight: 500;
    font-size:1.1rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1.2rem;
        border-radius: 0.5rem;
    }

    .nav-item {
        text-align: start;
        font-size: 1.1rem;
    }

    .nav-link {
        padding: 0.5rem 0;
        font-size: 1.3rem;
    }
}

@media (max-width: 570px) {
    header {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
            background: #0060A890;
    backdrop-filter: blur(10px);
        transition: background 0.3s ease-in-out;
    }
    .navbar-brand img {
        height: 70px;
        width: 100%;
        transition: transform 0.3s ease;
    }

    .nav-link {
        font-size: 1.6rem;
    }

    .navbar-nav .nav-item {
        font-weight: 500;
        font-size: 1.2rem;
    }


    .bi-list {
        font-size: 3rem;
    }
}

footer {
    background: #0060A8;
    color: white;
}

    footer i {
        transition: transform 0.3s ease;
        cursor: pointer;
    }

        footer i:hover {
            transform: scale(1.2);
        }

.servicios-title {
    top: 50%;
    left: 10%;
    margin: 0;
    z-index: 9;
    font-size: 5vw;
}

@media (max-width: 576px) {
    .servicios-title {
        font-size: 13vw;
        left: 50%;
        top: 85%;
        width: 90%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .servicios-title {
        font-size: 5vw;
        left: 50%;
        top: 70%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
}

@media (min-width: 992px) {
    .servicios-title {
        font-size: 5vw;
    }
}



.toast-container {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

    .toast-container.top-start {
        top: 20px;
        left: 20px;
    }

    .toast-container.top-end {
        top: 20px;
        right: 20px;
    }

    .toast-container.bottom-start {
        bottom: 20px;
        left: 20px;
    }

    .toast-container.bottom-end {
        bottom: 20px;
        right: 20px;
    }

/* Toast Styles */
.toast {
    background: white;
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
    min-width: 380px;
    max-width: 420px;
    padding: 4px 0px 0px 0px;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
}

    .toast.success {
        color: #51e062;
    }

    .toast.warning {
        color: #ffbf00a3;
    }

    .toast.error {
        color: #ff6b6b;
    }

    .toast.loading {
        color: #667eea;
    }

.toast-body {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.7rem;
    color: #1a1a1a;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.toast-text {
    flex: 1;
    line-height: 1.4;
    letter-spacing: 0.3px;
    font-size: 0.9rem !important;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.toast.toast-appear {
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border-left: 6px solid currentColor;
}

.toast.toast-disappear {
    animation: slideOut 0.3s ease-out forwards;
}

@media (max-width: 480px) {
    .toast {
        min-width: 100%;
        max-width: 100%;
    }
}