﻿.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

    .contact-card-icon::after {
        content: '';
        position: absolute;
        inset: -5px;
        border-radius: 50%;
        background: inherit;
        opacity: 0.3;
        z-index: -1;
        filter: blur(10px);
    }

.info-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.info-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 1.5rem;
}

    .info-header h3 {
        margin: 0;
        font-size: 1.25rem;
    }

.info-body {
    padding: 2rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

    .info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.map-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

    .map-header h3 {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }

.map-container {
    padding: 1rem;
}

.map-actions {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.accordion-item {
    border: none;
    background: white;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.accordion-button {
    border-radius: 12px !important;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

    .accordion-button:not(.collapsed) {
        background-color: rgba(13, 110, 253, 0.1);
        color: #0d6efd;
    }

.accordion-body {
    padding: 1.5rem;
}

.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 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);
}

    .custom-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .custom-toast i {
        font-size: 1.25rem;
    }

@media (max-width: 576px) {
    .custom-toast {
        bottom: 20px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

    .contact-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .contact-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .contact-card:nth-child(3) {
        animation-delay: 0.3s;
    }

.btn-success,
.btn-success:link,
.btn-success:visited {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
}

    .btn-success:hover,
    .btn-success:focus,
    .btn-success:active {
        background-color: #1fb855 !important;
        border-color: #1fb855 !important;
        color: #ffffff !important;
    }

    .btn-success i,
    .btn-success span {
        color: #ffffff !important;
    }

html {
    scroll-behavior: smooth;
}

.btn {
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

@media (hover: none) and (pointer: coarse) {
    .contact-card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    }

    .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .contact-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .btn:active {
        transform: scale(0.96);
        opacity: 0.9;
        transition: all 0.1s ease;
    }

    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
}

* {
    -webkit-tap-highlight-color: rgba(13, 110, 253, 0.1);
}

a, button, .btn {
    -webkit-tap-highlight-color: rgba(13, 110, 253, 0.2);
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

@media (max-width: 991.98px) {
    .info-body {
        padding: 1.5rem;
    }

    .map-header,
    .map-actions {
        padding: 1.25rem 1.5rem;
    }

    .map-actions {
        flex-direction: column;
    }

        .map-actions .btn {
            width: 100%;
        }
}

@media (max-width: 767.98px) {
    .section.bg-light {
        display: block !important;
        visibility: visible !important;
    }

        .section.bg-light .container,
        .section.bg-light .row,
        .section.bg-light [class*="col-"] {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

    .contact-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1.5rem;
        width: 100%;
        padding: 1.5rem;
    }

    .contact-card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .map-container iframe {
        height: 350px !important;
    }

    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

@media (max-width: 575.98px) {
    .display-6 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .map-container {
        padding: 0.75rem;
    }

        .map-container iframe {
            height: 300px !important;
        }

    .contact-card {
        padding: 1.25rem;
    }

        .contact-card h5 {
            font-size: 1.1rem;
        }

        .contact-card p {
            font-size: 0.9rem;
        }
}
