﻿@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }

        .navbar-nav .nav-item {
            padding: 0.5rem 0;
        }

    .navbar-actions {
        padding: 1rem 0;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

        .navbar-actions .btn {
            width: 100%;
            margin: 0 !important;
        }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .dropdown-submenu .dropdown-menu {
        padding-left: 2rem;
    }

    .dropdown-submenu .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-left: 0;
        box-shadow: none;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

        .footer .row > div {
            margin-bottom: 2rem;
        }

    .footer-widget h5,
    .footer-widget h6 {
        margin-top: 1rem;
    }

    .social-links {
        justify-content: center;
        display: flex;
    }

    .footer-bottom-links {
        margin-top: 1rem;
    }

    .contact-info .contact-item {
        justify-content: center;
        text-align: center;
    }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        margin-left: 0;
    }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .navbar-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

        .navbar-actions .btn i {
            font-size: 16px;
        }

    .navbar-actions .btn-outline-primary {
        border: 1px solid #0d6efd;
        color: #0d6efd;
    }

        .navbar-actions .btn-outline-primary:hover {
            background-color: #0d6efd;
            color: white;
        }

    .navbar-actions .btn-success {
        background-color: #25d366 !important;
        border-color: #25d366 !important;
        color: white !important;
    }

        .navbar-actions .btn-success:hover {
            background-color: #1fb855 !important;
            border-color: #1fb855 !important;
        }

.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    font-weight: 500;
}

    .btn-whatsapp:hover,
    .btn-whatsapp:focus,
    .btn-whatsapp:active {
        background-color: #1fb855 !important;
        border-color: #1fb855 !important;
        color: #ffffff !important;
    }

    .btn-whatsapp i,
    .btn-whatsapp span {
        color: #ffffff !important;
    }

@media (hover: none) and (pointer: coarse) {
    .btn-whatsapp:hover {
        background-color: #25D366 !important;
        border-color: #25D366 !important;
    }

    .btn-whatsapp:active {
        background-color: #1fb855 !important;
        border-color: #1fb855 !important;
        transform: scale(0.96);
    }
}
.phone-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .phone-modal.show {
        display: flex;
        opacity: 1;
    }

.phone-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.phone-modal.show .phone-modal-content {
    transform: scale(1);
}

.phone-modal-header {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

    .phone-modal-header::before {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
        opacity: 0.2;
        animation: pulse 2s ease-in-out infinite;
    }

@@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.phone-modal-header i {
    font-size: 2rem;
    color: white;
    z-index: 1;
}

.phone-modal-content h3 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
}

.phone-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.phone-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

    .phone-modal-actions .btn {
        flex: 1;
        padding: 0.875rem;
        font-weight: 500;
        font-size: 1rem;
    }

.phone-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

    .phone-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .phone-toast i {
        font-size: 1.25rem;
        animation: ring 1s ease-in-out infinite;
    }

@@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }

    10%, 30% {
        transform: rotate(-10deg);
    }

    20%, 40% {
        transform: rotate(10deg);
    }
}

@@media (max-width: 768px) {
    .phone-modal-content {
        padding: 2rem;
    }

    .phone-modal-header {
        width: 70px;
        height: 70px;
    }

        .phone-modal-header i {
            font-size: 1.75rem;
        }

    .phone-number {
        font-size: 1.5rem;
    }

    .phone-modal-content h3 {
        font-size: 1.25rem;
    }
}

@@media (max-width: 576px) {
    .phone-toast {
        bottom: 20px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

