@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #2c2c2c;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
    position: relative;
}

/* Cursor */
.cursor, .cursor-trail {
    position: fixed;
    border-radius: 50%;
    z-index: 999; /* High but not as high as buttons */
    pointer-events: none !important;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.click-through {
    pointer-events: none !important;
}

.cursor {
    width: 20px;
    height: 20px;
    background-color: rgba(255, 62, 62, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-trail {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 62, 62, 0.2) 0%, rgba(255, 62, 62, 0) 70%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
}

.logo {
    font-weight: 700;
    font-size: 24px;
}

.logo-star {
    color: #ff3e3e;
    margin-left: 2px;
}

/* Desktop nav */
.nav {
    display: flex;
    gap: 32px;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.4s;
}

.nav-item:hover {
    color: gold;
}

.nav-item::after {
    content: attr(data-index);
    position: absolute;
    right: -16px;
    top: 0;
    opacity: 0.6;
    font-size: 12px;
}

/* Hide numbers in small screens */
@media (max-width: 991px) {
    .nav-item::after {
        display: none;
    }
}

/* CTA Hamburger */
.menu-toggle {
    display: none;
    font-size: 32px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    bottom: 120px;
    left: 48px;
    z-index: 2;
    max-width: 90vw;
}

.hero-name {
    font-size: 180px;
    font-weight: 700;
    line-height: 0.9;
    margin-top: 20px;
}

.star {
    color: #ff3e3e;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-name {
    font-size: 180px;
    font-weight: 700;
    line-height: 0.9;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 1.4s;
}

.intro-text {
    position: absolute;
    right: 48px;
    bottom: 250px;
    width: 400px;
    text-align: right;
    font-weight: bold;
    font-size: 20px;
    z-index: 3;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 1.8s;
}


.globe-icon {
    margin-bottom: 16px;
    font-size: 40px;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        background: #ff3e3e;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .hero-content {
        left: 24px;
        bottom: 160px;
    }

    .hero-name {
        font-size: 80px;
    }

    .intro-text {
        bottom: 50px;
        left: 24px;
        right: 24px;
        text-align: left;
        width: auto;
        font-size: 18px;
    }
    .globe-icon {
        margin-bottom: 5px;
        font-size: 20px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1400px) {
    .hero-name {
        font-size: 120px; /* a bit smaller for mid-large */
    }

    .star {
        font-size: 120px;
    }
}

@media screen and (min-width: 1401px) {
    .hero-name {
        font-size: 180px; /* full size for full HD and bigger screens */
    }

    .star {
        font-size: 180px;
    }
}

/* Overlay for Opening Animation */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9998;
    pointer-events: none;
}

.overlay-top,
.overlay-bottom {
    background-color: #ff3e3e;
    height: 50%;
    width: 100%;
    transition: transform 1.2s ease;
    transform: scaleY(1);
}

.overlay-top {
    transform-origin: top;
}

.overlay-bottom {
    transform-origin: bottom;
}

/* Slow Zoom for Hero Image */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Fade In Up for Text */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-me-section {
    background-color: #111;
    color: white;
    padding: 120px 48px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 60px;
}

.about-me-container {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}

/* LEFT SIDE: Image Card */
/* In your CSS file, modify these sections: */

/* Replace your existing .about-left-card styles with this: */
.about-left-card {
    background: linear-gradient(to bottom, #1a1a1a, #121212);
    border-radius: 20px;
    padding: 24px 24px 20px; /* Reduced bottom padding from 0 to 20px */
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    position: relative; /* Added for proper spacing */
    height: auto; /* Ensure natural height */
}

/* Keep your existing .about-image styles but adjust margin */
.about-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 16px; /* Reduced from 24px */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 1);
}

/* Add this new rule */
.about-card-text {
    padding-bottom: 10px; /* Small padding at bottom */
}

.about-card-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-card-text p {
    font-size: 15px;
    color: #cfcfcf;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cv-button {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #ff4e4e, #b30000);
    color: white;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 1);
    transition: 0.3s ease;
    margin-top: 16px; /* Add some spacing above the button */
}

.cv-button:hover {
    opacity: 0.9;
}

.highlight {
    color: #ff3e3e;
}

