/* Contact Page Styles */
/* Hero section uses existing hero.css styles */

/* Blue Banner Section */
.contact-banner {
    background: var(--mhh-teal-700);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 1200px;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-button {
    background: white;
    color: var(--mhh-teal-700);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--mhh-gray-50);
}

.banner-heading {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.banner-patterns {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.pattern-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.pattern-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 0 100% 0 0;
}

.contact-content {
    padding: 4rem 2rem;
    background: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section h2 {
    font-size: 2.5rem;
    color: var(--mhh-gray-800);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-form-section .subtitle {
    color: var(--mhh-gray-600);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    color: var(--mhh-gray-800);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 2px solid var(--mhh-gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--mhh-salmon-dark);
    box-shadow: 0 0 0 3px rgba(224, 107, 90, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--mhh-salmon-dark);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--mhh-gray-600);
    line-height: 1.4;
}

.privacy-policy {
    font-size: 0.85rem;
    color: var(--mhh-gray-600);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.privacy-policy a {
    color: var(--mhh-salmon-dark);
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.submit-button {
    background: var(--mhh-salmon-dark);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--mhh-salmon-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 107, 90, 0.3);
}

.contact-info-section {
    background: linear-gradient(135deg, var(--mhh-gray-50), var(--mhh-gray-100));
    padding: 3rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(224, 107, 90, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-section h2 {
    font-size: 2.5rem;
    color: var(--mhh-gray-800);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--mhh-salmon-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-weight: 600;
    color: var(--mhh-gray-800);
    margin-bottom: 0.25rem;
}

.contact-text p,
.contact-text a {
    color: var(--mhh-gray-600);
    text-decoration: none;
    margin: 0;
    line-height: 1.4;
}

.contact-text a:hover {
    color: var(--mhh-salmon-dark);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideInRight 0.4s ease-out, fadeOut 0.3s ease-in 4.7s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-notification.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast-notification.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.toast-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(400px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }

    .contact-banner {
        margin: 1rem;
        padding: 3rem 1.5rem;
    }

    .banner-heading {
        font-size: 2.5rem;
    }

    .pattern-left,
    .pattern-right {
        width: 150px;
        height: 150px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        padding: 2rem 1rem;
    }

    .contact-info-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {

    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 2rem;
    }
}