/* --- Font Family Import --- */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mulish';
    color: black;
    background-color: #F3F4F5;
    width: 100vw;
    overflow-x: hidden;
}

/* utils */

.white-back {
    width: 95%;
    margin-inline: auto;
    background-color: #fff;
    padding-inline: 10px;
    border-radius: 15px;
    margin-top: 135px;
}

.max-width {
    max-width: 1200px;
    margin-inline: auto;
    padding: 80px 10px;
}

span {
    color: #de3432;
}

/* this is hero-section */

.hero-section-container {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-section-container .hero-text h1 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 8px;
}

.hero-section-container .hero-text p {
    font-size: 18px;
    font-weight: 300;
}


.hero-section-container .hero-image {
    margin-left: 100px;
}


.hero-section-container .hero-image img {
    width: 100%;
}


/* this is service section */



.service-form-container {
    display: flex;
    gap: 150px;
    position: relative;
}

.form {
    flex: 1;
}

.service-form-container h4 {
    font-size: 24px;
    margin-bottom: 30px;
}

.service-text-area {
    flex: 1;
    position: relative;
}


.service-text-area ul {
    list-style: none;
    padding-left: 0;
}

.service-text-area li {
    position: relative;
    padding-left: 30px;
}

li+li {
    margin-top: 30px;
}

.service-text-area li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: url('/sterilization/rightArrow.svg') no-repeat center center;
    background-size: contain;
}

.service-form-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 70%;
    background-color: #9cb5d6;
}

/* this is form section */

.form select,
.form button,
.form input {
    width: 90%;
    height: 60px;
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    border-radius: 10px;
    padding-inline: 15px;
    appearance: none;
    border: 0;
    outline: 0;
    background-color: #f3f4f5;
}


.form input {
    width: 48%;
    appearance: none;
}

.form button {
    display: block;
    margin-top: 20px;
    background-color: #de3432;
    color: white;
    cursor: pointer;
    transition: .2s ease;

}

.form button:hover {
    background-color: #151718;
}

.form .inputs {
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}


.form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.service-form-section {
    position: relative;
}

.service-form-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background-color: #9cb5d6;
}

.service-form-section {
    border-radius: 15px 15px 0 0;
}

/* this is related service section */

.related-service-section {
    margin-top: 0;
    border-radius: 0 0 15px 15px;
}

.related-service-container h3 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 50px;
}

.related-service-container .related-service-card-container {
    display: flex;
    justify-content: center;
    margin: auto;
    flex-wrap: wrap;
}

.related-service-container .related-service-card-container .related-service-card {
    text-align: center;
    border: 1px solid #e3efff;
    height: 167px;
    width: calc(20% - 30px);
    margin: 15px;
    padding: 30px 15px 32px;
    border-radius: 10px;
    transition: transform .2s ease;
    flex-shrink: 0;
    font-weight: 300;
    text-decoration: none;
    color: #151718;
}

.related-service-container .related-service-card-container .related-service-card:hover {
    border: 1px solid #de3432;
    background-color: #de3432;
    color: white;
    transform: translateY(-7%);
}

.related-service-container .related-service-card-container .related-service-card:hover img {
    filter: brightness(0) invert(1);
}

.related-service-container .related-service-card-container .related-service-card p {
    margin-top: 20px;
    font-size: 20px;
}

.footer-section {
    margin-top: 130px;
}


/* this is mail sented popup msg */
.transparent-backround {
    position: fixed;
    background-color: rgb(0, 0, 0, .5);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    visibility: hidden;
    opacity: 1;
}



.mail-sented-popup {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 450px;
    background: linear-gradient(to bottom, #f88c8c, #e03434);
    z-index: 10;
    border-radius: 17px;
    visibility: hidden;
    opacity: 0;
    transition: visibility .2s ease, opacity .2s ease;
}


.show {
    visibility: visible;
    opacity: 1;
}

.message-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 300px;
    height: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
}

.message-popup img {
    margin-bottom: 20px;
}

.message-popup p {
    padding-top: 20px;
    border-top: 1px solid red;
}

.mail-sented-popup span {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    cursor: pointer;
}

@media (max-width:1035px) {

    /* this is related service  */
    .related-service-container .related-service-card-container .related-service-card {
        width: calc(25% - 30px);
    }
}

@media (max-width:1000px) {

    /* util */
    .white-back-second {
        margin-top: 80px;
    }

    /* this is hero section */
    .hero-section-container .hero-text h1 {
        font-size: 40px;
    }

    .hero-section-container .hero-text p {
        font-size: 16px;
    }

    /* this is service and form section */
    .related-service-section {
        margin-top: 0;
    }

    .service-form-container {
        gap: 50px;
    }

    .service-text-area li {
        line-height: 18px;
    }

    .form select,
    .form button {
        width: 95%;
        height: 50px;
    }

    .form .inputs {
        max-width: 95%;
    }

    /* this is popup */
    .mail-sented-popup {
        width: 400px;
        height: 400px;
    }

    .message-popup {
        width: 270px;
        height: 270px;
    }
}

@media (max-width:768px) {

    /* this is line between text and form */
    .service-form-container::after {
        width: 0;
        height: 0;
    }

    /* this is service and form section */

    .service-form-container {
        flex-direction: column;
        gap: 50px;
    }

    .form {
        margin-top: 20px;
    }

    /* this is related service  */

    .related-service-container .related-service-card-container .related-service-card {
        width: calc(33% - 30px);
    }

    /* this is popup */
    .mail-sented-popup {
        width: 350px;
        height: 350px;
    }

    .message-popup {
        width: 250px;
        height: 250px;
    }

}

@media (max-width:615px) {

    /* utils */
    .max-width {
        padding: 50px 10px;
    }

    /* footer */

    .footer-section {
        margin-top: 80px;
    }

    /* this is hero section */
    .hero-section-container .hero-text h1 {
        font-size: 30px;
    }

    .hero-section-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .hero-section-container .hero-image {
        margin: 20px 0 0;
    }


    /* this is related service  */

    .related-service-container .related-service-card-container .related-service-card {
        width: calc(33% - 10px);
        margin: 5px;
    }
}

@media (max-width:581px) {
    /* this is related service  */

    .related-service-container .related-service-card-container .related-service-card {
        width: calc(50% - 20px);
        margin: 10px;
    }
}

@media (max-width:574px) {

    /* this is form section */

    .form .inputs {
        flex-direction: column;
    }

    .form .inputs input {
        width: 100%;
    }

    .form .inputs input+input {
        margin-top: 20px;
    }



}

@media (max-width:449px) {
    /* .white-back {
        margin-top: 50px;
    } */

    .related-service-section {
        margin-top: 0;
    }
}