@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

:root{
    --primaryColor: rgb(10, 35, 25, 1);
    --secondaryColor: rgb(255,249,175);
    --accentColor: #4C5B5C;
}

body{
    margin: 0px; 
    font-family: Questrial, 'Segoe UI', Tahoma, Arial, Verdana, sans-serif;
    background-color: rgb(255, 253, 242);
}

h1, h2, h3, h4, h5, h6, p, div, section{
    margin: 0px;
}

#navigation{
     position: fixed;
    top: 0%;
    left: 0;
    right: 0;
    z-index: 20000;
}

#navigation header{
    background-color: var(--secondaryColor);
    padding: 10px 0px;
    text-align: center;
}

#nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*width: 80%;*/
    padding: 0px 8%;
    margin: 0px auto;
    text-align: center;
    background-color: rgb(255, 253, 242);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 5000;
}

.logo img{
    width: 120px;
}

#nav .navlinks{
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}


#nav .navlinks i{
    width: 15px;
    height: 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid var(--primaryColor);
    color: var(--primaryColor);
    padding: 5px;
    margin: 0px 5px;
}

#nav .navlinks .navbtn{
    background-color: var(--primaryColor);
    color: rgb(255, 253, 242);
    border-radius: 20px;
    border: none;
    padding: 10px 50px;
    transition: border-color .4s ease 0s, background-color .4s ease 0s;
}

#nav .navlinks .navbtn:hover{
    background: none;
    color: black;
    border: 1px solid var(--primaryColor);
}

#nav .navlinks li{
    margin: 5px 20px;
}

#nav .navlinks li a{
    color: black;
    text-decoration: none;
}

.nav-mobile{
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-mobile .fa-bars, .nav-mobile .fa-close{
    font-size: 25px;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

#hero{
    background-image: url(../img/herobg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-origin: content-box;
    height: 942px;
    object-fit: cover;
}

.herobg{
    padding: 0px 8%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    color: rgb(255, 253, 242);
}

.hero-text{
    width: 50%;
}

.hero-text h1{
    font-weight: normal;
    font-size: 55px;
    margin: 10px 0px;
}

.hero-text p{
    font-weight: normal;
    font-size: 22px;
    margin: 10px 0px;
    width: 90%;
    line-height: 1.4;
}

.herobtn{
    border: none;
    background-color: rgb(255, 253, 242);
    border-radius: 50px;
    padding: 20px 65px;
    margin: 10px 0px;
    transition: border-color .4s ease 0s, background-color .4s ease 0s;
}

.herobtn:hover{
    background: none;
    color: black;
    border: 1px solid rgb(255, 253, 242);
    color: rgb(255, 253, 242);
}


#quoteForm{
    background-color: var(--secondaryColor);
    margin: 0px 8%;
    margin-top: -280px;
    margin-bottom: 50px;
    border-radius: 15px;
    padding: 20px;
    float: right;
    text-align: center;
}

#quoteForm form{
    width: 100%;
}

.form-heading-1{
    font-size: 30px;
    margin: 10px;
}

.form-heading-2{
    font-size: 18px;
    margin-bottom: 30px;
}

.quotebtn{
    padding: 20px 60px;
    background-color: var(--primaryColor);
    border: none;
    border-radius: 50px;
    color: rgb(255, 253, 242);
    margin: 20px 0px;
    transition: border-color .4s ease 0s, background-color .4s ease 0s;
}

.quotebtn:hover{
    background: none;
    color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
}

#quoteForm input, #quoteForm select{
    padding: 15px 20px;
    margin: 10px 0px;
    background: none;
    border-radius: 4px;
    border: 1px solid var(--primaryColor);
}

#quoteForm select{
    width: 100%;
}

#quoteForm .form-item{
    display: flex;
    flex-direction: column;
    margin: 5px 10px;
    width: 100%;
}

.form-g{
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left !important;
    width: 100% !important;
}

#formspacer{
    height: 370px;
    background-color: rgb(255, 253, 242);
}




#testimonial{
    padding: 40px 8%;
}

#testimonial h1{
    font-weight: normal;
    font-size: 35px;
    text-align: center;
}

#testimonial .testimonial-icons svg{
    width: 100px;
    height: 40px;
}

#testimonial .testimonial-group{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0px;
    line-height: 1.4;
    flex-wrap: wrap;
    gap: 20px;

}

#testimonial .testimonial-item{
    background-color: var(--secondaryColor);
    padding: 30px;
    width: 230px;
    height: 300px;
    margin: 0px 6px;
}

#testimonial .testimonial-item:first-child{
   margin-left: 0px;
}

#testimonial .testimonial-item:last-child{
    margin-right: 0px;
 }

.testifier{
    margin: 10px 0px;
    font-weight: 600;
}



#services{
    padding: 80px 8%;
    text-align: center;
    background-color: var(--accentColor);
    color: rgb(255, 253, 242);
    line-height: 2;
}

.services-heading{
    font-size: 45px;
}

.services-subheading{
    font-size: 25px;
}

