* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        /* Start from bottom */
        opacity: 0;
        /* Initially hidden */
    }

    to {
        transform: translateY(0);
        /* End at top */
        opacity: 1;
        /* Fully visible */
    }
}

.animated-element {
    opacity: 0;
    transform: scale;
    animation: fadeInScale 1s forwards;
    /* animation-timeline: view();
  animation-range: 20% 40%; */
}

.slidup-element {
    opacity: 0;
    transform: scale(0.5);
    animation: slideUp 3s forwards;
    animation-timeline: view();
    animation-range: 0% 40%;
}


body {
    height: 100vh;
    width: 100%;
    font-family: sans-serif;
    /* background: linear-gradient(to bottom, #175d69 23%, #330c43 95%); */

}

h1 h3 {
    font-family: sans-serif;
    font-weight: 600;
}

.header {
    margin: 0 16%;
    padding: 10px;

}

.header-container img {
    height: 3.5em;
    width: 4em;
}

.hero {
    text-align: center;
    /* padding: 100px 20px; */
    position: relative;
    height: 500px;
    width: 100%;
    background-position: center;

}

.background-image {
    width: 100%;
    object-fit: cover;
    /* Ensures the image covers the container */
    opacity: .2;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}

.text-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #152d47;
    text-align: center;
    width: 70%;
    height: 100%;
}


.hero .container {
    position: relative;
    z-index: 1;
    margin: auto;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 10px;
    color: #ffffff;
    background-color: #2150FE;
    text-decoration: none;
    font-size: 1.5em;
    border-radius: 3px;

}

/* tool section */

.tools-section {
    background-color: #7CBAE0;
    height: 100%;
}

.tools-container {

    /* padding: 130px 32px; */
    max-width: 1200px;
    margin: auto;
    padding: 60px 0;
}

.tools-wrapper {
    background-color: white;
}

.tools-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 126px; */

}

/* <img src="./assets/image_1.png" alt="tools image"  */
.tools-container-wrapper .side-image {
    background-image: url("./assets/image_1.png");
    width: 40%;
    height: 836px;
    background-size: cover;
}

/* .side-image img {
    width: 435px;
    height: 835px;
    float: right;
    background-position: center;
    object-fit: cover;

} */


.right-tool-wrapper {
    background-color: #ffffff;
    width: 60%;
    height: 835px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-tool-wrapper h1 {
    font-size: 2em;
    line-height: 1.5em;
    margin-bottom: 1em;
    text-align: center;
}

.tool-cards-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;


}

.tool-content {
    display: flex;
    justify-content: space-between;
    ;
}

.content-list {
    width: 90%;
    color: #4C4C4D;
}

.content-list h3 {
    margin-bottom: .6em;
    font-size: 1.3em;

}

.content-list p {
    margin-top: .6em;
    font-size: 1.1em;
}

/* --------------------------------------------------------------- result section------------------------------------------------------ */

.result-section {
    background-color: #ffffff;
    height: 100%;
}

.result-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;

}

.result-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 126px; */

}

/* <img src="./assets/image_1.png" alt="tools image"  */
.result-container-wrapper .side-image {
    background-image: url("./assets/image_2.png");
    width: 40%;
    height: 836px;
    background-size: cover;
}

.right-result-wrapper {
    background-color: #ffffff;
    width: 60%;
    height: 835px;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-result-wrapper h1 {
    font-size: 2.5em;
    line-height: 1.5em;
    margin-bottom: .4em;
    text-align: center;
}




.result-content-wrapper {
    width: 100%;
}

.result-content-item {
    display: flex;
    width: 46%;
    align-items: center;
    flex-direction: column;
}

.result-content-div {
    display: flex;
    justify-content: space-between;
}

.result-content-item h1 {
    font-size: 3.2em;
    letter-spacing: 3px
}

.result-content-item h5 {
    font-size: 1.3em;
    margin-bottom: .6em;
}

.result-content-item p {
    font-size: 1.1em;
    text-align: center;
    line-height: 1.5em;

}

.item-continer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: #4C4C4D;
    height: 90%;
}

.result-description p {
    font-size: 1.1em;
    color: #4C4C4D;
    line-height: 1.5em;
}

.form-container {
    display: flex;
    max-width: 1100px;
    margin: auto;

}


.form-wrapper {
    display: flex;
    align-items: center;
    padding: 20px 0;

}

.form-left-content {
    padding: 3.3em 2em;
    display: flex;
    flex-direction: column;
    /* height: 130%; */
    justify-content: space-between;
    color: #4C4C4D;
    gap: 20px;
}

.form-left-content h1 {

    font-size: 2.2em;
    line-height: 1.5em;

}

.form-left-content p {
    font-size: 1.15em;
    line-height: 1.5em;
}

.right-form {
    height: 100%;
    width: 100%;
    margin: 15px 0px;
    background-image: url('./assets//Screenshot_11.jpg');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

}

.right-form-container {
    background-color: rgb(240, 240, 240);
    padding: 30px 20px;
    border-radius: 5px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.right-form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.form-group {
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
}

.tow-column {
    flex-direction: row;
    gap: 10px
}

input,
select {
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    background-color: white;
    -webkit-appearance: none;

}

.btn-container {
    display: flex;
    justify-content: center;
}

.submit {
    padding: 10px 20px;
    background-color: rgb(23, 175, 177);
    border-radius: 20px;
    color: white;
    font-weight: 700;
    border: none;
    margin: auto;
    font-size: 1em;
    cursor: pointer;

}

/* .right-form img {
    height: 100%;
    width: 100%;
} */

.list-icon svg {
    height: 35px;
    padding: 5px;
    background-color: rgb(230, 230, 230);
    border-radius: 2px;
}

.success-message {
    color: green;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

input::placeholder {
    font-size: 0.8em;
}

select {
    font-size: 0.8em;
    background-color: white;
    -webkit-appearance: none;
}










/* media queries */

@media screen and (max-width: 768px) {
    body {
        font-size: 12px;
    }

    /* .hero {
        height: auto;
    } */

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p,
    .btn {
        font-size: 1.2em;
    }

    .text-overlay {
        top: 50%;
        height: auto;
    }

    .tools-container-wrapper {
        flex-direction: column;
    }

    .tools-container {
        padding: 30px;
    }

    .tools-container .side-image {
        width: 100%;
        height: 300px;
        background-position: center;
    }

    .tool-content {
        margin-bottom: 20px;
    }

    .right-tool-wrapper {
        width: auto;
        font-size: 12px;
        padding: 30px;
        height: auto;
    }

    .result-container-wrapper {
        flex-direction: column;
    }

    .result-container-wrapper .side-image {
        width: 100%;
        height: 300px;
        background-size: cover;
        background-position: center;
    }


    .right-result-wrapper {
        width: 100%;
        height: 100%;
        padding: 40px;
        justify-content: space-evenly;
    }

    .item-continer {
        flex-direction: column;
        align-content: center;
        gap: 10px;
    }

    .result-description {
        margin-top: 20px;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .result-content-item {
        text-align: center;

    }

    .list-icon svg {
        height: 25px;
    }

    .tow-column {
        flex-direction: column;
    }

    .submit {
        width: 50%;
    }
    .buttons{
        font-size: 0.8em;
    }




}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .hero {
        height: 450px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .btn {
        font-size: 1em;
    }

    .result-content-wrapper {
        font-size: 14px;
    }

   

    .item-continer {
        height: 70%;
    }

    .result-description p {
        font-size: 1em;
        margin-top: 20px;
    }

    .right-result-wrapper {
        padding: 60px;
    }

    .list-icon svg {
        height: 30px;
    }
}