@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --primary-text-color: #183b56;
    --secondary-text-color: #577592;
    --accent-color: #2294ed;
    --accent-color-dark: #1d69a3;
    --padding-inline-section:20px;
}

body{
    font-family: 'poppins', sans-serif;
    color: var(--primary-text-color);
}
h1{
    font-size: 3rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.7rem;
}
h4{
    font-size: 1.3rem;
}
p{
    font-family: 'roboto', sans-serif;
    font-size: 1.25rem;
    color: var(--secondary-text-color);
    line-height: 1.8rem;
}
a{
    text-decoration: none;
    display: inline-block;
}
ul{
    list-style: none;
}

/* Utility classes */

.small-bold-text{
    font-size: 0.9rem;
    font-weight: 500;
}
.container{
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--padding-inline-section);
}

.flex{
    display: flex;
    align-items: center;
}
.hover-link{
    color: var(--primary-text-color);
    transition: 0.2s ease-out;
}
.hover-link:hover{
    color: var(--accent-color);
}

.primary-button{
    background-color: var(--accent-color);
    border-radius: 6px;
    font-weight: 500;
    color: white !important;
    padding: 12px 24px;
    box-shadow: 0 0 2px var(--secondary-text-color);
    transition: 0.2 ease-out;
}
.primary-button:hover{
    background-color: var(--accent-color-dark);
}

.secondary-button{
    border: 0.5px solid var(--secondary-text-color);
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-text-color) !important;
    padding: 12px 24px;
    transition: 0.2 ease-out;
}

