.purpose-container {
    display: flex;
    /* height: 90vh; */
    width: auto;
    margin-bottom: 60px;
}

.text-section {
    width: 30%;
    /* background-color: #CAA260; */
    color: white;
    /* padding: 3% 3% 3% 3%; */
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 3;
    /* padding: var(--x-spacing); */
}

.title-container {
    margin-bottom: 80px;
}

.content-container {
    display: flex;
    flex-direction: column;
}

.media-section {
    width: 70%;
    position: relative;
    overflow: hidden;
}

.media-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

.main-title {
    font-size: 44px;
    margin-bottom: 4rem;
    font-weight: 400;
}

.section-title-video {
    font-size: 1.8rem;
    /* margin-top: 2rem; */
    /* margin-bottom: 0.5rem; */
    font-weight: 400;
}

.section-text {
    color: white;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.325rem;
    max-width: 400px;
}

.progress-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.backdrop {
    backdrop-filter: blur(5px);
    border: 1px solid white;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background-color: rgba(0, 0, 0, 0.35);
}

.progress-circle {
    max-width: 300px;
}

@media (max-width: 992px) {
    .text-section {
        width: 40%;
    }
    
    .media-section {
        width: 60%;
    }
    
    .main-title {
        font-size: 36px;
        margin-bottom: 3rem;
    }
    
    .section-title-video {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .purpose-container {
        flex-direction: column;
        margin-bottom: 60px;
    }
    
    .text-section, .media-section {
        width: 100%;
    }
    
    .text-section {
        padding: 40px 20px;
    }
    
    .title-container {
        margin-bottom: 40px;
    }
    
    .media-section {
        height: 50vh;
    }
    
    .main-title {
        font-size: 32px;
        margin-bottom: 2rem;
    }
    
    .section-title-video {
        font-size: 1.4rem;
        margin-top: 1.5rem;
    }
    
    .section-text {
        font-size: 0.95rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .media-section {
        height: 40vh;
    }
    
    .main-title {
        font-size: 28px;
        margin-bottom: 1.5rem;
    }
    
    .title-container {
        margin-bottom: 20px;
    }
}

/* Fix CTA button font size for 320px mobile */
@media (max-width: 320px) {
    .cta-button {
        font-size: 10px !important;
    }
}

/* Fix CTA button font size for 320px mobile */
@media (max-width: 320px) {
    .cta-button {
        font-size: 10px !important;
    }
}
