* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    outline: none;
}

html {
    overflow-x: hidden;
}

body{
    background-color: #f3f3f3;
    font-family: 'Raleway', sans-serif;
    height: 100vh;
    overflow-x: hidden;
    color: #3d3c56;
}

body::-webkit-scrollbar {
    width: 0px;
}

/* header section */
header {
    height: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #3d3c56;
}

.logo {
    height: fit-content;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hamburger {
    color: #fff;
    display: none;
    cursor: pointer;
}

header a {
    color: #f3f3f3;
}

.search {
    padding: 10px;
}

header nav ul,
.search {
    display: flex;
    align-items: center;
    transition: color 0.4s ease-in-out;
}

header nav ul li {
    margin: 10px;
}

header nav ul li a {
    color: #fff;
    font-size: 18px;
    text-transform: capitalize;
}

header ul li a:hover,
.search-login svg:hover {
    color: #f3f3f3;
}

.search-login {
    padding: 10px;
}

.search-login a {
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-transform: capitalize;
}

.search-login a svg {
    margin-right: 5px;
}

/* project section */
.project-box {
    padding: 50px;
    background-color: #ffffff;
}

.projects-title {
    margin-bottom: 20px;
}

.projects-title h1 {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-gap: 30px;
}

.project-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 10px;
}

.project-num {
    width: 8%;
    background-color: #f47920;
    height: fit-content;
    text-align: center;
    font-size: 25px;
    padding: 10px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: 700;
}

.project-details {
    width: 88%;
}

.project-title {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 7px;
    font-weight: 600;
}

.project-date-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    font-style: italic;
}

