@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body, html {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

.contact-hero-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(13, 202, 240, 0.8)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.transition-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-link:hover .transition-hover,
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.contact-card-link:hover .icon-box {
    transform: scale(1.1);
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

textarea {
    resize: none;
}

.toast-container-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-left: 5px solid #0d6efd;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 8px; 
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateX(100%);
    font-family: 'Inter', sans-serif;
}

.custom-toast.success { border-left-color: #198754; }
.custom-toast.success i { color: #198754; }

.custom-toast.error { border-left-color: #dc3545; }
.custom-toast.error i { color: #dc3545; }

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOutRight {
    to { opacity: 0; transform: translateX(100%); }
}

.toast-hiding {
    animation: fadeOutRight 0.5s ease forwards;
}

@media (max-width: 768px) {
    .contact-hero-section h1 { font-size: 2.5rem; }
    .contact-hero-section { padding: 3rem 1rem !important; }
}