@import url("globals.css");

@media screen and (max-width: 768px) {
    main {
        gap: 48px;
    }
}

/* hero section */

.hero__section {
    padding: 0 16px;
    background-image: url(../../images/hero-section-bg.jpg);
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__section__title {
    font-family: "Manrope", sans-serif;
    color: var(--white);
    font-size: 56px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.01em;
    text-align: center;
}

/* hero section responsive styles */

@media screen and (max-width: 1280px) {
    .hero__section__title {
        font-size: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .hero__section__title {
        font-size: 36px;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hero__section {
        padding: 0 24px;
    }

    .hero__section__title {
        font-size: 30px;
    }
}

@media screen and (max-width: 640px) {
    .hero__section {
        padding: 0 16px;
    }
}

/* how we did get here section */

.how__did__we_get__here__section {
    margin-top: -64px;
    padding: 56px 0;
    width: 100%;
    background: var(--primary-gray-bg-section);
    display: flex;
    justify-content: center;
}

.how__did__we_get__here__section .container {
    display: flex;
    align-items: center;
    gap: 56px;
}

.how__did__we_get__here__section__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.how__did__we_get__here__section__image {
    border-radius: 32px;
    min-width: 45%;
    max-width: 45%;
}

/* how we did get here section responsive styles */


@media screen and (max-width: 1024px) {
    .how__did__we_get__here__section .container {
        flex-direction: column;
        gap: 32px;
    }

    .how__did__we_get__here__section__details {
        gap: 16px;
    }

    .how__did__we_get__here__section__details h2 {
        text-align: center;
    }

    .how__did__we_get__here__section__image {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 768px) {
    .how__did__we_get__here__section {
        padding: 32px 0;
    }
}

/* our mission and values section */

.our__mission__section {
    padding: 0 32px;
    max-width: 1024px;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

/* our mission and values section responsive styles */

@media screen and (max-width: 768px) {
    .our__mission__section {
        padding: 0 24px;
        gap: 16px;
    }
}

/* founder section */

.founder__section {
    padding: 56px 0 96px;
    background: var(--primary-gray-bg-section);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.founder__section__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.founder__section__info__description {
    color: var(--primary-gray);
    max-width: 650px;
    font-size: 16px;
    text-align: center;
}

.founder__section__details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.founder__section__details>img {
    width: 350px;
    height: 400px;
    border-radius: 16px;
    object-fit: cover;
}

.founder__section__details_titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.founder__section__details_titles__fullname {
    color: var(--primary-dark-blue);
    font-size: 32px;
    font-weight: 500;
    line-height: 130%;
}

.founder__section__details_titles_label {
    color: var(--primary-dark-blue);
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}

.founder__section__details__linkedin {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--primary-dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder__section__details__linkedin img {
    width: 16px;
    height: 16px;
    object-fit: cover;
}

/* founder section responsive styles */
@media screen and (max-width: 768px) {
    .founder__section {
        padding: 32px 24px 48px;
    }
}

@media screen and (max-width: 640px) {
    .founder__section {
        padding: 32px 16px 48px;
        gap: 32px;
    }

    .founder__section__details>img {
        width: 100%;
    }

    .founder__section__details_titles {
        gap: 8px;
    }

    .founder__section__details_titles__fullname {
        font-size: 24px;
    }

    .founder__section__details_titles_label {
        font-size: 16px;
    }
}

/* our approach section */

.our__approach {
    padding: 0 48px;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 72px;
}

.our__approach__details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.our__approach__details h2 {
    margin-bottom: 12px;
}

.our__approach__images {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
    align-items: center;
}

.our__approach__images img {
    width: 100%;
}

.our__approach__images img:nth-child(1),
.our__approach__images img:nth-child(3) {
    border-radius: 32px;
    object-fit: cover;
}

.our__approach__images img:nth-child(2) {
    width: 100%;
    border-radius: 32px;
    object-fit: cover;
}

/* our approach responsive styles */

@media screen and (max-width: 1024px) {
    .our__approach {
        padding: 0 32px;
        gap: 64px;
    }

    .our__approach__images {
        grid-template-columns: repeat(2, 1fr);
    }

    .our__approach__images img:nth-child(n) {
        width: 100%;
    }

    .our__approach__images img:nth-child(3) {
        width: 70%;
        height: fit-content;
        justify-self: center;
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .our__approach {
        padding: 0 24px;
        gap: 48px;
    }

    .our__approach__details {
        gap: 16px;
    }

    .our__approach__details h2 {
        margin: 0;
    }

    .our__approach__images {
        gap: 0 24px;
    }
}

@media screen and (max-width: 640px) {
    .our__approach {
        padding: 0 16px;
    }

    .our__approach__images img:nth-child(n) {
        grid-column: span 2;
        width: 100%;
    }
}

/* why others chose us section */
.why__chose__us {
    padding: 56px 48px;
    display: flex;
    justify-content: center;
    background: var(--primary-gray-bg-section);
}

.why__chose__us__container {
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.why__chose__us__container h2 {
    margin-bottom: 12px;
}

/* why others chose us section responsive styles */
@media screen and (max-width: 1024px) {
    .why__chose__us {
        padding: 56px 32px;
    }
}

@media screen and (max-width: 768px) {
    .why__chose__us {
        padding: 32px 24px;
    }

    .why__chose__us__container {
        gap: 16px;
    }

    .why__chose__us__container h2 {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .why__chose__us {
        padding: 32px 16px;
    }
}

/* our vision for future section */
.our__vision {
    padding: 0 48px;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 24px;
    text-align: center;
}

.our__vision h2 {
    margin-bottom: 24px;
}

/* our vision section responsive styles */
@media screen and (max-width: 1024px) {
    .our__vision {
        padding: 0 32px;
    }
}

@media screen and (max-width: 768px) {
    .our__vision {
        padding: 0 24px;
        gap: 16px;
    }

    .our__vision h2 {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .our__vision {
        padding: 0 16px;
    }
}

/* trusted by companies section */

.trust__by_companies__section {
    padding: 56px 48px;
    display: flex;
    justify-content: center;
    background: var(--primary-gray-bg-section);
}

.trust__by_companies__section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.trust__by_companies__section__description {
    max-width: 700px;
    text-align: center;
}

.trust__by_companies__section__companies {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 56px;
}

.trust__by_companies__section__companies img {
    width: 100%;
}

.trust__by_companies__section__help {
    width: 100%;
    margin-bottom: -164px;
    background: var(--primary-dark-blue);
    border-radius: 12px;
    box-shadow: 4px 4px 15px 0px #00000026;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.trust__by_companies__section__help__content {
    padding: 16px 0 16px 56px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.trust__by_companies__section__help__content__title {
    color: var(--white);
    font-size: 40px;
    line-height: 120%;
}

.trust__by_companies__section__help__content__buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust__by_companies__section__help__content__buttons__secondary {
    padding: 12px 56px;
    border-radius: 100px;
    border: 1px solid var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: 800;
    line-height: 175%;
    letter-spacing: 0.01em;
    transition: all 0.5s ease, transform 0.3s ease;
}

.trust__by_companies__section__help__image {
    padding: 32px;
    min-width: 45%;
    max-width: 45%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* trusted by companies section responsive styles */

@media screen and (max-width: 1280px) {
    .trust__by_companies__section {
        padding: 64px 48px;
    }

    .trust__by_companies__section__help__content {
        padding: 24px 0 24px 32px;
    }

    .trust__by_companies__section__help__content__title {
        font-size: 30px;
    }

    .trust__by_companies__section__help__content__buttons {
        flex-direction: column;
    }

    .trust__by_companies__section__help__content__buttons>button,
    .trust__by_companies__section__help__content__buttons>a,
    .trust__by_companies__section__help__content__buttons>a>button {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .trust__by_companies__section {
        padding: 56px 32px;
    }

    .trust__by_companies__section .container {
        gap: 32px;
    }

    .trust__by_companies__section__help__content__title {
        font-size: 24px;
    }

    .trust__by_companies__section__help {
        margin-bottom: -148px;
    }
}

@media screen and (max-width: 768px) {
    .trust__by_companies__section {
        padding: 32px 24px;
    }

    .trust__by_companies__section {
        gap: 24px;
    }

    .trust__by_companies__section .container {
        gap: 16px;
    }

    .trust__by_companies__section .container h2 {
        text-align: center;
    }

    .trust__by_companies__section__help {
        margin-top: 32px;
        margin-bottom: -132px;
        flex-direction: column-reverse;
    }

    .trust__by_companies__section__help__content {
        padding: 0 24px 24px;
        gap: 24px;
    }

    .trust__by_companies__section__help__content__title {
        font-size: 20px;
    }

    .trust__by_companies__section__help__image {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 640px) {
    .trust__by_companies__section {
        padding: 32px 16px;
    }

    .trust__by_companies__section__companies {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .trust__by_companies__section__companies img {
        width: 25%;
    }

    .trust__by_companies__section__help {
        margin-bottom: -128px;
        flex-direction: column-reverse;
    }
}

@media screen and (min-width: 1024px) {
    .trust__by_companies__section__help__content__buttons__secondary:hover {
        background: var(--white);
        color: var(--primary-dark-blue);
    }
}

/* footer responsive styles */

@media screen and (max-width: 1024px) {
    .footer {
        padding: 164px 32px 32px;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 164px 24px 32px;
    }
}

@media screen and (max-width: 640px) {
    .footer {
        padding: 164px 16px 24px;
    }
}