body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto' , sans-serif;
    font-style: normal;
}
h1 {
    font-size: 56px;
}
h2 {
    font-size: 48px;
}

p {
    font-size: 16px;
}

h3 {
    font-size: 24px;
}
ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
}

ul a {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    color: #14475e;
    border-radius: 3px;
    padding: 20px 5px 18px 5px;
}

ul a:hover {
    border-bottom: 4px solid #18AEBF;
    color: #18AEBF;
}
.error {
    border: 1px solid red;
}

.error-message {
    color: red;
    font-size: 12px;
}

textarea {
    resize: none;
}

/* -------------Navigation-----------------------*/
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    padding-left: 10%;
    padding-right: 10%;

}

.logo {
    flex: 1;
}

.nav-links {
    flex: 2;
    text-align: center;
    padding-right: 20px;
}

.buttons {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.sign-in {
    width: 100px;
    height: 40px;
    padding: 10px 10px;
    margin-left: 10px;
    border: none;
    color: white;
    cursor: pointer;
    background: #1F6D91;
    border-radius: 6px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
}
.sign-in:hover {
    color: #FFFFFF;
    background: #18AEBF;
    border: 1px solid #18AEBF;
}

.sign-up {
    width: 100px;
    height: 40px;
    padding: 10px 10px;
    margin-left: 10px;
    border: none;
    color: #1F6D91;
    cursor: pointer;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #1F6D91;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
}
.sign-up:hover {
    color: #18AEBF;
    background: #FFFFFF;
    border: 1px solid #18AEBF;
}

.hamburger {
    display: none;
    font-size: 28px;
    margin-left: 10px;
    cursor: pointer;
    background: transparent;
    border: none;
}
.dropdown-menu {
    display: none;
    position: absolute;
    width: 100%;
    top: 64px;
    right: 0;
    background: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 10;
}
.dropdown-menu ul {
    flex-direction: row;
    text-align: left;
    padding-left: 0;
}
.dropdown-menu li {
    padding: 8px;
    padding-left: 15px;
    
}
.dropdown-menu a {
    padding-right: 20px;
}
.dropdown-menu a:hover {
    border: none;
}
.sign-in-drop {
    display: none;
    width: 100px;
    height: 40px;
    padding: 10px 10px;
    margin-left: 15px;
    margin-bottom: 10px;
    border: none;
    color: white;
    cursor: pointer;
    background: #1F6D91;
    border-radius: 6px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
}
.sign-in-drop:hover {
    color: #FFFFFF;
    background: #18AEBF;
    border: 1px solid #18AEBF;
}

.sign-up-drop {
    display: none;
    width: 100px;
    height: 40px;
    padding: 10px 10px;
    margin-left: 15px;
    margin-bottom: 10px;
    border: none;
    color: #1F6D91;
    cursor: pointer;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #1F6D91;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
}

.sign-up-drop:hover {
    color: #18AEBF;
    background: #FFFFFF;
    border: 1px solid #18AEBF;
}

/*-------------------END----------------------------------*/


/*-------------------------HERO SECTION------------------*/
.hero {
    display: flex;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 40px;
    padding-bottom: 50px;
    background-image: url('./assets/hero-background.jpg');
    background-position: center center;
    background-size: cover;
}

.left-hero {
    text-align: left;
    width: 45%;
}

.left-hero h1 {
    font-size: 56px;
    font-weight: 600;
    opacity: 80%;
}

.left-hero p {
    font-size: 24px;
    font-weight: 600;
    opacity: 80%;
}

.primary {
    width: 270px;
    height: 60px;
    background: #18AEBF;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
}
.primary:hover {
    background: #1F6D91;
}

.right-hero {
    width: 50%;
    background-image: url('./assets/granddaughter-hugging-grandmother-with-love.jpg');
    background-position: center center;
    background-size: cover;
    border-radius: 4px;
}

/*--------------------------END-------------------------*/


/*-------------------SECTION 2 -----------------------*/
.howItWorks {

    padding-left: 10%;
    padding-right: 10%;
    padding-top: 40px;
    padding-bottom: 50px;
    text-align: center;
    background: linear-gradient(100.44deg, #FFFFFF 0%, rgba(133, 208, 217, 0.36) 100%);
}

.howItWorks h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 56px;

}

.steps {
    display: flex;
    justify-content: space-evenly;

}

.step {
    max-width: 212px;
    
}

.step-img {
    height: 220px;
}

.step-img img {
    width: 212px;

}

/*----------------------END--------------------------*/


/*-------------------SECTION 3 -----------------------*/
.whyUS {

    padding-left: 10%;
    padding-right: 10%;
    padding-top: 40px;
    padding-bottom: 50px;
    text-align: center;
    background: rgba(24, 174, 191, 0.8);
    color: #FFFFFF;
}

.whyUS h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 56px

}

.secondary {
    width: 270px;
    height: 60px;
    background: #ffffff;
    color: #18AEBF;
    font-weight: bold;
    font-size: 24px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid #18AEBF;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    margin-top: 30px;
}
.secondary:hover {
    color: #1F6D91;
    border: 2px solid #1F6D91;
}

/*--------------------------END-------------------------*/


/*-------------------SECTION 4 -----------------------*/
.our-story {

    padding-left: 10%;
    padding-right: 10%;
    padding-top: 40px;
    padding-bottom: 50px;

    background: linear-gradient(100.44deg, #FFFFFF 0%, rgba(133, 208, 217, 0.36) 100%);
}

.our-story h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 56px;
    text-align: center;
}

