/* Contact Page Styles */
.page-contact .page-header {
    padding-top: 130px;
    padding-bottom: 2rem;
}

.contact-page-header .container {
    padding-top: 1rem;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #334155;
    margin-bottom: 0.8rem;
}

.contact-eyebrow::before {
    content: '';
    width: 2.2rem;
    height: 2px;
    background: var(--color-accent);
}

.page-contact .page-header h1,
.page-contact .page-header p,
.page-contact main section h2,
.page-contact main section h3,
.page-contact main section h4,
.page-contact main section p,
.page-contact main section li,
.page-contact main section label {
    color: #0f172a;
}

.page-contact .info-card,
.page-contact .info-card h2,
.page-contact .info-card h4,
.page-contact .info-card p {
    color: #ffffff;
}

.page-contact .info-content p {
    opacity: 0.85;
}

.contact-section {
    padding-top: calc(var(--spacing-lg) - 1rem);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Info Cards */
.info-card {
    background: linear-gradient(165deg, #0b1a43 0%, #0f172a 52%, #0b1228 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
    height: 100%;
}

.info-title {
    margin-bottom: 1.25rem;
}

.info-intro {
    color: #d6e1ff;
    margin-bottom: 2.2rem;
    line-height: 1.65;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-gold);
}

.info-content h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.info-content p {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.4;
}

.info-link {
    color: #ffffff;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.info-link:hover {
    color: #bfdbfe;
    border-bottom-color: #bfdbfe;
}

/* Form Styling */
.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.form-title {
    margin-bottom: 0.75rem;
}

.form-subtitle {
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 0.82rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #ffffff;
}

.contact-submit-btn {
    width: 100%;
}

/* Resources Grid */
.resources-section {
    background-color: var(--color-bg-page);
}

.resources-header {
    margin-bottom: 4rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.resource-title {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.resource-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.resource-note {
    margin-top: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.resource-tags {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.resource-tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    border: 1px solid #dbe4ef;
}

/* Map Section */
.offices-section {
    background-color: var(--color-bg-light);
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.office-image-box {
    height: 400px;
}

@media (max-width: 768px) {

    .office-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

.map-placeholder {
    background: #e2e8f0;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    overflow: hidden;
    position: relative;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    filter: grayscale(1);
}

.map-overlay {
    position: absolute;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-overlay h4 {
    margin-bottom: 0.5rem;
}

.map-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.map-link {
    padding: 0.5rem 1rem;
}

.office-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {

    .page-contact .page-header {
        padding-top: 110px;
    }

    .contact-section {
        padding-top: 2.75rem;
    }

    .info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .map-overlay {
        width: calc(100% - 2rem);
        left: 1rem;
        right: 1rem;
    }
}
