/* Contact Page Styling */

.contact-page {
    background: var(--page-bg);
    padding: 60px 0;
    min-height: calc(100vh - 80px - 250px);
}

.contact-hero {
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--navy-dk);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Info Cards */
.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-info-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-dk);
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(18, 74, 162, 0.08);
    color: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-details h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.info-details p, .info-details a {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
}

.info-details a:hover {
    color: var(--navy);
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-dk);
    margin-bottom: 25px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(18, 74, 162, 0.12);
}

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

.form-error {
    color: #DC2626;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--navy);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit:hover {
    background: var(--navy-lt);
}

.btn-submit:active {
    transform: scale(0.99);
}

/* Success Card */
.contact-success {
    background: #D1FAE5;
    color: #065F46;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #A7F3D0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: 40px 0;
    }
    .contact-hero h1 {
        font-size: 32px;
    }
    .contact-info-card, .contact-form-card {
        padding: 24px;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
