/* Purpose Page Specific Styles */

/* Hero Section with Gradient Background */
.purpose-hero {
    margin-top: 152px;
    height: 342px;
    padding: 60px 0;
    background: rgba(10, 185, 210, 0.15);

    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;

        h1 {
            width: 661px;
            font-size: 50px;
            font-weight: 700;
        }
        
        .purpose-hero-clouds {
            position: absolute;
            top: 205px;
            right: 10px;
            z-index: 10;
            mix-blend-mode: soft-light;
            object-fit: cover;
        }
    }
}

/* Section with contrasting concept */
.purpose-concept {
    min-height: 500px;
    position: relative;
    background-color: var(--background-light);
    padding: 0;
    padding-bottom: 10px;

    .container {
        display: flex;
        flex-direction: row;
        gap: 22px;

        .concept-content {
            flex-basis: 487px;

            padding-top: 42px;

            .concept-title {
                font-size: 30px;
                line-height: 1.2;
                margin-bottom: 2rem;

                .shopping-carts {
                    color: var(--primary-orange);
                }

                .shopping-carts-icon {
                    width: 43px;
                    height: 43px;
                    vertical-align: top;
                }

                .human-minds {
                    color: var(--purple-light);
                }

                .human-minds-icon {
                    margin-top: -10px;
                    margin-left: 10px;
                    width: 48px;
                    height: 48px;
                    vertical-align: bottom;
                }
            }

            .concept-description {
                color: var(--purple-dark);
                font-size: 20px;
                font-weight: 500;
                line-height: 24px;
            }
        }

        .experience-images {
            flex: 1;

            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            position: relative;
            z-index: 3;
            margin-top: 0;

            .experience-image {
                border-radius: 23px;
                overflow: hidden;
                width: 199px;
                height: 424px;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .experience-image-left {
                position: relative;
                top: -137px;
                height: 377px;
            }

            .experience-image-middle {
                position: relative;
                top: -57px;
            }

            .experience-image-right {
                position: relative;
                top: -105px;
            }
        }
    }
}

/* Purpose Break Section */
.purpose-break {
    height: 467.35px;
    padding: 60px 0;
    background: #F9AD1C;

    .container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 60px;

        .break-image {
            flex: 1;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .break-content {
            flex: 1;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;

            .embrace-title {
                font-size: 30px;
                line-height: 1.2;
                margin-bottom: 2rem;
                color: var(--text-dark);
            }

            .embrace-description {
                font-size: 20px;
                line-height: 1.5;
                color: var(--text-dark);
            }
        }
    }
}

/* Discovery section */
.purpose-discovery {
    padding: 60px 0;
    background-color: var(--background-light);
    position: relative;

    .container {
        display: flex;
        flex-direction: row;
        gap: 60px;

        .discovery-title {
            font-size: 30px;
            line-height: 1.2;
            width: 449px;
        }

        .testimonial-card {
            max-width: 510px;
            max-height: 150px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #8A8989;
            border-radius: 19px;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
            position: relative;

            .testimonial-icon {
                position: absolute;
                left: 20px;
                border-radius: 50%;
                width: 80px;
                height: 80px;
                background: url('../assets/images/a-logo_white.png'), var(--purple-light);
                background-size: cover;
                background-position: center;
            }
            
            .testimonial-text {
                margin-left: 100px;
                margin-bottom: 0.4rem;
                font-family: 'Raleway', sans-serif;
                font-weight: 500;
                font-size: 1.125rem;
            }
            
            .testimonial-name {
                margin-left: 100px;
                margin-bottom: 0.25rem;
                font-family: 'Raleway', sans-serif;
                font-weight: 500;
                font-size: 0.9375rem;
            }
            
            .testimonial-location {
                margin-left: 100px;
                margin-bottom: 0;
                font-family: 'Raleway', sans-serif;
                font-weight: 500;
                font-size: 0.625rem;
            }
        }
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .purpose-concept {
        height: auto;
        padding: 3rem 0;

        .container {
            .concept-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .experience-images {
                grid-template-columns: 1fr 1fr;
            }
        }
    }
    
    .purpose-break {
        height: auto;
        flex-direction: column;

        .break-image, .break-content {
            width: 100%;
        }
    }
    
    .purpose-discovery {
        .container {
            .testimonial-box {
                width: 90%;
            }
        }
    }
}

@media (max-width: 768px) {
    .purpose-hero {
        margin-top: 150px;
        height: auto;
        padding: 30px 0;

        .container {
            h1 {
                font-size: 36px;
                width: 100%;
            }

            .purpose-hero-clouds {
                top: 125px;
            }
        }
    }
    
    .purpose-concept {
        .container {
            flex-direction: column-reverse;

            .concept-content {
                .concept-title {
                    font-size: 24px;
                }

                .concept-container {
                    .concept-right {
                        .concept-description {
                            font-size: 18px;
                        }
                    }
                }
            }

            .experience-images {
                display: flex;
                flex-direction: row;

                .experience-image {
                    height: auto;
                }

                .experience-image-left {
                    top: 0px;
                    height: auto;
                }

                .experience-image-middle {
                    top: 0px;
                }

                .experience-image-right {
                    top: 0px;
                }
            }
        }
    }
    
    .purpose-break {
        padding: 30px 0;

        .container {
            flex-direction: column;
            gap: 30px;

            .break-content {
                padding: 0;

                .embrace-title {
                    font-size: 24px;
                }
    
                .embrace-description {
                    font-size: 18px;
                }
            }
        }
    }
    
    .purpose-discovery {
        padding: 30px 0;

        .container {
            flex-direction: column;
            gap: 30px;
            
            .discovery-title {
                font-size: 24px;
                width: 100%;
            }

            .testimonial-box {
                width: 100%;
                padding: 1.5rem;
            }
        }
    }
} 