/* ---------------- MOBILE NAV REDESIGN ---------------- */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .side-nav {
        display: none !important;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 25px;
        right: 25px;
        /* Moved to right for better thumb reach */
        z-index: 40000;
    }

    /* Modern Hamburger */
    .menu-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-btn span {
        width: 20px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        transition: 0.4s ease;
    }

    .menu-btn.active {
        background: rgba(0, 183, 199, 0.2);
        border-color: #00B7C7;
    }

    .menu-btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .menu-btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Full-Screen Glass Overlay Menu */
    .side-menu-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(25px) saturate(180%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 35000;
    }

    .side-menu-mobile.active {
        opacity: 1;
        visibility: visible;
    }

    .side-menu-mobile ul {
        text-align: center;
        padding: 0;
    }

    .side-menu-mobile ul li {
        list-style: none;
        margin: 15px 0;
        transform: translateY(30px);
        opacity: 0;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .side-menu-mobile.active ul li {
        transform: translateY(0);
        opacity: 1;
    }

    /* Staggered animation for menu items */
    .side-menu-mobile.active ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .side-menu-mobile.active ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .side-menu-mobile.active ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .side-menu-mobile.active ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .side-menu-mobile.active ul li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .side-menu-mobile ul li a {
        color: white;
        text-decoration: none;
        font-size: 32px;
        font-weight: 700;
        letter-spacing: 1px;
        padding: 10px 20px;
        display: inline-block;
        transition: 0.3s;
        text-transform: uppercase;
        font-family: 'Playfair Display', serif;
    }

    .side-menu-mobile ul li a:hover {
        color: #00B7C7;
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(0, 183, 199, 0.5);
    }

    .close-btn {
        display: none;
        /* We use the hamburger button to close now */
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    padding: 0px;
}

/* ---------------- REVEAL ANIMATION ---------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.appear {
    opacity: 1;
    transform: translateY(0);
}


.side-nav {
    position: fixed;
    right: 25px;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;



}

.side-nav a {
    width: 13px;
    height: 13px;
    background: #00f6ff;
    display: block;
    border-radius: 50px;
    position: relative;
    transition: background 0.3s ease, transform .2s;
}

.side-nav a:hover {
    background: white;
    transform: scale(1.3);
}

.side-nav a::after {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    color: #FFFFFF;

    padding: 4px 8px;

    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0;


}

.side-nav a:hover::after {
    opacity: 1;
    right: 18px;
}

/* Add background to label for readability */
.side-nav a::after {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    z-index: 10000;
    /* Ensure on top */
}

/* Hide side-nav on smaller screens to prevent collision */
@media (max-width: 900px) {
    .side-nav {
        display: none;
    }
}

/* .side-nav a.active {
    background: hsl(210, 100%, 60%);
    transform: scale(1.4);
    box-shadow: 0 0 10px hsl(210, 100%, 60%);
} */

section {
    min-height: 90vh;
    padding: 40px;
}

/* ---- SECTIONS ---- */
#section2 {
    background-image: url(./images/f33771ef-12e3-4947-91af-f3d397487988.jpg);
    background-size: cover;
    background-repeat: no-repeat;

    color: white;

}

/* FIXED: REMOVE gradient so Vanta background shows */
#section3 {
    background-image: url(./images/b72cecec-d304-4604-bfa3-9ec6186da4af.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

#section4 {
    min-height: 95vh;
    position: relative;
    overflow: hidden;
}

.first {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0px 5px;
}

.second .second22 {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0px;
    /* Reduced side padding from 200px to ensure it fits */
    gap: 25px;
}

.project-card {
    width: 450px;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;

}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

/* ---- HOVER OVERLAY ---- */
.project-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 102, 119, 0.8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    opacity: 0;
    transition: opacity .3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .overlay {
    opacity: 1;
}

#section4 .projectss {
    margin-top: 50px;
}

#section4 h1 {
    text-align: center;
    color: white;
}

#section4 span {
    display: block;
    text-align: center;
    color: white;
    margin-top: -15px;
}

/* Section 3 coding */

/* Section 3 coding - Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 items side by side */
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 20px;
    max-width: 1000px;
    /* Constrain width for 2 items */
    margin: 0 auto;
}