.story-content {
    display: flex;
    justify-content: space-between;
}

.story-text {
    width: 50%;
}

.story-imgs {
    position: relative;
    width: 360px;
    height: 320px;
}

.back-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 200px;
    background-image: url('./assets/hug1-scaled-1-2048x1536.jpeg');
    background-position: center center;
    background-size: cover;
}

.front-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 200px;
    background-image: url('./assets/upset1-scaled-1-2048x1367.jpeg');
    background-position: center center;
    background-size: cover;
}


/*--------------------------END-------------------------*/


/*-------------------SECTION 4 -----------------------*/
.partners {

    padding-left: 8%;
    padding-right: 8%;
    padding-top: 40px;
    padding-bottom: 50px;
}

.partners h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 56px;
    text-align: center;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    
}

.partner-logo {
    flex: 1;
    padding: 10px;
    text-align: center;
}
.partner-logo img {
    width: 230px;
}


/*--------------------------END-------------------------*/


/*-------------------Footer-----------------------*/
footer {
    padding-left: 8%;
    padding-right: 8%;
    padding-top: 40px;
    padding-bottom: 50px;
    background-color: #18aebf;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
    text-align: center;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #fff;
    padding-right: 80px;
}

.right-section {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    border-right: 1px solid #fff;
    padding-right: 20px;
}

.links {
    display: flex;
    justify-content: center;
}
.links a:hover {
    color: rgb(86, 85, 85);
    font-weight: 700;
    cursor: pointer;
}

.right-section a {
    color: #FFFFFF;
    font-size: 14px;
}

.right-section ul {
    flex-direction: column;
   
}

.left-section:last-child,
.right-section:last-child {
    border-right: none;
}
.contact {
    padding-left: 20px;
}

.last-footer {
    text-align: center;
    background: #1F6D91;
    color: #FFFFFF;
}

.last-footer p {
    margin: 0;
    padding: 10px;
    white-space: pre-line;
}


/*--------------------------END-------------------------*/

@media screen and (max-width: 1200px) {
    .top-nav, .hero, .whyUS, .our-story, .partners, footer {
        padding-left: 3%;
            padding-right: 3%;
    }
    .howItWorks {
        padding-left: 1%;
        padding-right: 1%;

    }
    .nav-links {
        flex: 3;
    }
}


@media screen and (max-width: 915px) {
    .nav-links {
        display: none;
       
    }

    .hamburger {
        display: block;
    }
    .dropdown-menu {
             display: none;
             
    }
    .dropdown-menu ul {
        flex-direction: row;
    }
    .buttons {
        justify-content: right;
    }
    .footer-content, .right-section {
        flex-direction: column;
    }
    .right-section ul, .contact {
        padding: 0;
        text-align: center;
    }
    .left-section, .right-section {
        border: none;
        padding-right: 0; 
        justify-items: center;
    }
    .right-section ul, .contact {
        text-align: center;
    }
}
@media screen and (max-width: 805px) {

   .right-hero {
    display: none;
   }
   .hero {
    justify-content: center;
   }
   .left-hero, .story-text {
    width: 90%;
    text-align: center;
   }
   .story-content {
    flex-direction: column-reverse;
    align-items: center;
   }
   .story-imgs {
    width: 260px;
    height: 220px;
   }
   .front-img, .back-img {
    width: 160px;
    height: 140px;
   }
        .partner-logo img {
            width: 180px;
        }
}
@media screen and (max-width: 710px) {
    .dropdown-menu ul {
        flex-direction: column;
    }
    .dropdown-menu a {
        text-decoration: none;
    }
    .sign-in-drop, .sign-up-drop {
        display: block;
    } 
 .steps {
    flex-direction: column;
    width: 100%;
    align-items: center;
 }
 .step {
    text-align: center;
    align-items: center;
 }
 .step-text {
    padding-top: 20px;
 }
 .step-img {
    width: 160px;
    height: 140px;
 }
 .sign-in, .sign-up {
    display: none;
 }
  .dropdown-menu {
      width: 100%;
  }
    
}
@media screen and (max-width: 450px) {
   
    .left-hero h1 {
        font-size: 42px;
    }
    .left-hero p {
        font-size: 16px;
    }
   
         .primary {
             width: 200px;
             height: 50px;
             font-size: 18px;
             border-radius: 4px;
             margin-top: 15px;
         }

    .howItWorks h2, .whyUS h2, .our-story h2, .partners h2{
        font-size: 34px;
    }
    .step {
        display: flex;
        flex-direction: column;
    }
    .step-img {
        width: 150px;
        height: 150px;
    }
    .step-img img {
        width: 150px;
        height: 150px;
    }
    .step-text h3, p {
        margin: 5px;
    }
    .whyus-content {
      padding-left: 3%;
      padding-right: 3%;
    }
        .secondary {
            width: 200px;
            height: 50px;
            font-size: 18px;
            border-radius: 4px;
            box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
            margin-top: 15px;
        }

        .story-imgs {
            width: 240px;
            height: 200px;
            margin-bottom: 10px;
        }
    
        .front-img,
        .back-img {
            width: 140px;
            height: 120px;
        }
        
        .partner-logo img {
            width: 150px;
        }

}