* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

span {
    color: rgb(141, 141, 12);
}

html {
    scroll-behavior: smooth;
    scrollbar-color: red;
}

.header {
    background: url('../img/grid-blog/img-4.jpeg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    z-index: 10;
}

.header::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    opacity: 0.8;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 5px 10px;
    color: #fff;
}

.logo h2 {
    padding: 7px 0;
    color: rgb(141, 141, 12);
}

ul {
    display: flex;
    list-style: none;
}

ul li {
    padding: 10px 10px;
}

ul li a:hover {
    background: rgb(158, 158, 14);
}

ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 10px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
    color: #fff;
}

.header-content p {
    margin-bottom: 20px;
}

.gobelow {
    position: absolute;
    color: white;
    bottom: 30px;
    right: 40px;
    background: rgb(158, 158, 14);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.first {
    text-decoration: none;
    color: white;
}

.btn {
    padding: 9px 20px;
    text-decoration: none;
    color: white;
    background: rgb(158, 158, 14);
    font-size: 18px;
    border: 2px solid rgb(158, 158, 14);
}

.ourgoals-content a:hover {
    color: #000;
}

.btn:hover {
    background: transparent;
}

.our-goals {
    display: flex;
    align-items: center;
    justify-content: center;
    background: yellow;
}

.icon {
    background:  rgb(158, 158, 14);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
}

.ourgoals-content {
    width: 500px;
    margin: 40px;
}

.ourgoals-content p {
    margin-bottom: 20px;
}

.blogs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog {
    margin: 20px 10px;
    padding: 30px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
}

.blog img {
    width: 400px;
}

.blog p {
    margin-bottom: 18px;
    margin-top: 4px;
}

.blog a:hover {
    color: #000;
}

.newsletter {
    background: yellow;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.newsletter-form input, .newsletter-form button{
    margin-top: 9px;
    padding: 8px 15px;
    outline: none; 
    border: none;
    font-size: 18px;
    border: 2px solid rgb(158, 158, 14);
}

.newsletter-form button {
    background:  rgb(158, 158, 14);
    color: #fff;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: transparent;
    color: #000;
}

.services {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service {
    padding: 30px;
    text-align: center;
    background: rgb(100,200,20);
}

.service i {
    margin-bottom: 10px;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.form-text {
    margin: 20px 0;
}

.form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-wrap input, .form-wrap textarea {
    width: 700px;
    padding: 9px 18px;
    margin-bottom: 8px;
    outline: none;
    font-size: 18px;
}

.form-wrap a:hover {
    color: #000;
}

footer {
    background: #444;
    color: #fff;
    text-align: center;
    font-size: 18px;
    padding: 10px 0;
}

/* For Tablet & Ipad Pro*/
@media (max-width: 1400px){
    .navbar {
        flex-direction: column;
        background: rgb(158, 158, 14);
    }
    .logo h2{
        color: yellow;
    }
    ul{
        background: rgb(158, 158, 14);
        flex-direction: column;
    }
    ul li {
        text-align: center;
    }
    ul li a:hover {
        background: yellowgreen;
    } 
    .gobelow {
        right: 20px;
        bottom: 10px;
    }
    .our-goals {
        width: 100%;
        padding: 0 20px;
    }
    .blogs {
        flex-direction: column;
    }
    .blog img {
        width: 100%;
    }
    .blog {
        width: 100%;
    }
    .blog h1 {
        font-size: 30px;
    }
    .newsletter h1 {
        font-size: 20px;
    }
    .newsletter-form input, .newsletter-form button {
        width: 100%;
    }
    .services {
        flex-direction: column;
    }
    .service h1 {
        font-size: 22px;
    }
    .form-wrap input, .form-wrap textarea{
        width: 600px;
    }
    .form-text h1 {
        font-size: 22px;
    }
}

/* FOR Mobile */
@media (max-width: 500px){
    .navbar {
        flex-direction: column;
        background: rgb(158, 158, 14);
    }
    .logo h2{
        color: yellow;
    }
    ul{
        background: rgb(158, 158, 14);
        flex-direction: column;
    }
    ul li {
        text-align: center;
    }
    ul li a:hover {
        background: yellowgreen;
    } 
    .gobelow {
        right: 20px;
        bottom: 10px;
    }
    .our-goals {
        width: 100%;
        padding: 0 20px;
    }
    .blogs {
        flex-direction: column;
    }
    .blog img {
        width: 100%;
    }
    .blog {
        width: 100%;
    }
    .blog h1 {
        font-size: 24px;
    }
    .newsletter h1 {
        font-size: 20px;
    }
    .newsletter-form input, .newsletter-form button {
        width: 100%;
    }
    .services {
        flex-direction: column;
    }
    .service h1 {
        font-size: 22px;
    }
    .form-wrap input, .form-wrap textarea{
        width: 100%;

    }
    .form-text h1 {
        font-size: 22px;
    }
}