.secondary-button:hover{
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* top banner */

.top-banner{
    background-image: url(assets/headerbg.png);
    background-size: 300px;
    background-color: #e74694;

}

.banner-text{
    color: white;
    padding: 15px 30px;
    text-align: center;

}



/* nav bar */

.main-nav{
    margin-top: 20px;
    justify-content: space-between;
}

.company-logo img{
    width :180px;
    align-items: center;
}

.nav-links{
    flex-basis:730px;
    transition: all .4s;
}
.nav-links ul {
    justify-content: end;
    gap: 35px;
}

.show-menu{
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem;
    display:none;
    cursor: pointer;
}

/* header section */

header{
    padding: 50px var(--padding-inline-section) 0;

}

.header-section{
    justify-content: space-between;
    gap: 50px;
}

.header-left{
    max-width: 100vh;

}

.header-left h1{
    margin-top: 20px;
    line-height: 3.5rem;
}

.get-started-btn{
    margin-top: 20px;
}

.header-right img{
    width: 100%;
}

/* companies section */

.companies-section{
    justify-content:center;
    text-align: center;
    margin-top:5rem;
}

.companies-section ul{
    justify-content: space-between;
    flex-wrap: wrap;
}

.companies-section p{
    font-size: 18px;
    font-weight: 600;
    line-height: 23px;
    color: var(--primary-text-color);
    letter-spacing: 1;
}
.companies-img{
    max-width: 150px;
    max-height: 50px;
    margin-top:25px;
}

/* feature section */

.feature-section{
    text-align: center;
    justify-content: center;
    margin-bottom: 5rem;
}

.feature-bg-img{
    position:absolute;
    z-index: -1;
    width: 50rem;
    right: 50%;
    transform: translateX(50%);

}

.feature-section h3{
    margin-top: 5rem;
    padding-top: 4rem;
}
.feature-section ul{
    flex-wrap: wrap;
    justify-content: space-around;

}

.feature-section ul li{
    max-width: 19rem;
}

.feature-section ul li p{
    padding: 0.6rem 0;
}

.feature-logo{
    max-height: 2.5rem;
    margin-top:3rem;
}

/* big feature section */

.big-feature-section{
    margin:6rem 0;
    justify-content: space-around;
}

.only{
    justify-content: space-around;
}

.big-img{
    width: 45%;
    float:left;
}

.content{
    max-width:30rem;
    padding-left:1rem;
}

.bold{
     font-weight: 600;
     color: var(--primary-text-color);
     font-size: 1.1em;
     padding-bottom: 5px;
     /* padding-top: 1rem; */
}
.extra-logo{
    max-height: 1.9rem;
    margin: 1rem 0;
}

.big-feature-para{
    font-weight: 600;
    letter-spacing:1px;
    font-size: 1.1rem;
    max-width: 25rem;
    padding-bottom: 2rem;
}

.designers{
    max-width: 15rem;
}

.designers p{
    font-size: 0.8rem;
    padding:0;
}
.designers h4{
    font-size: 1rem;
}

.pic{
    width:3rem
}

/* examples section */

.examples-section{
    text-align: center;
}
.examples-section h2{
    padding-bottom: 0.5rem;
}

.cardbox{
    flex-wrap: wrap;
    gap:25px;
    margin-top: 25px;
    margin-bottom: 50px;
}

.examples-img{
    width: 23%;
    min-width: 10rem;
    position: relative;
    min-height: 300px;
    color: white;

}

.examples-img h4{
    position: absolute;
    bottom:10px;
    left:10px;
    right:10px;
    text-align: left;
    font-weight: 600;
}

.img-1{
    position: relative;
    background: black;
    background:linear-gradient(rgb(0,0,0,0.2), rgb(0,0,0,0.8)), url(assets/asset\ 36.jpeg);
    background-size:cover;
}

.img-2{
    background:linear-gradient(rgb(0,0,0,0.2), rgb(0,0,0,0.8)), url(assets/asset\ 37.jpeg);
    background-size:cover;
}

.img-3{
    background:linear-gradient(rgb(0,0,0,0.2), rgb(0,0,0,0.8)), url(assets/asset\ 38.jpeg);
    background-size:cover;
}

.img-4{
    background:linear-gradient(rgb(0,0,0,0.2), rgb(0,0,0,0.8)), url(assets/asset\ 39.jpeg);
    background-size:cover;
}

/* cta section */

.cta-section{
    background:var(--primary-text-color);
    justify-content: space-between;

}

.cta-container{
    justify-content:space-between;
    padding:2rem
}


.cta-img img{
    width: 100%
}

.cta-query h2{
    color:white;
}

.cta-paragraph{
    color: #b9cde4;
    margin-top:0.5rem;
}

.cta-panel h5{
    color:white;
    font-size: 1rem;
    margin-top:2rem;
    margin-bottom: 1rem;
}

.cta-panel ul{
    list-style-type:disc;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-left: 20px;;
}
.cta-panel ul li{
    min-width: 14rem;

}

.cta-panel ul li p{
    font-size: 1rem;
    color: #b9cde4 ;
}

.lower{
    justify-content: center;
    text-align: center;
    padding:2rem;

}

.lower h2{
    margin-top:4rem;
    margin-bottom: 2rem;
}

.lower-button{
    margin-bottom:4rem;
    margin-top:2rem;
}

/*  footer */
footer{
    background-color: rgb(236, 244, 247);
}

.footer{
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding:5rem 0;
    align-items:start;

}

.footer ul li{
    padding:0.2rem 0;
}

.footer ul li p{
    font-size: medium;
}

.list-heading h3{
    font-size:1.2rem ;
    padding-bottom: 15px;
}

.footer img{
    width:10rem
}

/* sub footer */

.subfooter{
    background-color:#b8c7d5;
    padding: 1rem 0;
    
}

.sub{
    justify-content: center;
}

.subfooter a{
    padding:0 1rem;
    color:rgba(17, 23, 50, 0.835);
    font-weight: 500;
}


.nav-cancel{
    position: absolute;
    z-index: 10;
    font-weight: 700;
    font-size: 25px;
    top: 40px;
    right: 40px;
    cursor: pointer;
    color: grey;
    transition: color 0.4s;
    position: fixed;
    display: none;
}

.nav-cancel:hover{
    color: black;
}

@media screen and (max-width: 1024px) {

    .nav-links {
        position:absolute;
        right:0;
        top:-100%;
        background-color: rgb(248, 246, 246);
        width: 100vw;
        padding-top: 2rem;
        padding-bottom: 2rem;
        position: fixed;
    }

    .show-menu {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .nav-links ul li {
        margin: 10px 0;
        font-size: 1.2rem;
        font-weight: 700;
    }

}

@media screen and (max-width: 750px){
    .flex{
        flex-direction: column;
    }
    .main-nav{
        flex-direction: row;
    }
    .footer{
        align-items: center;
        text-align: center;
    }

    .footer .list-heading{
        margin-top: 2rem;
        margin-bottom: -.5rem;
    }
    .big-img{
        width: 100%;
        order: -1;
    }

    .cta-img{
        order: -1;
    }

    .header-right{
        order: -1;
    }
    .feature-bg-img{
        display: none;
    }
    .designers{
        flex-direction: row;
    }

    .examples-img{
        width: 80%;
    }

}