/* RIGHT SIDE: Text Card */
.about-right-card {
    background: linear-gradient(to bottom, #1a1a1a, #121212);
    border-radius: 20px;
    padding: 32px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
}

hr {
    margin: 32px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hobbies */
.section-subtitle {
    color: #ff3e3e;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.hobbies-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hobbies-tags span {
    padding: 10px 18px;
    background-color: #111;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid #ff3e3e;
}

/* Dreams */
.dreams-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dreams-list div {
    background-color:#111111;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
    border-left: 4px solid #ff3e3e;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

/* Responsive (Medium screen layout like your screenshot) */
@media (max-width: 991px) {
    .about-me-container {
        flex-direction: column;
        align-items: center;
    }

    .about-left-card,
    .about-right-card {
        max-width: 100%;
    }

    .about-description,
    .dreams-list div {
        font-size: 15px;
    }
    .about-left-card {
        padding: 16px;
    }
    .about-image {
        margin-bottom: 12px;
    }
}

.hobby-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 24px;
}

/* Add proper padding to the last marquee wrapper before future dreams section */
.hobby-marquee-wrapper:last-of-type {
    padding-bottom: 40px;
}

.hobby-marquee {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollLeft 60s linear infinite; /* Slower animation for smoother effect */
}

.hobby-marquee.reverse {
    animation: scrollRight 60s linear infinite; /* Slower animation for smoother effect */
}

.hobby-marquee span {
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 18px;
    background-color: #111;
    border-radius: 999px;
    border: 1px solid #ff3e3e;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

/* The key change is the animation keyframes - we only move by 50% for a continuous loop */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Only move by 50% since we duplicate content */
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); } /* Start from middle */
    100% { transform: translateX(0); }  /* Move to beginning */
}

.after-projects {
    width: 100%;
    min-height: 100vh; /* This makes it cover the full screen height */
    background-color: #111;
    color: white;
    font-family: 'Inter', sans-serif;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}

.verified-badge {
    background-color: white;
    color: black;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    margin-top: 0.8rem;
}

.verified-badge svg {
    margin-right: 0.3rem;
}