.head hr {
    width: 100px;
    margin: -20px 0px 0px 15px;
    height: 3px;
    background-color: #00B7C7;
    border: none;
    border-radius: 50px;
}

.head h1 {
    padding-left: 20px;
    font-size: 50px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
    /* Ensure text is white */
}

.service-icon-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-icon-title i {
    font-size: 28px;
    color: white;
    border: 2px solid white;
    padding: 12px;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.service-icon-title h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    font-family: inherit;
    line-height: 1.2;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

.resume {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-icon-title h2 {
        font-size: 18px;
    }

    /* Center the HR line under "What I Do" on mobile */
    .head h1 {
        text-align: center;
        padding-left: 0;
    }

    .head hr {
        margin: -20px auto 0px auto;
    }
}

.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: rgb(0 107 179);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
}

.icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.button:hover .icon {
    transform: translate(4px);
}

.button:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}



/* Section 2 coding */
.main {
    display: flex;
    gap: 10px;
    margin-left: -10px;
    margin-top: -50px;
}

.details span {
    font-weight: bold;
    font-family: "Inter", "Poppins", sans-serif;
    font-size: 14px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 32px;
    margin-right: 18px;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: #00f6ff;
}

.right {
    /* width: 100%;
    height:100%;
background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.20),
    rgba(255, 255, 255, 0.08)
);
backdrop-filter: blur(5px);
border: 1px solid rgba(50, 39, 39, 0.25); */
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    max-width: 650px;
    color: white;
    text-shadow: rgba(0, 0, 0, 0.25);
    margin: 60px 10px 0px 0px;
    border-radius: 10px;
    padding: 0px 0px 10px 10px;
}

.left {
    /* width: 100%;
    height: 476px;
    background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.20),
    rgba(255, 255, 255, 0.08)
);
backdrop-filter: blur(5px);
border: 1px solid rgba(50, 39, 39, 0.25); */
    color: white;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    max-width: 650px;
    text-shadow: rgba(0, 0, 0, 0.25);
    margin: 60px 10px 0px 0px;
    border-radius: 10px;
    padding: 0px 0px 10px 10px;
}

.right span,
.left span {
    line-height: 1.2;
    font-weight: bolder;

}

.right hr {
    width: 150px;
    margin: -25px 0px 25px 2px;
}

.left hr {
    width: 170px;
    margin: -25px 0px 25px 2px;
}

.line hr {
    margin-top: 80px;
    height: 470px;
    width: 2px;
    background-color: white;
}

#section2 {
    position: relative;
}

.profile-pic {
    position: absolute;
    right: 80px;
    top: 4%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.4);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover ;
    object-position: center;
}

/* Section 1 coding */
#section1 {
    height: 90vh;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section1-info {
    position: relative;
    text-align: center;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.section1-info h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 56px;
    /* you can change between 48–64 */
    font-weight: 700;
}

.section1-info span {
    font-family: "Inter", "Poppins", sans-serif;
    font-size: 22px;
    /* you can use 20–24 */
    font-weight: 400;
    line-height: 1.6;
}

.section1-info h1 {
    opacity: 1;
    animation: fadeWave 1.5s ease-out forwards;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.section1-info span {
    opacity: 1;
    animation: fadeWave 2s ease-out forwards;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}


.button {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--clr);
    color: #fff;
    border-radius: 10rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s;
}

.button__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: var(--clr);
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.button:hover {
    background-color: #000;
}

.button:hover .button__icon-wrapper {
    color: #000;
}

.button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.button:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.button:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

.btn {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}



/* mobile */
/* ============================================
   ⭐ RESPONSIVENESS FIXES (MOBILE / TABLET)
   ============================================ */

