/* ===== Base Dark Theme ===== */
body.dark-theme {
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: auto;
}

html,
body {
    scroll-behavior: smooth;
}

/* ===== Header & Footer ===== */
header,
footer {
    background-color: #1a1a1a;
    padding: 15px 30px;
    text-align: center;
    border-bottom: 2px solid #7FFF00;
}

footer p {
    margin: 10px 0;
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== Navbar ===== */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(8px);
    padding: 14px 0;
    /* Slightly increased padding for navbar height */
    border-bottom: 1px solid rgba(127, 255, 0, 0.3);
}

.navbar,
.navbar-right-only {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 30px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin: 0;
    height: 100%;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0 6px;
    transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    /* Slightly below the text */
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7FFF00;
    transition: width 0.3s ease;
    display: block;
}

/* Underline expands on hover */
.nav-links a:hover::after {
    width: 100%;
    color: #7FFF00;
}

.nav-links a:hover {
    color: #7FFF00;
}

/* Highlight current page link */
.nav-links a.current {
    color: #7FFF00;
    font-weight: bold;
}

.nav-links a.current::after {
    width: 100%;
}

/* Adjust nav position if needed */
header nav ul {
    position: relative;
    right: -100px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px 120px;
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.85)),
        url('../assets/background.png') center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    border-bottom: 2px solid #7FFF00;
    overflow: hidden;
    margin-top: 60px;
}

/* Glowing Overlay on Hero */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(127, 255, 0, 0.15) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.2;
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;

}

#changing-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.6rem;
    font-weight: bold;
    color: #7FFF00;
    margin-left: 10px;
}

/* Style the entire "I'm ..." paragraph */
.hero-text p:first-child {
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    font-size: 1.6rem;
    color: #7FFF00;
    margin-bottom: 0;
    display: inline-block;
}

/* Tagline */
.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #ccc;
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
    display: block;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 0 0;
    /* Removed bottom margin to reduce space */
}

.social-icons a {
    font-size: 1.8rem;
    color: #7FFF00;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Buttons */
.btn,
.resume-btn {
    padding: 12px 24px;
    background-color: #7FFF00;
    color: #0f0f0f;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 18px;
}

.btn:hover,
.resume-btn:hover {
    background-color: #9fff33;
    transform: scale(1.05);
    box-shadow: 0 0 15px #7FFF00;
}

.resume-btn {
    padding: 12px 28px;
}

/* Glow hover effect */
.hover-glow {
    box-shadow: 0 0 10px rgba(127, 255, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(127, 255, 0, 1);
}

/* ===== Project Cards ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1000px;
    margin: auto;
}

.card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(127, 255, 0, 0.25);
    transition: all 0.3s ease-in-out;
}

.card h3 {
    margin-top: 0;
    color: #7FFF00;
}

.card p {
    color: #ccc;
}

/* ===== Resume & Contact Sections ===== */
.resume,
.contact {
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact ul li {
    margin: 10px 0;
}

.contact a {
    color: #7FFF00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* ===== Section Headers ===== */
section h2 {
    text-align: center;
    font-size: 2rem;
    color: #7FFF00;
    margin-top: 40px;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 20px;
    text-align: center;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: auto;
}

.about-image img {
    max-width: 250px;
    border-radius: 15px;
    border: 2px solid #7FFF00;
}

.about-text {
    max-width: 700px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.skills-grid span {
    background-color: #1a1a1a;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(127, 255, 0, 0.4);
    text-align: center;
    color: #7FFF00;
}

/* ===== Quote Carousel ===== */
.quote-carousel {
    position: relative;
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 20px;
    text-align: center;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(8px);
    border: 2px solid #7FFF00;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(127, 255, 0, 0.5);
    margin-bottom: 20px;
    margin-top: 20px;
}

.quote-slide {
    display: none;
    font-size: 1.2rem;
    color: #7FFF00;
    font-style: italic;
    padding: 20px;
}

.quote-slide.active {
    display: block;
}

/* Quote carousel arrows */
.quote-carousel a.prev,
.quote-carousel a.next {
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    padding: 0 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font-weight: bold;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    user-select: none;
    outline: none;
}

.quote-carousel a.prev {
    left: 10px;
}

.quote-carousel a.next {
    right: 10px;
}

.quote-carousel a.prev:hover,
.quote-carousel a.next:hover {
    color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    .about-container,
    .portfolio,
    .contact {
        padding: 60px 15px;
    }

    .hero-text {
        padding: 60px 15px;
    }
}

/* ===== Additional Hero Layout ===== */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 220px;
    border-radius: 50%;
    border: 3px solid #7FFF00;
    box-shadow: 0 0 20px rgba(127, 255, 0, 0.5);
}

.hero-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 20px;
}

.main-header {
    padding: 15px 0;
    /* Increased from 14px to 30px for bigger navbar height */
}

.navbar,
.navbar-right-only {
    height: 70px;
    /* Optional: set a fixed height to keep content vertically centered */
    align-items: center;
    /* Ensure vertical centering */
}

/* Optional: adjust nav-links height for vertical alignment */
.nav-links {
    height: 100%;
    align-items: center;
}

.hero-text>p:first-child {
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    color: #7FFF00;
    margin-bottom: 0;
    font-size: initial;
    /* reset */
}

/* Target only the text node "I'm" */
.hero-text>p:first-child {
    position: relative;
}

/* Wrap "I'm" in a separate span in your HTML if not already */
/* Example HTML: <p><span class="im-text">I'm</span> <span id="changing-text">Prakash</span></p> */

/* Now style only that span */
.im-text {
    font-size: 1.5rem !important;
    /* bigger size */
    font-weight: 500;
    font-family: 'Fira Code', monospace;
}

#changing-text {
    font-size: 1.6rem !important;
    /* keep unchanged */
    margin-left: 10px;
    font-weight: bold;
    color: #7FFF00;
}

.projects-btn {
    margin-bottom: 100px;
    /* increase this value to add space */
}

/* ===== Contact Page ===== */

/* Ensure contact page starts below header */
.contact {
    padding-top: 100px;
    text-align: center;
}

/* Contact Me heading */
.contact h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #7fff00;
    margin-bottom: 20px;
}

/* Contact details row: phone, email, address */
.contact-info-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    /* Increased spacing */
    flex-wrap: nowrap;
    color: white;
    text-align: center;
}

