/* product thumbnail section  */
.slide {
    position: relative;
    overflow: hidden;
    display: flex;
    height: 80vh;
    justify-content: center;
    align-items: center;
}


.slide img {
    height: 100%;
    width: calc(100% - 20px);
    object-position: center;
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 00;
}

.slide-text {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    z-index: 2;
    align-items: center;
    padding: 0 20%;
    text-align: center;
}

.slide-text h1 {
    font-weight: 600;
    font-size: 60px;
    line-height: 150%;
    text-transform: uppercase;
    color: var(--white-text-Color);
}

.slide-text p {
    font-weight: 500;
    font-size: 35px;
    line-height: 110%;
    color: var(--white-text-Color);

}


@media (max-width: 790px) {
    .slide {
        height: 50vh;
    }

    .slide-text p {
        font-size: 18px;
    }

    .slide-text h1 {
        font-weight: 600;
        font-size: 24px;
        line-height: 125%;
        white-space: normal;

    }

    .slide img {
        width: calc(100% - 10px);
        left: 5px;
    }
}


/* product thumbnail section  */




form {
    padding: 20px;
    border-radius: 8px;
    max-width: 70%;
    margin: auto;
}

.technical-service-section h2 {
    text-align: center;
    font-size: 28px;
    padding: 10px 0;
}

.form-section {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex-direction: column;
}

/* .form-group {
    display: flex;
    flex-direction: column;
} */

label {
    margin-bottom: 5px;
    font-weight: 100;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.technical-service-section input[type="text"],
.technical-service-section input[type="email"],
.technical-service-section input[type="date"],
.technical-service-section select,
.technical-service-section textarea {
    padding: 16px 8px;
    border: 1px solid #000000;
    width: 100%;

}

.technical-service-section input[type="text"]::placeholder,
.technical-service-section input[type="email"]::placeholder,
.technical-service-section input[type="date"]::placeholder,
.technical-service-section select::placeholder,
.technical-service-section textarea::placeholder {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}

.technical-service-section input[type="checkbox"] {
    border-radius: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    min-width: 16px;
    min-height: 16px;
    height: 16px;
    border: 1px solid #000;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked::before {
    content: '\2713';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 3px;
    left: 1px;
    font-size: 14px;
    font-weight: bolder;
}


textarea {
    resize: vertical;
    min-height: 160px;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row;
    margin: 1rem 0 0 0;
}

.recaptcha,
.submit-button {
    margin-top: 20px;
    text-align: center;
}

.submit-button button {
    background-color: var(--primary-Color);
    color: white;
    border: none;
    padding: 12px 50px;
    cursor: pointer;
}

.submit-button button:hover {
    background-color: #0f2b5c;
}

.two-form-group {
    display: grid;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    grid-template-columns: repeat(3, 1fr);
}

.three-form-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

label#PrivacyPolicy {
    width: 70%;
}

.note-container {
    width: 100%;
}

.form-section h3 {
    font-size: 30.1px;
    margin: 10px 0 0 0;
}



.warranty-registration-section h2 {
    text-align: center;
    font-size: 28px;
    padding: 10px 0;
}

@media (max-width: 600px) {
    form {
        padding: 10px;
        max-width: 100%;
    }

    .form-section h3 {
        font-size: 24px;
    }

    label#PrivacyPolicy {
        width: 100%;
    }

    label {
        font-size: 11px;
    }

    input[type="text"]::placeholder,
    input[type="email"]::placeholder,
    input[type="date"]::placeholder,
    select::placeholder,
    textarea::placeholder {
        color: #000000;
        font-size: 11px;
        font-weight: 500;
    }

    .technical-service-section h2 {
        font-size: 24px;
    }



    .submit-button button {
        padding: 12px 25px;
    }
}

@media (max-width: 1200px) {
    form {
        max-width: 90%;
    }

    label#PrivacyPolicy {
        width: 100%;
    }
}

@media (max-width: 900px) {
    label#PrivacyPolicy {
        width: 100%;
    }

    .three-form-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-form-group {
        grid-template-columns: repeat(2, 1fr);
    }
}


.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border: 2px solid red;
    background-color: #ffe6e6;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    margin: 15px 0;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    margin: 15px 0;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}