.text-box-section-content {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    background-image: url('/static/images/empowerme_wave.svg');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 40vw;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 0 5%;
    box-sizing: border-box;
}

.text-box-section-content h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 5vw, 4rem);
    text-align: center;
    color: #215a6b;
    margin-bottom: 24px;
}

.text-box-section-content-p{
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #374151;
    text-align: center;
    max-width: 800px;
    margin: 0 auto; 
}

.team-list-section {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-card {
    display: flex;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-size: 100% 30%;
    background-repeat: no-repeat;
}

.team-card.reverse-layout {
    flex-direction: row-reverse;
}

.card-pink {
    background-color: #ebcbc4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 200' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,150 C300,250 700,50 1000,100 L1000,200 L0,200 Z' fill='%231b5c73'/%3E%3C/svg%3E");
    background-position: bottom;
}

.card-sand {
    background-color: #e3d5c8;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 200' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L1000,0 L1000,50 C700,150 300,-50 0,100 Z' fill='%239aa0c0'/%3E%3C/svg%3E");
    background-position: top;
}

.team-content {
    flex: 1;
    padding: 60px 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.team-content.align-left {
    align-items: flex-start;
    text-align: left;
}

.team-content.align-right {
    align-items: flex-end;
    text-align: right;
}

.team-content h3 {
    font-size: 2.5rem;
    color: #265c70;
    margin: 0 0 8px 0;
}

.team-content h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.team-content p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0;
}

.team-image {
    flex: 0 0 35%;
    min-height: 350px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .team-card,
    .team-card.reverse-layout {
        flex-direction: column-reverse; 
    }
    
    .team-image {
        width: 100%;
        height: 300px;
        min-height: auto;
    }
    
    .team-content {
        padding: 40px 20px;
    }
    
    .team-content.align-left,
    .team-content.align-right {
        align-items: center;
        text-align: center;
    }
}

.reach-out-section {
    width: 100%;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.reach-out-content {
    text-align: center;
    max-width: 800px;
}

.reach-out-content h2 {
    font-size: 3.5rem;
    color: #265c70;
    margin: 0 0 24px 0;
    font-weight: 500;
}

.reach-out-content p {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.reach-out-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 48px;
    background-color: #265c70;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(38, 92, 112, 0.25);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.reach-out-btn:hover {
    background-color: #1a4252;
    transform: translateY(-2px);
}

.reach-out-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.reach-out-btn:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .reach-out-section {
        padding: 60px 5%;
    }

    .reach-out-content h2 {
        font-size: 2.5rem;
    }
    
    .reach-out-content p {
        font-size: 1.2rem;
        margin: 0 0 30px 0;
    }
    
    .reach-out-btn {
        padding: 14px 36px;
    }
}