/* =========================================
   FASTWELL WARRANTY PAGE
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #111;
}

a {
    text-decoration: none;
}

/* =========================================
   TOP OFFER BAR
   ========================================= */

.top-offer {
    height: 44px;
    background: #d94841;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 50px;
    font-size: 14px;
    font-weight: 600;
}

.top-offer-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
}

/* =========================================
   HEADER
   ========================================= */

.main-header {
    width: 100%;
    height: 70px;
    background: #111111;
    color: #fff;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* =========================================
   LOGO
   ========================================= */

.logo {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.logo:hover {
    color: #fff;
}

/* =========================================
   NAVIGATION
   ========================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #ddd;
}

.nav-dropdown {
    display: flex;
    align-items: center;
}

.nav-dropdown::after {
    content: "⌄";
    margin-left: 6px;
    font-size: 13px;
}

/* =========================================
   HEADER RIGHT
   ========================================= */

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.search-box {
    width: 230px;
    height: 42px;
    background: #fff;
    border-radius: 25px;

    display: flex;
    align-items: center;

    padding: 0 15px;
}

.search-icon {
    color: #555;
    font-size: 21px;
    margin-right: 8px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #333;
}

.search-box input::placeholder {
    color: #777;
}

.header-icon {
    color: #fff;
    font-size: 21px;
    cursor: pointer;
}

/* =========================================
   WARRANTY MAIN SECTION
   ========================================= */

.warranty-section {
    width: 100%;
    min-height: 700px;
    background: #f5f7fa;
    padding: 48px 20px 75px;
}

/* =========================================
   WARRANTY HEADING
   ========================================= */

.warranty-heading {
    width: 100%;
    max-width: 750px;
    margin: 0 auto 43px;
    text-align: center;
}

.warranty-heading h1 {
    margin: 0 0 13px;
    color: #111;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
}

.warranty-heading p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   WARRANTY CARD
   ========================================= */

.warranty-card {
    width: 100%;
    max-width: 875px;
    margin: 0 auto;

    background: #fff;

    border-radius: 18px;

    padding: 44px 38px 38px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
}

/* =========================================
   FORM GRID
   ========================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}

/* =========================================
   FORM GROUP
   ========================================= */

.form-group {
    width: 100%;
}

.form-group label,
.upload-box label {
    display: block;
    margin-bottom: 11px;

    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.required {
    color: #111;
}

/* =========================================
   INPUTS
   ========================================= */

.form-control,
.form-select {
    width: 100%;
    height: 54px;

    padding: 0 17px;

    border: 1px solid #d7d7d7;
    border-radius: 10px;

    outline: none;

    background: #fff;
    color: #555;

    font-size: 14px;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: #777;
}

.form-control:focus,
.form-select:focus {
    border-color: #777;

    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.04);
}

.form-select {
    cursor: pointer;
}

/* =========================================
   DATE INPUT
   ========================================= */

.form-control[type="date"] {
    color: #777;
}

.form-control[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* =========================================
   UPLOAD BOX
   ========================================= */

.upload-box {
    width: 100%;
    min-height: 130px;

    padding: 24px 18px;

    border: 2px dashed #d2dbe8;
    border-radius: 14px;

    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition: 0.2s ease;
}

.upload-box:hover {
    border-color: #075cff;
}

.upload-box input[type="file"] {
    width: 100%;
    max-width: 300px;

    margin: 7px auto 8px;

    font-size: 13px;

    cursor: pointer;
}

.upload-box small {
    display: block;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================
   CONFIRMATION
   ========================================= */

.confirmation {
    margin-top: 35px;
}

.confirmation label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #444;
    font-size: 14px;

    cursor: pointer;
}

.confirmation input[type="checkbox"] {
    width: 18px;
    height: 18px;

    margin: 0;

    cursor: pointer;

    flex-shrink: 0;
}

/* =========================================
   SUBMIT BUTTON
   ========================================= */

.submit-area {
    width: 100%;
    margin-top: 28px;
    text-align: center;
}

.submit-button {
    min-width: 313px;
    height: 66px;

    padding: 0 30px;

    border: 0;
    border-radius: 10px;

    background: #075cff;
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.submit-button:hover {
    background: #004bd6;
}

.submit-button:active {
    transform: translateY(1px);
}

/* =========================================
   VALIDATION ALERT
   ========================================= */

.alert {
    width: 100%;

    padding: 15px 18px;

    margin-bottom: 25px;

    border-radius: 10px;

    font-size: 14px;
}

.alert-danger {
    background: #fff0f0;
    color: #a40000;

    border: 1px solid #ffd1d1;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

.alert-danger li {
    margin-bottom: 5px;
}

.alert-danger li:last-child {
    margin-bottom: 0;
}

/* =========================================
   FOOTER
   ========================================= */

.main-footer {
    width: 100%;

    background: #111;
    color: #fff;

    padding: 75px 20px 35px;
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        2fr;

    gap: 70px;
}

/* =========================================
   FOOTER COMPANY
   ========================================= */

.footer-logo {
    margin-bottom: 38px;

    color: #fff;

    font-size: 31px;
    font-weight: 700;
    line-height: 1;
}

.footer-contact p {
    margin: 0 0 15px;

    color: #fff;

    font-size: 14px;
    line-height: 1.5;
}

.footer-contact strong {
    font-weight: 700;
}

/* =========================================
   FOOTER TITLES
   ========================================= */

.footer-title {
    margin: 0 0 27px;

    color: #fff;

    font-size: 16px;
    font-weight: 700;
}

/* =========================================
   FOOTER LINKS
   ========================================= */

.footer-links a {
    display: block;

    margin-bottom: 19px;

    color: #fff;

    font-size: 14px;

    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #ccc;
}

/* =========================================
   NEWSLETTER
   ========================================= */

.footer-newsletter p {
    margin: 0 0 28px;

    color: #fff;

    font-size: 14px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 35px;
}

.newsletter-input {
    width: 290px;
    height: 50px;

    padding: 0 20px;

    border: 0;
    border-radius: 25px;

    outline: none;

    background: #fff;

    color: #333;

    font-size: 13px;
}

.newsletter-input::placeholder {
    color: #777;
}

.newsletter-button {
    padding: 0;

    border: 0;

    background: transparent;
    color: #fff;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

/* =========================================
   FOOTER BOTTOM
   ========================================= */

.footer-bottom {
    margin-top: 55px;
    padding-top: 25px;

    border-top: 1px solid #555;

    text-align: center;

    color: #bbb;

    font-size: 13px;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

    .header-container {
        padding: 0 20px;
        gap: 15px;
    }

    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .search-box {
        width: 180px;
    }

    .footer-grid {
        gap: 35px;
    }
}

/* =========================================
   TABLET / SMALL LAPTOP
   ========================================= */

@media (max-width: 900px) {

    .main-header {
        height: auto;
        padding: 17px 0;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
        gap: 15px 22px;
    }

    .header-right {
        margin-left: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .top-offer {
        height: 40px;

        padding: 0 35px 0 10px;

        text-align: center;

        font-size: 11px;
    }

    .top-offer-close {
        right: 10px;
        font-size: 20px;
    }

    .main-header {
        padding: 15px 0;
    }

    .header-container {
        padding: 0 15px;

        gap: 15px;
    }

    .logo {
        font-size: 26px;
    }

    .header-right {
        width: 100%;
        margin-left: 0;
    }

    .search-box {
        width: auto;
        flex: 1;
    }

    .main-nav {
        width: 100%;

        justify-content: flex-start;

        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 3px;

        gap: 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    /* WARRANTY */

    .warranty-section {
        padding: 35px 12px 55px;
    }

    .warranty-heading {
        margin-bottom: 30px;
    }

    .warranty-heading h1 {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .warranty-heading p {
        font-size: 14px;
        line-height: 1.6;
    }

    .warranty-card {
        padding: 25px 17px 28px;
        border-radius: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .form-control,
    .form-select {
        height: 52px;
    }

    .upload-box {
        min-height: 125px;
        padding: 22px 12px;
    }

    .confirmation {
        margin-top: 28px;
    }

    .confirmation label {
        align-items: flex-start;
        line-height: 1.5;
    }

    .submit-area {
        margin-top: 25px;
    }

    .submit-button {
        width: 100%;
        min-width: 0;
        height: 58px;
        font-size: 14px;
    }

    /* FOOTER */

    .main-footer {
        padding: 50px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        margin-bottom: 25px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .newsletter-input {
        width: 100%;
    }

    .newsletter-button {
        text-align: left;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}

/* =========================================
   VERY SMALL MOBILE
   ========================================= */

@media (max-width: 380px) {

    .warranty-heading h1 {
        font-size: 27px;
    }

    .warranty-card {
        padding: 22px 14px 25px;
    }

    .form-group label,
    .upload-box label {
        font-size: 13px;
    }

    .form-control,
    .form-select {
        font-size: 13px;
    }

}
/* =========================================================
   FASTWELL WARRANTY PDF CERTIFICATE
   ========================================================= */

.pdf-certificate {
    width: 100%;
    border: 3px solid #0868f5;
    box-sizing: border-box;
    padding: 20px 22px 0 22px;
    font-family: DejaVu Sans, sans-serif;
    color: #111111;
}

.pdf-header {
    width: 100%;
    border-bottom: 2px solid #dddddd;
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.pdf-header-table {
    width: 100%;
    border-collapse: collapse;
}

.pdf-logo-cell {
    width: 175px;
    vertical-align: top;
}

.pdf-logo {
    width: 150px;
    height: auto;
}

.pdf-company-cell {
    vertical-align: top;
    padding-left: 5px;
}

.pdf-company-name {
    font-size: 23px;
    font-weight: bold;
    color: #0868f5;
    margin-bottom: 4px;
}

.pdf-tagline {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 8px;
}

.pdf-address {
    font-size: 10px;
    line-height: 1.45;
    margin-bottom: 7px;
}

.pdf-contact-table {
    width: 100%;
    border-collapse: collapse;
}

.pdf-contact-table td {
    font-size: 9px;
    padding: 1px 0;
}

.pdf-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.pdf-subtitle {
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
}

.pdf-id-box {
    width: 100%;
    background: #eef6ff;
    border-radius: 10px;
    padding: 12px;
    box-sizing: border-box;
    margin-bottom: 22px;
}

.pdf-id-table {
    width: 100%;
    border-collapse: collapse;
}

.pdf-id-table td {
    font-size: 11px;
    padding: 3px 0;
}

.pdf-id-label {
    width: 25%;
    font-weight: bold;
}

.pdf-qr-cell {
    width: 120px;
    text-align: center;
    vertical-align: middle;
}

.pdf-qr {
    width: 88px;
    height: 88px;
}

.pdf-section-title {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 12px 0;
}

.pdf-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
}

.pdf-details-table td {
    border: 1px solid #dddddd;
    padding: 8px 10px;
    font-size: 11px;
}

.pdf-details-label {
    width: 35%;
    font-weight: bold;
    background: #fafafa;
}

.pdf-thank-box {
    width: 100%;
    background: #eef6ff;
    border-radius: 10px;
    padding: 15px 18px;
    box-sizing: border-box;
    margin-top: 10px;
}

.pdf-thank-table {
    width: 100%;
    border-collapse: collapse;
}

.pdf-thank-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}

.pdf-thank-text {
    font-size: 10px;
}

.pdf-stamp-cell {
    width: 150px;
    text-align: center;
    vertical-align: middle;
}

.pdf-stamp {
    width: 105px;
    height: auto;
}

.pdf-signature-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    margin-bottom: 15px;
}

.pdf-signature-cell {
    width: 70%;
}

.pdf-signature {
    width: 220px;
    margin-left: auto;
    text-align: center;
}

.pdf-signature-line {
    border-top: 1px solid #777777;
    margin-bottom: 6px;
}

.pdf-signature-title {
    font-size: 11px;
    font-weight: bold;
}

.pdf-signature-company {
    font-size: 9px;
    margin-top: 5px;
}

.pdf-footer {
    margin-left: -22px;
    margin-right: -22px;
    background: #0868f5;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-size: 9px;
}