#services a{
    text-decoration: none;
    color: rgb(255, 253, 242);
}

.service-group{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0px;
}

.service-item{
    height: 550px;
    width: 380px;
    transition: opacity 0.2s ease 0s;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin: 0px 10px;
}

.servicebg{
    height: 100%;
    width: 100%;
    background-color: black;
    z-index: 1;
}

.service-item img{
    border-radius: 5px;
    height: 100%;
    opacity: 0.8;
    transition: scale 2.2s cubic-bezier(0.14, 0.4, 0.09, 0.99) !important;
}

.service-item img:hover{
    scale: 1.2;
    transition: 0.2s ease 0s;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.service-text{
    position: relative;
    bottom: 50px;
    z-index: 2;
    font-size: 20px;
    width: 300px;
}

.servicebtn{
    background-color: rgb(255, 253, 242);
    padding: 20px 50px;
    font-size: 18px;
    color: var(--primaryColor);
    border-radius: 100px;
    border: none;
    margin-top: 20px;
    transition: border-color .4s ease 0s, background-color .4s ease 0s;
}

.servicebtn:hover{
    background: none;
    color: rgb(255, 253, 242);
    border: 1px solid rgb(255, 253, 242);
}

#beforeAfter{
    padding: 60px 8%;
    text-align: center;
}


.beforeAfterHeading{
    font-size: 45px;
}


#beforeAfter .slider{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#beforeAfter .imageslide{
    display: flex;
}
#beforeAfter .slider img{
    border-radius: 8px;
    width: 400px;
    margin: 10px;
}


#beforeAfter .description{
    margin: 20px;
    font-size: 28px;
}

.before p, .after p{
    font-size: 20px;
}



#howItWorks{
    height: 400px;
    background-image: url(../img/how.jpg);
    background-size: cover;
    background-repeat: initial;
}

.howbg{
    background-color: rgba(101, 120, 121, 0.571);
    color: rgb(255, 253, 242);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    text-align: center;
}

.howbg .circ{
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background-color: var(--secondaryColor);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primaryColor);
    font-size: 25px;
    margin: 5px;
}
.howbg h1{
    margin: 25px 0px;
    font-size: 30px;
}

.howcontents{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 60%;
    text-align: center;
}


.how-item{
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


#package{
    background-color: var(--accentColor);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12% 15%;

}

#package .package-item1{
    color: rgb(255, 253, 242);
    line-height: 1.5;
    max-width: 340px;
}

#package .package-item1 h1{
    font-size: 30px;
}

#package .package-item1 p{
    font-size: 18px;
}

#package .package-item1 .packagebtn{
    background-color: rgb(255, 253, 242);
    border-radius: 50px;
    padding: 15px 45px;
    margin: 15px 0px;
    border: none;
    transition: border-color .4s ease 0s, background-color .4s ease 0s;
}

.package-item1 .packagebtn:hover{
    background: none !important;
    color: rgb(255, 253, 242) !important;
    border: 1px solid rgb(255, 253, 242) !important;
}


.package-item2{
    text-align: center;
}

.package-item2 .upper{
    background-color: var(--secondaryColor);
    height: 44%;
    border-radius: 10px 10px 0px 0px;
    padding: 40px 60px;
    padding-bottom: 20px !important;
}

.plan-text{
    font-size: 20px;
    margin-bottom: 10px;
}

.plan-amount{
    font-size: 45px;
    font-weight: 800;
}

.package-item2 .lower{
    background-color: rgb(255, 253, 242);
    height: 56%;
    border-radius: 0px 0px 10px 10px;
    padding: 40px 60px;
}

.upperbtn{
    background-color: var(--primaryColor);
    color: rgb(255, 253, 242);
    border-radius: 50px;
    padding: 10px 100px;
    display: block;
    margin: 15px auto;
    border: none;
    transition: border-color .4s ease 0s, background-color .4s ease 0s;
}
    
.upperbtn:hover{
    background: none !important;
    color: var(--primaryColor) !important;
    border: 1px solid var(--primaryColor) !important;
}

.bestvalue{
    background-color: var(--primaryColor);
    padding: 6px 10px;
    color: rgb(255, 253, 242);
    position: relative;
    top: -46px;
}

.lower p{
    margin: 20px 0px;
}



#whychoose{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8%;
    padding-bottom: 20px;
}

