:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-color: #00f2ff;
    /* Neon Cyan */
    --accent-secondary: #7000ff;
    /* Neon Purple */
    --card-bg: #1a1a1a;
    --nav-bg: rgba(13, 13, 13, 0.9);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hiding default cursor for custom one */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Cursor */
.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Typography Utility */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

.section {
    padding: var(--nav-height) 2rem 6rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

.accent {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo .accent {
    color: var(--accent-color);
}

.logo-main {
    display: inline-block;
}

.logo-sub {
    font-size: 0.7em;
    opacity: 0.7;
    margin-left: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(0.5rem, 1vw, 1.5rem);
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    opacity: 0.7;
    white-space: nowrap;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-speed);
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#city-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.5;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.subtitle {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    margin-bottom: 1rem;
    display: block;
}

.title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.outlined-text {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    color: transparent;
    transition: var(--transition-speed);
}

.title:hover .outlined-text {
    color: var(--accent-color);
    -webkit-text-stroke: 0px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-color);
}

.cta-button:hover::before {
    left: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--text-color), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* About Section */
.about-section {
    background: linear-gradient(rgba(13, 13, 13, 0.85), rgba(13, 13, 13, 0.95)), url('asset/pinup.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
}

.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.stats-grid {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.card-stack {
    position: relative;
    height: 400px;
}

.card {
    position: absolute;
    width: 80%;
    height: 250px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease;
    border-radius: 4px;
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.card-1 {
    background-image: url('asset/teach.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-5deg);
}

.card-2 {
    background-image: url('asset/comp.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    top: 40px;
    left: 20px;
    z-index: 2;
    transform: rotate(2deg);
}

.card-3 {
    background-image: url('asset/teach1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    top: 80px;
    left: 40px;
    z-index: 1;
    transform: rotate(5deg);
}

.card-stack:hover .card-1 {
    transform: translateY(-50px) rotate(-5deg);
}

.card-stack:hover .card-2 {
    transform: translateY(0) rotate(2deg) scale(1.05);
    z-index: 4;
}

.card-stack:hover .card-3 {
    transform: translateY(50px) rotate(5deg);
}

/* Projects Gallery */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.project-image {
    display: none;
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.project-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-info {
    padding: 2rem;
}

.project-cat {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Timeline */
.experience-section {
    background: linear-gradient(rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.95)), url('asset/teach1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 100px;
}

.timeline-dot {
    position: absolute;
    left: 43px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    left: -20px;
    top: 5px;
    width: 100px;
    text-align: right;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 0.9rem;
    transform: translateX(-100%);
    padding-right: 2rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact */
.contact-wrapper {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(to top, #1a1a1a, transparent);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.link-large {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 700;
    display: inline-block;
    margin: 3rem 0;
    position: relative;
    z-index: 10;
}

.link-large:hover {
    color: var(--accent-color);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.socials a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    position: relative;
}

.socials a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--text-color);
    transition: width 0.3s;
}

.socials a:hover::after {
    width: 100%;
}

footer {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    .title {
        font-size: 4.5rem;
    }

    .card-stack {
        height: 350px;
    }
}

@media (max-width: 1100px) {
    .container-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    /* Hero adjustments */
    .title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        margin-bottom: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Timeline adjustments */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 3rem;
    }

    .timeline-dot {
        left: 13px;
    }

    .timeline-date {
        position: relative;
        left: 0;
        top: -10px;
        transform: none;
        text-align: left;
        display: block;
        margin-bottom: 0.5rem;
    }

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        backdrop-filter: blur(20px);
        padding: 80px 2rem;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1001;
        cursor: pointer;
    }

    .bar {
        position: absolute;
        width: 100%;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    .bar:nth-child(1) {
        top: 0;
    }

    .bar:nth-child(2) {
        top: 9px;
    }

    .bar:nth-child(3) {
        top: 18px;
    }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }

    /* Card Stack Mobile */
    .card-stack {
        height: 320px;
        margin-top: 2rem;
    }

    .card {
        width: 90%;
        left: 5%;
    }

    /* Contact */
    .contact-wrapper {
        padding: 3rem 1rem;
    }

    .link-large {
        font-size: clamp(1.2rem, 4vw, 2rem);
        /* Ensure email fits */
        word-break: break-all;
    }

    .socials {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats-grid {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .logo-sub {
        display: none;
    }
}

/* Skills Section */
.skills-section {
    background: var(--bg-color);
    position: relative;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.skill-category h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.skill-percentage {
    color: var(--accent-color);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--accent-color);
    border-radius: 3px;
    position: relative;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress.active {
    transform: scaleX(1);
}

/* Certificates Section */
.certificates-section {
    background: linear-gradient(rgba(13, 13, 13, 0.95), rgba(13, 13, 13, 0.98));
    position: relative;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 250px;
    z-index: 1;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.85);
    z-index: -1;
    transition: background 0.4s ease;
}

.cert-card:hover::after {
    background: rgba(13, 13, 13, 0.7);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.cert-card:hover .cert-icon {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.cert-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cert-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cert-year {
    font-family: var(--font-heading);
    color: var(--accent-secondary);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--bg-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    text-decoration: none;
    overflow: hidden;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(20px);
}

.portfolio-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.portfolio-card:hover::after {
    opacity: 0.2;
}

.portfolio-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.view-project {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.portfolio-card:hover .view-project {
    gap: 1rem;
}

/* Publications Section */
.publications-section {
    background: var(--bg-color);
}

.publications-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pub-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.pub-card:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.03);
}

.pub-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    transition: color 0.3s ease;
}

.pub-card:hover .pub-icon {
    color: var(--accent-color);
}

.pub-content {
    flex: 1;
}

.pub-year {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

.pub-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.pub-journal {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.pub-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.pub-card:hover .read-link {
    gap: 1rem;
}

@media (max-width: 1100px) {
    .pub-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .pub-icon {
        font-size: 1.5rem;
        min-width: auto;
        margin-bottom: 0.5rem;
    }
}

/* Infinite Slider Section */
.infinite-slider-section {
    padding: 3rem 0;
    overflow: hidden;
    background: var(--bg-color);
    /* Match background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: 2rem;
}

.slide {
    width: 180px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* Prevent shrinking */
    cursor: default;
}

.slide i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.slide span {
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.slide:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slide:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.slide:hover span {
    color: white;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the width (original set) */
    }
}

/* Image Slider Styles - Updated */
/* image-slider-track animation is removed to be controlled by JS, 
   but we keep the keyframes just in case or for fallback if JS fails (optional),
   Actually better to remove animation property from the class. */

.image-slider-container {
    margin-top: 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
    /* Remove masks to allow buttons to be seen clearly if they are inside opacity area,
       or keep mask but ensure buttons are z-indexed above. 
       Let's keep mask for the track only or wrap track? relative is on container. */
}

.image-slider-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    padding-left: 3rem;
    /* animation: scrollSlider 30s linear infinite; REMOVED */
    will-change: transform;
    /* Optimize for JS animation */
}

.img-slide {
    width: 450px;
    /* Medium size */
    height: 300px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-slide:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
    z-index: 10;
}

.img-slide:hover img {
    transform: scale(1.05);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.8);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Responsive Buttons */
@media (max-width: 1100px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 1100px) {
    .img-slide {
        width: 300px;
        height: 200px;
    }
}