.contact-info-icons div,
.contact-info-icons span {
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* Keep in one line */
    font-size: 1.8rem;
}

.contact-info-icons i {
    font-size: 1.6rem;
    color: #7fff00;
    margin-right: 10px;
}

.contact-info-icons a {
    color: white;
    text-decoration: none;
}

.contact-info-icons a:hover {
    color: #7fff00;
}

/* Subtitle under contact details */
.contact-subtitle {
    color: white;
    text-align: center;
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

/* Social links (two lines, side-by-side with icons) */
.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 10px 50px;
    justify-content: center;
}

.contact-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-list i {
    font-size: 1.4rem;
    color: #7fff00;
    margin-right: 10px;
}

.contact-list a {
    color: white;
    text-decoration: none;
}

.contact-list a:hover {
    color: #7fff00;
}

/* Send Me a Message heading */
.contact h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #7fff00;
    margin-top: 40px;
    text-align: center;
}

/* Contact form */
.contact-form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #7fff00;
    background: #1a1a1a;
    color: white;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #aaff33;
    box-shadow: 0 0 5px #7fff00;
}

/* Center Send Message button */
.contact-form button {
    align-self: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    margin-right: auto;
}

.logo a {
    color: #7fff00;
    text-decoration: none;
}

.logo a:hover {
    color: #aaff33;
}

.logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #7fff00;
    text-decoration: none;
}

/* ===== Contact Info Cards (Single Row on Desktop) ===== */
.contact-info-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    /* Single row on large screens */
    box-sizing: border-box;
}

.info-card {
    flex: 0 0 28%;
    /* Equal width for 3 cards */
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(127, 255, 0, 0.4);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    /* Prevents breaking into 2 lines */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card.address {
    padding-right: 30px;
    /* Extra breathing room for address */
}

/* ===== Icon Styles ===== */
.info-card i {
    font-size: 1.6rem;
    color: #7fff00;
    transition: transform 0.3s ease;
}

/* Icon bounce on hover */
.info-card:hover i {
    animation: iconBounce 0.6s ease infinite alternate;
}

@keyframes iconBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

/* ===== Text Styles ===== */
.info-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

.info-card p,
.info-card a {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
}

.info-card a:hover {
    color: #7fff00;
}

/* Hover Glow */
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(127, 255, 0, 0.6);
}

/* ===== Responsive: Stack on Small Screens ===== */
@media (max-width: 768px) {
    .contact-info-cards {
        flex-wrap: wrap;
        /* Allow stacking */
    }

    .info-card {
        flex: 1 1 100%;
        /* Full width */
    }
}

/* Glow effect for icons & buttons */
.glow-card {
    display: inline-flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(127, 255, 0, 0.6);
}

/* Icon bounce animation on hover */
.glow-card:hover i {
    animation: iconBounce 0.6s ease infinite alternate;
}

@keyframes iconBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

/* Remove underline from social icons */
.social-icons a {
    text-decoration: none;
    color: inherit;
}

/* Keep button animations */
.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(127, 255, 0, 0.6);
}


