:root{
    --dark-font : #1E375A;
    --secondary-font: #2E6ABD;
    --primary-bg: #E5E9ED;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--secondary-font);
    width: 100%;
    height: 100%;
}
img{
    max-width: 100%;
}
h1{
    margin-bottom: 15px;
    color: var(--dark-font);
    font-size: 40px;
    font-weight: bold;
}
h2{
    margin: 10px 0px 20px 0;
    font-size: 1.4rem;
}
.icon{
    display: none;
}
/* Hamburger icon css */
.bar{
    width: 20px;
    height: 3px;
    background-color: var(--dark-font);
    margin: 4px 0;
}
.section-title{
    font-size: 28px;
    margin: 30px 0;
}
.text-center{
    text-align: center;
}


.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;

}
.navbar{
    background: var(--primary-bg);
    color: var(--dark-font);
}

.navbar a{
    color: var(--dark-font);
    text-decoration: none;
    font-weight: bold;
}
.box a{
    color: var(--secondary-font);
    text-decoration: none;
    font-weight: bold;
}
.box a:hover{
    color: var(--dark-font);
}
.box img{
    max-width: 100px;
}
.navbar .logo{
    font-size: x-large;
    font-weight: bold;
}
.navbar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    
}
.navbar .nav{
    display: flex;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:60px;
}
.navbar ul div a:hover{
    color: var(--secondary-font);
    transition: 0.5s;
}
.header{
    background-color: var(--primary-bg);
    min-height: 400px;
}
.section-content-white{
    min-height: 400px;
    background-color: white;
}
.section-content-white .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header h1{
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}
.header img{
    max-width: 500px;
}
.header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.boxes{
    margin:40px 0px;
}
.boxes .container{
    display: flex;
    justify-content: center;
}
.form-section{
    background-color: var(--primary-bg);
    padding: 30px;
}
.box{  
    flex:1;
    color: var(--secondary-font);
    background: white;
    border-radius: 10px;
    margin:20px 10px;
    box-shadow: 0px 4px 10px 5px rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    text-align: center;
    max-width: 300px;
}
.box img{
    margin-top: 10px;

}
.box:hover{
    transition: 0.5s;
    transform: scale(103%);
}
.dev-card{
    max-width: 500px;
}
.dev-card img{
    max-width: 240px;
    height: 240px;
}
iframe{
    margin: 40px;
}
#contact{
    background-color: var(--primary-bg);
}
.text-box{
    padding: 20px;
    line-height: 2.0;
    text-align: justify;
    font-weight: bold;
}
@media(max-width: 1000px) {
    .header .container{
        flex-direction: column;
        padding-top: 20px;
        text-align: center;
        justify-content: center;

    }
    .section-content-white .container{
        flex-direction: column;
        padding-top: 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .boxes .container{
        display: block;
        text-align: center;
    }
    .box{
        max-width: 100%;
    }
    .section-title{
        font-size: 30px;
    }
    .navbar .nav{
        position: absolute;
        left: -100%;
        top:70px;
        gap:0;
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        width: 100%;
    }
    .nav.active{
        left :0;
    }
    .nav li{
        padding:16px 0;
        background-color: var(--primary-bg);
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    }
    .nav li:hover{
        transition: 0.4s;
        background-color: #babfc4;
    }
    .icon{
        display: block;
        font-size: 22px;
    }
    .header img,iframe{
        width: 300px;
    }
    .form-section{
        padding-left: 0px;
        padding-right: 0px;
    }
    iframe{
        margin: 20px;
    }
}
/* FORM */

form{
    background-color: rgb(246, 246, 246);
    padding: 30px;
    margin: 20px;
}
form h2{
    text-align: center;
}
form label{
    font-size: 16px;
}
input[type=text], input[type=email],input[type=tel], select, textarea {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
    margin-top: 6px;
    margin-bottom: 16px; 
    resize: vertical; 
    background-color: white;
    color: black;
}
.cta-button{
    background-color: #2E6ABD;
    padding: 10px 40px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    margin-right: 10px;
    outline: 0;
    border: 0px;
    cursor: pointer;
}
.cta-button:hover{
    background-color: #1E375A;
    transition: 0.3s;
}
input:valid:not(input[type=submit]),
textarea:valid{
    background-color: lightgreen;
}

