/* ============================================
   Contact Page Styles
   Follows DSAIL design system (style.css)
   ============================================ */

/* ── Page Hero ──────────────────────────────── */
.contact-hero {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #111827 60%, #1a1a2e 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(245, 158, 11, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-label {
    display: inline-block;
    font-family: 'Geist', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50px;
    padding: 0.35rem 1.1rem;
    margin-bottom: 1.25rem;
}

.contact-hero-title {
    font-family: 'Geist', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.contact-hero-title span {
    color: var(--color-primary);
}

.contact-hero-sub {
    font-family: 'Geist', sans-serif;
    font-size: 1.05rem;
    color: #9ca3af;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Breadcrumb ──────────────────────────────── */
.contact-breadcrumb {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.contact-breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-breadcrumb a:hover {
    color: var(--color-primary);
}

.contact-breadcrumb-sep {
    color: #4b5563;
}

.contact-breadcrumb-current {
    color: var(--color-primary);
    font-weight: 600;
}

/* ── Main Section ────────────────────────────── */
.contact-section {
    padding: 5rem 0 6rem;
    background: var(--color-bg);
}

/* ── Info Cards ──────────────────────────────── */
.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    border-radius: 14px 0 0 14px;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}

.contact-info-card:hover::after {
    transform: scaleY(1);
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.contact-info-card:hover .contact-info-icon {
    background: rgba(245, 158, 11, 0.18);
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    stroke: var(--color-primary);
}

.contact-info-body {}

.contact-info-label {
    font-family: 'Geist', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-value a:hover {
    color: var(--color-primary);
}

/* ── Social Row ──────────────────────────────── */
.contact-social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.contact-social-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ── Map Card ────────────────────────────────── */
.contact-map-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-map-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: none;
}

.contact-map-footer {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-map-address {
    font-family: 'Geist', sans-serif;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

.contact-map-address strong {
    display: block;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.contact-map-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}

.contact-map-link:hover {
    color: var(--color-secondary);
}

/* ── Form Card ───────────────────────────────── */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.contact-form-title {
    font-family: 'Geist', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}

/* Floating Label Fields */
.contact-field {
    position: relative;
    margin-bottom: 1.4rem;
}

.contact-field label {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.45rem;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    color: var(--color-secondary);
    transition: all 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #c4c9d4;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.contact-field textarea {
    resize: vertical;
    min-height: 145px;
}

/* Subject select custom arrow */
.contact-select-wrapper {
    position: relative;
}

.contact-select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #9ca3af;
}

.contact-field select {
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.95rem 2rem;
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    transition: background 0.3s ease;
}

.contact-submit-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px);
}

/* ── Alert / Feedback ────────────────────────── */
.contact-alert {
    display: none;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    align-items: center;
    gap: 0.6rem;
}

.contact-alert.show {
    display: flex;
}

.contact-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.contact-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1.5px solid rgba(239, 68, 68, 0.25);
    color: #991b1b;
}

/* ── Section Divider / FAQ CTA ───────────────── */
.contact-cta-strip {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #111827 100%);
    border-radius: 18px;
    padding: 3rem 2.5rem;
    text-align: center;
    color: #fff;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.contact-cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-cta-strip h3 {
    font-family: 'Geist', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.contact-cta-strip p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-cta-btn:hover {
    background: #d97706;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0 4rem;
    }

    .contact-hero {
        padding: 6rem 1rem 3rem;
    }

    .contact-form-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-cta-strip {
        padding: 2rem 1.5rem;
    }
}
