:root {
    --bg-color: #050913;
    --text-color: #e2e8f0;
    --primary-color: #5ef4ff;
    --secondary-color: #1e293b;
    --accent-color: #38bdf8;
    --card-bg: #0f172a;
    --border-color: #1e293b;
    --max-width: 800px;
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.text-center { text-align: center; }

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(5, 9, 19, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.hero-section {
    padding-top: 6rem;
}

.profile-img-container {
    margin-bottom: 2rem;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-cover: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(94, 244, 255, 0.3);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-info {
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #334155;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Resume Blocks */
.resume-block {
    margin-bottom: 3.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    background-color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.clickable-tags .tag {
    cursor: pointer;
}

.clickable-tags .tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.experience-item {
    margin-bottom: 2.5rem;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.exp-company {
    font-weight: 700;
    font-size: 1.1rem;
}

.exp-role {
    color: var(--accent-color);
    font-weight: 500;
}

.exp-period {
    color: #64748b;
    font-size: 0.9rem;
}

.exp-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    white-space: pre-line; /* For handling multi-line bullet points */
}

/* Cards */
.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Chat Section */
.chat-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-response-area {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    height: 300px;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-msg, .user-msg {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.bot-msg {
    align-self: flex-start;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.user-msg {
    align-self: flex-end;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-weight: 500;
}

.chat-input-group {
    display: flex;
    gap: 0.5rem;
}

#chat-input {
    flex-grow: 1;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: var(--text-color);
    font-family: inherit;
}

#chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.suggested-questions p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 640px) {
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .exp-header { flex-direction: column; gap: 0.25rem; }
    .chat-response-area { height: 400px; }
}
