@media (max-width: 1024px) {
    .video-controls {
        right: 16px;
        bottom: 16px;
        gap: 12px;
        padding: 9px 14px;
    }

    .video-progress {
        width: clamp(80px, 20vw, 160px);
    }

    .about-content {
        display: flex;
        flex-direction: column;
    }
    .about-media{
        order: -1;
    }

    .about-media #about-media-image {
        width: clamp(350px, 30vw, 450px);
        height: auto;
        aspect-ratio: 432 / 547;
        object-fit: cover;
        border-radius: 100px 12px 100px 12px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    }

    .purpose-grid {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
        max-width: 1220px;
        margin: 0 auto;
        align-items: stretch;
    }

    .purpose-card {
        display: grid;
        align-items: center;
        justify-items: center;
        padding: 2rem 1.5rem;
        min-height: 200px;
        border-radius: 28px;
        border: 1px solid #E6DFE8;
        background: var(--white);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
        
        transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    }

    .purpose-card:hover {
        transform: translateY(-10px);
        border-color: rgba(255, 255, 255, 0.38);
        box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
    }

    .purpose-card__icon img {
        width: 40px;
        margin-bottom: 10px;
        object-fit: contain;
    }


    .purpose-card h3 {
        margin-bottom: 14px;
        font-family: "League Spartan", sans-serif;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 300;
        letter-spacing: 0.12em;
        color: var(--purple-950);
    }

    .purpose-card p {
        margin: 0;
        font-family: "Nunito", sans-serif;
        font-size: 0.85rem;
        line-height: 1.65;
        color: var(--purple-950);
        font-weight: 600;
        text-align: center;
    }

    .how-it-works-section {
        min-height: auto;
        padding: clamp(80px, 10vh, 110px) 20px clamp(88px, 10vh, 120px);
    }

    .how-it-works-intro {
        margin-bottom: 3rem;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding-left: 1.5rem;
        align-items: start;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 0.55rem;
        right: auto;
        width: 1px;
        height: auto;
        transform: scaleY(0);
        transform-origin: top;
    }

    .how-it-works-section.is-visible .timeline-line {
        transform: scaleY(1);
    }

    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        padding: 0;
    }

    .timeline-step__bg-number {
        top: -0.2rem;
        left: 1.2rem;
        transform: none;
        opacity: 0.04;
    }

    .step-node {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    .timeline-step__content {
        max-width: 100%;
    }

    .portfolio-card {
        position: relative;
        width: clamp(300px, 40vw, 400px);
        height: 300px;

        overflow: hidden;

        border-radius: 32px;
        background: #000;
    }

    .contact-section{
        position: relative;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-image: url("/assets/contact-background.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 1;
        margin: 20px 0 0px 0;

        .left-text{
            width: 20%;
            color: var(--white);
            z-index: 3;
            font-family: "League Spartan", sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            letter-spacing: 0.08em;
        }

        .center-image{
            img{
                width: clamp(200px, 20vw, 300px);
                height: auto;
            }
        }

        .right-button{
            z-index: 3;
            color: rgba(255, 255, 255, 0.744);
            font-family: "League Spartan", sans-serif;
            display: flex;
            align-items: center;
            justify-content: space-around;
            gap: 10px;
            padding: 10px 18px;
            background-color: #dad9ea2d;
            border-radius: 100px;
            border: 1px solid #ffffffad;
            transition: all 0.3s ease-in-out;
            cursor: pointer;
            
            &:hover{
                background-color: #dad9ea4d;
                border: 1px solid #ffffffad;
            }
        }
    }

    .contact-section::after{
        z-index: 2;
        content: "";
        position: absolute;
        background: rgba(0, 0, 0, 0.304);
        inset: 0;
    }

    .site-footer {
        position: relative;
        padding: 96px 40px 80px;
        background: #000000;
        color: #ffffff;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
        gap: 32px;
        max-width: 1320px;
        margin: 0 auto;
        align-items: center;
    }

    .footer-logo img {
        width: min(200px, 100%);
        height: auto;
    }
}