/* Our Approach page style */
.our-approach-header {
    position: relative;
    background-image: url('../assets/stock/pexels-jakubzerdzicki-21228271.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    margin: 0;
    width: 100%;
    min-height: 400px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.our-approach-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

#our-approach-title {
    position: relative;
    padding: 4rem 2rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}

.introTextBlock {
    position: relative;
    z-index: 2;
}

/* Our Approach Diagram Responsive Image */
.our-approach-diagram > img {
    max-width: 100vw;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 2rem;
}

.our-approach-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 22%;
    max-width: 318.8px;
    min-width: 280px;
    height: auto;
}

.our-approach-card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 14em;
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: 10px;
    transition: max-height 0.3s ease-out;
}

.our-approach-card p.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
}

.read-more-btn {
    display: inline-block;
    cursor: pointer;
    color: #57de8b;
    background: none;
    border: none;
    font-size: 0.9rem;
    text-decoration: none;
    padding-top: 10px;
    text-align: left;
}

.ourApproachPhaseImage {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.our-approach-details-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .our-approach-diagram > img {
        display: none;
    }
    
    .our-approach-details-container {
        padding: 1rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .our-approach-diagram > img {
        display: none;
    }
    
    .our-approach-details-container {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .our-approach-card {
        width: 100%;
        min-width: auto;
        max-width: none;
        padding: 1rem;
    }
}