html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0 auto;
    padding: 0 auto;
    color: #FFF;
    font-family: 'Helvetica', 'Segoe UI', Arial, sans-serif;
}

h1,h2,h3,h4,h5,p,ul {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

.story{
    max-width: 700px;
    margin: 100px auto;
    text-align: center;
    padding: 20px 50px;
}

.story h1{
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.vision-container {
    display: flex;
    justify-content: center;
    width: 100%;
    background-image: linear-gradient(180deg,#2ec396 0%, #001c45 100%);
    max-height: 550px;
}

.vision {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    max-width: 1200px;
    margin: 100px auto;
    gap: 40px;
    max-height: 550px;
    padding: 20px 50px;
}

.vision-content {
    flex: 1 1 700px;
}

.vision-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.vision-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.vision-img-container {
    flex: 1 1 480px;
    min-width: 0;
    overflow: visible;
    position: relative;
    top: 2px;
}

.vision-img-container img {
    max-width: 95%;
    object-fit: cover;
    border-radius: 10px;
}

.companies{
    margin: 100px 25px;
}

.companies-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
    gap: 20px;
}

.companies h1{
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.companies p{
    text-align: center;
}

.company{
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px); 
    min-width: 150px;
    max-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.companies img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.bottom-cta{
    max-width: 700px;
    margin: 8rem auto;
    text-align: center;
}

.bottom-cta h1{
    margin-bottom: 20px;
}

.cta-btns{
    display: flex;
    max-width: 700px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.cta-btn{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: #06293a;
    color: #FFF;
    padding: 12px 50px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1; 
    transition: .2s;
}

.cta-btn span{
    font-size: 20px;
}

.cta-btn:hover{
    background-color: #2ec396;
}

.cta-btn a{
    color: #FFF;
}

.newsletter{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 100px auto;
    gap: 100px;
}

.left{
    flex-basis: 500px;
}

.left h1{
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.right{
    flex-basis: 500px;
    display: flex;
    flex-direction: column;
}

input[type=text]{
    font-size: 16px;
    height: 50px;
    background-color: #ffffff00;
    border: none;
    border-bottom: 1px solid #FFF;
    outline: none;
    color: #FFF;
    margin-bottom: 10px;
}

.chk-box{
    margin: 10px 0px
}

.subscribe-btn{
    background-color: #06293a;
    color: #FFF;
    padding: 12px 50px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1; 
    transition: .2s;
    border: none;
    outline: none;
}

.subscribe-btn span{
    font-size: 20px;
}

.subscribe-btn:hover{
    background-color: #2ec396;
}

@media screen and (max-width:700px){
.newsletter{
        display: block;
        width: 98%;
        margin: auto;
        margin-bottom: 3rem;
    }
.left,.right{
    padding: 1rem
}

}

@media (max-width: 900px) {
  .vision-img-container{
    display: none;
  }
}