:root {
    --bg: #050505;
    --accent: #091580;
    --glass: rgba(2, 36, 92 0.05);
}

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
}

/* Update the grid container to center items */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* auto-fit helps fill space */
    gap: 25px;
    padding: 40px 10%;
    justify-content: center; /* Centers the cards horizontally */
    max-width: 1400px; /* Prevents it from getting too wide on huge monitors */
    margin: 0 auto;    /* Centers the whole container */
}

/* Center the Hero text */
.hero {
    height: 60vh; /* Adjusted height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centers text horizontally */
    text-align: center;  /* Centers text lines */
    padding: 0 10%;
}

.project-card {
    height: 400px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

/* Container for the projects */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 40px 10%;
}

/* The Box/Card Design */
.project-card {
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

/* Hover Effect: Glow and Lift */
.project-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: #00f2ff; /* Your Cyan Accent */
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
}

.tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00f2ff;
    margin-bottom: 10px;
    display: block;
}

.project-card h3 {
    margin: 5px 0;
    font-size: 1.5rem;
}

.project-card p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.4;
}

.about-section {
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

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

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-item h3 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

/* Center the Navigation */
nav {
    display: flex;
    flex-direction: column; /* Stacks logo over links */
    align-items: center;
    padding: 30px 0;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    color: #888;
    padding: 10px 25px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 40px;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--accent);
    color: #000;
    font-weight: bold;
}

/* Tab Logic */
.tab-content {
    display: none; /* Hide all by default */
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block; /* Show only active */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.main-logo {
    height: 50px; /* Adjust this height based on your logo's proportions */
    width: auto;  /* Maintains aspect ratio */
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.2)); /* Gives it a slight "forge" glow */
}

/* Ensure the status dot stays aligned with the logo image */
.status-dot {
    height: 8px;
    width: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
}

/* Adjust nav padding if the logo is tall */
nav {
    padding: 40px 0 20px 0;
}
