/* Main wrapper - flex layout */

/* =========================
   HERO IMAGE (BACKGROUND)
========================= */
.s_title .s_parallax_bg {
    background-image: url('/Origami/static/images/contactus.webp') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;

    /* 🔥 FIX: no more gaps */
    transform: scale(1.1) !important; 
    transform-origin: center center !important;
}

/* =========================
   OVERLAY = 70% opacity
========================= */
.s_title .o_we_bg_filter {
    background: rgba(0, 0, 0, 0.7) !important; 
    /* 30% black overlay ≈ 70% visible image */
}

/* =========================
   CENTER CONTENT
========================= */
.s_title {
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* =========================
   TITLE STYLE (FIGMA MATCH)
========================= */
.s_title h1 {
    color: white !important;
    font-size: 56px !important;   /* bigger */
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important; /* 🔥 MAJUSCULE */
    margin: 0 !important;
}

.contactus-wrapper {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 40px !important;
}

/* Left column - logo and info */
.contactus-left {
    flex: 0 0 auto !important;
}

.address-block {
    border-right: 3px solid #d32f2f !important;
    padding-right: 40px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 !important;
    min-width: 220px !important;
}

.company-logo {
    width: 200px !important;
    height: 200px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-bottom: 30px !important;
    display: block !important;
}

.company-tagline {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Right section wrapper */
.contactus-right {
    flex: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 40px !important;
}

/* Middle column - form fields */
.contactus-form-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Right column - question and button */
.contactus-form-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Form field styling */
.s_website_form_field {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}

.s_website_form_field label {
    font-weight: bold !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    color: #333 !important;
}

.s_website_form_field input[type="text"],
.s_website_form_field input[type="email"],
.s_website_form_field textarea {
    border: 2px solid #d32f2f !important;
    padding: 10px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    background-color: white !important;
    color: #333 !important;
    box-shadow: none !important;
}

.s_website_form_field input::placeholder,
.s_website_form_field textarea::placeholder {
    color: #ccc !important;
}

.s_website_form_field input:focus,
.s_website_form_field textarea:focus {
    outline: none !important;
    border-color: #b71c1c !important;
}

.s_website_form_field textarea {
    min-height: 240px !important;
    resize: vertical !important;
}

/* Submit button */
.btn-contactus {
    padding: 12px 40px !important;
    background-color: #d32f2f !important;
    color: white !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    width: 100% !important;
    margin-top: 5% !important;
}

.btn-contactus:hover {
    background-color: #b71c1c !important;
}

/* =========================
   MOBILE RESPONSIVE (KEEP 2 COLUMNS)
========================= */
@media (max-width: 768px) {

    /* ❌ Hide hero */
    .s_title {
        display: none !important;
    }

    /* MAIN WRAPPER */
    .contactus-wrapper {
        flex-direction: column !important;
        padding: 20px 15px !important;
        gap: 20px !important;
    }


    .address-block {
        border-right: none !important;
        border-bottom: 2px solid #d32f2f !important;
        padding-bottom: 20px !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .company-logo {
        width: 120px !important;
        height: 120px !important;
    }

    .company-tagline {
        font-size: 14px !important;
    }

    /* 🔥 KEEP 2-COLUMN STRUCTURE */
     .contactus-right {
        display: grid !important;
        grid-template-columns: 1fr 1.5fr !important; /* 🔥 KEY FIX */
        gap: 15px !important;
        align-items: start !important;
    }

    /* LEFT SIDE (inputs) */
    .contactus-form-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* RIGHT SIDE */
    .contactus-form-right {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
    }

    /* INPUTS */
    .s_website_form_field input {
        width: 100% !important;
        font-size: 13px !important;
        padding: 8px !important;
    }

   /* TEXTAREA bigger */
    .s_website_form_field textarea {
        min-height: 200px !important;
    }

    /* BUTTON aligned nicely */
    .btn-contactus {
        margin-top: 10px !important;
    }
}
@media (max-width: 768px) {

    /* =========================
       FIX LOGO CENTERING
    ========================= */
    .contactus-left {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .address-block {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* 🔥 CENTER CONTENT */
        text-align: center !important;
        border-right: none !important;
        padding: 0 !important;
    }

    .company-logo {
        display: block !important;
        margin: 0 auto 20px auto !important; /* 🔥 CENTER IMAGE */
    }

    /* =========================
       FIX RED DIVIDER FULL WIDTH
    ========================= */
    .address-block::after {
        content: "";
        display: block;
        width: 100vw; /* 🔥 FULL SCREEN WIDTH */
        margin-top: 20px;
    }

}