/* Social Icons Neon Effect */
.social-icons a {
    text-decoration: none;
    color: #7FFF00;
    /* Neon Green */
    font-size: 1.6rem;
    margin: 0 10px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    text-shadow: 0 0 10px #7FFF00, 0 0 20px #7FFF00, 0 0 30px #7FFF00;
    transform: translateY(-3px);
}

/* Button Hover Glow Effect */
.btn.hover-glow {
    background: transparent;
    border: 2px solid #7FFF00;
    color: #7FFF00;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.hover-glow:hover {
    background: #7FFF00;
    color: #000;
    box-shadow: 0 0 10px #7FFF00, 0 0 20px #7FFF00, 0 0 30px #7FFF00;
    transform: translateY(-3px);
}

/* Social Icons Neon Effect */
.social-icons a {
    text-decoration: none;
    color: #7FFF00;
    font-size: 1.6rem;
    margin: 0 10px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    text-shadow: 0 0 10px #7FFF00, 0 0 20px #7FFF00, 0 0 30px #7FFF00;
    transform: translateY(-3px);
}

/* Button Hover Glow Effect */
.btn.hover-glow {
    background: transparent;
    border: 2px solid #7FFF00;
    color: #7FFF00;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.hover-glow:hover {
    background: #7FFF00;
    color: #000;
    box-shadow: 0 0 10px #7FFF00, 0 0 20px #7FFF00, 0 0 30px #7FFF00;
    transform: translateY(-3px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.social-icons a {
    color: #7fff00;
    font-size: 1.6rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px #7fff00, 0 0 20px #7fff00;
}

/* Buttons */
.btn {
    background: transparent;
    border: 2px solid #7fff00;
    color: #7fff00;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #7fff00;
    color: #000;
    transform: scale(1.08);
    box-shadow: 0 0 15px #7fff00, 0 0 30px #7fff00;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.social-icons a {
    color: #7fff00;
    font-size: 1.6rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
    animation: iconBounce 0.6s ease infinite alternate;
    text-shadow: 0 0 10px #7fff00, 0 0 20px #7fff00;
}

@keyframes iconBounce {
    0% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: scale(1.15) translateY(-4px);
    }
}

.hero {
    padding-bottom: 90px;
    /* reduce bottom padding of hero section */
}

.hero-text {
    margin-bottom: 0;
    /* remove any extra margin */
}

.quote-carousel {
    margin-top: 15px;
    /* pull quotes closer */
}

/* Resume Layout */
.resume-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.resume-sidebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.resume-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.resume-title {
    color: #7fff00;
    font-size: 1rem;
    margin-bottom: 20px;
}

.resume-section-block {
    margin-top: 20px;
    text-align: left;
}

.resume-section-block h4 {
    font-family: 'Orbitron', sans-serif;
    color: #7fff00;
    margin-bottom: 10px;
}

.resume-section-block ul {
    padding-left: 15px;
}

.resume-main {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 10px;
}

.resume-item {
    margin-bottom: 15px;
}

.resume-item h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.resume-item span {
    font-size: 0.9rem;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
}

.resume-pdf-container {
    box-shadow: 0 0 20px rgba(127, 255, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .resume-container {
        grid-template-columns: 1fr;
    }
}

/* Ensure content clears fixed navbar */
.resume-section {
    padding: 120px 20px 60px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* Center buttons */
.resume-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

/* Two-column resume layout */
.resume-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 40px;
}

.resume-left {
    flex: 1 1 280px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
}

.resume-right {
    flex: 2 1 500px;
    padding: 20px;
}

.profile-pic {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.resume-left h4,
.resume-right h4 {
    color: #7fff00;
    margin-top: 20px;
    margin-bottom: 10px;
}

.resume-left ul,
.resume-right ul {
    list-style: disc;
    padding-left: 20px;
}

.resume-pdf-container {
    box-shadow: 0 0 20px rgba(127, 255, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.resume-section {
    padding: 120px 20px 60px;
    max-width: 1200px;
    margin: auto;
}

.resume-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.resume-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* Sticky sidebar */
.resume-sidebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
    align-self: start;
}

.resume-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.resume-role {
    color: #7fff00;
    margin-bottom: 20px;
}

.resume-block {
    margin-bottom: 20px;
}

.resume-block h4 {
    font-family: 'Orbitron', sans-serif;
    color: #7fff00;
    margin-bottom: 8px;
}

.resume-main {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 10px;
}

.resume-main ul {
    padding-left: 20px;
}

.resume-pdf-container {
    box-shadow: 0 0 20px rgba(127, 255, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
    .resume-container {
        grid-template-columns: 1fr;
    }

    .resume-sidebar {
        position: static;
        top: auto;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px) rotate(5deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

/* Animate each nav link individually */
.nav-links li {
    animation: slideInFromRight 0.6s ease-out both;
}

.nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links li:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-links li:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-links li:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-links li:nth-child(5) {
    animation-delay: 0.5s;
}