body {
    padding-top: 60px;
    /* Add padding to prevent content from hiding behind fixed header */
}

/* Custom Styles for Header - Kept for safety, though likely handled by global CSS */
.header-animate {
    transition: all 0.3s ease-in-out;
}

/* Mobile menu styles removed to use global style.css */

/* Desktop Dropdown Styles removed to use global style.css logic */

/* Keyframes for spin animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Map Styles */
#map {
    height: 400px;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    /* Ensure map stays below mobile menu */
}

/* Contact Info Cards */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Security features */
.security-badge {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* --- Toast Notification Styles --- */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 320px;
    max-width: 400px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-left: 6px solid #e5e7eb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(100%);
    font-family: 'Inter', sans-serif;
}

.toast.success {
    border-left: 6px solid #10b981;
    /* Emerald 500 */
}

.toast.error {
    border-left: 6px solid #ef4444;
    /* Red 500 */
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.toast-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast.success .toast-icon {
    color: #10b981;
    font-size: 20px;
}

.toast.error .toast-icon {
    color: #ef4444;
    font-size: 20px;
}

.toast-text-group {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.toast-message {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    margin-left: 12px;
    font-size: 20px;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.toast-close:hover {
    color: #111827;
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* --- Mobile Specific Adjustments --- */
@media (max-width: 640px) {
    .toast-container {
        width: 90%;
        max-width: 400px;
        /* Center Horizontally */
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 85px;
        /* Adjust if needed */
        z-index: 2147483647;
        /* Maximum Z-Index */
    }

    .toast {
        min-width: 0;
        width: 100%;
        /* Animation adjustment for centered item? 
           Original slideIn comes from right (translateX 100).
           If we want it to slide in nicely on mobile, distinct from desktop,
           we might need a different animation, or just let it slide from right.
           Sliding from right while centered might look okay.
        */
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
}