/*color */

/* primary (headers/nav/text on light background) - #2C3E50

accent (buttons, highlights, icons,) - #D2042D

secondary (adjacent nung accent red for the background ng buttons and shit) - #BDC3C7

highlight (color pag hinover nung cursor yung text) - #7F8C8D

background (bg ng site itself for both web and mobile) - #ECF0F1 */

body{
    margin: 0;
}

header{
    display: flex;
    width: 100%;
    height: 12vh;
    position: sticky;
    top: 0;
    background-color: #2C3E50 ;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    & > a{
        text-decoration: none;

        & > img{
            height: 5vh;
            padding-left: 15px;
        }
    }

    & > .btnHolder{
        display: flex;
        padding-right: 15px;
        gap: 1.5rem;
        align-items: center;

        & > a{
            border: none;
            color: #BDC3C7;
            font-size: 14px;
            cursor: pointer;
            font-family: "Stack Sans Text", sans-serif;
            font-weight: 200;
            text-decoration: none;

            &:hover{
                color: #ECF0F1;
            }
        }

        & > a:nth-child(1){
            height: 33px;
            width: 7rem;
            background-color: #D2042D;
            border-radius: 20px;
            font-weight: 400;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        & > .dropdown-center{
            display: flex;
            align-items: center;

            & > button{
                background-color: transparent;
                border: none;
                color: #BDC3C7;
                font-size: 14px;
                cursor: pointer;
                font-family: "Stack Sans Text", sans-serif;
                padding: 0;
                margin: 0;
                font-weight: 200;

                &:hover{
                    color: #ECF0F1;
                }
            }

            & > ul{
                background-color: #BDC3C7;

                & > li{
                    background-color: transparent;

                    & > a{
                        color: black;
                        font-weight: 200;
                        font-size: 14px;
                        font-weight: 200;
                        font-family: "Stack Sans Text", sans-serif;

                        &:hover{
                            background-color: rgba(128, 128, 128, 0.178);
                        }
                    }
                }
                
            }
        }

        & > button{
            border: 2px solid #BDC3C7;
            height: 33px;
            width: 5.5rem;
            border-radius: 10px;
            font-weight: 300;
            color: #BDC3C7;
            font-size: 14px;
            cursor: pointer;
            font-family: "Stack Sans Text", sans-serif;
            font-weight: 200;

            &:hover{
                color: #ECF0F1;
            }
        }
    }
}


.section1{
    display: flex;
    height: 90vh;
    width: 100%;
    background-color: #BDC3C7;
    align-items: center;

    & > .container-left{
        display: flex;
        width: 25%;
        height: 100%;
        justify-content: flex-start;
        align-items: flex-end;

        & > img{
            height: 60vh;
            position:absolute;
        }
    }
    & > .container-right{
        display: flex;
        align-items: center;
        flex-direction: column;
        border-radius: 15px;
        width: 60%;
        gap: 3rem;
        justify-content: center;

        & > h1{
            text-align: center;
            font-size: 3rem;
            font-weight: 800;
            color: #2C3E50;
            font-family: "Poppins", sans-serif;
        }

        & > a{
            & > button{
                height: 40px;
                width: 14rem;
                border-radius: 10px;
                background-color: #2C3E50;
                border: none;
                color: white;
                font-size: 14px;
                font-family: "Stack Sans Text", sans-serif;
            }
        }
        
        & > .container-holder{
            display: flex;
            flex-direction: row;
            gap: 20px;

            & > .container{
                display: flex;
                width: 14rem;
                height: 20vh;
                align-items: center;
                text-align: center;
                background-color: rgb(220, 220, 2);
                flex-direction: column;
                gap: 20px;
                border-radius: 20px;
                border: 2px solid black;
                /* box-shadow: 0px 0px 10px #44444450; */

                & > i{
                    font-size: 35px;
                    color: #2C3E50;
                    padding-top: 20px;

                }
                & > h4{
                    font-size: 14px;
                    color: #2C3E50;
                    font-family: "Stack Sans Text", sans-serif;
                }
            }
        }
    }
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 35vh;
    background-color: #2C3E50;
    gap: 5px;
    width: 100%;

    & > img{
        height: 5vh;
        margin-bottom: 10px;
    }

    & > b{
        color: #BDC3C7;
        font-weight: 600;
        font-size: 14px;
    }

    & > p{
        font-size: 12px;
        font-family: "Stack Sans Text", sans-serif;
        font-weight: 200;
        color: #BDC3C7;
        text-align: center;
        padding: 0px 10rem;
    }

    & > .linkHolder{
        display: flex;
        flex-direction: row;
        margin: 0;
        padding: 0;
        gap: 10px;
        padding-bottom: 10px;
        & > a{
            text-decoration: none;
            color: #BDC3C7;
            font-size: 30px;
        }
    }
}

