:root {
    --bg-base: #000000;
    --bg-surface: #111111;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-green: #67d21c; /* A neon green similar to Figma */
    --accent-green-hover: #58b617;
    --border-color: #222222;
    --transition-smooth: all 0.3s ease;
}

[data-theme="light"] {
    --bg-base: #ffffff;
    --bg-surface: #f5f5f5;
    --text-main: #111111;
    --text-muted: #555555;
    --accent-green: #52a816;
    --accent-green-hover: #3d800d;
    --border-color: #dddddd;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typographic Utils */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px; /* Slight rounding or sharp */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: var(--accent-green);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
}

.w-full { width: 100%; }

/* Navbar */
.navbar {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-main);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--text-main);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 0;
}

.theme-toggle:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.profile-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    background-image: url('assets/profile.jpg');
    background-size: cover;
    background-position: center;
    border: 12px solid #000000;
}

/* Trust Bar / Logos */
.trust-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 100px;
}

.trust-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    opacity: 1;
    flex-wrap: wrap;
}

.company-logo-img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 1;
    transition: var(--transition-smooth);
}

.company-logo-img:hover {
    opacity: 1;
}

/* General Sections */
section:not(.hero) {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text p {
    margin-bottom: 20px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 0 50px 60px 50px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-tick {
    position: absolute;
    width: 24px;
    height: 4px;
    background-color: var(--accent-green);
    top: 30px;
    z-index: 1;
    border-radius: 2px;
}

.timeline-item.left .timeline-tick {
    right: -12px;
}

.timeline-item.right .timeline-tick {
    left: -12px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 16px;
}

.timeline-org {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.2;
}

.timeline-date {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 1.15rem;
    color: var(--accent-green);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

.timeline-desc ul {
    margin-top: 10px;
    padding-left: 20px;
    text-align: left;
}

.timeline-desc li {
    margin-bottom: 6px;
}

/* Timeline Responsive */
@media screen and (max-width: 900px) {
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item.left {
        text-align: left;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-tick, 
    .timeline-item.right .timeline-tick {
        left: 8px;
        width: 24px;
    }
}

/* Contact */
.contact-box {
    max-width: 600px;
    margin: 0 auto;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #555;
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .profile-circle {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .about-grid, .experience-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
