
/* =========================================
   HANUMAN MACHINERY - CONTACT US PAGE
========================================= */

.contact-page-wrapper {
    --contact-navy: #142b45;
    --contact-dark: #0b1a2a;
    --contact-orange: #e85d04;
    --contact-light: #f5f7fa;
    --contact-text: #334155;

    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--contact-text);
    background: #fff;
}

.contact-page-wrapper * {
    box-sizing: border-box;
}

.contact-container {
    width: min(1150px, 92%);
    margin: 0 auto;
}

/* =========================================
   HERO SECTION
========================================= */

.contact-hero {
    background: linear-gradient(120deg, #0b1a2a, #142b45);
    padding: 75px 20px;
    text-align: center;
    color: #fff;
}

.contact-eyebrow {
    display: inline-block;
    color: #ff9b54;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-hero h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 15px;
}

.contact-hero p {
    color: #e2e8f0;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 650px;
}

/* =========================================
   MAIN SECTION
========================================= */

.contact-main-section {
    padding: 70px 0;
    background: var(--contact-light);
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 35, 55, 0.09);
    border: 1px solid #e8edf3;
}

.contact-card-heading {
    background: var(--contact-navy);
    padding: 30px 35px;
    text-align: center;
}

.contact-card-heading h2 {
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    margin: 0 0 8px;
}

.contact-card-heading p {
    color: #dbe5ef;
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
}

/* =========================================
   TWO COLUMN LAYOUT
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.contact-form-area {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.contact-info-area {
    padding: 40px;
    background: #f8fafc;
    border-left: 1px solid #e8edf3;
}

/* =========================================
   FORM & COMPANY INFORMATION HEADINGS
========================================= */

.contact-form-area h3,
.contact-info-area h3 {
    color: var(--contact-navy);
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 25px;
}

/* =========================================
   CONTACT FORM
========================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    color: var(--contact-dark);
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d8e0e8;
    border-radius: 7px;
    background: #fff;
    color: #1e293b;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--contact-orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form button {
    display: inline-block;
    width: fit-content;
    margin-top: 15px;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    background: var(--contact-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.contact-form button:hover {
    background: #c94e00;
    transform: translateY(-2px);
}

/* =========================================
   PREMIUM THANK YOU MESSAGE
========================================= */

.contact-success-message {
    width: 100%;
    min-height: 520px;
    padding: 55px 35px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 35px rgba(20, 43, 69, 0.08);
}

.contact-success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e9f8ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #198754;
    font-size: 55px;
    margin-bottom: 28px;
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.10);
}

.contact-success-eyebrow {
    display: inline-block;
    color: var(--contact-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.contact-success-message h2 {
    color: var(--contact-navy);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 22px;
}

.contact-success-description {
    color: #334155;
    font-size: 18px;
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto 15px;
}

.contact-success-description strong {
    color: var(--contact-navy);
    font-weight: 800;
}

.contact-success-details {
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto 28px;
}

.contact-success-note {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 18px 20px;
    background: #f1f6fb;
    border: 1px solid #e0eaf3;
    border-radius: 9px;
    color: var(--contact-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-success-note i {
    color: var(--contact-orange);
    font-size: 23px;
}

.contact-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--contact-navy);
    color: #ffffff !important;
    padding: 16px 30px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.contact-back-button:hover {
    background: var(--contact-orange);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 93, 4, 0.2);
}

/* =========================================
   FORM ERROR MESSAGE
========================================= */

.contact-error-message {
    padding: 15px 18px;
    margin-bottom: 20px;
    border: 1px solid #f5c2c7;
    border-radius: 7px;
    background: #f8d7da;
    color: #842029;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   COMPANY INFORMATION
========================================= */

.contact-info-area > p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin: -12px 0 25px;
}

.contact-info-item {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item h4 {
    color: var(--contact-navy);
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px;
}

.contact-info-item p,
.contact-info-item a {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
    margin: 0;
}

.contact-info-item a:hover {
    color: var(--contact-orange);
}

/* =========================================
   FOLLOW US - SOCIAL MEDIA SECTION
========================================= */

.contact-social-section {
    padding: 22px 0 10px;
    border-bottom: none;
}

.contact-social-section h4 {
    margin-bottom: 15px;
}

.contact-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border-radius: 50%;
    background: var(--contact-navy);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-links a:hover {
    background: var(--contact-orange);
    color: #fff;
    transform: translateY(-4px);
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .contact-hero {
        padding: 55px 15px;
    }

    .contact-main-section {
        padding: 40px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-area,
    .contact-info-area {
        padding: 28px 22px;
    }

    .contact-info-area {
        border-left: none;
        border-top: 1px solid #e8edf3;
    }

    .contact-card-heading {
        padding: 25px 20px;
    }

    .contact-card-heading h2 {
        font-size: 23px;
    }

    .contact-social-links {
        gap: 12px;
    }

    .contact-success-message {
        min-height: 480px;
        padding: 45px 25px;
    }

    .contact-success-icon {
        width: 85px;
        height: 85px;
        font-size: 46px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 480px) {

    .contact-container {
        width: 94%;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-form-area,
    .contact-info-area {
        padding: 24px 17px;
    }

    .contact-form button {
        width: 100%;
    }

    .contact-social-links a {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .contact-success-message {
        min-height: 0;
        padding: 38px 18px;
    }

    .contact-success-icon {
        width: 75px;
        height: 75px;
        font-size: 40px;
        margin-bottom: 22px;
    }

    .contact-success-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .contact-success-message h2 {
        font-size: 27px;
    }

    .contact-success-description {
        font-size: 16px;
        line-height: 1.8;
    }

    .contact-success-details {
        font-size: 14px;
        line-height: 1.8;
    }

    .contact-success-note {
        padding: 14px;
        font-size: 13px;
    }

    .contact-back-button {
        width: 100%;
        padding: 15px 18px;
    }
}