.project-date-details p {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.project-date-details p svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.project-desc {
    margin-bottom: 15px;
}

.project-link {
    color: #f47920;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;
}

.project-link:hover {
    text-decoration: underline;
}

.project-pagenation ul {
    display: flex;
    flex-direction: row;
}

.project-pagenation ul li {
    padding: 10px;
    text-align: center;
}

.project-pagenation ul li a {
    color: #3d3c56;
    font-size: 16px;
}

.project-pagenation ul li a:hover {
    text-decoration: underline;
}

/* footer */
footer {
    background-color: #3d3c56;
    padding: 10px;
    color: #ffffff;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #f3f3f3;
    text-decoration: underline;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    text-transform: capitalize;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-left,
.footer-middle,
.footer-right {
    padding: 10px;
}

.footer-left {
    width: 35%;
}

.footer-left .event-news-box {
    margin-top: 20px;
}

.footer-left .event-news-box .event-news-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-left .event-news-box .event-news-item:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 0.6px dotted #fff;
}

.footer-left .event-news-box .event-news-item:not(:first-child) {
    padding-top: 10px;
}

.details-right {
    width: 100%;
}

.item-title {
    font-family: 18px;
    font-weight: 700;
    text-transform: capitalize;
}

.footer-middle {
    width: 30%;
}

.footer-middle .footer-title {
    text-align: center;
}

.footer-middle ul {
    text-align: center;
    margin-top: 20px;
}

.footer-middle ul li {
    margin: 15px;
}

.footer-right {
    width: 35%;
}

.second-title {
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    text-transform: capitalize;
    color: #ffffff;
    margin-top: 20px;
}


.footer-right span {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-right span svg {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.footer-right .socials-box {
    display: flex;
    flex-direction: row;
}

.footer-right a {
    background-color: #f3f3f3;
    color: #3d3c56;
    padding: 10px;
    border: 1px solid #f3f3f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    width: fit-content;
}

.footer-right a:not(:last-child) {
    margin-right: 10px;
}

.footer-right a svg {
    height: 26px;
    width: 26px;
}

.footer-right a:hover {
    color: #555454;
}

.footer-copyright {
    padding: 20px;
    text-align: center !important;
}

/* popups modules */
/* contact us popup */
.contact-us-popup {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    transition: 0.3s;
    transform: scale(1);
    display: none;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.contact-us-content {
    position: relative;
    height: 500px;
    width: 700px;
    overflow: hidden;
    overflow-y: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

.contact-us-close svg {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
}

.contact-us-title {
    text-align: center;
    padding: 20px;
}

.contact-us-title h5 {
    font-weight: bold;
    color: #3d3c56;
    font-size: 30px;
    margin-bottom: 10px;
}

.contact-us-form-content {
    color: #555454;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-us-form-left,
.contact-us-form-right {
    width: 48%;
    margin-top: 20px;
}

.contact-us-form-left ul li {
    display: flex;
    flex-direction: row;
    margin: 15px 0 20px 0;
}

.contact-us-form-left ul li .office-svg {
    width: 13%;
}

.contact-us-form-left ul li svg {
    width: 30px;
    height: 30px;
    padding: 5px;
    background: #f47920;
    border-radius: 50%;
    color: #fff;
}

.contact-us-form-left ul li .office-details {
    width: 87%;
}

.contact-us-form-left ul li span {
    font-weight: bold;
}

.contact-us-form {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid lightgrey;
    border-radius: 10px;
    width: 100%;
    overflow-x: auto;
}

.contact-us-form::-webkit-scrollbar {
    width: 0;
}

.contact-us-form .form-col {
    width: 100%;
    margin-bottom: 20px;
}

.contact-us-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-us-form .form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-us-form .form-row .form-group {
    width: 48%;
}

.contact-us-form .form-group label {
    font-size: 16px;
    color: #3d3c56;
    margin-bottom: 10px;
}

.contact-us-form .form-group label span {
    color: red;
}

.contact-us-form .form-group input {
    padding: 5px;
    padding-left: 6px;
    padding-right: 6px;
    color: #555454;
    border: 1px solid lightgray;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.contact-us-form .form-col textarea {
    resize: none;
    width: 100%;
    height: 60px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid lightgray;
    border-radius: 10px;
    outline: none;
}

.contact-us-form button {
    border: #3d3c56;
    background-color: #3d3c56;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    padding: 13px;
    width: 100%;
}

/* media query */
@media only screen and (max-width: 1320px){
    header {
        padding: 0 50px;
    }

    .logo {
        font-size: 18px;
    }

    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        font-size: 15px;
        margin: 0;
    }
}

@media only screen and (max-width: 1100px){
    header {
        padding: 0 30px;
    }

    .logo {
        font-size: 10px;
    }
}

@media only screen and (max-width: 912px){
    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger svg {
        width: 40px;
        height: 40px;
        color: #ffffff;
        margin: 6px 0;
    }

    .logo {
        font-size: 18px;
    }

    nav {
        height: 0;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: #3d3c56;
        color: #ffffff;
        overflow: hidden;
    }

    .search-login {
        height: 0;
        position: absolute;
        top: 290px;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        background-color: #3d3c56;
        color: #ffffff;
        overflow: hidden;
    }

    nav.active,
    .search-login.active {
        height: auto;
        z-index: 1;
    }

    nav ul {
        flex-direction: column;
        width: fit-content;
        margin: 0 auto 0 auto;
        text-align: center;
        opacity: 0;
    }

    .search-login {
        flex-direction: column;
        margin: 0 auto 0 auto;
        text-align: center;
        opacity: 0;
    }

    nav ul li a,
    .search-login a {
        margin-bottom: 12px;
    }

    nav.active ul,
    .search-login.active {
        opacity: 1;
    }
}

@media only screen and (max-width: 800px) {
    .project-item {
        flex-direction: column;
    }

    .project-num {
        margin-bottom: 20px;
        width: fit-content;
        font-size: 20px;
    }

    .project-details {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 540px) {
    .hero {
        height: 60vh;
    }

    .project-list {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .project-item {
        border-bottom: 0.6px dotted #3d3c56;
    }

    .footer-left,
    .footer-middle,
    .footer-right {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-middle ul,
    .footer-middle .footer-title {
        text-align: left;
    }

    .footer-middle ul li {
        margin-left: 0px;
    }

    .contact-us-content {
        width: 400px;
    }

    .contact-us-form .form-row .form-group {
        width: 100%;
    }

    .contact-us-form-left,
    .contact-us-form-right {
        width: 100%;
    }

    .contact-us-form-left {
        margin-top: 0;
    }

    .contact-us-form-left ul li .office-details {
        padding-left: 10px;
    }
}

@media only screen and (max-width: 460px) {
    .contact-us-content {
        width: 300px;
    }
}