@media screen and (max-width: 1200px) {
    #computer {
        display: none;
    }
    
    #phone {
        display: flex;
    }
    
    nav {
        padding: 0 5%;
        height: clamp(60px, 9vh, 80px);
    }
    
    section {
        margin: 0 5%;
        min-height: calc(100vh - clamp(60px, 9vh, 80px));
        height: auto;
        padding-top: clamp(0.75rem, 2vh, 1.5rem);
        padding-bottom: clamp(1rem, 3vh, 2rem);
        justify-content: center;
    }
    
    #profile {
        flex-direction: column;
        gap: clamp(1.2rem, 2.5vh, 2.2rem);
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    
    .picture_wrapper {
        gap: clamp(0.5rem, 1.2vh, 1rem);
    }

    .picture_container {
        height: clamp(190px, 25vw, 250px);
        width: clamp(190px, 25vw, 250px);
        max-height: 30vh;
        max-width: 30vh;
        margin: 0 auto;
    }
    
    .section_text {
        text-align: center;
    }
    
    #socials-container {
        justify-content: center;
        margin-top: 0.75rem;
    }
    
    .title {
        font-size: clamp(2.4rem, 6vw, 3.2rem);
    }

    .section_text_p1 {
        font-size: 1.1rem;
    }
    
    .section_text_p2 {
        font-size: clamp(1.3rem, 3.5vw, 1.6rem);
        margin-bottom: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    nav {
        padding: 0 4%;
    }

    section {
        margin: 0 4%;
        padding-top: 0.5rem;
        padding-bottom: 1rem;
    }

    #profile {
        gap: clamp(0.8rem, 2vh, 1.4rem);
    }

    .picture_container {
        height: clamp(150px, 38vw, 195px);
        width: clamp(150px, 38vw, 195px);
        max-height: 24vh;
        max-width: 24vh;
    }
    
    .scroll_indicator {
        gap: 0.35rem;
    }

    .mouse_icon {
        width: 18px;
        height: 28px;
        border-radius: 10px;
    }

    .mouse_wheel {
        width: 3px;
        height: 6px;
        top: 5px;
    }

    .scroll_text {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .title {
        font-size: clamp(1.9rem, 7.5vw, 2.3rem);
    }
    
    .section_text_p1 {
        font-size: 0.95rem;
    }

    .section_text_p2 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }

    .icon {
        height: 1.8rem;
    }

    .dynamic-scroll-indicator.indicator-top {
        top: 4.8rem;
    }

    .dynamic-scroll-indicator.indicator-bottom {
        bottom: 1.6rem;
    }

    .dynamic-scroll-indicator {
        padding: 0.45rem 0.65rem;
    }
}

@media screen and (max-height: 650px) {
    nav {
        height: 55px;
    }

    section {
        min-height: calc(100vh - 55px);
        padding-top: 0.25rem;
        padding-bottom: 0.5rem;
    }

    #profile {
        gap: 0.6rem;
    }

    .picture_container {
        height: clamp(120px, 20vh, 160px);
        width: clamp(120px, 20vh, 160px);
        max-height: 20vh;
        max-width: 20vh;
    }

    .scroll_indicator {
        display: none;
    }

    .title {
        font-size: 2rem;
    }

    .section_text_p2 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
}

@media screen and (max-width: 768px) {
    .glass-card {
        padding: 1.4rem;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .glass-card {
        padding: 1.15rem 1rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-subtitle {
        font-size: 0.95rem;
    }

    .card-bullets {
        margin-left: 1rem;
        font-size: 0.92rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }
}