/* ══════════════════════════════════════════════════════════════
   AFTER SALES SUPPORT PAGE
   Theme: --msid-primary: #034694 | --msid-secondary: #f58220
   ══════════════════════════════════════════════════════════════ */

/* Hero Section */
.ass-hero {
    padding: 14rem 0;
}

/* Section Spacing */
.ass-section-compact {
    padding: 80px 0;
    background-color: #fff;
    background-color: #f5f9fa;
}

.ass-section-compact.ass-section-gray {
/*    background-color: #f5f7fb;*/
}

/* Smooth scroll offset for fixed header */
#ass-form-section {
    scroll-margin-top: 80px;
}

/* ══════════════════ POLICIES SECTION ══════════════════ */

.ass-intro-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.ass-intro-left {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
}

.ass-intro-left h2 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    color: #14213d;
    margin-bottom: 12px;
}

.ass-intro-left p {
    font-size: 0.9rem;
    color: #4a5968;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ass-intro-right {
    flex: 2;
    min-width: 300px;
}

/* Policy Cards Grid */
.ass-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Full-width policies heading */
.ass-policies-heading {
    margin-bottom: 32px;
}

.ass-policies-heading h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 10px;
}

.ass-policies-heading p {
    font-size: 0.92rem;
    color: #4a5968;
    line-height: 1.7;
    max-width: 680px;
}

.ass-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 20px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ass-card:hover {
    box-shadow: 0 10px 30px rgba(3, 70, 148, 0.1);
    transform: translateY(-4px);
    border-color: var(--msid-primary, #034694);
}

.ass-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #edf2fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1.5px solid #d4e0f0;
}

.ass-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--msid-primary, #034694);
}

.ass-card-icon i {
    font-size: 20px;
    color: var(--msid-primary, #034694);
    line-height: 1;
}

.ass-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #14213d;
    margin-bottom: 6px;
}

.ass-card p {
    font-size: 0.82rem;
    color: #4a5968;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Policy Download Button */
.ass-card-download {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--msid-primary, #034694);
    text-decoration: none;
    padding: 5px 12px;
    border: 1.5px solid #d4e0f0;
    border-radius: 6px;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ass-card-download:hover {
    background: #eef3fb;
    border-color: var(--msid-primary, #034694);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--msid-primary, #034694);
}

.ass-card-download i {
    font-size: 13px;
}

/* CTA Button */
.ass-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--msid-primary, #034694);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6.25rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.ass-cta-btn:hover {
    background-color: #022d6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(3, 70, 148, 0.3);
    color: #fff;
    text-decoration: none;
}

/* ══════════════════ FORM SECTION ══════════════════ */

.ass-form-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ass-form-left {
    flex: 0 0 260px;
    min-width: 220px;
    position: sticky;
    top: 100px;
}

.ass-form-left h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ass-form-left p {
    font-size: 0.88rem;
    color: #4a5968;
    line-height: 1.6;
}

.ass-form-right {
    flex: 1;
    min-width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(3, 70, 148, 0.06);
    border: 1px solid #e8edf5;
}

/* Form Title */
.ass-form-right .zcwf_title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 20px;
    padding: 0 0 14px 0;
    border-bottom: 1px solid #edf0f7;
}

/* 3-Column Form Grid */
.ass-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 16px;
}

.ass-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ass-form-field label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.01em;
}

.ass-form-field-full {
    grid-column: 1 / -1;
}

/* ══════════════════ FORM INPUTS ══════════════════ */

.ass-field-input {
    width: 100%;
    border: 1.5px solid #d1d9e6;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    color: #14213d;
    outline: none;
    background: #fafbfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.ass-field-input:hover {
    border-color: #b0bdd0;
    background: #fff;
}

