/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Body ===== */
body {
    font-family: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', 'Ubuntu Mono', monospace;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #f0f0f0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ===== Navigation Bar ===== */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: #111;
    display: flex;
    justify-content: center;
    gap: 40px;
    height: 50px;
    align-items: center;
    z-index: 100;
}

nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #1abc9c;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #1abc9c;
}

/* ===== Section ===== */
.section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

.section h1, .section h2 {
    color: #1abc9c;
    margin-bottom: 15px;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
}

.section .desc {
    color: #ccc;
    margin-bottom: 20px;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
}

/* ===== Project Card ===== */
.project-card {
    background: #1e1e2f;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.project-card h2 {
    color: #1abc9c;
    margin-bottom: 10px;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
}

.project-card p {
    margin-bottom: 20px;
    color: #ccc;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
}

/* ===== Slider ===== */
.slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: #2c2c3c;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img,
.slides video {
    flex-shrink: 0;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* ===== Slider Buttons ===== */
.slider-buttons {
    text-align: center;
    margin-top: 15px;
}

.slider-buttons button {
    padding: 10px 16px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #1abc9c;
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    transition: all 0.3s;
}

.slider-buttons button:hover {
    background: #16a085;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
    .slider {
        max-width: 100%;
    }

    .project-card h2 {
        font-size: 1.3rem;
    }

    .slider-buttons button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
/* Footer */
footer {
    text-align: center;
    color: #bbb;
    font-size: 12px;
    margin-top: 5px;
    font-family: 'Fira Code', monospace;
}