/* =========================================
   Base & Reset
========================================= */
:root {
    --bg-color: #0b1120;
    --text-main: #94a3b8;
    --text-light: #f8fafc;
    --accent: #f59e0b;
    /* Amber */
    --accent-hover: #fbbf24;
    --card-bg: rgba(30, 41, 59, 0.5);
    --border-color: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(11, 17, 32, 0.85);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--accent);
}

.text-accent {
    color: var(--accent);
}

/* =========================================
   Utility Classes
========================================= */
.padding-wrapper {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.card-glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.card-glass:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
}

/* =========================================
   Navigation
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

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

/* =========================================
   Hero Section
========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 80px;
    /* Offset for nav */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.greeting {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 25px;
}

.role .highlight {
    font-size: 1.2rem;
    font-weight: 400;
}

.summary {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-bg-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.hero-image {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background-color: #1e293b;
    /* Fallback before user uploads */
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 3px solid var(--accent);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent);
}

.timeline-content {
    padding: 30px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--text-light);
}

.date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: #e2e8f0;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}

.location {
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: #64748b;
}

.duties {
    padding-left: 20px;
    list-style-type: circle;
}

.duties li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* =========================================
   Projects Grid
========================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.project-desc {
    font-size: 0.95rem;
    flex-grow: 1;
}

/* =========================================
   Skills & Education
========================================= */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 158, 11, 0.05);
}

.mt-4 {
    margin-top: 40px;
}

.languages {
    padding: 30px;
}

.languages h3 {
    margin-bottom: 20px;
}

.lang-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.lang-list li:last-child {
    border-bottom: none;
}

.edu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-card {
    display: flex;
    align-items: center;
    padding: 25px;
    gap: 20px;
}

.edu-icon {
    font-size: 2rem;
    color: var(--accent);
}

.edu-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.edu-info p {
    font-size: 0.9rem;
}

.cert-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.cert-list li i {
    color: var(--accent);
    margin-right: 10px;
}

/* =========================================
   Footer / Contact
========================================= */
.footer {
    padding: 80px 5% 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at top, rgba(30, 41, 59, 0.5) 0%, transparent 60%);
}

.footer-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.footer-content>p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.contact-pill {
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.contact-pill i {
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-pill:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* =========================================
   Responsive 
========================================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 40px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .summary {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 6px;
    }

    .timeline-item {
        padding-left: 45px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple hidden for mobile, can add hamburger if needed */
    }

    .hero-image {
        width: 280px;
        height: 280px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}