.ass-field-input:focus {
    border-color: var(--msid-primary, #034694);
    box-shadow: 0 0 0 3px rgba(3, 70, 148, 0.1);
    background: #fff;
}

.ass-field-input::placeholder {
    color: #9ca3af;
}

textarea.ass-field-input {
    min-height: 72px;
    resize: vertical;
    line-height: 1.5;
}

select.ass-field-input {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23034694' d='M6 8.825L0.375 3.2l0.85-0.85L6 7.125l4.775-4.775 0.85 0.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 11px;
    padding-right: 32px;
}

/* File Upload */
input[type="file"].ass-field-input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.ass-file-upload-wrapper {
    position: relative;
}

.ass-file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px dashed #c5d0e0;
    border-radius: 8px;
    background: #fafbfd;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ass-file-upload-label:hover {
    border-color: var(--msid-primary, #034694);
    background: #f0f4fb;
}

.ass-file-upload-icon {
    width: 32px;
    height: 32px;
    background: #edf2fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ass-file-upload-icon i {
    font-size: 16px;
    color: var(--msid-primary, #034694);
    line-height: 1;
}

.ass-file-upload-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ass-file-upload-text span {
    font-size: 12px;
    font-weight: 600;
    color: #14213d;
}

.ass-file-upload-text small {
    font-size: 11px;
    color: #7a8a9e;
}

/* ══════════════════ REQUEST TYPE CHECKBOXES ══════════════════ */

.ass-form-field-request-type {
    grid-column: 1 / -1;
}

.ass-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 0 4px;
}

.ass-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    color: #374151;
    padding: 6px 12px;
    border: 1.5px solid #d1d9e6;
    border-radius: 6px;
    background: #fafbfd;
    transition: border-color 0.2s ease, background 0.2s ease;
    user-select: none;
}

.ass-checkbox-item:hover {
    border-color: #a0b4d0;
    background: #f0f4fb;
}

.ass-checkbox-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--msid-primary, #034694);
    cursor: pointer;
    margin: 0;
}

.ass-checkbox-item input[type="checkbox"]:checked + span {
    color: #14213d;
    font-weight: 500;
}

.ass-checkbox-item:has(input:checked) {
    border-color: var(--msid-primary, #034694);
    background: #edf2fa;
}

/* ══════════════════ FORM ACTIONS ══════════════════ */

.ass-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf0f7;
}

