.purpose-section {
    padding: 0.5rem 0;
    background: white;
    overflow: hidden;
    position: relative;
}

.purpose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.purpose-container .section-title {
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.purpose-scroll {
    height: 80vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative;
}

.purpose-scroll::-webkit-scrollbar {
    display: none;
}

.purpose-item {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    gap: 1rem;
}

.purpose-image {
    width: 100%;
    max-width: 500px;
    height: 35vh;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.purpose-image:hover {
    transform: scale(1.05);
}

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

.purpose-content {
    width: 100%;
    max-width: 500px;
    padding: 0 0.75rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-align: center;
}

.purpose-content:hover {
    opacity: 1;
}

.purpose-content h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.purpose-content p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.purpose-content p strong {
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.purpose-content p strong:hover {
    opacity: 1;
}

.scroll-indicator {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-color);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

/* Media Queries for larger screens */
@media screen and (min-width: 768px) {
    .purpose-container .section-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        padding-top: 1rem;
    }

    .purpose-item {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }

    .purpose-image {
        height: 50vh;
    }

    .purpose-content {
        text-align: left;
        padding: 0 3rem;
    }

    .purpose-content h3 {
        font-size: 2rem;
        margin-top: 0;
    }

    .purpose-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .scroll-dot {
        width: 10px;
        height: 10px;
    }

    .scroll-indicator {
        right: 20px;
        gap: 10px;
    }
}
