@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=M+PLUS+1p&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*, *::before, *::after{
    box-sizing: inherit;
    font-family: "Montserrat", sans-serif;
}

html{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    margin: 0;
}

.container{
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.container-fluid{
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}

header{
    .header__inner{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo img{
        max-width: 240px;
        width: 100%;
        object-fit: contain;
        object-position: center center;
    }

    nav{
        display: flex;
        align-items: center;
        gap: 32px;
        a{
            font-size: 15px;
            line-height: normal;
            font-weight: 600;
            text-decoration: none;
            color: black;
            font-family: 'Montserrat', sans-serif;
        }
    }

    .lang{
        padding: 0 16px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        line-height: normal;
    }
}

main{
    .main__wrap{
        display: flex;
        align-items: center;
        gap: 60px;
        div{
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 60px;
        }
        h1{
            font-weight: 600;
            font-size: 36px;
            line-height: 52px;
            margin: 0;
        }
        button{
            width: max-content;
            background-color: #ff914d;
            color: black;
            border-radius: 30px;
            outline: none;
            height: 60px;
            padding-left: 60px;
            padding-right: 60px;
            font-size: 16px;
            line-height: normal;
            font-weight: 600;
            border: none;
            cursor: pointer;
        }
        img{
            max-width: 460px;
        }
    }

    .main__items{
        padding: 60px 0 45px 0;
        display: flex;
        align-items: flex-start;
        div{
            flex: 1;
            margin: 0 20px;
            span{
                color: rgb(255, 145, 77);
                font-size: 52px;
                line-height: normal;
                font-weight: 600;
                text-align: center;
                width: 100%;
                display: block;
            }
            p{
                margin: 0;
                margin-top: 20px;
                padding-top: 20px;
                border-top: 1px solid #d5d5d5;
                text-align: center;
                font-weight: 600;
                font-size: 16px;
                line-height: normal;
            }
        }
    }
}

.safe{
    padding: 100px 0;
    .safe__inner{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .bg{
        width: calc(50% - 30px);
        display: flex;
        justify-content: center;
        img{
            width: 100%;
            max-width: 450px;
            object-fit: contain;
            object-position: center center;
        }
    }
    .content{
        width: calc(50% - 30px);
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    h3{
        font-size: 42px;
        line-height: normal;
        font-weight: 600;
        margin: 0;
    }
    ul{
        padding-left: 20px;
        margin: 0;
    }
    h4{
        margin: 0;
    }
}

.service{
    padding: 100px 0;
    h2{
        text-align: center;
        font-size: 42px;
        line-height: normal;
        font-weight: 600;
        margin: 0;
    }
    .items{
        display: flex;
        gap: 32px;
        margin-top: 80px;
    }
    .item{
        box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
        flex: 1;
        padding: 20px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        gap: 10px;
        h4{
            margin: 0;
            font-weight: 700;
            font-size: 16px;
            line-height: normal;
        }
        p{
            margin: 0;
            font-size: 16px;
            font-weight: 400;
            line-height: normal;
        }
    }
}

.join{
    padding: 100px 0 150px;
    h2{
        text-align: center;
        font-size: 42px;
        line-height: normal;
        font-weight: 600;
        margin: 0;
    }
    .items{
        display: flex;
        gap: 32px;
        margin-top: 80px;
    }
    .brand{
        color: #ff914d;
    }
    .item{
        display: flex;
        align-items: flex-start;
        gap: 20px;
        flex: 1;
        div{
            width: 44px;
            height: 44px;
            background-color: #ff914d;
            border-radius: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            span{
                font-weight: 500;
                color: white;
                font-size: 18px;
            }
        }
        p{
            margin: 0;
            flex: 1;
            font-size: 18px;
            font-weight: 600;
            line-height: 26px;
        }
    }
}

footer{
    overflow: hidden;
    padding: 100px 0 150px;
    .footer__inner{
        display: flex;
        align-items: flex-start;
        gap: 20px;
        .logo{
            margin-top: 20px;
        }
        .col{
            flex: 1;
            >img{
                width: 160px;
            }
            div{
                img{
                    width: 30px;
                    height: 30px;
                    object-fit: contain;
                    object-position: center center;
                }
            }
            p{
                margin: 0;
            }
            h2{
                margin: 0 0 40px;
                font-size: 18px;
                line-height: normal;
                font-weight: 700;
            }
            a, p{
                font-size: 15px;
                line-height: 22px;
                font-weight: 600;
                text-decoration: none;
                color: black;
                cursor: pointer;
                display: block;
                margin-bottom: 8px;
            }
            span{
                margin-top: 30px;
                display: block;
                color: grey;
                font-size: 14px;
                line-height: 20px;
            }
        }
    }
}

.modal{
    background: rgba(0,0,0,.6);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    padding: 16px;
    display: none;
    justify-content: center;
    align-items: center;
    .modal__card{
        background: white;
        border-radius: 12px;
        padding: 40px 32px 32px 32px;
        gap: 32px;
        display: flex;
        flex-direction: column;
        overflow: auto;
        max-height: calc(100vh - 32px);
        h1{
            margin: 0;
            font-size: 28px;
            line-height: normal;
        }
        form{
            display: flex;
            flex-direction: column;
            gap: 20px;
            label{
                display: block;
                margin-bottom: 6px;
            }
            input, textarea{
                border: 1px solid #dfdfdf;
                width: 100%;
                max-width: 100%;
                padding: 12px;
                border-radius: 8px;
                font-size: 15px;
                font-weight: 500;
                resize: none;
            }
            textarea{
                height: 100px;
            }
            button{
                width: max-content;
                background-color: #ff914d;
                color: black;
                border-radius: 30px;
                outline: none;
                height: 60px;
                padding-left: 60px;
                padding-right: 60px;
                font-size: 16px;
                line-height: normal;
                font-weight: 600;
                border: none;
                cursor: pointer;
                margin-left: auto;
                margin-right: auto;
            }
        }
    }
}

@media (max-width: 767px){
    .container-fluid{
        padding-left: 8px;
        padding-right: 8px;
    }

    .container{
        padding-left: 16px;
        padding-right: 16px;
    }


    header{
        nav{
            display: none;
        }
        .header__inner{
            padding: 8px 0;
        }
        .logo{
            img{
                max-width: 160px;
            }
        }
    }

    main{
        .main__inner{
            padding-top: 60px;
        }
        .main__wrap{
            flex-direction: column;
            gap: 25px;
            img{
                width: 100%;
            }
            div{
                gap: 40px;
            }
            h1{
                line-height: 48px;
            }
        }
        .main__items{
            flex-direction: column;
            gap: 40px;
            div{
                width: 100%;
                margin: 0;
            }
        }
    }

    .safe{
        padding: 60px 0;
        .safe__inner{
            flex-direction: column;
            gap: 40px;
        }
        h3{
            font-size: 32px;
        }
        .bg{
            width: 100%;
        }
        .content{
            width: 100%;
        }
    }

    .service{
        padding: 60px 0;
        .items{
            flex-direction: column;
            margin-top: 25px;
        }
        h2{
            font-size: 32px;

        }
    }

    .join{
        padding: 60px 0;
        h2{
            font-size: 32px;
        }
        .items{
            flex-direction: column;
        }
    }

    footer{
        padding: 60px 0;
        .footer__inner{
            flex-direction: column;
            gap: 40px;
            .col{
                img{
                    max-width: 200px;
                    width: 100%;
                }
                h2{
                    margin-bottom: 20px;
                }
            }
        }
    }
}

.text{
    padding: 60px 0 100px 0;
    h1{
        font-size: 42px;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        margin-bottom: 50px;
    }
    .text__inner{
        > div *{
            margin-top: 0;
            margin-bottom: 0;
            display: block;
        } 
        h3{
            margin-top: 16px;
             
        }
        p{
            margin-top: 32px;
            font-size: 16px;
            line-height: 24px;
        }
        strong{
            font-size: 24px;
            line-height: normal;
            margin-bottom: 16px;
        }
        .table{
            border: 1px solid #dedede;
            overflow: auto;
            div{
                display: flex;
            }
            div:not(:first-child){
                border-top: 1px solid #dedede;
            }
            span{
                flex: 1;
                display: block;
                padding: 16px;
            }
            span:first-child{
                max-width: 300px;
                width: 100%;
            }
            span:not(:first-child){
                border-left: 1px solid #dedede;
            }
        }
    }
}

.individual{
    padding: 60px 0 100px 0;
    h1{
        font-size: 42px;
        font-weight: 700;
        line-height: normal;
    }
    .individual__wrap{
        margin-top: 50px;
    }
    h3{
        font-size: 22px;
        line-height: normal;
        font-weight: 600;
    }
    form{
        margin-top: 20px;
        button{
            margin-top: 20px;
            background: #ff914d;
            color: black;
            border: none;
            padding: 12px 26px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            max-width: 200px;
            width: 100%;
            cursor: pointer;
        }
    }
    .field{
        display: flex;
        flex-direction: column;
        gap: 7px;
        margin-bottom: 24px;
        input{
            max-width: 240px;
            width: 100%;
            cursor: pointer;
            border: 1.1px solid rgb(222 222 222);
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            padding: 12px;
        }
        label{
            margin: 0;
            font-size: 14px;
            font-weight: 600;
            line-height: normal;
        }
        .field-sub{
            display: flex;
            align-items: center;
            gap: 16px;
            p{
                margin: 0;
                font-size: 14px;
                font-weight: 500;
                line-height: normal;
            }
        }
    }
}

@media (max-width: 767px){
    .individual{
        h1{
            font-size: 32px;
            line-height: normal
        }
        input{
            max-width: 100% !important;
            width: 100% !important;
        }
        .field{
            .field-sub{
                flex-direction: column;
                align-items: flex-start;
                gap: 6px;
            }
        }
    }

    .agreement-table{
        div{
            span{
                max-width: 150px !important;
                width: 100% !important;
                min-width: 150px;
                flex-shrink: 0;
                word-break: break-word;
            }
        }
    }
}

 