.whyimg{
    height:600px;
    width: 30%;
    background-image: url(../img/whychoose1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.whyimg img{
    width: 100%;
    display: none;
}

.whyheading{
    font-size: 45px;
}

.whytext{
    margin: 0px 100px;
    width: 40%;
}

.whygroupitems{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.itemhead{
    display: flex;
}

.itemhead h3{
    margin-left: 20px;
    margin-bottom: 10px;
}
.item{
    padding: 20px;
    line-height: 1.5;
}
.item p{
    margin-left: 40px;
}

.whychoosebtn{
    background-color: var(--primaryColor);
    border: none;
    border-radius: 50px;
    color: rgb(255, 253, 242);
    padding: 20px 35px;
    margin: 40px 0px;
}

.whychoosebtn:hover{
    background: none !important;
    color: var(--primaryColor) !important;
    border: 1px solid var(--primaryColor) !important;
}



#banner-image{
    width: 100%;

}

#banner-image img{
    width: 100%;
}


.footer-1{
    background-color: var(--secondaryColor);
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    line-height: 2;
    word-wrap: break-word !important;
    font-size: 15px;
}

.footer-1 a{
    color: var(--primaryColor);
    text-decoration: none;
}

.footer-2{
    background-color: rgb(255, 253, 242);
    padding: 10px;
    text-align: center;
    padding: 30px;
}


.footer-socials a{
    margin: 0px 5px;
}


@media(max-width: 1220px){
    .logo img {
        width: 85px;
    }

    #nav .navlinks .navbtn {
        border-radius: 10px;
        padding: 6px 20px;
    }

    #nav .navlinks li {
        margin: 20px 7px;
    }

    .hero-text {
        width: 73%;
    }   

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text br{
        display: none;
    }

    #quoteForm {
        margin-top: -160px;
        float: none;
    }

    #quoteForm input, #quoteForm select {
        padding: 12px 6px;
        margin: 7px 0px;
    }

    #formspacer {
        height: 0px;
    }

    #beforeAfter .slider img {
        width: 250px;
    }

    #package {
        padding: 12% 8%;
        gap: 20px;
    }

    .package-item2 .upper {
        padding: 40px 36px;
    }

    #whychoose {
        flex-direction: column;
    }

    .whyimg {
        height: 600px;
        width: 100%;
        border-radius: 20px;
    }

    .whytext {
        margin: 40px 100px;
        width: 100%;
    }
    .whychoosebtn {
        margin: 19px 0px;
    }

    #testimonial h1 {
        text-align: center;
    }

    .footer-1 {
        padding: 30px 5%;
    }

    .quotebtn {
        padding: 10px 30px;
    }
}


@media(max-width: 460px){
    #nav{
        padding: 20px;
    }

    #nav .navlinks {
        display: none;
        background-color: rgb(255, 253, 242);
        padding: 30px 0px;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
    }

    .nav-mobile .fa-bars{
        display: block;
    }
    
    #hero {
        height: 640px;
        object-fit: cover;
        background-image: url(../img/mobileherobg.jpg) !important;
    }

    .hero-text {
        width: 100%;
        padding-top: 60px;
    }

    .hero-text h1 {
        font-weight: normal;
        font-size: 25px;
    }

    .hero-text p {
        font-size: 14px;
        width: 90%;
    }

    .hero-text br{
        display: none;
    }

    .herobg {
        padding: 0px 8%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.6);
        height: 100%;
        color: rgb(255, 253, 242);
    }

    #quoteForm {
        margin: 30px;
        margin-bottom: 50px;
        border-radius: 15px;
        padding: 20px;
        float:none;
        text-align: center;
    }

    #quoteForm .form-item {
        width: 90%;
    }

    .form-heading-1 {
        font-size: 20px;
        margin: 10px;
    }

    .form-g{
        flex-direction: column;
        flex-wrap: wrap;
    }
    #quoteForm .form-g:nth-child(5) .form-item{
        width: 90%;
    }

    #testimonial .testimonial-group {
        flex-direction: column;
    }

    #testimonial .testimonial-item {
        margin: 10px 6px;
    }

    .services-heading {
        font-size: 22px;
        line-height: 1.2;
    }

    .services-subheading {
        font-size: 18px;
    }

    .service-group {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 40px 0px;
    }

    .service-item {
        height: 409px;
        width: 270px;
        margin: 10px 10px;
    }

    .beforeAfterHeading {
        font-size: 30px;
    }

    #beforeAfter .description {
        margin: 10px;
        font-size: 20px;
    }

    #beforeAfter .slider img {
        width: 108px;
    }

    .after i, .before i{
        font-size: 15px;
    }

    .before p, .after p {
        font-size: 15px;
    }

    #howItWorks {
        height: 560px;
    }
    .howbg h1 {
        margin: 0px 0px;
        margin-top: 0px;
        font-size: 25px;
    }
    .howbg{
        padding: 10px 0px;
    }

    .howcontents {
        flex-direction: column;
        align-items: center;
    }

    .how-item{
        width: 220px;
    }

    .howcontents .fa-arrow-right-long{
        transform: rotate(90deg);
        margin: 10px 0px;
    }

    .howbg .circ {
        width: 40px;
        height: 40px;
        font-size: 15px;
        margin: 5px;
    }

    #package {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .package-item2 {
        width: 300px;
        margin-top: 25px;
    }

    #whychoose {
        flex-direction: column;
    }

    .whyimg {
        height: 470px;
        width: 100%;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .whytext {
        width: 100%;
        margin: 0px 100px;
        text-align: center;
    }

    .whyheading {
        font-size: 31px;
        text-align: center;
    }

    .whygroupitems {
        flex-direction: column;
        text-align: left;
    }

    .footer-1 {
        flex-direction: column;
        gap: 20px;
    }
}