:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --accent-color: #D4AF37;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .btn-primary {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
}

.nav-links .btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--accent-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centering content */
    padding-top: 80px;
    /* Offset for fixed header */
    position: relative;
    text-align: center;
    /* Center align for strong impact */
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.eyebrow {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    display: block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero .role {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero .tagline {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-primary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
}

.social-links-hero {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
}

.social-links-hero a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background-color: var(--secondary-color);
    margin-left: 20px;
    /* Opacity or color tweak for cleaner line */
    background-color: #233554;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--white);
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat-card {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--white);
    font-family: var(--font-body);
    /* Stats often look better with sans-serif */
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #233554;
}

.timeline-item {
    padding-left: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.timeline-content p {
    font-size: 1rem;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
}

.education-card:hover {
    transform: translateY(-5px);
    background-color: #1a2d50;
    /* Slightly lighter on hover */
}

.education-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.education-card p {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.education-card span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Skills Section */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    /* Pill shape */
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-tag:hover {
    border-color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.05);
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding-bottom: 8rem;
}

.contact-section .section-title {
    justify-content: center;
}

.contact-section .section-title::after {
    display: none;
}

.section-subtitle {
    max-width: 500px;
    margin: 0 auto 3rem auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    border: 1px solid #233554;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    min-height: 1.5rem;
}

.form-status.success {
    color: var(--accent-color);
}

.form-status.error {
    color: #ff6b6b;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links-footer {
    display: flex;
    gap: 1.5rem;
    font-size: 1.2rem;
}

.social-links-footer a:hover {
    color: var(--accent-color);
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }
}