/* ---------- (1) Tablets + small laptops (max-width: 1024px) ---------- */
@media (max-width: 1024px) {


    .section1-info {
        /* Reset positioning */
        left: auto;
        top: auto;
        transform: none;
    }

    .btn {
        left: auto;
        top: auto;
        transform: none;
    }

    /* Fix spacing between icons and profile image */
    .social-links {
        margin-bottom: 20px !important;
    }

    .profile-pic {
        margin-top: 20px !important;
    }

    /* Center About & Experience HR lines */
    .right hr,
    .left hr {
        width: 180px;
        height: 2px;
        background: white;
        border: none;
        margin: 10px auto 25px auto;
        /* centered */
    }

    /* Remove middle line divider */
    .line hr {
        display: none !important;
    }

    /* Reduce gap between About & Experience */
    .main {
        gap: 30px !important;
    }

    /* Stack About and Experience vertically */
    .main {
        flex-direction: column;
        align-items: center;
    }

    .right,
    .left {
        width: 90% !important;
        text-align: center;
    }

    /* Justify text for better readability on tablet */
    .right span,
    .left span {
        text-align: justify;
        display: block;
    }
}



/* ---------- (2) Mobile (max-width: 768px) ---------- */
@media (max-width: 768px) {

    /* Increase top padding to prevent collision with fixed hamburger menu */
    section {
        padding: 80px 20px 40px 20px !important;
    }

    /* Section 1 spacing + typography */
    .section1-info h1 {
        font-size: 38px;
        text-align: center;
    }


    .section1-info span {
        font-size: 18px;
    }

    /* Fix spacing between icons and picture */
    .social-links {
        margin-bottom: 15px !important;
    }

    .profile-pic {
        margin-top: 10px !important;
    }

    /* HR centered & smaller */
    .right hr,
    .left hr {
        width: 150px;
        height: 2px;
        background: white;
        border: none;
        margin: 10px auto 20px auto;
    }

    /* Remove center divider line */
    .line hr {
        display: none !important;
    }

    /* Smaller spacing between sections */
    .main {
        gap: 20px !important;
    }

    /* Profile pic centered */
    .profile-pic {
        position: relative;
        right: 0;
        margin: 0 auto;
    }

    /* Center text in About & Experience */
    .right,
    .left {
        text-align: center;
    }

    /* Justify text for better readability on mobile */
    .right span,
    .left span {
        text-align: justify;
        display: block;
    }
}

/* Section 5 - Vibe Coding */
/* Section 5 - Vibe Coding */
/* Section 5 - Vibe Coding */
#section5 {
    color: white;
    min-height: 90vh;
    /* Adjusted to 90vh as requested */
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    /* Match standard section padding */
}

/* Ensure content is above background */
#section5 .content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Match Section 4 alignment */
#section5 h1 {
    text-align: center;
    color: white;
    /* Removed margin-top: 0 to match Section 4 */
}

.vibe-coding .projectss {
    margin-top: 50px;
    /* Match Section 4 */
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    /* Keep column stack for our 2-row layout */
    align-items: center;
}

/* Specific overrides for Section 5 grid */
#section5 .first {
    justify-content: center;
    padding: 0px 5px;
    display: flex;
    gap: 25px;
}

#section5 .second .second22 {
    padding: 20px 0;
    justify-content: center;
    display: flex;
    gap: 25px;
}

/* Responsive Rules for Section 5 */
@media (max-width: 900px) {

    #section5 .first,
    #section5 .second .second22 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #section5 .project-card {
        width: 100%;
        max-width: 450px;
        height: auto;
        aspect-ratio: 16 / 9;
        /* Maintain aspect ratio */
    }
}

#section5 p {
    font-size: 24px;
    font-family: "Inter", "Poppins", sans-serif;
    opacity: 0.8;
}

#section5 .project-card,
#section4 .project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#section4 .project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(0, 183, 199, 0.5), 0 0 40px rgba(0, 183, 199, 0.3);
    border-color: rgba(0, 183, 199, 0.8);
    z-index: 20;
}

/* ⭐ VIBE CODING UNIQUE PREMIUM DESIGN ⭐ */
#section5 .project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(0, 246, 255, 0.4);
    /* Thicker cyan border */
    box-shadow: 0 0 15px rgba(0, 246, 255, 0.2);
    /* Persistent subtle glow */
    animation: float 5s ease-in-out infinite;
}

#section5 .project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 30px rgba(0, 246, 255, 0.8), 0 0 60px rgba(0, 246, 255, 0.5);
    /* Intense hover glow */
    border-color: rgba(0, 246, 255, 1);
    z-index: 20;
}

