@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;400;500;600;700&display=swap');

:root {
    --primary-color: #6366F1;
    --accent-color: #3f83f8;
    --text-color: #333333;
    --link-color: #2563eb;
    --background-color: #ffffff;
    --light-gray: #f0f0f0;
    --gray: #808080;
    --dark-gray: #555;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    padding: 0.1rem;
}

body{
    height: 100vh;
    text-align: center;
    background-color: var(--background-color);
    padding: 0.1rem;
}
.header-content{
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo{
    display: flex;
    font-size: 2rem;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    gap: 0.625rem;
}
.logo-icon{
    height: 5.875rem;
    width: 1.938rem;
}
.logo-text{
    font-size: 2rem;
    font-weight: bold;
}
.nav{
    display: none;
    gap:1.5rem;
}

@media screen and (min-width:768px) {
    .nav{
        display: flex;
    }
}
.nav-link{
    font-size:1.125rem;
    color: #718096;
    font-weight: 600;
    transform: color 0.1s;
}

.nav-link:hover{
    color: var(--link-color);
}

.contact-button{
    display: none;
    border: none;
    border-radius: 0.375rem;
    color: var(--background-color);
    background-color: var(--primary-color);
    transform: all  0.1s;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

@media  screen and (min-width:768px){
     .contact-button{
        display: block;
     }
}

.contact-button:hover{
    background-color: #5254f8;
}

.menu-button{
    display: none;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    background-color: var(--background-color);
}

@media screen and (max-width:768px) {
    .menu-button{
        display: block;
    }  
}

.menu-icon{
    height: 1.5rem;
    width: 1.5rem;
}

.main-section{
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0.6rem;
    gap: 2rem;
}

.content-left{
    text-align: center;
    animation: slideFromLeft 1s ease forwards;
    opacity: 0;
}

@keyframes slideFromLeft {
    0%{
       opacity: 0;
       transform: translateX(-100%);
    }

    100%{
        opacity: 1;
        transform:translateX(0)
    }
}

.section-label{
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
}

.section-title{
    font-size: 2.3rem;
    padding: 1.1rem;
    color: var(--text-color);
}

.section-description{
    color: var(--gray);
    font-size: 1.1rem;
}

.button-group{
    display: flex;
    border: none;
    align-items: center;
    padding: 1rem;
    margin-top: 1rem;
    justify-content: center;
    gap: 2rem;
}

.start-button,.tour-button{
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    background-color:var(--primary-color);
    color:var(--background-color);
    font-size: 1rem;
    font-weight: 600;
    transform: all 0.1s;
    
}

.tour-button{
    background-color: var(--dark-gray);
}

.start-button:hover{
    background-color: #5254f8;
}

.tour-button:hover{
    background-color: var(--gray);
}

.content-right{
    display: flex;
   align-items: center;
   justify-content: center;
}

.image-container{
    border: none;
    overflow: hidden;
    border-radius: 1.225rem;
    height: 50vh;
     box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}
.section-image{
    height: 100%;
    width: 100%;
}

@media screen and (min-width:768px){
    .main-section{
        flex-direction: row;
    }
    .content-left{
        max-width: 50%;
        text-align: left;
    }
    .section-title{
        padding-left: 0;
    }
    .button-group{
        justify-content: start;
        padding-left: 0;
    }
    .section-label{
        font-size: 1rem;
    }

    .section-title{
        font-size: 3.8rem;
    }
    .image-container{
        height: 67vh;
    }
    .section-description{
        width: 78%;
        font-size: 1.1rem;
        color: var(--gray);
    }

}

.company-container{
    border: none;
    display: flex;
    flex-direction: column;
    animation: slideFromLeft 1s ease  forwards;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;

}

.company-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    border: none;
    border-radius: 0.625rem;
    background-color: var(--light-gray);
    gap: 3.6rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.8rem 2.5rem;
}

.company-logo{
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    color: var(--gray);
    gap:0.5rem
}

.svg-img{
    height: 1.56rem;
}

.logo-text{
    font-size: 1rem;
}

@media  screen and (min-width:640px) {
    .company-grid{
        grid-template-columns: repeat(4,1fr);
    }
    .company-title{
        font-size: 2.3rem;
        font-weight: bold;
    }
}
.feature-container{
    background-color: var(--light-gray);
    padding: 2.6rem 0;
    text-align: center;
}
.feature-content{
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-info{
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.main-title{
    font-size: 2.2rem;
    font-weight: bold;
}

.main-description{
    color: var(--gray);
    font-size: 1rem;
}

.feature-grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-top: 1.12rem;
     grid-gap:2rem ;
}

.feature-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.6rem;
    background-color: #6d7890;
    border-radius: 1rem;
    gap: 1rem;
}

.feature-info{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.icon-container{
    background-color: var(--background-color);
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-svg{
    height: 1.5rem;
    width: 1.5rem;
}

.feature-title{
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
}
.feature-description{
    color: white;
}

.feature-card:nth-child(1){
    background-color: #4a90e2;
}

.feature-card:nth-child(2){
    background-color: #FF6289;
}

.feature-card:nth-child(3){
    background-color: #fcbf58;
}

.feature-card:nth-child(4){
    background-color: #44bfc3;
}

.feature-card:nth-child(5){
    background-color: #77b05d;
}

.feature-card:nth-child(6){
    background-color: #7d78b1;
}

@media screen and (max-width:768px){
    .feature-grid{
        grid-template-columns: repeat(1,1fr);
    } 
}

.testnomial-container{
    max-width: 1280px;
    background-color: var(--background-color);
    padding: 2rem;
    margin: 0 auto;
}
.testnomial-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testnomial-title{
    font-size: 1.875rem;
    font-weight: bold;
}

.testnomial-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    grid-gap: 2rem;
}

.testnomial-card{
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    border: 1px solid rgb(171, 163, 163);
    border-radius: 1rem;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testnomial-card:hover{
    border:1px solid blue ;
    box-shadow: 0 4px 8px rbga(0,0,0,0.2);
    transform: scale(1.05);
}

.testnomial-avatar img{
    height: 5rem;
    width: 5rem;
}

.testnomial-text{
    color: #555;
    font-size: 0.875rem;
}

.testnomial-name{
    color: var(--primary-color);
    font-size: 1rem;
}

.testnomial-description{
    font-size: 0.875rem;
    color: #777;
}

.newsletter-container{
    max-width: 1280px;
    height: 40vh;
    background-color: var(--background-color);
    margin: 0 auto;
}
.newsletter-content{
    display: flex;
    flex-direction: row;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-gray);
    height: 100%;
}

.news-left{
    height: 100%;
    width: 50%;
    display: none;
    position: relative;
}
.news-left img{
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.news-right{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
    width: 98%;
    justify-content: center;
    align-items: flex-start;
}
@media screen and (min-width:648px){
    .news-left{
        display: block;
        width: 50%;
    }
    .news-right{
        width: 50%;
    }
    .newsletter-container{
        padding: 2rem;
    }
    
}

.news-info{
    padding: 0.3rem;
}

.news-title{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: left;
}

.news-desc{
    color: #777;
    text-align: left;
}

.news-form{
    display: flex;
    flex-wrap: wrap;
    padding: 0.3rem;
    margin-bottom: 1rem;
    gap: 0.6rem;
}

.news-email{
    background-color: var(--background-color);
    color:#333 ;
    border-radius: 4px;
    border: 1px solid #ccc;
    outline: none;
    padding: 0.5rem 0.75rem;

}

.news-email:focus{
    border-color:#2563eb ;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.news-send-button{
    border: none;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

.news-send-button:hover{
    background-color: var(--link-color);
}

.privacy-policy{
    color: #777;
    font-size: 0.75rem;
    padding: 0.3rem;
}

.news-link{
    text-decoration: underline;
    color: #2563eb;
}

@media screen and (min-width:640px){
     .news-title{
        font-size: 2.5rem;
    }
}

.footer-container{
    max-width: 1280px;
    background-color: var(--background-color);
    padding: 0 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer{
    max-width: 1280px;
    padding: 1.2rem 2.4rem;
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding-right: 2rem; 
}

.footer-top{
    width: 34%;
    gap: 1.65rem;
    display: flex;
    flex-direction: column;
}

.logo-svg{
    height: 6rem;
    width:  2rem;
}

.company-logo{
    display: flex;
    margin-bottom: -1.9rem;
    justify-content: flex-start;
}

.logo-link{
    display: flex;
    font-size: 1.28rem;
    font-weight: bold;
    color: black;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.social-icon{
    width: 1.5rem;
    height: 1.5rem;
}
.filler-text{
     font-size: 1rem;
     color: #777;
}

.social{
    display: flex;
    gap: 0.8rem;
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding-top: 2rem;
    width: 58%;
    grid-gap: 5.67rem;
}

.footer-grid-heading{
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--text-color);
}

ul{
    list-style-type: none;
}

.footer-link{
    color: #777;
    font-size: 0.875rem;
}

.footer-link-list{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-grid-heading{
    margin-bottom: 1.65rem;
}

.footer-copyRight{
    color: var(--gray);
    font-size: 0.75rem;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
    margin-bottom:2rem;
    border-top: 1px solid #E5E7EB;;
}

@media screen and (max-width:1080px){
    .footer{
        flex-direction: column;
        align-items: center;
    }
    .footer-top{
        padding-left: 10rem;
    }
    .footer-grid{
        justify-content: space-evenly;
        align-self: center;
    } 
}

@media screen and (max-width:850px){
    .footer-top{
        padding-left: 1rem;
    }
    .footer-grid{
        grid-template-columns: repeat(2,1fr);
    }
    
}