.ass-submit-btn {
    background: var(--msid-primary, #034694);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease;
    letter-spacing: 0.02em;
}

.ass-submit-btn:hover {
    background: #022d6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(3, 70, 148, 0.3);
}

.ass-submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.ass-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ass-reset-btn {
    background: #fff;
    border: 1.5px solid #d1d9e6;
    color: #4a5968;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ass-reset-btn:hover {
    border-color: #a0b4d0;
    background: #f5f7fb;
}

/* ══════════════════ CTA SECTION (Great Together style) ══════════════════ */

.ass-cta-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ass-cta-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════ MICRO ANIMATIONS ══════════════════ */

.ass-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ass-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ass-animate-delay-1 { transition-delay: 0.05s; }
.ass-animate-delay-2 { transition-delay: 0.15s; }
.ass-animate-delay-3 { transition-delay: 0.25s; }
.ass-animate-delay-4 { transition-delay: 0.35s; }
.ass-animate-delay-5 { transition-delay: 0.45s; }
.ass-animate-delay-6 { transition-delay: 0.55s; }

.ass-hero-text-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: assFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes assFadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ══════════════════ RESPONSIVE ══════════════════ */

@media screen and (max-width: 991px) {
    .ass-form-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .ass-form-left {
        flex: none;
        max-width: 100%;
        position: static;
    }
    .ass-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ass-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .ass-section-compact {
        padding: 40px 0;
    }
    .ass-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ass-cards-grid {
        grid-template-columns: 1fr;
    }
    .ass-form-right {
        padding: 22px 20px;
    }
}

@media screen and (max-width: 576px) {
    .ass-section-compact {
        padding: 28px 0;
    }
    .ass-form-grid {
        grid-template-columns: 1fr;
    }
    .ass-intro-left h2,
    .ass-form-left h2 {
        font-size: 1.4rem;
    }
    .ass-form-right {
        padding: 18px 16px;
        border-radius: 12px;
    }
    .ass-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ass-submit-btn,
    .ass-reset-btn {
        text-align: center;
    }
}

/* ══════════════════ FORM BUTTONS (matching Contact page) ══════════════════ */

.rt-contact-v1 .submit_btn {
    background-color: var(--msid-primary, #034694);
    border: 1.5px solid var(--msid-primary, #034694);
    color: #fff;
    border-radius: 8px;
    padding: 11px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.rt-contact-v1 .submit_btn:hover {
    background-color: #022d6b;
    border-color: #022d6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 70, 148, 0.25);
    color: #fff;
}

.rt-contact-v1 .submit_btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.rt-contact-v1 .reset_btn {
    background-color: #fff;
    border: 1.5px solid #d1d5db;
    color: #374151;
    border-radius: 8px;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.rt-contact-v1 .reset_btn:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
    color: #1f2937;
}

.rt-contact-v1 .form-actions {
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ══════════════════ Form left side smaller ══════════════════ */

.rt-contact-v1 .rt-form-wrapper-v1 .rt-form-left {
    flex: 0 0 200px;
    max-width: 200px;
}

.rt-contact-v1 .rt-form-wrapper-v1 .rt-form-v1-wrap {
    flex: 1;
    max-width: calc(100% - 230px);
}

/* ══════════════════ Form Field Staggered Animations (Contact page style) ══════════════════ */

/* Base keyframes */
@keyframes assFormFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes assFormFadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Left text — appears FIRST on page load */
.rt-contact-v1 .rt-form-left {
    opacity: 0;
    animation: assFormFadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

/* Form wrapper — appears AFTER text */
.rt-contact-v1 .rt-form-v1-wrap {
    opacity: 0;
    animation: assFormFadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

/* Form fields — stagger AFTER form wrapper */
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"] {
    opacity: 0;
    animation: assFormFadeInUp 0.5s ease forwards;
}

/* Staggered delays for each field */
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(1)  { animation-delay: 0.60s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(2)  { animation-delay: 0.68s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(3)  { animation-delay: 0.76s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(4)  { animation-delay: 0.84s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(5)  { animation-delay: 0.92s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(6)  { animation-delay: 1.00s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(7)  { animation-delay: 1.08s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(8)  { animation-delay: 1.16s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(9)  { animation-delay: 1.24s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(10) { animation-delay: 1.32s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(11) { animation-delay: 1.40s; }
.rt-contact-v1 .rt-form-v1-wrap .row > div[class*="col-"]:nth-child(12) { animation-delay: 1.48s; }

/* Form heading top */
.rt-contact-v1 .rt-form-v1-top {
    opacity: 0;
    animation: assFormFadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.50s forwards;
}

/* ══════════════════ Form spacing fixes ══════════════════ */

/* More space between form title/description and fields */
/*.rt-contact-v1 .rt-form-v1-top {
    margin-bottom: 24px;
}
*/
/* More space between each form field row */
.rt-contact-v1 .rt-form-v1-wrap .form-group {
    margin-bottom: 18px;
}

/* Reduce gap between left and right side */
.rt-contact-v1 .rt-form-wrapper-v1 {
    gap: 56px;
}

/* Ensure label has space below it */
.rt-contact-v1 .form-label {
    margin-bottom: 6px;
    display: block;
}

/* ══════════════════ Small screen: center form, hide left side ══════════════════ */

@media screen and (max-width: 768px) {
    .rt-contact-v1 .rt-form-wrapper-v1 {
        flex-direction: column;
        align-items: center;
    }

    .rt-contact-v1 .rt-form-wrapper-v1 .rt-form-left {
        flex: none;
        max-width: 100%;
        text-align: center;
        margin-bottom: 16px;
    }

    .rt-contact-v1 .rt-form-wrapper-v1 .rt-form-v1-wrap {
        max-width: 100%;
        width: 100%;
    }
}

/* ══════════════════ Policies Banner (clean, theme-matched) ══════════════════ */

.ass-policies-banner {
    background: linear-gradient(135deg, #f8fafd 0%, #edf2fa 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 80px 0;
}

.ass-policies-banner-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.ass-policies-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #d4e0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
/*    margin-bottom: 16px;*/
}

.ass-policies-banner-icon i {
    font-size: 24px;
    color: var(--msid-primary, #034694);
}

.ass-policies-banner-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #14213d;
    margin-top: 0px;
    /*    margin-bottom: 10px;*/
}

.ass-policies-banner-content p {
    font-size: 0.9rem;
    color: #4a5968;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ══════════════════ Lighter placeholder color ══════════════════ */

.rt-contact-v1 .form-control::placeholder {
    color: #bcc0c4;
    opacity: 1;
}

.rt-contact-v1 .form-control::-webkit-input-placeholder {
    color: #bcc0c4;
}

.rt-contact-v1 .form-control::-moz-placeholder {
    color: #bcc0c4;
}
