/* ====================================
   WHY CLOUD TOP G PAGE STYLES
   ==================================== */

/* Container helpers scoped to why page */
.container-header {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 40px;
}

.container-content {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 40px;
}

/* ---- Hero Section ---- */
.why-hero {
    padding-top: 109px;
}

.why-hero__inner {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.why-hero__title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 68px;
    color: var(--black);
    text-align: center;
}

.why-hero__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #595959;
    text-align: center;
    max-width: 695px;
}

.why-hero__cta {
    padding-top: 10px;
}

.why-hero__cta .btn {
    border-radius: 14px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.why-hero__image-wrapper {
    padding-top: 32px;
    width: 100%;
}

.why-hero__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

/* ---- Mission & Promise ---- */
.why-mission {
    background-color: var(--red);
    color: var(--white);
}

.why-mission__inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 56px;
}

.why-mission__left {
    flex: 1;
}

.why-mission__title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 56px;
    text-align: left;
}

.why-mission__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.why-mission__right>p {
    margin-bottom: 0;
}

.why-mission__text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--white);
}

.why-mission__text strong {
    font-family: var(--font-body);
    font-weight: 700;
}

.why-mission__philosophy {
    margin-top: 0;
}

.why-mission__philosophy .why-mission__text {
    display: inline;
}

.why-mission__philosophy-highlight {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--white);
    display: inline;
}

.why-mission__philosophy-trail {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--white);
    display: inline;
}

.why-mission__philosophy-trail2 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--white);
    display: inline;
}

/* ---- Unique Approach ---- */
.why-approach {
    padding-top: 0;
    padding-bottom: 0;
}

.why-approach__inner {
    padding-top: 80px;
    padding-bottom: 40px;
}

.why-approach__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
}

.why-approach__title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    line-height: 68px;
}

.why-approach__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    text-align: center;
    font-weight: 400;
    max-width: 767px;
}

.why-approach__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-approach__card {
    background-color: #F5F5F5;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-approach__icon-wrapper {
    width: 44px;
    height: 44px;
    position: relative;
    margin-bottom: 36px;
    /* Space between icon and text */
}

.why-approach__icon-bg {
    background-color: var(--white);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.why-approach__icon-shadow {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    border-radius: 12px;
    box-shadow: 0px 4px 35px 5px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.why-approach__icon {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.why-approach__card-title {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 600;
    color: var(--black);
    line-height: 24px;
}

.why-approach__card-desc-wrap {
    position: relative;
    margin-top: -12px;
}

.why-approach__card-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: #595959;
    line-height: 24px;
    font-weight: 400;
}

/* ---- Results & Impact ---- */
.why-results {
    padding-top: 0;
    padding-bottom: 0;
}

.why-results__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 1203px;
}

.why-results__image-col {
    flex: 1;
}

.why-results__image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
}

.why-results__text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.why-results__title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--black);
    line-height: 68px;
    text-align: left;
}

.why-results__desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: #595959;
    line-height: 24px;
    font-weight: 400;
}

.why-results__text-col .btn {
    border-radius: 14px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-top: 14px;
}

/* ---- Testimonials ---- */
.why-testimonials {
    padding-top: 0;
    padding-bottom: 0;
}

.why-testimonials__inner {
    padding-top: 80px;
    padding-bottom: 80px;
}

.why-testimonials__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
}

.why-testimonials__title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    line-height: 68px;
}

.why-testimonials__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    text-align: center;
    font-weight: 400;
    max-width: 600px;
}

.why-testimonials__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.testimonial-card {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}

.testimonial-card__avatar {
    width: 133px;
    height: 133px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card__content {
    background: var(--white);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0px 0px 35px 4px rgba(0, 0, 0, 0.16);
    flex: 1;
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.testimonial-card__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    text-transform: uppercase;
}

.testimonial-card__role {
    background-color: var(--red);
    color: var(--white);
    padding: 1px 10px 2px 6px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
}

.testimonial-card__quote-title {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 600;
    color: var(--black);
    line-height: 24px;
    margin-top: 16px;
}

.testimonial-card__quote-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: #595959;
    line-height: 24px;
    font-weight: 400;
    margin-top: 8px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
    .why-hero__title {
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.1;
    }

    .why-mission__inner {
        flex-direction: column;
        gap: 32px;
    }

    .why-mission__title {
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.1;
    }



    .why-approach__title {
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.1;
    }

    .why-approach__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-results__inner {
        flex-direction: column;
        text-align: center;
    }

    .why-results__text-col {
        align-items: center;
    }

    .why-results__title {
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.1;
        text-align: center;
    }

    .why-testimonials__title {
        font-size: clamp(36px, 5vw, 64px);
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .why-hero__image {
        height: 250px;
    }

    .container-header,
    .container-content {
        padding: 0 24px;
    }

    .testimonial-card {
        flex-direction: column;
    }

    .testimonial-card--reverse {
        flex-direction: column-reverse;
    }

    .why-testimonials__header {
        align-items: flex-start;
    }

    .why-testimonials__title,
    .why-testimonials__subtitle {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .why-approach__grid {
        grid-template-columns: 1fr;
    }

    .why-hero {
        padding-top: 90px;
    }

    .why-hero__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .why-mission__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .why-approach__inner {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .why-testimonials__inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .testimonial-card__content {
        padding: 16px;
    }
}