:root {
    --bg-color: #050505;
    /* Deep Black */
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-secondary: #f2d06b;
    /* Lighter Gold */
    --card-bg: rgba(20, 20, 20, 0.6);
    --card-border: rgba(212, 175, 55, 0.2);
    /* Gold border */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

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

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.1) 0%, transparent 40%);
    filter: blur(50px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(to right, #fff, var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

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

.greeting {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.name {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.separator {
    color: var(--accent-secondary);
    margin: 0 10px;
}

.bio {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-color));
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--card-border);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* About Section */
.about-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #d0d0d0;
}

.personal-note {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.personal-note h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expertise-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

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

.expertise-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

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

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

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

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 20px;
    right: -140px;
    width: 120px;
    text-align: left;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -140px;
    text-align: right;
}

.timeline-content {
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--accent-secondary);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--accent-secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.timeline-content .location {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    font-style: italic;
}

.timeline-content ul {
    list-style: disc;
    margin-left: 20px;
}

.timeline-content li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.footer-text {
    margin-bottom: 30px;
    color: #aaa;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.8rem;
    color: #666;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .name {
        font-size: 3rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
        right: auto;
    }

    .timeline-date {
        position: relative;
        top: 0;
        left: 0 !important;
        right: auto !important;
        text-align: left !important;
        margin-bottom: 10px;
        display: block;
    }

    .nav-links {
        display: none;
        /* Mobile menu to be implemented with JS */
    }

    .hamburger {
        display: block;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #111;
    border: 1px solid var(--accent-color);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: #fff;
}

.modal-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-content p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.modal-content input:focus {
    border-color: var(--accent-color);
}

.error-msg {
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
}

.login-link {
    color: var(--accent-color) !important;
    font-weight: 600 !important;
}

/* Mode Toggle Styles */
.mode-toggle {
    color: #888 !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mode-toggle:hover {
    color: var(--accent-color) !important;
}

.footer-toggle {
    margin-bottom: 20px;
}

.mode-link {
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px dashed #666;
    padding-bottom: 2px;
}

.mode-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Center Bottom Mode Switch */
.mode-switch {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    align-items: center;
}

.active-mode {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

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

.agent-mode {
    color: var(--accent-color);
    opacity: 0.7;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.agent-mode:hover {
    opacity: 1;
    text-shadow: 0 0 10px var(--accent-color);
}