.hero-text {
    margin: 3rem 0;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.brand-footer {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

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

    .hero-text p {
        font-size: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .brand-footer {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Fixed Projects Section CSS - Locks until edge scrolling */
.projects-section {
    background-color: #111;
    color: white;
    padding: 120px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 60px;
}

.projects-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 60%;
    min-height: 400px;
}

.projects-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 40px;
    background: linear-gradient(to bottom, #1a1a1a, #121212);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Card states */
.project-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    z-index: 5;
}

.project-card.prev-1 {
    opacity: 0.3;
    transform: translateX(-60%) scale(0.9);
    z-index: 4;
}

.project-card.prev-2 {
    opacity: 0.1;
    transform: translateX(-70%) scale(0.8);
    z-index: 3;
}

.project-card.next-1 {
    opacity: 0.3;
    transform: translateX(60%) scale(0.9);
    z-index: 4;
}

.project-card.next-2 {
    opacity: 0.1;
    transform: translateX(70%) scale(0.8);
    z-index: 3;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* This helps with spacing */
    height: 100%; /* Ensure it takes full height */
}

.project-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #ffffff, #ff3e3e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.project-description {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px; /* Fixed margin instead of auto */
    max-width: 600px;
}

.project-metrics {
    display: flex;
    gap: 40px; /* Slightly reduced gap */
    margin-top: 30px; /* Slightly reduced top margin */
    margin-bottom: 24px; /* Slightly reduced bottom margin */
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-title {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 40px;
    font-weight: 700;
}

.project-actions {
    margin-top: 20px;
    margin-bottom: 20px; /* Add bottom margin for extra space */
}

.project-button {
    display: inline-block;
    padding: 14px 30px;
    background: rgba(30, 30, 30, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 62, 62, 0.3);
    position: relative;
    z-index: 300 !important; /* Higher z-index for button */
    pointer-events: auto !important; /* Ensure pointer events work */
    cursor: pointer !important; /* Show cursor pointer */
}

.project-card.active .project-button,
.project-card.prev-1 .project-button,
.project-card.next-1 .project-button {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.project-button:hover {
    background: rgba(255, 62, 62, 0.2);
    border-color: rgba(255, 62, 62, 0.8);
    transform: translateY(-2px);
}

.project-button,
.nav-item,
.cv-button,
.menu-toggle,
.logo {
    position: relative;
    z-index: 200 !important; /* Higher than cursor */
    pointer-events: auto !important; /* Ensure pointer events work */
}

/* Scroll controller */
.scroll-controller {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
    background: transparent;
    pointer-events: none;
}

.scroll-controller.active {
    pointer-events: auto;
}

/* Project Navigation Indicators */
.project-indicators {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #ff3e3e;
    transform: scale(1.3);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Fix for the last card buttons */
.project-card[data-index="4"] .project-actions,
.project-card[data-index="5"] .project-actions {
    position: relative;
    bottom: auto;
    margin-top: 20px;
}

/* ==================== */
/* IMPROVED IMAGE HANDLING */
/* ==================== */

/* Base styles for project images */
.project-image-container {
    width: 360px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
    flex-shrink: 0; /* Prevent shrinking */
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

/* Update for small screens to match the reference image */

/* Final fixes for all screen sizes */

/* Final fixes for overflow issues on all screen sizes */

/* Small screens (below 768px) - WITH images, but properly formatted */
@media screen and (max-width: 767px) {
    /* Basic structure fixes */
    .projects-section {
        padding: 80px 20px;
        height: auto;
        min-height: 100vh;
    }

    .projects-wrapper {
        height: 520px; /* Increased to accommodate images */
    }

    .project-card {
        flex-direction: column;
        padding: 20px;
        display: flex;
        background: #121212;
        border-radius: 16px;
        height: 100%;
        overflow-y: auto; /* Allow scrolling if needed */
    }

    /* Content reordering and layout */
    .project-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    /* Title at the top */
    .project-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 8px;
        background: none;
        -webkit-text-fill-color: white;
        color: white;
        word-wrap: break-word;
        display: block;
        max-width: 100%;
        overflow: hidden;
        order: -2;
    }

    /* Description next */
    .project-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.7);
        order: -1;
        max-height: 80px; /* Limit height to ensure space for image */
    }

    /* Image next - more compact */
    .project-image-container {
        width: 100%;
        height: 140px; /* Shorter height */
        margin-bottom: 16px;
        border-radius: 10px;
        order: 0;
        display: block; /* Make sure it's visible */
    }

    .project-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Metrics at the bottom */
    .project-metrics {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 8px;
        margin-bottom: 8px;
        gap: 0;
        order: 1;
    }

    .metric {
        max-width: 45%;
    }

    .metric-title {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 4px;
    }

    .metric-value {
        font-size: 18px;
        font-weight: 700;
    }

    /* Small button at the bottom */
    .project-actions {
        display: block;
        margin-top: 12px;
        margin-bottom: 0;
        text-align: center;
        order: 2;
    }

    .project-button {
        display: inline-block;
        padding: 8px 16px;
        background: rgba(20, 20, 20, 0.8);
        color: white;
        border-radius: 999px;
        font-size: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0 auto;
        white-space: nowrap;
    }

    /* Remove pseudo-elements */
    .project-card::after {
        display: none;
    }
}

/* Medium screens (768px to 991px) - Fix overflow issues */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .projects-section {
        padding: 100px 32px;
    }

    .projects-wrapper {
        height: 580px; /* Increased height to fit content */
    }

    .project-card {
        flex-direction: column;
        padding: 28px;
        overflow-y: auto; /* Allow scrolling within card if needed */
        justify-content: flex-start;
        gap: 20px;
    }

    /* Fix image size */
    .project-image-container {
        width: 100%;
        height: 180px;
        margin-bottom: 20px;
        order: -1;
    }

    /* Fix title overflow */
    .project-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 14px;
        word-wrap: break-word;
        display: block;
        max-width: 100%;
        overflow: hidden;
    }

    /* Fix description */
    .project-description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
        max-height: 120px; /* Limit height */
        overflow-y: auto;
    }

    /* Fix metrics */
    .project-metrics {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .metric {
        flex: 1;
        min-width: 100px;
    }

    .metric-value {
        font-size: 28px;
    }

    /* Fix button */
    .project-actions {
        margin-top: 16px;
        margin-bottom: 0;
    }

    .project-button {
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
        display: inline-block;
    }
}

/* Large screens (992px and up) - Make sure everything is aligned */
@media screen and (min-width: 992px) {
    .project-card {
        flex-direction: row;
        align-items: center;
        padding: 48px;
        gap: 40px;
    }

    .project-image-container {
        width: 360px;
        height: 280px;
        flex-shrink: 0;
    }

    .project-content {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Fix metrics layout */
    .project-metrics {
        margin-top: auto;
        margin-bottom: 24px;
        flex-wrap: nowrap;
    }

    /* Make sure title doesn't overflow */
    .project-title {
        font-size: 26px;
        line-height: 1.3;
        max-width: 100%;
        word-wrap: break-word;
    }
}
/* Additional CSS to ensure project buttons are always clickable */

/* Increase z-index for project buttons to ensure they're always on top */
.project-button {
    position: relative;
    z-index: 1000 !important; /* Even higher z-index to stay above all elements */
    pointer-events: auto !important; /* Always capture pointer events */
    cursor: pointer !important; /* Always show pointer cursor */
}

/* Make buttons visible in all card states */
.project-card .project-button,
.project-card.active .project-button,
.project-card.prev-1 .project-button,
.project-card.prev-2 .project-button,
.project-card.next-1 .project-button,
.project-card.next-2 .project-button {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/* Ensure scroll controller stays below buttons */
.scroll-controller {
    z-index: 90 !important; /* Lower than buttons */
}

/* Enhance hover effect for better visibility */
.project-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    background: rgba(255, 62, 62, 0.3) !important;
}

/* Force pointer events on button parent elements */
.project-actions {
    pointer-events: auto !important;
    z-index: 999 !important;
}

/* Ensure project content doesn't interfere with button clicks */
.project-content {
    pointer-events: auto !important;
}

/* Fix for existing styles that might interfere */
.project-card.prev-1,
.project-card.prev-2,
.project-card.next-1,
.project-card.next-2 {
    pointer-events: none !important;
}

.project-card.prev-1 .project-button,
.project-card.prev-2 .project-button,
.project-card.next-1 .project-button,
.project-card.next-2 .project-button {
    pointer-events: auto !important;
}

/* Make sure theme toggle and other buttons remain on top */
.theme-toggle,
.menu-toggle {
    z-index: 1001 !important;
}