/* ===== RESPONSIVE BREAKPOINTS ===== */


/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero {
        margin-top: 20px;
        padding: 16px 20px;
        gap: 24px;
    }
    
    .heroheadings {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .heroheadings h1 {
        font-size: 42px;
        text-align: left;
        line-height: 1.1;
    }
    
    .editiontag {
        align-items: flex-start;
        text-align: left;
    }
    
    .editiontag .tag {
        text-align: left;
        font-size: 12px;
    }
    
    .herobanner {
        margin: 16px 0;
    }
    
    .herobanner img {
        max-height: 200px;
        object-fit: contain;
    }
    
    .heroinfo {
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }
    
    .quick-info-tabs {
        width: 100%;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    
    .profession {
        width: 100%;
        gap: 16px;
    }
    
    .menu {
        width: 100%;
        height: auto;
        gap: 8px;
    }
    
    .menu h1 {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .menu h2 {
        font-size: 12px;
    }
    
    .social-links-tabs {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .social-links-tabs img {
        width: 36px;
        height: 36px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero {
        
        padding: 24px 32px;
        gap: 24px;
    }
    
    .heroheadings {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .heroheadings h1 {
        font-size: 56px;
        line-height: 1.1;
    }
    
    .editiontag .tag {
        font-size: 13px;
    }
    
    .herobanner img {
        max-height: 250px;
        object-fit: contain;
    }
    
    .heroinfo {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }
    
    .quick-info-tabs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 32px;
        justify-content: space-between;
    }
    
    .profession {
        width: auto;
        min-width: 120px;
    }
    
    .menu {
        width: auto;
        min-width: 120px;
    }
    
    .menu h1 {
        font-size: 22px;
    }
    
    .social-links-tabs {
        justify-content: center;
        gap: 24px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero {
        padding: 32px 48px;
        gap: 28px;
    }
    
    .heroheadings h1 {
        font-size: 72px;
        line-height: 1.1;
    }
    
    .editiontag .tag {
        font-size: 14px;
    }
    
    .herobanner img {
        max-height: 300px;
        object-fit: contain;
    }
    
    .heroinfo {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }
    
    .quick-info-tabs {
        width: 60%;
        flex-direction: row;
        gap: 40px;
        justify-content: flex-start;
    }
    
    .profession {
        width: auto;
        min-width: 100px;
    }
    
    .menu {
        width: auto;
        min-width: 100px;
    }
    
    .menu h1 {
        font-size: 22px;
    }
    
    .social-links-tabs {
        justify-content: flex-end;
        gap: 28px;
        width: 40%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero {
        padding: 32px 80px;
    }
    
    .heroheadings h1 {
        font-size: 100px;
    }
    
    .quick-info-tabs {
        width: 400px;
        gap: 48px;
    }
    
    .social-links-tabs {
        gap: 28px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero {
        padding: 32px 120px;
    }
    
    .heroheadings h1 {
        font-size: 110px;
    }
    
    .quick-info-tabs {
        width: 420px;
        gap: 60px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .hero {
        padding: 32px 156px;
    }
    
    .heroheadings h1 {
        font-size: 120px;
    }
    
    .quick-info-tabs {
        width: 450px;
        gap: 76px;
    }
}

/* ===== SPECIAL BREAKPOINTS ===== */

/* Very small mobile devices */
@media (max-width: 360px) {
    .hero {
        padding: 12px 16px;
        gap: 20px;
    }
    
    .heroheadings {
        gap: 6px;
    }
    
    .heroheadings h1 {
        font-size: 32px;
        line-height: 1;
    }
    
    .editiontag .tag {
        font-size: 11px;
    }
    
    .herobanner {
        margin: 12px 0;
    }
    
    .herobanner img {
        max-height: 160px;
    }
    
    .heroinfo {
        gap: 24px;
    }
    
    .quick-info-tabs {
        gap: 20px;
    }
    
    .menu {
        gap: 6px;
    }
    
    .menu h1 {
        font-size: 18px;
        line-height: 1.1;
    }
    
    .menu h2 {
        font-size: 11px;
    }
    
    .social-links-tabs {
        gap: 12px;
    }
    
    .social-links-tabs img {
        width: 32px;
        height: 32px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        padding: 16px 32px;
        gap: 12px;
    }
    
    .heroheadings h1 {
        font-size: 48px;
    }
    
    .heroinfo {
        flex-direction: row;
        gap: 24px;
    }
    
    .quick-info-tabs {
        width: auto;
        gap: 20px;
    }
}

/* High density displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .herobanner img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .social-links-tabs {
        display: none;
    }
    
    .copy-notification {
        display: none;
    }
    
    .hero {
        padding: 20px;
        background: white;
        color: black;
    }
} 

/* ===== ABOUTME SECTION RESPONSIVE ===== */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .aboutmesection {
        padding: 32px 20px;
        gap: 24px;
    }
    
    .aboutme {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .aboutme .content {
        order: 1;
        width: 100%;
    }
    
    .aboutme .content h1 {
        font-size: 24px;
        text-align: left;
    }
    
    .aboutme .content p {
        font-size: 14px;
        text-align: left;
        line-height: 1.6;
    }
    
    .aboutme .content .location {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        padding-top: 16px;
    }
    
    .aboutme .content .location h2 {
        font-size: 14px;
    }
    
    /* Only show GIF on mobile, hide other images */
    .aboutme img:nth-child(2) {
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: cover;
    }
    
    .aboutme img:nth-child(3),
    .aboutme img:nth-child(4) {
        display: none !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .aboutmesection {
        padding: 40px 32px;
        gap: 24px;
    }
    
    .aboutme {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }
    
    .aboutme .content {
        gap: 16px;
        order: 1;
        width: 100%;
        text-align: left;
    }
    
    .aboutme .content h1 {
        font-size: 28px;
    }
    
    .aboutme .content p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .aboutme .content .location {
        width: auto;
        padding-top: 16px;
        justify-content: flex-start;
    }
    
    /* Only show GIF on small tablets too */
    .aboutme img:nth-child(2) {
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: cover;
    }
    
    .aboutme img:nth-child(3),
    .aboutme img:nth-child(4) {
        display: none !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .aboutmesection {
        padding: 48px 48px 48px 80px;
        gap: 24px;
    }
    
    .aboutme {
        flex-direction: row;
        gap: 24px;
    }
    
    .aboutme .content {
        flex: 1;
        max-width: 300px;
        gap: 12px;
    }
    
    .aboutme .content h1 {
        font-size: 30px;
    }
    
    .aboutme .content p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .aboutme .content .location {
        width: auto;
        padding-top: 16px;
    }
    
    .aboutme img {
        flex: 1;
        height: 280px;
        max-width: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .aboutmesection {
        padding: 56px 0px 56px 100px;
        gap: 26px;
    }
    
    .aboutme {
        gap: 28px;
    }
    
    .aboutme .content {
        max-width: 350px;
    }
    
    .aboutme .content h1 {
        font-size: 32px;
    }
    
    .aboutme .content p {
        font-size: 17px;
    }
    
    .aboutme img {
        height: 300px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .aboutmesection {
        padding: 60px 0px 60px 120px;
        gap: 26px;
    }
    
    .aboutme {
        gap: 30px;
    }
    
    .aboutme .content {
        max-width: 380px;
    }
    
    .aboutme img {
        height: 315px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .aboutmesection {
        padding: 64px 0px 64px 156px;
        gap: 28px;
    }
    
    .aboutme {
        gap: 32px;
    }
    
    .aboutme img {
        height: 332.526px;
    }
}

/* Very small mobile devices */
@media (max-width: 360px) {
    .aboutmesection {
        padding: 24px 16px;
        gap: 16px;
    }
    
    .aboutme {
        gap: 20px;
    }
    
    .aboutme .content h1 {
        font-size: 22px;
    }
    
    .aboutme .content p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .aboutme .content .location {
        padding-top: 8px;
        gap: 6px;
    }
    
    .aboutme .content .location h2 {
        font-size: 13px;
    }
    
    .aboutme img {
        max-height: 200px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 480px) and (orientation: landscape) {
    .aboutmesection {
        padding: 20px 32px;
    }
    
    .aboutme {
        flex-direction: row;
        gap: 16px;
    }
    
    .aboutme .content {
        max-width: 250px;
        gap: 8px;
    }
    
    .aboutme .content h1 {
        font-size: 20px;
    }
    
    .aboutme .content p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .aboutme img {
        height: 120px;
        flex: 1;
    }
}

/* ===== EDUCATION SECTION RESPONSIVE ===== */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .education {
        padding: 24px 20px;
        gap: 24px;
    }
    
    .education h1 {
        font-size: 24px;
        text-align: left;
    }
    
    .eduinfo {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        text-align: left;
    }
    
    .eduinfo img {
        width: 16px;
        height: 16px;
    }
    
    .eduinfo .right {
        width: 100%;
        align-items: flex-start;
    }
    
    .eduinfo .right .eduline {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .eduinfo .right .eduline h2 {
        font-size: 14px;
        text-align: left;
        white-space: normal;
    }
    
    .eduinfo .right .eduline .fill {
        display: none;
    }
    
    .eduinfo .right .edudetail {
        font-size: 12px;
        text-align: left;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .education {
        padding: 28px 32px;
        gap: 28px;
    }
    
    .education h1 {
        font-size: 26px;
    }
    
    .eduinfo {
        gap: 12px;
    }
    
    .eduinfo .right .eduline h2 {
        font-size: 15px;
    }
    
    .eduinfo .right .edudetail {
        font-size: 14px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .education {
        padding: 32px 48px;
        gap: 30px;
    }
    
    .education h1 {
        font-size: 28px;
    }
    
    .eduinfo .right .eduline h2 {
        font-size: 16px;
    }
    
    .eduinfo .right .edudetail {
        font-size: 15px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .education {
        padding: 32px 80px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .education {
        padding: 32px 120px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .education {
        padding: 32px 156px;
    }
}

/* ===== MY JOURNEY SECTION RESPONSIVE ===== */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .myjourney {
        padding: 32px 20px;
        gap: 32px;
    }
    
    .myjourney h1 {
        font-size: 24px;
        text-align: left;
    }
    
    .jobs {
        gap: 40px;
    }
    
    .jobline {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .jobline:hover {
        transform: translateX(0);
    }
    
    .job {
        width: 100%;
    }
    
    .job h2 {
        font-size: 18px;
        text-align: left;
    }
    
    .company {
        font-size: 14px;
        text-align: left;
    }
    
    .levelbar {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .levelbar h2 {
        font-size: 14px;
    }
    
    .levelbar .year {
        font-size: 14px;
    }
    
    .jobline p {
        width: 100%;
        font-size: 14px;
        text-align: left;
        line-height: 1.6;
    }
    
    /* Hide hover images on mobile */
    .job-hover-images {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .myjourney {
        padding: 40px 32px;
        gap: 36px;
    }
    
    .myjourney h1 {
        font-size: 26px;
    }
    
    .jobs {
        gap: 36px;
    }
    
    .jobline {
        flex-direction: column;
        gap: 20px;
    }
    
    .jobline:hover {
        transform: translateX(5px);
    }
    
    .job h2 {
        font-size: 19px;
    }
    
    .company {
        font-size: 15px;
    }
    
    .levelbar h2,
    .levelbar .year {
        font-size: 15px;
    }
    
    .jobline p {
        width: 100%;
        font-size: 15px;
        text-align: left;
        line-height: 1.6;
    }
    
    /* Smaller hover images on small tablets */
    .hover-image {
        width: 200px;
        height: 130px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .myjourney {
        padding: 48px 48px;
        gap: 40px;
    }
    
    .myjourney h1 {
        font-size: 28px;
    }
    
    .jobs {
        gap: 32px;
    }
    
    .jobline {
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .jobline:hover {
        transform: translateX(8px);
    }
    
    .job {
        flex: 0 0 45%;
    }
    
    .job h2 {
        font-size: 19px;
    }
    
    .company {
        font-size: 16px;
    }
    
    .levelbar h2,
    .levelbar .year {
        font-size: 16px;
    }
    
    .jobline p {
        width: 50%;
        font-size: 16px;
        line-height: 1.6;
    }
    
    .hover-image {
        width: 250px;
        height: 160px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .myjourney {
        padding: 56px 80px;
        gap: 44px;
    }
    
    .job {
        flex: 0 0 40%;
    }
    
    .jobline p {
        width: 55%;
    }
    
    .hover-image {
        width: 280px;
        height: 180px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .myjourney {
        padding: 60px 120px;
        gap: 46px;
    }
    
    .hover-image {
        width: 290px;
        height: 190px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .myjourney {
        padding: 64px 156px;
        gap: 48px;
    }
    
    .hover-image {
        width: 300px;
        height: 200px;
    }
}

/* Extra small screens (max-width: 360px) */
@media (max-width: 360px) {
    .education {
        padding: 20px 16px;
        gap: 20px;
    }
    
    .education h1 {
        font-size: 22px;
    }
    
    .eduinfo .right .eduline h2 {
        font-size: 14px;
    }
    
    .eduinfo .right .edudetail {
        font-size: 13px;
    }
    
    .myjourney {
        padding: 28px 16px;
        gap: 28px;
    }
    
    .myjourney h1 {
        font-size: 22px;
    }
    
    .job h2 {
        font-size: 16px;
    }
    
    .company,
    .levelbar h2,
    .levelbar .year {
        font-size: 13px;
    }
    
    .jobline p {
        font-size: 13px;
    }
}

/* Landscape orientation for mobile devices */
@media (max-height: 480px) and (orientation: landscape) {
    .education {
        padding: 20px 32px;
        gap: 20px;
    }
    
    .myjourney {
        padding: 24px 32px;
        gap: 24px;
    }
    
    .jobs {
        gap: 24px;
    }
    
    .jobline {
        gap: 12px;
    }
}

/* Hover image responsive adjustments */
@media (max-width: 767.98px) {
    .hover-image {
        width: 200px;
        height: 130px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hover-image {
        width: 250px;
        height: 160px;
    }
}

/* ===== PROJECTS SECTION RESPONSIVE ===== */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .projects {
        padding: 32px 20px;
        gap: 32px;
    }
    
    .projects h1 {
        font-size: 24px;
        text-align: left;
        font-family: var(--font-family-display);
        font-weight: 500;
        line-height: 1.2;
    }
    
    .project-lines {
        gap: 20px;
    }
    
    .project-line-up {
        padding-bottom: 16px;
        border-bottom: 1.2px solid var(--global-primary-300, #73757A);
    }
    
    .project-title {
        gap: 16px;
    }
    
    .project-title h1 {
        font-size: 16px;
        font-family: var(--font-family-display);
        font-weight: 400;
        line-height: 1.2;
    }
    
    .project-title h2 {
        font-size: 18px;
        font-family: var(--font-family-display);
        font-weight: 500;
        line-height: 1.3;
    }
    
    .project-line-up img {
        width: 20px;
        height: 20px;
    }
    
    .project-line-down {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-line-down.active {
        max-height: 1000px;
        padding-top: 20px;
    }
    
    .project-line-down img {
        width: 100%;
        height: auto;
        max-width: 280px;
        align-self: flex-start;
    }
    
    .project-info {
        gap: 20px;
        align-items: flex-start;
    }
    
    .project-info .tabs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .project-info .tabs .tab {
        padding: 6px 10px;
        font-size: 14px;
        border: 1.2px solid var(--global-primary-500, #151922);
    }
    
    .project-details {
        gap: 16px;
    }
    
    .project-details .up h2 {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .project-details .up h3 {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .project-details .description {
        width: 100%;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .project-details .btn-seemore {
        padding: 12px 0;
        margin-top: 8px;
    }
    
    .project-details .btn-seemore h1 {
        font-size: 14px;
    }
    
    .project-details .btn-seemore img {
        width: 16px;
        height: 16px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .projects {
        padding: 40px 32px;
        gap: 40px;
    }
    
    .projects h1 {
        font-size: 26px;
        font-family: var(--font-family-display);
        font-weight: 500;
        line-height: 1.2;
    }
    
    .project-lines {
        gap: 24px;
    }
    
    .project-line-up {
        padding-bottom: 18px;
    }
    
    .project-title {
        gap: 20px;
    }
    
    .project-title h1 {
        font-size: 18px;
        font-family: var(--font-family-display);
        font-weight: 400;
        line-height: 1.2;
    }
    
    .project-title h2 {
        font-size: 20px;
        font-family: var(--font-family-display);
        font-weight: 500;
        line-height: 1.3;
    }
    
    .project-line-up img {
        width: 22px;
        height: 22px;
    }
    
    .project-line-down {
        flex-direction: column;
        gap: 24px;
    }
    
    .project-line-down.active {
        max-height: 900px;
        padding-top: 24px;
    }
    
    .project-line-down img {
        width: 100%;
        height: auto;
        max-width: 320px;
        align-self: flex-start;
    }
    
    .project-info {
        gap: 24px;
    }
    
    .project-info .tabs {
        gap: 10px;
    }
    
    .project-info .tabs .tab {
        padding: 8px 12px;
        font-size: 15px;
    }
    
    .project-details {
        gap: 18px;
    }
    
    .project-details .up h2 {
        font-size: 20px;
    }
    
    .project-details .up h3 {
        font-size: 15px;
    }
    
    .project-details .description {
        width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }
    
    .project-details .btn-seemore h1 {
        font-size: 15px;
    }
    
    .project-details .btn-seemore img {
        width: 17px;
        height: 17px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .projects {
        padding: 48px 48px;
        gap: 48px;
    }
    
    .projects h1 {
        font: var(--Display-36-Med);
    }
    
    .project-lines {
        gap: 28px;
    }
    
    .project-line-up {
        padding-bottom: 20px;
    }
    
    .project-title {
        gap: 24px;
    }
    
    .project-title h1 {
        font: var(--Display-24-Reg);
    }
    
    .project-title h2 {
        font: var(--Display-24-Med);
    }
    
    .project-line-up img {
        width: 24px;
        height: 24px;
    }
    
    .project-line-down {
        flex-direction: row;
        gap: 32px;
    }
    
    .project-line-down.active {
        max-height: 600px;
        padding-top: 28px;
    }
    
    .project-line-down img {
        width: 220px;
        height: 290px;
        flex-shrink: 0;
    }
    
    .project-info {
        gap: 24px;
        flex: 1;
    }
    
    .project-info .tabs {
        gap: 8px;
    }
    
    .project-info .tabs .tab {
        padding: 8px 12px;
        font-size: 15px;
    }
    
    .project-details {
        gap: 18px;
    }
    
    .project-details .up h2 {
        font-size: 20px;
    }
    
    .project-details .up h3 {
        font-size: 16px;
    }
    
    .project-details .description {
        width: 100%;
        max-width: 420px;
        font-size: 16px;
        line-height: 1.6;
    }
    
    .project-details .btn-seemore h1 {
        font-size: 16px;
    }
    
    .project-details .btn-seemore img {
        width: 17px;
        height: 17px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .projects {
        padding: 56px 80px;
        gap: 56px;
    }
    
    .projects h1 {
        font: var(--Display-36-Med);
    }
    
    .project-lines {
        gap: 32px;
    }
    
    .project-line-down {
        gap: 36px;
    }
    
    .project-line-down img {
        width: 240px;
        height: 315px;
    }
    
    .project-details .description {
        max-width: 480px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .projects {
        padding: 60px 120px;
        gap: 60px;
    }
    
    .projects h1 {
        font: var(--Display-48-Med);
    }
    
    .project-line-down img {
        width: 250px;
        height: 328px;
    }
    
    .project-details .description {
        max-width: 520px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .projects {
        padding: 64px 156px;
        gap: 64px;
    }
    
    .projects h1 {
        font: var(--Display-30-Med);
    }
    
    .project-details .description {
        max-width: 580px;
    }
}

/* Extra responsive adjustments for very small screens */
@media (max-width: 360px) {
    .projects {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .projects h1 {
        font-size: 22px;
        font-family: var(--font-family-display);
        font-weight: 500;
        line-height: 1.2;
    }
    
    .project-title {
        gap: 12px;
    }
    
    .project-title h1 {
        font: var(--Display-18-Reg);
    }
    
    .project-title h2 {
        font: var(--Display-16-Med);
    }
    
    .project-line-up img {
        width: 18px;
        height: 18px;
    }
    
    .project-info .tabs .tab {
        padding: 5px 8px;
        font-size: 13px;
    }
    
    .project-details .up h2 {
        font-size: 16px;
    }
    
    .project-details .up h3 {
        font-size: 13px;
    }
    
    .project-details .description {
        font-size: 13px;
    }
    
    .project-details .btn-seemore h1 {
        font-size: 13px;
    }
}

/* Landscape orientation adjustments for small screens */
@media (max-height: 480px) and (orientation: landscape) {
    .projects {
        padding: 20px 24px;
        gap: 24px;
    }
    
    .projects h1 {
        font-size: 22px;
        font-family: var(--font-family-display);
        font-weight: 500;
        line-height: 1.2;
    }
    
    .project-line-down.active {
        max-height: 400px;
    }
    
    .project-line-down img {
        max-width: 200px;
    }
    
    .project-details {
        gap: 12px;
    }
    
    .project-details .up h2 {
        font-size: 18px;
    }
    
    .project-details .description {
        font-size: 15px;
        line-height: 1.4;
    }
}

/* ===== FOOTER RESPONSIVE ===== */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    footer {
        padding: 8px 16px;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    footer .left {
        gap: 6px;
        flex-direction: column;
        align-items: center;
    }

    footer .left .copyright {
        gap: 2px;
    }

    footer .left .copyright h2,
    footer .left h1,
    footer h2 {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    footer {
        padding: 10px 20px;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    footer .left {
        gap: 7px;
        flex-wrap: nowrap;
    }

    footer .left .copyright {
        gap: 3px;
    }

    footer .left .copyright h2,
    footer .left h1,
    footer h2 {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    footer {
        padding: 12px 32px;
    }

    footer .left {
        gap: 9px;
    }

    footer .left .copyright h2,
    footer .left h1,
    footer h2 {
        font-size: 12px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    footer {
        padding: 14px 60px;
    }

    footer .left {
        gap: 11px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    footer {
        padding: 16px 100px;
    }

    footer .left {
        gap: 12px;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    footer {
        padding: 16px 140px;
    }

    footer .left {
        gap: 12px;
    }
}

/* Ultra small devices (360px and down) */
@media (max-width: 360px) {
    footer {
        padding: 6px 12px;
        gap: 6px;
    }

    footer .left {
        gap: 4px;
        flex-direction: column;
    }

    footer .left .copyright {
        gap: 2px;
    }

    footer .left .copyright h2,
    footer .left h1,
    footer h2 {
        font-size: 9px;
        line-height: 1.4;
    }
}

/* Landscape orientation for small screens - Footer */
@media (max-height: 480px) and (orientation: landscape) {
    footer {
        padding: 8px 24px;
        gap: 8px;
    }

    footer .left {
        gap: 8px;
    }

    footer .left .copyright h2,
    footer .left h1,
    footer h2 {
        font-size: 11px;
    }
}