/*************
-----Title
 ************/

#title {
    text-align: center;
    background: var(--black);
    padding: 60px 30px 45px;
}

#topTitle,
#subTitle {
    font-size: 53px;
    font-weight: 700;
    line-height: 53px;
}

#topTitle {
    color: #FFF;
}

#subTitle {
    color: var(--primary);
    margin: 4px auto 20px;
}

#titleContent {
    color: #FFF;
    font-size: 23px;
    line-height: 176%;
    font-weight: 400;
    max-width: 600px;
    margin: auto;
}

@media (max-width: 500px) {

    #title {
        padding: 40px 30px 25px;
    }

    #topTitle,
    #subTitle {
        font-size: 29px;
        line-height: 33px;
    }

    #titleContent {
        font-size: 18px;
    }

}

/*************
-----Videos
 *************/

#videos {
    background-color: var(--black);
    padding: 0 20px 60px;
}

#videosInner {
    max-width: 1250px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 11px;
    position: relative;
    margin: auto;
}

.videosColumn {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.videoTitle {
    font-weight: 700;
    font-size: 20px;
    border-radius: 100px;
    border: 2px solid var(--primary);
    background-color: var(--primary);
    color: white;
    line-height: 21px;
    padding: 6px;
    text-align: center;
}

.videoTitle.alt {
    background-color: transparent;
    color: var(--primary);
}

.videoTitle:first-child {
    margin-top: 50px;
}

.videoItem {
    border-radius: 30px;
}


@media (max-width: 800px) {
    #videos {
        display: none;
    }
}

/**************
--Videos Mobile
 **************/

#videosMobile {
    display: none;
}

@media (max-width: 800px) {
    #videosMobile {
        padding: 20px 30px 40px;
        display: block;
        background-color: var(--black);
    }

    .videoItem {
        width: 80% !important;
    }

    #videosMobile .swiper-pagination {
        position: static;
        margin-top: 20px;
        --swiper-pagination-bullet-size: 14px;
        --swiper-pagination-color: var(--primary);
        --swiper-pagination-bullet-inactive-color: white;
        --swiper-pagination-bullet-inactive-opacity: 1;
    }
}

/*************
-----Goal
 ************/

#goal {
    padding: 86px 30px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#goalTitle,
#performanceTitle {
    font-size: 48px;
    line-height: 50px;
    font-weight: 300;
    letter-spacing: -1px;
}

#goalSubTitle {
    color: var(--primary);
    font-size: 60px;
    font-weight: 700;
    line-height: 68px;
    margin: 10px auto 30px;
}

#goalContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    margin: 69px auto 49px;
}

.goalCardContainer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 17px;
}

.goalCardLeft,
.goalCardRight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 218px;
}

.goalCardLeft,
.goalCardContainer:nth-child(2) .goalCardRight {
    gap: 30px;
}

.goalCardContainer:nth-child(1) .goalCardRight {
    gap: 54px;
}

.goalCardContainer:nth-child(1) .goalCardLeftImage,
.goalCardContainer:nth-child(2) .goalCardRightImage {
    max-width: 55px;
}

.goalCardContainer:nth-child(1) .goalCardRightImage {
    max-width: 57px;
}

.goalCardContainer:nth-child(2) .goalCardLeftImage {
    max-width: 63px;
}

.goalCardContent {
    position: relative;
    padding: 19px 12px;
    border-radius: 15px;
    border: 2px solid #2A2829;
    color: var(--black);
    text-align: center;
    font-size: 14px;
    line-height: 176%;
}

.goalCardContent > h3 {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% -50%;
    padding: 3px 20px;
    border-radius: 8px;
    background: var(--primary);
    color: #FFF;
    font-size: 23px;
    font-weight: 700;
    line-height: 28px;
}

.goalCardContainer:nth-child(1) .goalCardRight h3 {
    width: 196px;
    transform: translateY(-16px);
}

@media (max-width: 500px) {

    #goal {
        padding: 40px 30px 40px;
    }

    #goalTitle {
        font-size: 38px;
        line-height: 40px;
    }

    #goalSubTitle {
        font-size: 40px;
        line-height: 48px;
        margin: 10px auto 30px;
    }

    #goalContainer {
        gap: 20px;
        margin: 30px auto;
    }

    .goalCardContainer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .goalCardContent > h3 {
        padding: 6px 20px;
        font-size: 18px;
        line-height: 20px;
    }

    .goalCardContainer:nth-child(1) .goalCardRight h3 {
        width: 150px;
        transform: translateY(-10px);
    }

}

