/* Modern Cyber-Glass Theme */
:root {
    /* Color Palette */
    --bg-dark: #030712;
    --bg-card: rgba(17, 24, 39, 0.7);
    --primary: #0ea5e9;
    /* Sky Blue */
    --secondary: #8b5cf6;
    /* Violet */
    --accent: #f43f5e;
    /* Rose */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.5), rgba(139, 92, 246, 0.5));

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --backdrop-blur: blur(12px);

    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, rgba(3, 7, 18, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.hero-greeting {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: var(--backdrop-blur);
    animation: fadeInUp 0.8s ease forwards;
}

.greeting-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
}

.role-primary {
    color: var(--primary);
}

.role-secondary {
    color: var(--secondary);
}

.role-separator {
    margin: 0 10px;
    color: var(--text-muted);
    opacity: 0.5;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    opacity: 0;
}

.desc-highlight {
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.desc-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    opacity: 0.2;
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease forwards 0.8s;
    opacity: 0;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.hero-social {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease forwards 1s;
    opacity: 0;
}

.hero-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 1.25rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-social a:hover {
    background: var(--gradient-main);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    border-color: transparent;
}

/* Sections Common */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, white, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: var(--backdrop-blur);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Skills Section */
.skills-content {
    display: grid;
    gap: 2rem;
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: var(--backdrop-blur);
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.category-title i {
    color: var(--secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-item:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.skill-item:hover i {
    color: var(--primary);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: var(--backdrop-blur);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    height: 220px;
    background: linear-gradient(45deg, #111827, #1f2937);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.project-image i {
    z-index: 1;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image i {
    transform: scale(1.1) rotate(-5deg);
    color: var(--primary);
}

.project-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-image::before {
    opacity: 0.1;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.project-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    color: var(--primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    width: 100%;
    position: relative;
}

.timeline-content {
    width: 45%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    backdrop-filter: var(--backdrop-blur);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
    z-index: 10;
}

.timeline-period {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1.5rem;
    backdrop-filter: var(--backdrop-blur);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.05), transparent);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.availability-status {
    background: var(--glass-bg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-text {
    color: #10b981;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--secondary);
    background: rgba(139, 92, 246, 0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(3, 7, 18, 0.5);
    backdrop-filter: blur(10px);
}

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

.footer-text {
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Responsive */
@media (max-width: 900px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-marker {
        left: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}

/* Dropdown specific needed for existing functionality */
.download-dropdown {
    position: relative;
}

.download-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.download-dropdown:hover .download-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.download-option {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
}

.download-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}