/* ============================================================
   Achol HR - Contact Page Stylesheet
   ============================================================
   
   Page-specific styles for the Contact Us page.
   Global styles come from style.css
   
   @author  Magar
   @version 1.0
   ============================================================ */


/* ============================================================
   1. CONTACT HERO SECTION
   ============================================================ */

.contact-hero {
    background-color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
}

.contact-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 2.75rem;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.contact-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-hero .divider-gold {
    margin: 24px auto 0;
}


/* ============================================================
   2. CONTACT MAIN SECTION LAYOUT
   ============================================================ */

.contact-main {
    background-color: var(--grey-light);
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}


/* ============================================================
   3. SECTION TITLES (Shared Between Form and Info)
   ============================================================ */

.contact-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.contact-section-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}


/* ============================================================
   4. CONTACT FORM WRAPPER
   ============================================================ */

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-medium);
    box-shadow: var(--shadow-sm);
}

.contact-form {
    margin-top: 8px;
}


/* ============================================================
   5. FORM ROW (Two-Column Layout for Email + Phone)
   ============================================================ */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row .form-group {
    margin-bottom: 20px;
}


/* ============================================================
   6. FORM OPTIONAL LABEL
   ============================================================ */

.form-optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}


/* ============================================================
   7. HONEYPOT (Hidden Spam Protection)
   ============================================================ */

.honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}


/* ============================================================
   8. FORM SUBMIT AREA
   ============================================================ */

.form-submit {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
}

.form-submit .btn {
    min-width: 180px;
}

.form-submit .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* ============================================================
   9. CONTACT INFO SIDEBAR
   ============================================================ */

.contact-info-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-medium);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
}


/* ============================================================
   10. CONTACT INFO ITEMS
   ============================================================ */

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--grey-medium);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--grey-light);
    border-radius: 50%;
    color: var(--navy);
    transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    background-color: var(--gold);
    color: var(--white);
}

.contact-info-content {
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.contact-info-value {
    color: var(--navy);
    font-size: 15px;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-info-value:hover {
    color: var(--gold);
}


/* ============================================================
   11. SUPPORT NOTE
   ============================================================ */

.contact-support-note {
    padding: 18px 20px;
    background-color: var(--grey-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
}

.contact-support-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.65;
}


/* ============================================================
   12. RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 992px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-wrapper {
        position: static;
    }
}


@media (max-width: 768px) {

    .contact-hero {
        padding: 60px 0 30px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-tagline {
        font-size: 1rem;
    }

    .contact-main {
        padding: 40px 0 70px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-section-title {
        font-size: 1.3rem;
    }

    .form-submit .btn {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .contact-hero h1 {
        font-size: 1.75rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 22px 18px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
    }

    .contact-info-item {
        gap: 12px;
    }
}


/* ============================================================
   END OF CONTACT PAGE STYLESHEET
   ============================================================ */