/* =============================================
   CONTACT PAGE — MODERNIZED SYSTEM
   ============================================= */

/* Page Level Layout & Top Header Gap Fix */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

*, *::before, *::after { 
    box-sizing: border-box; 
}

:root {
    --mmtorange:   #E8571A;
    --mmtorange-d: #C44510;
    --forest:      #1B6B3A;
    --cream:       #F8F4EE;
    --white:       #FFFFFF;
    --text-dark:   #1A1A2E;
    --text-mid:    #4A4A6A;
    --border:      #E8E2D8;
    --shadow-sm:   0 4px 20px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
    --r-md:        16px;
}

/* Hero Section */
.contact-hero {
    background: 
        radial-gradient(circle at 10% 90%, rgba(232, 87, 26, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(212, 148, 10, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, #09261E 0%, #0F382C 50%, #132A38 100%) !important;
    padding: 64px 0 52px !important;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(232, 87, 26, 0.25) !important;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.7;
}

.contact-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    color: #FFFFFF;
}

/* Glassmorphic Pill Breadcrumb */
.contact-breadcrumb-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    width: fit-content !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
}

.contact-breadcrumb-pill a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.contact-breadcrumb-pill a:hover {
    color: var(--mmtorange) !important;
}

.contact-breadcrumb-pill .sep {
    opacity: 0.5 !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.contact-breadcrumb-pill .current {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 400 !important;
}

/* Hero Typography */
.contact-hero-inner h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-hero-inner > p {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 640px;
    line-height: 1.6;
}

/* Page Body & Grid Setup */
.contact-body {
    background: var(--cream);
    padding: 64px 0 88px;
}

.contact-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.contact-info h2, 
.contact-form-wrap h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 24px;
    letter-spacing: -0.3px;
}

/* Info Cards */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info-card strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-mid);
    margin: 0;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--mmtorange);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* Form Container */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-form-field input,
.contact-form-field textarea {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-dark);
    background: #FAFAFA;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-color: var(--mmtorange);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(232, 87, 26, 0.12);
}

/* Submit Button */
.contact-submit {
    background: var(--mmtorange);
    color: #FFFFFF;
    border: none;
    padding: 14px 36px;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
    box-shadow: 0 4px 18px rgba(232, 87, 26, 0.3);
}

.contact-submit:hover {
    background: var(--mmtorange-d);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(232, 87, 26, 0.4);
}

/* Status Notifications */
.contact-success {
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    border-left: 5px solid #10B981;
    padding: 16px 20px;
    border-radius: 10px;
    color: #065F46;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-left: 5px solid #EF4444;
    padding: 16px 20px;
    border-radius: 10px;
    color: #991B1B;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 40px 0 36px !important;
    }
}