/* style.css */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', monospace;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #f0f0f0;
    line-height: 1.6;
    scroll-behavior: smooth;
    /* overflow: hidden; Prevent scrolling */
}

/* 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;
    font-family: 'Fira Code', monospace;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #00d1b2; /* Neon teal highlight */
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #00d1b2;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 10px auto 20px auto; /* Reduced top margin */
    height: calc(100vh - 50px); /* Fit full screen minus nav */
    overflow-y: hidden;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: 30%;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

header img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #00d1b2;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00d1b2;
}

.header-text h1 {
    font-size: 2.2rem;
    color: #00d1b2;
    font-family: 'Fira Code', monospace;
}

.header-text h2 {
    font-size: 1rem;
    color: #e0e0e0;
    font-family: 'Fira Code', monospace;
}

.header-text p {
    color: #ccc;
    max-width: 500px;
    font-family: 'Fira Code', monospace;
}

/* Cards */
.card {
    padding: 0 10px;
}

.card h2 {
    font-size: 1.5rem;
    color: #00d1b2;
    margin-bottom: 8px;
    border-bottom: 2px solid #00d1b2;
    padding-bottom: 3px;
    font-family: 'Fira Code', monospace;
}

.card p,
.card ul {
    margin-left: 15px;
    color: #ddd;
    font-family: 'Fira Code', monospace;
}

.card ul {
    list-style: none;
}

.card ul li::before {
    content: "✔ "; /* Unicode check mark */
    color: #00d1b2;
    margin-right: 6px;
}

li {
    margin-bottom: 4px;
}

/* Footer */
footer {
    text-align: center;
    color: #bbb;
    font-size: 12px;
    margin-top: 5px;
    font-family: 'Fira Code', monospace;
}

/* Responsive */
@media screen and (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        height: calc(100vh - 50px);
        gap: 20px 15px;
    }

    header {
        grid-column: span 2;
        height: auto;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (max-width: 767px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    header img {
        margin-bottom: 10px;
    }

    .grid {
        grid-template-columns: 1fr;
        height: auto;
    }
}