#section5 .project-card .overlay {
    background: rgba(102, 102, 119, 0.8);
    border-radius: 10px;
    font-family: "Playfair Display", Georgia, serif;
    /* Match the serif font in the image */
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}



/* ---------- (3) Extra-small phones (max-width: 480px) ---------- */
@media (max-width: 480px) {

    .section1-info h1 {
        font-size: 32px;
    }

    .section1-info span {
        font-size: 16px;
    }

    .social-icons {
        margin-bottom: 20px;
    }



    .social-links {
        margin-bottom: 12px !important;
    }

    .profile-pic {
        margin-top: 5px !important;
    }

    /* HR centered & smallest */
    .right hr,
    .left hr {
        width: 120px;
        height: 2px;
        background: white;
        border: none;
        margin: 8px auto 20px auto;
    }

    .line hr {
        display: none !important;
    }

    .main {
        gap: 15px !important;
    }
}


/* ============================================
   GLOBAL FIX (applies to all devices)
   ============================================ */

/* Remove the bold line between About & Experience */
.line hr {
    display: none;
}

/* ======================================================
   ⭐ SECTION 4 — RESPONSIVE FIX (DO NOT TOUCH DESKTOP)
   ====================================================== */

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {

    #section4 .first,
    #section4 .second .second22 {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 20px !important;
        gap: 20px;
    }

    #section4 .project-card {
        width: 320px !important;
        height: 200px !important;
    }
}

/* ---- Mobile (max-width: 900px) - Matching Section 5 ---- */
@media (max-width: 900px) {

    #section4 h1 {
        font-size: 32px;
    }

    #section4 span {
        font-size: 16px;
    }

    #section4 .projectss {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        /* Let first/second22 handle gap */
    }

    #section4 .first,
    #section4 .second .second22 {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 10px 5px !important;
        width: 100%;
    }

    #section4 .project-card {
        width: 90% !important;
        /* Use percentage for fluidity */
        max-width: 450px;
        height: auto !important;
        aspect-ratio: 16 / 9;
        /* More standard aspect ratio */
        margin: 0 auto;
    }

}

/* ---- Small phones (max-width: 480px) ---- */
@media (max-width: 480px) {

    #section4 h1 {
        font-size: 28px;
    }

    #section4 span {
        font-size: 14px;
    }

    #section4 .project-card {
        width: 100% !important;
        max-width: 450px;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

/* --------------------------------- */
/* RESPONSIVE ONLY — KEEP YOUR CSS   */
/* --------------------------------- */

/* Old media queries removed */

@media (max-width: 576px) {
    .head h1 {
        font-size: 32px;
        text-align: center;
        padding-left: 0;
    }

    .text h1 {
        font-size: 22px;
    }

    .p1 span,
    .p2 span {
        font-size: 16px;
        padding: 0 10px;
    }

    .resume {
        text-align: center;
    }

    .button {
        margin-left: 0 !important;
    }
}

/* ----------------------------- */
/*  FIX 1 — Center the top line  */
/* ----------------------------- */




@media (max-width: 992px) {

    /* Reset layout to vertical flow */
    .data-upper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        height: auto !important;
        gap: 20px;
    }

    /* Force exact order you want */

    /* 1 — Front-End Developer */
    .text h1:nth-child(1) {
        order: 1;
    }

    /* 2 — First Paragraph (p1) */
    .p1 {
        order: 2;
    }

    /* Fix p1 text */
    .p1 span {
        max-width: 90%;
        margin: 0 auto;
        display: block;
        font-size: 17px;
    }

    /* 3 — Line between paragraphs */
    .line2 {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .line2 hr {
        width: 70% !important;
        height: 2px !important;
        background-color: white;
        border: none;
        margin: 15px auto !important;
        position: static !important;
    }

    /* 4 — Optimization */
    .text h1:nth-child(2) {
        order: 4;
    }

    /* 5 — Second Paragraph (p2) */
    .p2 {
        order: 5;
    }

    .p2 span {
        max-width: 90%;
        margin: 0 auto;
        display: block;
        font-size: 17px;
    }

    /* Resume button spacing */
    .resume {
        order: 6;
        padding-top: 25px;
        width: 100%;
        text-align: center;
    }

    .resume-btn,
    .button {
        margin-top: 20px !important;
    }
}