* {
    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;
}

/* hero section */
.intro-team {
    height: 90vh;
    width: 100%;
    background-image: url(../images/background/annie-spratt-hCb3lIB8L8E-unsplash.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.intro-team .intro-team-box {
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(0,0,0,0.6);
    padding: 30px;
}

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

.intro-team-track-container {
    height: 90%;
    position: relative;
    overflow: hidden;
}

.intro-team-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 250ms ease-in;
}

.intro-team-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-team-details {
    width: 100%;
    padding: 30px;
}

.intro-team-details h1 {
    color: #f3f3f3;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

.intro-team-details p {
    margin-bottom: 20px;
    color: #f3f3f3;
}

.intro-team-details button {
    border: 1px solid #ccc;
    outline: 0;
    width: fit-content;
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-transform: capitalize;
}

/* team section */
.team-list {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #ffffff;
    padding: 30px;
}

.team-list .carousel {
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 250ms ease-in;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-details {
    width: 100%;
    height: 600px;
    padding: 30px;
    overflow-x: auto;
}

.user-info-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.user-info-bottom {
    padding: 10px;
}

.about-me-title {
    font-size: 25px !important;
    letter-spacing: 2px !important;
    text-transform: capitalize !important;
    margin-bottom: 10px !important;
}

.carousel-details::-webkit-scrollbar {
    width: 0px;
}

.infor-left {
    width: 38%;
    height: fit-content;
    display: flex;
    justify-content: center;
}

.infor-left img {
    width: 80%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 5px 5px 20px #555454;
}

.infor-right {
    width: 58%;
}

.infor-right p {
    font-size: 15px;
}

.carousel-details h1 {
    text-transform: capitalize;
    font-weight: normal;
    margin-bottom: 10px;
    font-size: 25px;
    letter-spacing: 2px;
}

.carousel-details .user-qulifications {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.carousel-details p {
    margin-bottom: 20px;
}

.carousel-details .user-qulifications span {
    display: flex;
    font-size: 14px;
    margin-bottom: 10px;
}

.carousel-details .user-qulifications span svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    color: #f47920;
}

.carousel-details .user-work-projects {
    margin-bottom: 25px;
}

.carousel-details .project-item {
    display: flex;
    margin-bottom: 10px;
}

.inner-text {
    color: #3d3c56 !important;
    font-style: italic;
    font-weight: normal !important;
}

.carousel-details .project-item p {
    margin-bottom: 10px;
}

.carousel-details .project-item p span {
    color: #15824b;
    font-weight: 700;
}

.carousel-details .project-item svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.carousel-details .socail-media {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.carousel-details .socail-media a {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #3d3c56;
}

.carousel-details .socail-media a:hover {
    text-decoration: underline;
}

.carousel-details .socail-media a:not(:last-child) {
    margin-right: 55px;
}

.carousel-details .socail-media svg {
    border: 1px solid #15824b;
    padding: 10px;
    border-radius: 50%;
    background-color: #15824b;
    color: #ffffff;
    width: 45px;
    height: 45px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.carousel-details button {
    border: 1px solid #3d3c56;
    outline: 0;
    width: fit-content;
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    font-weight: bold;
    text-transform: capitalize;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    display: flex;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-button-left {
    left: 13px;
    background-color: #f47920;
    color: #ffffff;
}

.carousel-button-right {
    right: 15px;
    background-color: #f47920;
    color: #ffffff;
}

.carousel-button svg {
    width: 18px;
    height: 18px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    height: 10%;
}

.carousel-indicator {
    border: 0;
    border-radius: 5px;
    width: 20px;
    height: 10px;
    background: #f7ae7a;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background-color: #f47920;
}

.is-hidden {
    display: none;
}

/* 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) {
    .carousel-details .user-qulifications svg {
        display: none;
    }
}

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

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

    .infor-left {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .infor-right {
        width: 100%;
    }

    .infor-left img { 
        width: 100%;
    }

    .carousel-details .socail-media a {
        margin-bottom: 10px;
    }

    .carousel-details h1 {
        font-size: 30px;
    }

    .carousel button {
        font-size: 16px;
    }

    .carousel button {
        padding: 8px;
    }

    .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;
    }
}