@media (max-width:1200px){

.container{
    width:92%;
}

.hero-container {
    gap:0px
}

.project{
    gap:60px;
    row-gap:0;
}

.project-content h3{
    font-size:46px;
}

.section-title{
    font-size:42px;
}

.projects {
    padding: 120px 0;
}

.experience {
    padding: 120px 0;
}

.toolbox {
    padding: 120px 0;
}



.beyond {
    padding: 120px 0;
}

.contact {
    padding: 120px 0;
}

}

@media (max-width:850px){
.hero-container,
.project,
.project.reverse,
.contact-wrapper{
    grid-template-columns:1fr;
    display:grid;
}

.project.reverse .browser-frame,
.project.reverse .project-content{
    order:unset;
}

.hero-right{
    margin-top:50px;
}


.browser-frame{
    margin:0 auto;
}

.tool-groups,
.beyond-grid{
    grid-template-columns:1fr;
}

.projects {
    padding: 60px 0;
}

.experience {
    padding: 60px 0;
}

.toolbox {
    padding: 60px 0;
}

.beyond {
    padding: 60px 0;
}

.contact {
    padding: 60px 0;
}

}

@media (max-width:768px){
.hero-title{
    font-size:4rem;
}

.hero-heading{
    font-size:1.6rem;
}

.section-title{
    font-size:2.5rem;
}

.hero-buttons{
    flex-direction:column;
}

.nav-links{
    display:none;
}

.project{
    margin-top:20px;
}

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

.contact-card{
    padding:22px;
}

.projects {
    padding: 45px 0;
}

.experience {
    padding: 45px 0;
}

.toolbox {
    padding: 45px 0;
}


.beyond {
    padding: 45px 0;
}

.contact {
    padding: 45px 0;
}

.nav-links{
    display:none;
}

.menu-toggle{
    display:flex;
}

.mobile-menu{
    display:flex;
}

.glow{
        width:300px;
        height:300px;
        filter:blur(100px);
    }

    .glow-1{
        left:-120px;
        top:-80px;
    }

    .glow-2{
        right:-120px;
        bottom:-80px;
    }

    .timeline{
    padding-left:40px;
}

.timeline-line{
    left:10px;
}

.timeline-dot{
    left:-32px;
    width:16px;
    height:16px;
}

.timeline-content{
    padding:28px;
}

.timeline-content h3{
    font-size:22px;
}
}

@media (max-width:480px){
.container{
    width:92%;
}

.hero{
    padding-top:110px;
}

.hero-title{
    font-size:3.3rem;
    margin-bottom: 0;
}

.hero-heading{
    font-size:1.2rem;
    margin-top: 20px;
}


.section-title{
    font-size:1.3rem;
}

.section-tag{
    font-size: 11px;
}

.section-description {
    font-size: 14px;
    margin-top:10px;
}

.hero-description {
    font-size: 14px;
}

.experience-card,
.tool-group,
.beyond-card{
    padding:28px;
}

.developer-card{
    width:100%;
}

.profile-image{
    height:340px;
}


.projects {
    padding: 30px 0;
}

.experience {
    padding: 30px 0;
}

.toolbox {
    padding: 30px 0;
}

.project-content{
    margin-bottom: 20px;
}

.browser-frame{
    margin-bottom: 20px;
}

.project-content h3 {
        font-size: 30px;
        margin:auto;
    }

.dashboard-grid strong {
    font-size: 18px;
}


.section-title {
    margin-bottom: 0px;
}

.beyond {
    padding: 30px 0;
}

.contact {
    padding: 30px 0;
}

.experience-card h3 {
    font-size: 20px;
}

.experience-card p{
    font-size: 14px;
}

.beyond-card h3 {
    font-size: 20px;
}

.beyond-card p{
    font-size: 14px;
}


.footer p{
    font-size: 14px;
}


}


/* Responsive fixes — append to responsive.css */

@media (max-width: 850px) {
    .project-content h3 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        overflow-wrap: anywhere;
    }

    .project,
    .project.reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .project.reverse .project-content,
    .project.reverse .browser-frame {
        order: unset;
    }

    .browser-frame {
        width: 100%;
        min-width: 0;
    }

    .project-dashboard {
        padding: 24px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-container,
    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-container {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        min-width: 0;
    }

    .hero-right {
        margin-top: 32px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .project,
    .project.reverse {
        gap: 32px;
        margin-top: 48px;
    }

    .project-content h3 {
        font-size: clamp(1.7rem, 6vw, 2.2rem);
    }

    .tool-groups,
    .beyond-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-dashboard {
        padding: 20px;
    }

    .profile-image {
        height: 300px;
    }

    .project-stack span,
    .experience-tags span,
    .tool-list span {
        font-size: 12px;
        padding: 8px 12px;
    }

    .contact-card {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }
}



/* Mobile hero layout fixes */
@media (max-width: 768px) {
    .hero {
        width: 100%;
        overflow: hidden;
        padding: 110px 0 48px;
    }

    .hero-container {
        width: 92%;
        max-width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .hero-title,
    .hero-heading,
    .hero-description {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .hero-buttons a,
    .hero-buttons button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }

    .hero-right {
        margin-top: 0;
    }

    .developer-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 16px;
        overflow: hidden;
    }

    .profile-image {
        display: block;
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: cover;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }

    .hero-container {
        width: 92%;
        gap: 28px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.3rem);
        line-height: 1.1;
    }

    .hero-heading {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-buttons a,
    .hero-buttons button {
        min-height: 56px;
        padding: 14px 18px;
        font-size: 16px;
    }

    .developer-card {
        padding: 12px;
        border-radius: 28px;
    }

    .profile-image {
        max-height: 360px;
        border-radius: 22px;
    }
}