.modal{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.78);
    justify-content: center;
    align-items: center;
    z-index: 100;

    & > .modal-content{
        display: flex;
        flex-direction: column;
        width: 40%;
        height: 70vh;
        align-items: center;
        color: black;
        background-color: #2C3E50 ;
        justify-content: center;
        transition:  0.1s ease;
        
        & > span {
            display: flex;
            align-self: end;
            color: rgb(184, 184, 184);
            font-size: 2rem;
            float: right;
            cursor: pointer;
            padding-right: 10px;

            &:hover{
                color: whitesmoke;
            }
        }

        & > .loginContent{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            width: 100%;
            gap: 1rem;

            & > .top{
                display: flex;
                width: 100%;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 10px;
                
                & > img{
                    height: 9vh;
                }
                & > p{
                    font-size: 1rem;
                    color: #BDC3C7;
                    font-family: "Stack Sans Text", sans-serif;
                    font-weight: 200;
                }
            }

            & > form{
                display: flex;
                align-items: center;
                flex-direction: column;
                color: black;
                font-size: 14px;
                width: 16rem;
                height: 90%;
                gap: 1rem;

                & > .input-holder {
                    display: flex;
                    line-height: 30px;
                    align-items: center;
                    position: relative;
                    width: 16rem;
                    height: 45px;

                    & > i {
                        position: absolute;
                        left: 1rem;
                        width: 1rem;
                        height: 1rem;
                        color: #BDC3C7;
                        z-index: 1;
                    }

                    & > input {
                        width: 100%;
                        height: 100%;
                        line-height: 30px;
                        padding-left: 3rem;
                        border: 2px solid #7F8C8D;
                        border-radius: 6px;
                        outline: none;
                        transition: .5s ease;
                        background: transparent;
                        backdrop-filter: blur(4.7px);
                        -webkit-backdrop-filter: blur(3.1px);
                        color: #ECF0F1;

                        &::placeholder{
                            color: #BDC3C7;
                            font-size: 14px;
                        }

                        &:focus, &:hover {
                            outline: none;
                            border: 2px solid #BDC3C7 ;
                            box-shadow: 0 0 0 3px rgba(194, 194, 194, 0.27);

                            &::placeholder{
                                color: #ECF0F1 ;
                            }
                        }
                    }

                    & > .toggle-btn {
                            position: absolute;
                            right: 1rem;
                            cursor: pointer;
                            user-select: none;
                            color: #BDC3C7;
                            font-size: 14px;

                            &:hover{
                                color: #9ea3a6;
                            }
                        }
                }

                & > .error{
                    font-size: 14px;
                    padding-top: 0;
                    margin: 0;
                    width: 15.5rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 200;
                    font-family: "Stack Sans Text", sans-serif;
                    color: rgb(255, 20, 20);
                }

                & > button{
                    display: flex;
                    border: 2px solid #BDC3C7;
                    background-color: #7F8C8D;
                    justify-self: center;
                    height: 45px;
                    width: 16rem;
                    align-items: center;
                    justify-content: center;
                    border-radius: 6px;
                    color: white;
                    font-size: 14px;
                    cursor: pointer;

                    &:hover{
                        border: 2px solid #BDC3C7 ;
                        background-color: #697474;
                    }
                }

                & > a{
                    display: flex;
                    align-self: flex-start;
                    color: rgb(167, 167, 167);
                    padding-left: 3px;
                    cursor: pointer;
                }
                
                & > .registerBtn{
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;

                    & > p{
                        color: white;
                        font-size: 14px;
                        margin: 0;
                    }

                    & > button{
                        background-color: transparent;
                        border: none;
                        font-size: 14px;
                        color: white;
                        font-weight: 600;
                        cursor: pointer;
                        padding-left: 4px;

                        &:hover{
                            color: rgb(174, 174, 174);
                        }
                    }
                }
            }
        }

        & > .registerContent{
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            width: 100%;
            gap: 1rem;
            
            & > .top{
                display: flex;
                width: 100%;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                
                & > img{
                    height: 9vh;
                }
                & > p{
                    font-size: 1rem;
                    color: #BDC3C7;
                    font-family: "Stack Sans Text", sans-serif;
                    padding-top: 10px;
                    font-weight: 200;
                }
            }
            
            & > form{
                display: flex;
                align-items: center;
                flex-direction: column;
                color: black;
                font-size: 14px;
                width: 16rem;
                height: 90%;
                gap: 1rem;

                & > .name{
                    display: flex;
                    flex-direction: row;
                    gap: 10px;
                
                    & > input {
                        width: 10.2rem;
                        height: 45px;
                        line-height: 30px;
                        padding: 0 1rem;
                        border-radius: 6px;
                        outline: none;
                        border: 2px solid #7F8C8D;
                        transition: .5s ease;
                        background: rgba(255, 255, 255, 0.05);
                        backdrop-filter: blur(8.7px);
                        -webkit-backdrop-filter: blur(3.1px);
                        color: #ECF0F1;

        
                        &::placeholder{
                            color: #BDC3C7;
                            font-size: 14px;
                        }
                    
                        &:focus, &:hover {
                            outline: none;
                            border: 2px solid #BDC3C7 ;
                            box-shadow: 0 0 0 3px rgba(194, 194, 194, 0.27);
            
                            &::placeholder{
                                color: #ECF0F1 ;
                            }
                        }
                    }
                }
                
                & > .input-holder {
                    display: flex;
                    line-height: 30px;
                    align-items: center;
                    position: relative;
                    width: 21rem;
                    height: 45px;

                    & > i {
                        position: absolute;
                        left: 1rem;
                        fill: none;
                        width: 1rem;
                        height: 1rem;
                        color: #BDC3C7;
                        z-index: 1;
                    }

                    & > input {
                        width: 100%;
                        height: 100%;
                        line-height: 30px;
                        padding: 0 1rem;
                        padding-left: 3rem;
                        border: 2px solid #7F8C8D;
                        border-radius: 6px;
                        outline: none;
                        transition: .5s ease;
                        background: rgba(255, 255, 255, 0.05);
                        backdrop-filter: blur(4.7px);
                        -webkit-backdrop-filter: blur(3.1px);
                        color: #ECF0F1;
        
                        &::placeholder{
                            color: #BDC3C7;
                            font-size: 14px;
                        }
                    
                        &:focus, &:hover {
                            outline: none;
                            border: 2px solid #BDC3C7 ;
                            box-shadow: 0 0 0 3px rgba(194, 194, 194, 0.27);
            
                            &::placeholder{
                                color: #ECF0F1 ;
                            }
                        }
                    }

                    & > .toggle-btn {
                        position: absolute;
                        right: 1rem;
                        cursor: pointer;
                        user-select: none;
                        color: #BDC3C7;
                        font-size: 14px;
                    }
                }

                & > button{
                    display: flex;
                    border: 2px solid #BDC3C7;
                    background-color: #7F8C8D;
                    justify-self: center;
                    height: 2.8rem;
                    width: 21rem;
                    align-items: center;
                    justify-content: center;
                    border-radius: 6px;
                    color: white;
                    font-size: 14px;
                    margin-top: 1rem;
                    cursor: pointer;

                    &:hover{
                        border: 2px solid #BDC3C7 ;
                        background-color: #697474;
                    }
                }

                & > button:last-child{
                    border: none;
                    border-radius: 0;
                    background-color: rgba(87, 87, 87, 0.569);
                    margin-top: 0;
                    cursor: pointer;

                    &:hover{
                        background-color: rgba(74, 73, 73, 0.569);
                    }
                }

                & > .error{
                    font-size: 14px;
                    padding-top: 0;
                    margin: 0;
                    width: 21rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 200;
                    font-family: "Stack Sans Text", sans-serif;
                    color: rgb(255, 20, 20);
                }
            }
        }
    }
}

.section2, .section3 {
    padding: 80px 10%;
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.85;
}

.steps-holder,
.features-holder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step, .feature {
    padding: 30px;
    border-radius: 12px;
    background: #f9f9f9;
}

.step i, .feature i {
    font-size: 32px;
    margin-bottom: 15px;
}

.section3 .cta {
    margin-top: 50px;
}