/* ========================================
   Contact Page Styles
   ======================================== */

/* CSS Variables for consistency */
:root {
    --brand-blue: #1f3c88;
    --brand-black: #101820;
    --brand-yellow: #f2a104;
}

/* Contact Page Layout */
.contact__intro {
    margin-bottom: 3rem;
    text-align: center;
}

.contact__methods {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Contact Method Cards */
.contact-method {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(31, 60, 136, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
}

.contact-method:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 60, 136, 0.15);
}

.contact-method__title {
    color: var(--brand-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.contact-method__description {
    margin: 0 0 1.5rem;
    line-height: 1.6;
    color: #555;
}

.contact-method__action {
    margin-top: 1.5rem;
}

/* Company Section */
.contact__company {
    margin-bottom: 3rem;
}

.contact__company .section__subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--brand-blue);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Company Table Styles */
.company-table {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    background: rgba(31, 60, 136, 0.05);
    border-radius: 0.75rem;
    border-collapse: collapse;
    overflow: hidden;
}

.company-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(31, 60, 136, 0.1);
    vertical-align: top;
}

.company-table td:first-child {
    width: 30%;
    background: rgba(31, 60, 136, 0.02);
    font-weight: 600;
    color: var(--brand-blue);
}

.company-table td:last-child {
    width: 70%;
    line-height: 1.6;
}

.company-table tr:last-child td {
    border-bottom: none;
}

/* Back Button */
.contact__back {
    text-align: center;
    margin-top: 3rem;
}

/* Override secondary button style for better visibility */
.contact__back .btn--secondary {
    background: var(--brand-blue);
    color: white;
    border: 2px solid var(--brand-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact__methods {
        padding: 0 1rem;
    }

    .contact-method {
        padding: 1.5rem;
        max-width: 100%;
    }

    .contact-method__title {
        font-size: 1.25rem;
    }
}