/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    height: 100vh;
    background: url("../img/team-hero.jpg") top center;
    background-size: cover;
}

#hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .hero-container {
  position: absolute;
  bottom: 230px;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: end;
  align-items: start;
  flex-direction: column;
  text-align: start;
}

#hero h1 {
    text-align:start;
    max-width: 900px;
}

#hero h2 {
    max-width: 600px;
    margin-bottom: 0px;
    line-height: 28px;
}

@media (min-width: 1024px) {
  
}

@media (max-width: 1024px) {
    #hero .hero-container {
        bottom: 280px;
    }
}

/*--------------------------------------------------------------
# ceo-message
--------------------------------------------------------------*/
.ceo-message-section {
    background: #F9FAFB;
    text-align: center;
    padding-top: 40px;
}

.ceo-message-second-title {
    font-family: Inter-SemiBold;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #CF3339;
}

.ceo-message-title {
    font-family: Inter-Bold;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    color: #101828;
    margin-top: 15px;
}

.ceo-message-desc-div {
    display: flex;
    justify-content: center;
}

.ceo-message-desc {
    font-family: Inter-Regular;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #475467;
    max-width: 800px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.ceo-message-box {
    display: flex;
    border-radius: 16px;
    box-shadow: 0px 32px 64px -12px #10182824;
    width: 100%;
}

.ceo-message-box-content {
    width: 63%;
    padding:50px 30px;
    text-align:start;
}

.ceo-message-box-img {
    width: 37%;
}

.ceo-message-box-img img {
    width: 100%;
    border-radius: 0px 16px 16px 0px;
    height: -webkit-fill-available;
}

.ceo-content-message, .ceo-content-second-message {
    font-family: Inter-SemiBold;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #344054;
    max-width: 730px;
    max-height: 250px;
    overflow:auto;
}

.more-txt {
    display:none;
}

.see-more-txt, .see-less-txt {
    cursor: pointer;
}

.ceo-content-second-message {
    margin-top: 30px;
}

.ceo-name {
    font-family: Inter-SemiBold;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #101828;
    margin-top: 30px;
}

.ceo-position {
    font-family: Inter-Regular;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #475467;    
}

@media (max-width: 1000px) {
    
    .ceo-message-section {
        padding: 40px 20px;
    }

    .ceo-message-second-title {        
        font-size: 14px;
        line-height: 20px;
    }

    .ceo-message-title {
        font-size: 24px;
        line-height: 30px;
        margin-top: 10px;
    }

    .ceo-message-desc {
        font-size: 14px;
        line-height: 24px;
        margin-top: 10px;
    }

    .ceo-message-box img {
        width: 100%;
        border-radius: 16px 16px 0px 0px !important;
    }

    .ceo-message-box {
       flex-direction:column-reverse;
    }

    .ceo-message-box-content {
        width: 100%;
        padding: 20px 15px;
    }

    .ceo-message-box-img {
        width: 100%;
    }

    .ceo-content-message, .ceo-content-second-message {      
        font-size: 20px;
        line-height: 24px;       
        max-width: 700px;
    }

    .ceo-content-second-message {
        margin-top: 15px;
    }

    .ceo-name {        
        font-size: 14px;
        line-height: 20px;
        margin-top: 15px;
    }

    .ceo-position {
       
        font-size: 14px;
        line-height: 20px;
        color: #475467;
    }
}

/*--------------------------------------------------------------
# ceo-message
--------------------------------------------------------------*/
.team-section {
    background: #FFFFFF;
    text-align: center;
    padding-top: 80px;
}

.team-second-title {
    font-family: Inter-SemiBold;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #CF3339;
}

.team-title {
    font-family: Inter-Bold;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    color: #101828;
    margin-top: 15px;
}

.team-desc-div {
    display: flex;
    justify-content: center;
}

.team-desc {
    font-family: Inter-Regular;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #475467;
    max-width: 800px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.teams {
    display:flex;
    flex-wrap:wrap;
    margin-top: 30px;
}

.teams > div {
    display: flex;
    flex-direction:column;
    width: 33%;
    margin-bottom: 50px;
}

.team-item-name {
    font-family: Inter-SemiBold;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #101828;
    margin-top: 20px;
}

.team-item-position {
    font-family: Inter-Regular;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #667085;
    margin-top: 3px;
}

.team-item-img img {
    width: 96px;
    height: 96px;
    border-radius: 9999px;
}

@media (max-width: 1000px) {
    .team-section {
        padding: 40px 20px;
    }

    .ceo-message-second-title {
        font-size: 14px;
        line-height: 20px;
    }

    .team-title {
        font-size: 24px;
        line-height: 30px;
        margin-top: 10px;
    }

    .team-desc {
        font-size: 14px;
        line-height: 20px;
        margin-top: 10px;
    }

    .teams {
        margin-top: 0px;
    }

    .teams > div {
        width: 50%;
    }

    .team-item-name {
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;       
        margin-top: 20px;
    }

    .team-item-position {        
        font-size: 14px;
        line-height: 20px;        
        margin-top: 3px;
    }

}
