.CA-hero-container{
    height: 550px;
    width: 100%;
    color: #fff;
    opacity: 1;
    z-index: 0;
    position: relative;
}

.hero-img{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 550px;
    position: relative;
}

.hero-sub-container{
    min-height: 400px;
    padding: 50px 0;
    position: absolute;
    width: 80%;
    left: 10%;
    top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hero-text-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    z-index: 2;
}

.hero-head{
    font-size: 45px;
    margin-top: 45px;
    font-weight: 600;
    margin-bottom: 2.2rem;
}

.hero-text{
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.upcoming-container {
    padding: 70px 0;
    background-color: #282f31;
    text-align: center;
}

.upcoming-head{
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 40px;
    color: #0798ff !important;
    font-weight: 700;
}

.upcoming-text{
    font-size: 25px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: 500;
}

.conference-container{
    display: flex;
    flex-direction: row;
    grid-gap: 40px;
    justify-content: flex-start;
    align-items: center;
    /* flex-wrap: wrap; */
}

.conference-img-container{
    border: none;
    border-radius: 4px;
    max-width: 400px;
    width: 400px;
    height: 180px;
}

.conference-img{
    max-width: 400px;
    height: 180px;
}

.past-conference{
    margin-top: 70px;
}

@media (max-device-width: 1400px) {
    .conference-img-container{
        width: 345px;
    }
}

@media (max-device-width: 1200px) {
    .conference-container{
        flex-direction: column;
    }
    .conference-img-container{
        width: 400px;
        max-width: 400px;
    }
}

@media (max-device-width: 992px){
    .hero-text {
        font-size: 20px;
    }
    .hero-sub-container{
        width: 90%;
        left: 5%;
    }
}

@media (max-device-width: 768px){
    .hero-head{
        font-size: 35px;
    }
    .hero-text-container{
        width: 90%;
    }
}

@media (max-device-width: 576px){
    .hero-head{
        text-align: center;
    }
    .hero-sub-container{
        width: 100%;
        left: 0;
    }
}

@media (max-device-width: 482px){
    .hero-head{
        margin-top: 0;
    }
}
@media (max-device-width: 400px){
    .CA-hero-container{
        height: 600px;
    }
    .hero-img{
        height: 600px;
    }
}