/* Global Home Design */
.con{
    padding: 80px 0px;
}

#features,
#pricing,
#about,
#contact{
  scroll-margin-top: 40px;
}


/* Hero */
#hero-sec{
    overflow: hidden;
}

#hero-con{
    position: relative;
    /* margin-top: 120px; */
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 90svh;
}

h1{
    font-size: 5rem;
    font-weight: 400;
}

.hero-right{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.hero-divider{
    margin-top: 12px;
    border-bottom: var(--theme-2px);
    width: 100%;
    max-width: 300px;
    transition: var(--trans);
}

#hero-show-more{
    font-size: 1.06rem;
    font-weight: 500;
    transition: var(--trans);
}

.hero-btns{
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-left{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-left img{
    position: absolute;
    inset-inline-end: -9%;
    max-width: 50%;
    object-fit: contain;
}


/* Features */
#features-con{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.heading-wrapper{
    display: flex;
    align-items: center;
    gap: 12px;
}

.heading-wrapper > svg{
    --star-fill-color: var(--yellow);
    position: relative;
    bottom: 4px;
    width: 45px;
    height: 45px;
}

.features-wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px, 1fr));
    gap: 40px;
}

.feature-item{
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgb(var(--fg));
    border: var(--theme-2px);
    padding: 10px 20px;
    border-radius: var(--small-radius);
    min-height: 93px;
    cursor: pointer;
}

.feature-item > p{
    flex: 1;
    font-size: 1.375rem;
}

.feature-item > svg{
    width: 45px;
    height: 45px;
}

html[lang="en"] .feature-item > p{
    line-height: 1.2;
}


/* Pricing */
#pricing-con{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pricing-wrapper{
    display: flex;
    justify-content: center;
    gap: 40px;
}

.plan{
    --hover-depth: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgb(var(--fg));
    border: var(--theme-2px);
    border-radius: var(--big-radius);
    min-width: 350px;
}

.plan h3{
    width:100%;
    font-size: 1.9rem;
    font-weight: 500;
    padding: 20px;
    border-bottom: var(--theme-1px);
    text-align: center;
}

.plan ul{
    width:100%;
    margin: 0;
    padding:0;
}

.plan li{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 25px;
    border-bottom: var(--theme-1px);
}

.plan li svg{
    width: 25px;
    height: 25px;
}

#free-plan-price{
    padding: 17px 20px;
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--green);
}



/* About */
#about-contact-con{
    display: flex;
    flex-wrap: wrap;
    gap: 120px;
}

.about-wrapper,
.contact-wrapper{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;
}

#contact-form {
    --hover-depth: 7px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 17px 25px;
    border-radius: var(--big-radius);
    background: rgb(var(--fg));
    border: var(--theme-1px);
    max-width: 350px;
}

#contact-form.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.form-input-wrapper{
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-input-wrapper label{
    font-size: 1.063rem;
    font-weight: 500;
}

#contact-form textarea{
    min-height: 100px;
}

#contact-form button{
    align-self: center;
}

.form-status{
    --status-color: var(--green);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgb(var(--fg));
    border: var(--theme-2px);
    border-radius: var(--big-radius);
    color: var(--status-color);
    padding: 25px;
    max-width: 350px;
}

.form-status.hidden{
    display: none;
}

#form-error{
    --status-color: var(--red);
}

.form-status svg{
    width: 70px;
    height: 70px;
    fill: var(--status-color);
}


@media (max-width: 991px){

    #hero-sec{
        overflow: visible;
    }

    #hero-con{
        /* margin-top: 100px; */
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
    }

    .hero-left,
    .hero-right{
        width: 100%;
    }
    
    .hero-left img{
        position: static;
        height: auto;
        width: 100%;
        max-width: unset;
    }

    #about-contact-con{
        gap: 40px;
    }

    .about-wrapper,
    .contact-wrapper{
        width: 100%;
    }

    #contact-form{
        margin: 0 auto;
    }

}

@media (max-width: 767px){

    .con{
        padding: 40px 0px;
    }

    #hero-con{
        /* margin-top: 80px; */
    }

    h1{
        font-size: 3.5rem;
    }

    .heading-wrapper > svg{
        bottom: 2px;
        width: 38px;
        height: 38px;
    }

    .features-wrapper{
        grid-template-columns: repeat(auto-fill,minmax(250px, 1fr));
        gap: 25px;
    }

    .feature-item{
        gap: 17px;
        padding: 20px;
        min-height: auto;
    }

    .feature-item > p{
        font-size: 1.25rem;
    }

    .feature-item > svg{
        width: 40px;
        height: 40px;
    }

}

@media (max-width: 479px){

    .con{
        padding: 50px 0px;
    }

    #hero-con{
        /* margin-top: 60px; */
        min-height: auto;
        gap: 13px;
    }

    h1{
        font-size: 2.65rem;
    }

    .hero-divider{
        margin-top: 0px;
        max-width: 220px;
    }

}
