/* Contact Page Styles */

/* Main Layout Grid */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Info Card */
.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-header {
    margin-bottom: 1.5rem;
}

/* Info Labels */
.info-label {
    color: var(--accent-warm);
    font-weight: 500;
}

.info-label.mt {
    margin-top: 1.5rem;
}

/* Direct Contact Section */
.direct-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.direct-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

/* Responsive Logic */
@media screen and (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 3rem;
    }

    .contact-card {
        padding: 1.5rem;
        /* Slightly smaller padding on mobile */
    }

    .contact-card {
        padding: 1.5rem;
        /* Slightly smaller padding on mobile */
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.8);
    /* Dark semi-transparent background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-warm);
    margin-bottom: 1.5rem;
    border: 2px solid var(--accent-warm);
}

.modal-content h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Estimate Page Inputs */
.estimate-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    width: 100%;
    border-radius: 8px;
    color: white;
}