:root {
    --bg-dark: #080808;
    --card-bg: #111111;
    --accent: #00f2ff;
    --text-main: #ffffff;
    --text-dim: #9ca3af;
    --border: #222222;
}



body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ANIMATED BACKGROUND --- */
.glow {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* --- HERO --- */
header {
    min-height: 100vh; /* Use min-height so it can grow if needed */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers everything */
    align-items: center; /* Horizontally centers everything */
    text-align: center;
    padding: 60px 20px; /* Provides consistent spacing from the top/bottom */
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    margin-bottom: 30px;
    /* Remove the large margin-top: 180px; Flexbox will handle the centering */
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
}
.profile-img:hover {
    transform: scale(1.05) rotate(5deg);
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); margin: 0; letter-spacing: -2px; }
.hero-sub { color: var(--text-dim); font-size: 1.1rem; max-width: 600px; margin: 20px 0; }
.header-links a { color: var(--accent); text-decoration: none; font-size: 0.9rem; }

/* --- CARDS & SECTIONS --- */
section { padding: 40px 0; }
h2 { color: var(--accent); font-size: 1.5rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
h3 { margin-top: 0; font-size: 1.2rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 242, 255, 0.4);
    transform: translateY(-5px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.date { color: var(--text-dim); font-size: 0.85rem; }
.company { color: var(--accent); font-weight: bold; margin: 5px 0 15px; }

.skill-list {
    padding-left: 18px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.skill-list li { margin-bottom: 8px; }

/* --- TAGS & BUTTONS --- */
.badge {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    background: #1a1a1a;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid #333;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.contact-btn:hover {
    background: var(--accent);
    color: #000;
}

.contact-section { text-align: center; padding-bottom: 100px; }

/* Responsive adjustments */
@media (max-width: 600px) {
    .exp-header { flex-direction: column; }
    .date { margin-bottom: 10px; }
}