/*************
-----Fast
 ************/

#fast {
    background: no-repeat url("/assets/images/rocketsBackground.jpg");
    background-size: cover;
    padding: 67px 30px 88px;
    text-align: center;
}

#fastTitle {
    color: #FFF;
    font-size: 40px;
    line-height: 39px;
}

#fastSubTitle {
    margin: 24px auto;
    color: var(--primary);
    font-size: 60px;
    font-weight: 700;
    line-height: 68px;
}

.fastContent {
    color: #FFF;
    font-size: 20px;
    line-height: 21px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.fastContent:last-child {
    margin-bottom: 0;
}

@media (max-width: 500px) {

    #fast {
        padding: 40px 30px 40px;
    }

    #fastTitle {
        font-size: 30px;
        line-height: normal;
    }

    #fastSubTitle {
        margin: 0 auto 10px;
        font-size: 40px;
        line-height: 48px;
    }

    #fastContent {
        font-size: 18px;
        line-height: 21px;
    }

}

/*************
---Performance
 ************/

#performance {
    padding: 36px 30px 60px;
    text-align: center;
}

#performanceSubTitle {
    font-size: 60px;
    font-weight: 700;
    line-height: 68px;
    color: var(--primary);
    margin: 20px auto 40px;
}

@media (max-width: 500px) {

    #performance {
        padding: 36px 30px 40px;
    }

    #performanceTitle {
        font-size: 38px;
        line-height: 40px;
    }

    #performanceSubTitle {
        font-size: 40px;
        line-height: 46px;
        margin: 10px auto 30px;
    }

}

/*************
-----Faq
 ************/

#faq {
    padding: 0 30px 30px;
    max-width: 476px;
    width: 100%;
    color: var(--black);
    margin: 0 auto;
    text-align: center;
}

#faqTitle {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

#faqSubtitle {
    margin-bottom: 20px;
}

#faqContent {
    margin: 9px auto 0;
    display: flex;
    flex-direction: column;
}

.faqItem {
    max-width: 476px;
    border-radius: 10px;
    border: solid 1px var(--black);
    padding: 15px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.faqQuestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faqQuestion > p {
    font-weight: 700;
    line-height: 37px;
}

.faqQuestionImageContainer {
    width: 39px;
    height: 39px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
}

.faqQuestionImage {
    max-width: 18px;
    transition: transform 500ms ease;
}

.faqQuestionImage.active {
    transform: rotateX(180deg);
}

.faqAnswer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows ease 500ms;
}

.faqAnswer.active {
    grid-template-rows: 1fr;
}

.faqAnswer > div {
    overflow: hidden;
}

.faqAnswer p {
    line-height: 1.5;
    padding: 20px 20px 0;
    text-align: left;
}

@media (max-width: 500px) {

    #faqTitle {
        line-height: 43px;
    }

    .faqItem {
        padding: 10px;
        margin-bottom: 20px;
    }

    .faqQuestion > p {
        font-size: 14px;
        line-height: 20px;
    }

    .faqQuestionImageContainer {
        width: 30px;
        height: 30px;
        border-radius: 15px;
    }

    .faqQuestionImage {
        max-width: 16px;
    }

    .faqAnswer p {
        font-size: 14px;
        line-height: 20px;
        padding: 10px 10px 0;
    }

}

/*************
-----Form
 ************/

#form {
    border-radius: 15px;
    max-width: 1250px;
    padding: 20px;
    margin: 0 auto 50px;
    text-align: center;
}

#form h3 {
    color: var(--black);
    font-size: 35px;
    font-weight: 600;
    line-height: 78px;
}

#form p {
    color: var(--black);
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    margin: 0 auto 19px;
}

#form button {
    margin: 15px auto 0;
    border: none;
    max-width: 224px;
    height: 34px;
    font-size: 19px;
}

@media (max-width: 500px) {

    #form {
        border: none;
        margin: 0 auto;
        max-width: none;
        padding: 20px 20px 40px;
    }

    #formBody {
        border-radius: 15px;
    }

    #form h3 {
        font-size: 30px;
        line-height: 38px;
    }

    #form p {
        font-size: 15px;
        line-height: 18px;
        margin: 10px auto 20px;
    }

    #form input {
        padding: 12px;
    }

    #form input,
    #form input::placeholder {
        font-size: 14px;
    }

    #form button {
        max-width: 266px;
        height: 40px;
    }

}